Skip to content

Commit 2d60604

Browse files
committed
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"
This reverts commit 4bbf701.
1 parent 4bbf701 commit 2d60604

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/rp2_common/pico_bootrom/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,4 @@ target_sources(pico_bootrom INTERFACE
99
)
1010

1111
target_link_libraries(pico_bootrom_headers INTERFACE boot_picoboot_headers)
12-
pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_base hardware_boot_lock)
13-
if (TARGET pico_flash)
14-
pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_flash)
15-
endif()
12+
pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_base hardware_boot_lock pico_flash)

0 commit comments

Comments
 (0)