Skip to content

Commit

Permalink
Revert "bootrom build includes pico_bootrom but not bootrom.h which i…
Browse files Browse the repository at this point in the history
…s the only thing which requires pico_flash... slightly hacky fix to not include pico_flash if not available"

This reverts commit 4bbf701.
  • Loading branch information
kilograham committed Aug 28, 2024
1 parent 4bbf701 commit 2d60604
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/rp2_common/pico_bootrom/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 2d60604

Please sign in to comment.