mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
Add esp32c6 support (#3234)
This PR adds support for ESP32 C6, which has been mentioned in #3208.
This commit is contained in:
parent
b11a1d157d
commit
29d83224a8
|
@ -2,7 +2,7 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||||
|
|
||||||
# Set WAMR's build options
|
# 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")
|
set(WAMR_BUILD_TARGET "RISCV32")
|
||||||
else()
|
else()
|
||||||
set(WAMR_BUILD_TARGET "XTENSA")
|
set(WAMR_BUILD_TARGET "XTENSA")
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
ESP32_TARGET="esp32"
|
ESP32_TARGET="esp32"
|
||||||
ESP32C3_TARGET="esp32c3"
|
ESP32C3_TARGET="esp32c3"
|
||||||
ESP32S3_TARGET="esp32s3"
|
ESP32S3_TARGET="esp32s3"
|
||||||
|
ESP32C6_TARGET="esp32c6"
|
||||||
|
|
||||||
usage ()
|
usage ()
|
||||||
{
|
{
|
||||||
|
@ -15,6 +16,7 @@ usage ()
|
||||||
echo " $0 $ESP32_TARGET"
|
echo " $0 $ESP32_TARGET"
|
||||||
echo " $0 $ESP32C3_TARGET"
|
echo " $0 $ESP32C3_TARGET"
|
||||||
echo " $0 $ESP32S3_TARGET"
|
echo " $0 $ESP32S3_TARGET"
|
||||||
|
echo " $0 $ESP32C6_TARGET"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user