update cmake build to work with esp32s2 and rp2040
This commit is contained in:
6
hw/bsp/esp32s2/family.cmake
Normal file
6
hw/bsp/esp32s2/family.cmake
Normal file
@@ -0,0 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
# Add example src and bsp directories
|
||||
set(EXTRA_COMPONENT_DIRS "src" "${TOP}/hw/bsp/esp32s2/boards" "${TOP}/hw/bsp/esp32s2/components")
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
set(SUPPORTED_TARGETS esp32s2)
|
||||
@@ -1,2 +0,0 @@
|
||||
# Cross Compiler for ESP32
|
||||
CROSS_COMPILE = xtensa-esp32s2-elf-
|
||||
Reference in New Issue
Block a user