-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake defines not passed hw.h #1
Comments
Fixed by appending
to parent CMakeLists.txt |
Strange, but I will check. According to the CMake documentation everything I add with |
can confirm. lost a day to this + forgetting to tie my backlight pin to high
stick it in your demo CMakeLists.txt thanks for the library! |
Are you using the newest version and the new version of the demo? BTW, to cite the c-make documentation: "The preprocessor definitions are added to the COMPILE_DEFINITIONS directory property for the current CMakeLists file. They are also added to the COMPILE_DEFINITIONS target property for each target in the current CMakeLists file." |
Oh for christ's sake, lost 30 minutes due to this. I am new to RP2040 so I'm not passing blame, thanks for the fix @cedric-h ! |
Configuring Cmake defines for pins are not passed to hw.h, making it impossible to configure pins through this mechanism.
The text was updated successfully, but these errors were encountered: