diff options
| author | hathach <[email protected]> | 2021-03-18 19:53:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-03-18 19:53:39 +0700 |
| commit | 249852d25ced9852eb7f95dcc38b2a82b4c02390 (patch) | |
| tree | ebd05fce430ebc7a8f1b8a1b76ae4a71191d6e63 /examples/host | |
| parent | e182bb2a5b27eca914a72e8c074dabd333603d34 (diff) | |
use boot2_generic_03h for adafruit feather rp2040
- also use boot2_generic_03h for now for itsy bitsy and qt rp2040
- change default flash target for rp2040 to flash-pyocd
Diffstat (limited to 'examples/host')
| -rw-r--r-- | examples/host/cdc_msc_hid/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/host/cdc_msc_hid/CMakeLists.txt b/examples/host/cdc_msc_hid/CMakeLists.txt index 2302678b7..7413e4087 100644 --- a/examples/host/cdc_msc_hid/CMakeLists.txt +++ b/examples/host/cdc_msc_hid/CMakeLists.txt @@ -14,10 +14,11 @@ if(FAMILY STREQUAL "esp32s2") elseif(FAMILY STREQUAL "rp2040") cmake_minimum_required(VERSION 3.12) + set(PICO_SDK_PATH ${TOP}/hw/mcu/raspberrypi/pico-sdk) include(${PICO_SDK_PATH}/pico_sdk_init.cmake) + project(${PROJECT}) - pico_sdk_init() add_executable(${PROJECT}) include(${TOP}/hw/bsp/${FAMILY}/family.cmake) |
