Closed dupontgu closed 6 months ago
Ha, I did that exact same workaround (I even picked the same names) and forgot to make it so other people wouldn't have to do it too.
I just need to decide whether to put the revised library in the source or change the defines. Any thoughts?
Though it's a bit more effort, I would probably change the defines. If you embed the lib, will cost ya time down the road if you ever wanna update. And fwiw I think most c++ styleguides recommend ALL_CAPS_AND_UNDERSCORE case for macros.
Cool, turns out those defines were only used in one other file, MatrixStateRP2040.cpp, so I just changed them to follow the style guide as you suggested. Now they're TOP_1 and BOTTOM_1 instead of t1 and b1. Thanks for catching that!
When I load in the JumperlessNano project via platformio, the build seems to fail because the pin #defines in
JumperlessDefinesRP2040
:conflict with parameter names in a utility function in
tusb_common.h
(from the TinyUSB library):I've attached the full error output - this may be due to a configuration issue on my end? No idea. But I pulled fresh and this was the first issue I saw.
Workaroud:
I simply renamed the parameters in the tusb util function since it was quicker than changing the macro.
This project is incredible and I am having so much fun!!!
jumperless_err.txt