SDK1.3.0 specific (requiring) changes (#173)
* SDK1.3.0 specific (requiring) changes - Fixup TinyUSB build for 0.12.0, and add back standalone examples for device/host (copied from TinyUSB)
This commit is contained in:
@@ -7,6 +7,10 @@ project(pico_examples C CXX ASM)
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
if (PICO_SDK_VERSION_STRING VERSION_LESS "1.3.0")
|
||||
message(FATAL_ERROR "Raspberry Pi Pico SDK version 1.3.0 (or later) required. Your version is ${PICO_SDK_VERSION_STRING}")
|
||||
endif()
|
||||
|
||||
set(PICO_EXAMPLES_PATH ${PROJECT_SOURCE_DIR})
|
||||
|
||||
# Initialize the SDK
|
||||
|
||||
Reference in New Issue
Block a user