diff options
| author | hathach <[email protected]> | 2021-01-25 13:28:23 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-01-25 13:28:23 +0700 |
| commit | 83614418b588464873ccbd3fcaeef3d03917bd0e (patch) | |
| tree | 445306f0440a097ff32e625a659d7e45fe155a2f /examples/device/dynamic_configuration | |
| parent | ec458292fecbf16be425e5497722f647911de969 (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.txt | 5 |
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}) |
