update rp2040 to use pico-sdk externally

also try to update ci
This commit is contained in:
hathach
2021-04-11 13:37:07 +07:00
parent bebc910447
commit c8bb0020ea
19 changed files with 86 additions and 49 deletions

View File

@@ -15,9 +15,7 @@ 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)
include(${TOP}/hw/bsp/${FAMILY}/pico_sdk_import.cmake)
project(${PROJECT})
add_executable(${PROJECT})