File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed
Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ pico_simple_hardware_target(irq)
44
55target_sources (hardware_irq INTERFACE ${CMAKE_CURRENT_LIST_DIR} /irq_handler_chain.S)
66
7- target_link_libraries (hardware_irq INTERFACE pico_sync) # not mirrored as only implementation requires it
7+ # irq.c includes pico/runtime_init.h
8+ target_link_libraries (hardware_irq INTERFACE pico_sync pico_runtime_init_headers) # not mirrored as only implementation requires it
89if (PICO_RISCV)
910 pico_mirrored_target_link_libraries(hardware_irq INTERFACE hardware_hazard3)
1011endif ()
Original file line number Diff line number Diff line change @@ -10,3 +10,7 @@ target_sources(pico_bootrom INTERFACE
1010
1111target_link_libraries (pico_bootrom_headers INTERFACE boot_picoboot_headers boot_bootrom_headers)
1212pico_mirrored_target_link_libraries(pico_bootrom INTERFACE pico_base hardware_boot_lock pico_flash)
13+
14+ # bootrom.c includes boot/picobin.h
15+ # bootrom_lock.c includes pico/runtime_init.h
16+ target_link_libraries (pico_bootrom INTERFACE boot_picobin_headers pico_runtime_init_headers)
Original file line number Diff line number Diff line change @@ -15,3 +15,6 @@ pico_mirrored_target_link_libraries(pico_runtime_init INTERFACE
1515if (TARGET hardware_clocks)
1616 pico_mirrored_target_link_libraries(pico_runtime_init INTERFACE hardware_clocks)
1717endif ()
18+
19+ # pico/runtime_init.h includes pico/runtime.h
20+ target_link_libraries (pico_runtime_init_headers INTERFACE pico_runtime_headers)
You can’t perform that action at this time.
0 commit comments