Skip to content

Commit

Permalink
Fix compilation issues when including in hardware_irq and pico_bootrom (
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre A. Bizri committed Sep 26, 2024
1 parent d08f36c commit 29b1fa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rp2_common/hardware_irq/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pico_simple_hardware_target(irq)

target_sources(hardware_irq INTERFACE ${CMAKE_CURRENT_LIST_DIR}/irq_handler_chain.S)

target_link_libraries(hardware_irq INTERFACE pico_sync) # not mirrored as only implementation requires it
target_link_libraries(hardware_irq INTERFACE pico_sync pico_runtime_init pico_runtime) # not mirrored as only implementation requires it
if (PICO_RISCV)
pico_mirrored_target_link_libraries(hardware_irq INTERFACE hardware_hazard3)
endif()
2 changes: 1 addition & 1 deletion src/rp2_common/pico_bootrom/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ target_sources(pico_bootrom INTERFACE
${CMAKE_CURRENT_LIST_DIR}/bootrom_lock.c
)

target_link_libraries(pico_bootrom_headers INTERFACE boot_picoboot_headers boot_bootrom_headers)
target_link_libraries(pico_bootrom_headers INTERFACE boot_picoboot_headers boot_bootrom_headers boot_picobin_headers pico_runtime_init)
pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_base hardware_boot_lock pico_flash)

0 comments on commit 29b1fa9

Please sign in to comment.