diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2023-08-15 23:12:42 +1000 |
|---|---|---|
| committer | Jim Mussared <jim.mussared@gmail.com> | 2023-08-23 13:54:37 +1000 |
| commit | b5836e7252f78831d4ce45778a5f84c46f096df5 (patch) | |
| tree | 172adcfccecfa117cea19c5ded67f4960cba7fda /tools/autobuild/build-boards.sh | |
| parent | f007d0aa3d91df70a79c5ebded7ac303c451f63f (diff) | |
esp32: Use uppercase variant names.
This is to support a future change to add the variant name to the build
directory and therefore should be the same style as the board name.
This work was funded through GitHub Sponsors.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'tools/autobuild/build-boards.sh')
| -rwxr-xr-x | tools/autobuild/build-boards.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/autobuild/build-boards.sh b/tools/autobuild/build-boards.sh index f75ccba39..82d7f3605 100755 --- a/tools/autobuild/build-boards.sh +++ b/tools/autobuild/build-boards.sh @@ -55,10 +55,10 @@ function build_board { $MICROPY_AUTOBUILD_MAKE BOARD=$board BUILD=$build_dir && copy_artefacts $dest_dir $descr $fw_tag $build_dir $@ rm -rf $build_dir - # Query variants from board.json and build them. Ignore the special "idf3" + # Query variants from board.json and build them. Ignore the special "IDF3" # variant for ESP32 boards (this allows the downloads page to still have # the idf3 files for older releases that used to be explicitly built). - for variant in `cat $board_json | python3 -c "import json,sys; print(' '.join(v for v in json.load(sys.stdin).get('variants', {}).keys() if v != 'idf3'))"`; do + for variant in `cat $board_json | python3 -c "import json,sys; print(' '.join(v for v in json.load(sys.stdin).get('variants', {}).keys() if v != 'IDF3'))"`; do local variant_build_dir=$build_dir-$variant echo "building variant $descr $board $variant" $MICROPY_AUTOBUILD_MAKE BOARD=$board BOARD_VARIANT=$variant BUILD=$variant_build_dir && copy_artefacts $dest_dir $descr-$variant $fw_tag $variant_build_dir $@ |
