summaryrefslogtreecommitdiff
path: root/examples/device/cdc_msc
diff options
context:
space:
mode:
authorAlex Lisitsyn <[email protected]>2021-04-16 13:37:14 +0200
committerAlex Lisitsyn <[email protected]>2021-04-16 15:41:42 +0200
commitf5e02e72ed8e6dae5ce854263fdca86ac7453e3c (patch)
tree0364e7fdda32374af84bb989bfb1f961ed0fc878 /examples/device/cdc_msc
parent2f0cb8b5f1a944187635a58a748ed08738d324a5 (diff)
espressif: group boards using target name as a family
`hw\bsp` separate one family folder to esp32s2, esp32s3 add board specific board.cmake file to override board specific options(features) fix examples and test scripts to use new family approach
Diffstat (limited to 'examples/device/cdc_msc')
-rw-r--r--examples/device/cdc_msc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/cdc_msc/CMakeLists.txt b/examples/device/cdc_msc/CMakeLists.txt
index 5f515c825..ca8f07ade 100644
--- a/examples/device/cdc_msc/CMakeLists.txt
+++ b/examples/device/cdc_msc/CMakeLists.txt
@@ -7,7 +7,7 @@ set(TOP "../../..")
get_filename_component(TOP "${TOP}" REALPATH)
# Check for -DFAMILY=
-if(FAMILY STREQUAL "esp32sx")
+if(FAMILY MATCHES "^(esp32s[2-3])*")
cmake_minimum_required(VERSION 3.5)
include(${TOP}/hw/bsp/${FAMILY}/family.cmake)
project(${PROJECT})