Add esp32c6 support (#3234)

This PR adds support for ESP32 C6, which has been mentioned in #3208.
This commit is contained in:
Tao Xiong
2024-03-19 01:15:46 +01:00
committed by GitHub
parent b11a1d157d
commit 29d83224a8
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# Set WAMR's build options
if("${IDF_TARGET}" STREQUAL "esp32c3")
if("${IDF_TARGET}" STREQUAL "esp32c3" OR "${IDF_TARGET}" STREQUAL "esp32c6")
set(WAMR_BUILD_TARGET "RISCV32")
else()
set(WAMR_BUILD_TARGET "XTENSA")