From 2d60604b6e4d74aeb550e6ee1d6668671d16d67f Mon Sep 17 00:00:00 2001 From: graham sanderson Date: Wed, 28 Aug 2024 18:51:10 -0500 Subject: [PATCH] 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 4bbf701b4b11c955d2609408aa4b1feebe36381f. --- src/rp2_common/pico_bootrom/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/rp2_common/pico_bootrom/CMakeLists.txt b/src/rp2_common/pico_bootrom/CMakeLists.txt index 9fbc90cbd..17c610c8b 100644 --- a/src/rp2_common/pico_bootrom/CMakeLists.txt +++ b/src/rp2_common/pico_bootrom/CMakeLists.txt @@ -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)