summaryrefslogtreecommitdiff
path: root/examples/device/dynamic_configuration
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-01-25 13:28:23 +0700
committerhathach <[email protected]>2021-01-25 13:28:23 +0700
commit83614418b588464873ccbd3fcaeef3d03917bd0e (patch)
tree445306f0440a097ff32e625a659d7e45fe155a2f /examples/device/dynamic_configuration
parentec458292fecbf16be425e5497722f647911de969 (diff)
get all device example build with rp2040 (except freeRTOS)
Diffstat (limited to 'examples/device/dynamic_configuration')
-rw-r--r--examples/device/dynamic_configuration/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/device/dynamic_configuration/CMakeLists.txt b/examples/device/dynamic_configuration/CMakeLists.txt
index 783371860..f26465729 100644
--- a/examples/device/dynamic_configuration/CMakeLists.txt
+++ b/examples/device/dynamic_configuration/CMakeLists.txt
@@ -28,6 +28,11 @@ if(FAMILY STREQUAL "rp2040")
${CMAKE_CURRENT_SOURCE_DIR}/src
)
+ # Example defines
+ target_compile_definitions(${PROJECT} PUBLIC
+ CFG_TUSB_OS=OPT_OS_PICO
+ )
+
target_link_libraries(${PROJECT} pico_stdlib)
pico_add_extra_outputs(${PROJECT})