Allow specifying the target with e.g., cmake ... -DTARGET=pico20
This commit is contained in:
parent
59e2ed2a28
commit
9b94636a44
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ include(pico_sdk_import.cmake)
|
||||||
# We also need PICO EXTRAS
|
# We also need PICO EXTRAS
|
||||||
#include(pico_extras_import.cmake)
|
#include(pico_extras_import.cmake)
|
||||||
|
|
||||||
|
if (NOT TARGET)
|
||||||
#set(TARGET testkeymax)
|
#set(TARGET testkeymax)
|
||||||
#set(TARGET pico20)
|
#set(TARGET pico20)
|
||||||
set(TARGET pico64)
|
set(TARGET pico64)
|
||||||
|
|
@ -25,6 +26,7 @@ set(TARGET pico64)
|
||||||
#set(TARGET picosms)
|
#set(TARGET picosms)
|
||||||
#set(TARGET picogen)
|
#set(TARGET picogen)
|
||||||
#set(TARGET picocastaway)
|
#set(TARGET picocastaway)
|
||||||
|
endif()
|
||||||
|
|
||||||
#set(TARGET pico5200)
|
#set(TARGET pico5200)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue