-
Notifications
You must be signed in to change notification settings - Fork 967
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
Assembling compile_time_choice.S does not respect PICO_BOARD_HEADER_DIRS #2114
Comments
@will-v-pi Would a similar thing also affect #2113 ? |
I don't think so. If it did I would have obtained a failure in CMake before getting to compiling compile_time_choice.S. |
I assumed that you weren't testing #2113 with custom header files in a user-defined Perhaps I should have made the question in my previous comment more explicit: if there's an |
For my first test, the primary board header file was in a user defined location, but the secondary board header file was pico2_w.h in the standard location. That all worked, hence my report of success.
I then went on to do a test with both primary and secondary board header files in a user defined location. I could see from the CMake output that this had correctly picked up the pico_cmake_set declarations from the secondary header file but then failed on compiling compile_time_choice. |
They will still be included by #2113 - it searches all of |
A board header file may include another (secondary) header file.
Providing the secondary header file is in pico-sdk/src/boards/include, then everything works.
However if the secondary header file is in a user defined folder, which is specified in PICO_BOARD_HEADER_DIRS, then the compilation of compile_time_choice.S fails:
My user defined directory:
config_autogen.h
The text was updated successfully, but these errors were encountered: