Skip to content

Commit 44177d2

Browse files
authored
Enable srmodel export for ESP32-P4 (#313)
1 parent 3aa1668 commit 44177d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
226226
idf.py -DIDF_TARGET="$target" -DSDKCONFIG_DEFAULTS="$idf_libs_configs" idf-libs
227227
if [ $? -ne 0 ]; then exit 1; fi
228228

229-
if [ "$target" == "esp32s3" ]; then
229+
if [ "$target" == "esp32s3" ] || [ "$target" == "esp32p4" ]; then
230230
idf.py -DIDF_TARGET="$target" -DSDKCONFIG_DEFAULTS="$idf_libs_configs" srmodels_bin
231231
if [ $? -ne 0 ]; then exit 1; fi
232232
AR_SDK="$AR_TOOLS/esp32-arduino-libs/$target"

configs/builds.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
},
6161
{
6262
"target": "esp32p4",
63-
"features":["qio_ram"],
63+
"features":["qio_ram","esp_sr"],
6464
"idf_libs":["qio","80m_200m"],
6565
"bootloaders":[
6666
["qio","80m_200m"],

0 commit comments

Comments
 (0)