mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
bootrom build includes pico_bootrom but not bootrom.h which is the only thing which requires pico_flash... slightly hacky fix to not include pico_flash if not available
This commit is contained in:
parent
a2a4c2041e
commit
4bbf701b4b
1 changed files with 4 additions and 1 deletions
|
|
@ -9,4 +9,7 @@ target_sources(pico_bootrom INTERFACE
|
|||
)
|
||||
|
||||
target_link_libraries(pico_bootrom_headers INTERFACE boot_picoboot_headers)
|
||||
pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_base hardware_boot_lock pico_flash)
|
||||
pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_base hardware_boot_lock)
|
||||
if (TARGET pico_flash)
|
||||
pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_flash)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue