summaryrefslogtreecommitdiff
path: root/examples/device/board_test
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2026-05-30 11:46:18 +0200
committerHiFiPhile <[email protected]>2026-05-30 11:46:18 +0200
commit08381d44214135cc9ff9423de837cb466b6ad701 (patch)
tree6bd843b73dd4ad8174bd546d5646665f195293d5 /examples/device/board_test
parentb4e7c25c1b57a69e4c04e41d0f2203abf0d8d358 (diff)
esp32 build fixes
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'examples/device/board_test')
-rw-r--r--examples/device/board_test/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/device/board_test/CMakeLists.txt b/examples/device/board_test/CMakeLists.txt
index bd7b8e0ca..f14d72c08 100644
--- a/examples/device/board_test/CMakeLists.txt
+++ b/examples/device/board_test/CMakeLists.txt
@@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.20)
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake)
+# Need to set Espressif defaults before project() is called
+if(FAMILY STREQUAL "espressif")
+ list(APPEND SDKCONFIG_DEFAULTS "${CMAKE_CURRENT_LIST_DIR}/sdkconfig.defaults")
+endif()
+
project(board_test C CXX ASM)
# Checks this example is valid for the family and initializes the project