mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
* miscellaneous cleanup: * cleanup some #ifdefs which were slightly hacky when RP2350 was added; use HAS_ flags in preference to PICO_RP2040/RP2350 * make some dependencies more explicit - i.e. compile if the user doesn't want to include certain libraries * cleanup some directory A -> directory B relative path names in CMakeLists.txt to be SDK root -> directory B
11 lines
No EOL
329 B
CMake
11 lines
No EOL
329 B
CMake
if (NOT TARGET cmsis_core)
|
|
message("Skipping cmsis_test as cmsis_core is unavailable on this platform")
|
|
return()
|
|
endif()
|
|
# todo remove check
|
|
if (NOT PICO_RISCV)
|
|
add_executable(cmsis_test cmsis_test.c)
|
|
|
|
target_link_libraries(cmsis_test PRIVATE pico_stdlib cmsis_core)
|
|
pico_add_extra_outputs(cmsis_test)
|
|
endif() |