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
This commit is contained in:
hathach
2021-03-18 19:53:39 +07:00
parent e182bb2a5b
commit 249852d25c
22 changed files with 46 additions and 22 deletions

View File

@@ -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)