File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1215,6 +1215,11 @@ target_include_directories(freertos_kernel_port_headers INTERFACE
12151215 $<$<STREQUAL :${FREERTOS_PORT} ,WIZC_PIC18>:${CMAKE_CURRENT_LIST_DIR} /WizC/PIC18>
12161216)
12171217
1218+ target_link_libraries (freertos_kernel_port_headers
1219+ INTERFACE
1220+ $<$<STREQUAL :${FREERTOS_PORT} ,GCC_RP2040>:hardware_sync>
1221+ )
1222+
12181223if (FREERTOS_PORT STREQUAL GCC_POSIX)
12191224 find_package (Threads REQUIRED)
12201225endif ()
@@ -1227,6 +1232,6 @@ target_link_libraries(freertos_kernel_port
12271232 PRIVATE
12281233 freertos_kernel_include
12291234 $<$<STREQUAL :${FREERTOS_PORT} ,GCC_POSIX>:Threads::Threads>
1230- "$<$<STREQUAL:${FREERTOS_PORT} ,GCC_RP2040>:hardware_clocks;hardware_exception>"
1235+ "$<$<STREQUAL:${FREERTOS_PORT} ,GCC_RP2040>:hardware_clocks;hardware_exception;pico_multicore >"
12311236 $<$<STREQUAL :${FREERTOS_PORT} ,MSVC_MINGW>:winmm> # Windows library which implements timers
12321237)
You can’t perform that action at this time.
0 commit comments