Added rpi-pico-sdk

This commit is contained in:
AlexanderHD27
2024-09-10 15:36:38 +02:00
parent 8b97a1853d
commit 29af5335f5
25 changed files with 3354 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
set(PICO_EXAMPLE_URL_BASE "https://github.com/raspberrypi/pico-examples/tree/HEAD")
macro(example_auto_set_url TARGET)
file(RELATIVE_PATH URL_REL_PATH "${PICO_EXAMPLES_PATH}" "${CMAKE_CURRENT_LIST_DIR}")
pico_set_program_url(${TARGET} "${PICO_EXAMPLE_URL_BASE}/${URL_REL_PATH}")
endmacro()