Revert "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"
Some checks are pending
CMake / build (push) Waiting to run
Build on macOS / build (push) Waiting to run
Build on Windows / build (push) Waiting to run

This reverts commit 4bbf701b4b.
This commit is contained in:
graham sanderson 2024-08-28 18:51:10 -05:00
parent 4bbf701b4b
commit 2d60604b6e

View File

@ -9,7 +9,4 @@ 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)
if (TARGET pico_flash)
pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_flash)
endif()
pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_base hardware_boot_lock pico_flash)