get all device example build with rp2040 (except freeRTOS)

This commit is contained in:
hathach
2021-01-25 13:28:23 +07:00
parent ec458292fe
commit 83614418b5
25 changed files with 422 additions and 8 deletions

View File

@@ -27,6 +27,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})