summaryrefslogtreecommitdiff
path: root/examples/device/usbtmc
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-04-11 13:37:07 +0700
committerhathach <[email protected]>2021-04-11 13:37:07 +0700
commitc8bb0020ea186dab093cd7adf4c694d89657e1cd (patch)
tree21400887c43e6590d229e4c386936fba048aa32f /examples/device/usbtmc
parentbebc910447bc4208977f2cc055db306713f48030 (diff)
update rp2040 to use pico-sdk externally
also try to update ci
Diffstat (limited to 'examples/device/usbtmc')
-rw-r--r--examples/device/usbtmc/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/device/usbtmc/CMakeLists.txt b/examples/device/usbtmc/CMakeLists.txt
index f40d123b0..f9ba2b529 100644
--- a/examples/device/usbtmc/CMakeLists.txt
+++ b/examples/device/usbtmc/CMakeLists.txt
@@ -9,9 +9,8 @@ get_filename_component(TOP "${TOP}" REALPATH)
# Check for -DFAMILY=
if(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})