File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -211,11 +211,17 @@ for target_json in `jq -c '.targets[]' configs/builds.json`; do
211211
212212 # Build IDF Libs
213213 idf_libs_configs=" $main_configs "
214+
215+ # Extract frequency from idf_libs (element [1]) for esp32s3
216+ if [ " $target " = " esp32s3" ]; then
217+ export MEM_VARIANT_FREQ=$( echo " $target_json " | jq -r ' .idf_libs[1]' )
218+ fi
219+
214220 for defconf in ` echo " $target_json " | jq -c ' .idf_libs[]' | tr -d ' "' ` ; do
215221 idf_libs_configs=" $idf_libs_configs ;configs/defconfig.$defconf "
216222 done
217223
218- echo " * Build IDF-Libs: $idf_libs_configs "
224+ echo " * Build IDF-Libs: $idf_libs_configs (freq: $MEM_VARIANT_FREQ ) "
219225 rm -rf build sdkconfig
220226 idf.py -DIDF_TARGET=" $target " -DSDKCONFIG_DEFAULTS=" $idf_libs_configs " idf-libs
221227 if [ $? -ne 0 ]; then exit 1; fi
You can’t perform that action at this time.
0 commit comments