-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add support for looking into PICO_BOARD_HEADER_DIRS custom board header #123
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to merge this change - just a couple of whitespace issues which I'll fixup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added support to that variable as a path list,
If you add spaces at the end of the value, single quote characters are added at start and at the end.
This change will make this feature more robust.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - if you could revert the changes to src/commands/launchTargetPath.mts
so this just includes the board header dir changes, then I'm happy to merge this
a0faaf8
to
0880a4e
Compare
files Add Use CMAKE_PROJECT_NAME from CMakeCache.txt when getting the project name
0880a4e
to
7ce1353
Compare
7ce1353
to
0ec7812
Compare
Done |
Hi, i want to add support to reading custom headers boards by using the variable PICO_BOARD_HEADER_DIRS set at CMakeLists.txt (currently only one folder is being set at the variable). The reason is because there are people creating custom boards with custom flash chips.
Also our project is setting the project name using a CMake variable.
So any review is welcome to make this change more robust.
Thanks in advance!