Skip to content

Commit

Permalink
feat: Add CMakeLists for ESP32-S3 build configurat
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Feb 6, 2024
1 parent 5352921 commit c7cd4ca
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions esp32/CMakeLists.txt
@@ -0,0 +1,12 @@
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(cmatrix_esp32)

# Set the required components for the project
set(REQUIRED_COMPONENTS freertos esp32 spi_flash)

# Specify the source files
set(SOURCE_FILES main.c)

# Set the target chip to ESP32-S3
idf_build_set_property(TARGET esp32s3 REQUIRE)

0 comments on commit c7cd4ca

Please sign in to comment.