mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
parent
6587f5cc9a
commit
809a423fb0
3 changed files with 9 additions and 1 deletions
|
|
@ -4,7 +4,8 @@ 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
|
||||
# irq.c includes pico/runtime_init.h
|
||||
target_link_libraries(hardware_irq INTERFACE pico_sync pico_runtime_init_headers) # not mirrored as only implementation requires it
|
||||
if (PICO_RISCV)
|
||||
pico_mirrored_target_link_libraries(hardware_irq INTERFACE hardware_hazard3)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -10,3 +10,7 @@ target_sources(pico_bootrom INTERFACE
|
|||
|
||||
target_link_libraries(pico_bootrom_headers INTERFACE boot_picoboot_headers boot_bootrom_headers)
|
||||
pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_base hardware_boot_lock pico_flash)
|
||||
|
||||
# bootrom.c includes boot/picobin.h
|
||||
# bootrom_lock.c includes pico/runtime_init.h
|
||||
target_link_libraries(pico_bootrom INTERFACE boot_picobin_headers pico_runtime_init_headers)
|
||||
|
|
@ -15,3 +15,6 @@ pico_mirrored_target_link_libraries(pico_runtime_init INTERFACE
|
|||
if (TARGET hardware_clocks)
|
||||
pico_mirrored_target_link_libraries(pico_runtime_init INTERFACE hardware_clocks)
|
||||
endif()
|
||||
|
||||
# pico/runtime_init.h includes pico/runtime.h
|
||||
target_link_libraries(pico_runtime_init_headers INTERFACE pico_runtime_headers)
|
||||
Loading…
Add table
Reference in a new issue