summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-04-15 12:14:01 +0700
committerhathach <[email protected]>2021-04-15 12:14:01 +0700
commit2e65d1543fe24d51862d425ae8822c2f3c7bf3e3 (patch)
tree5f71816c1d4ddc8ccf21772eb7963bb1e0939940 /examples
parentb687a4fc20742d4ce3b2d1183e68a93542d8c825 (diff)
update cmakelist for audio_4_channel
Diffstat (limited to 'examples')
-rw-r--r--examples/device/audio_4_channel_mic/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/device/audio_4_channel_mic/CMakeLists.txt b/examples/device/audio_4_channel_mic/CMakeLists.txt
index 03f2439e2..9cae652ea 100644
--- a/examples/device/audio_4_channel_mic/CMakeLists.txt
+++ b/examples/device/audio_4_channel_mic/CMakeLists.txt
@@ -10,9 +10,7 @@ get_filename_component(TOP "${TOP}" REALPATH)
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})