Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4971

General • Re: Problems with "host_cdc_msc_hid" example

$
0
0
Awesome, thanks for the reply there.

I am working through the differences in our cmakelists files. From what I can see, I am invoking the SDK in my file. Because if I change the test to a random number like 1.7, it reports that I'm using the 1.5.1 SDK.

But, I'm working through comparing our two files to see what else I may have missed.
cmake_minimum_required(VERSION 3.12)

include(pico_sdk_import.cmake)

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(projname "Tiny USB Test")

project(${projname} C CXX ASM)
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)

pico_sdk_init()

Statistics: Posted by Lonewolff — Sat Aug 31, 2024 10:40 pm



Viewing all articles
Browse latest Browse all 4971

Trending Articles