Allow specifying the target with e.g., cmake ... -DTARGET=pico20

This commit is contained in:
Jeff Epler 2025-03-03 13:23:00 -06:00
parent 59e2ed2a28
commit 9b94636a44

View file

@ -9,6 +9,7 @@ include(pico_sdk_import.cmake)
# We also need PICO EXTRAS
#include(pico_extras_import.cmake)
if (NOT TARGET)
#set(TARGET testkeymax)
#set(TARGET pico20)
set(TARGET pico64)
@ -25,6 +26,7 @@ set(TARGET pico64)
#set(TARGET picosms)
#set(TARGET picogen)
#set(TARGET picocastaway)
endif()
#set(TARGET pico5200)