summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Trentini <matt.trentini@gmail.com>2024-08-17 16:34:51 +1000
committerDamien George <damien@micropython.org>2024-08-20 12:49:12 +1000
commitb704ff66c3e034c36e548eb0b9874871b5f3b5d0 (patch)
tree31c82cf53264bf74246b9686db71fd5f47f14403
parentad3829977967f3e2f1a3fdb5d9d71f685702fc28 (diff)
esp32/boards: Remove all IDF3 variants.
IDF 3 builds are very old now (it seems like the last successful builds are from 2021), and the current IDF 5 is stable. So remove IDF 3 variants. Signed-off-by: Matt Trentini <matt.trentini@gmail.com>
-rw-r--r--ports/esp32/boards/ESP32_GENERIC/board.json1
-rw-r--r--ports/esp32/boards/UM_TINYPICO/board.json3
-rwxr-xr-xtools/autobuild/build-boards.sh6
3 files changed, 2 insertions, 8 deletions
diff --git a/ports/esp32/boards/ESP32_GENERIC/board.json b/ports/esp32/boards/ESP32_GENERIC/board.json
index 0db38c25d..130f6b88c 100644
--- a/ports/esp32/boards/ESP32_GENERIC/board.json
+++ b/ports/esp32/boards/ESP32_GENERIC/board.json
@@ -16,7 +16,6 @@
"thumbnail": "",
"url": "https://www.espressif.com/en/products/modules",
"variants": {
- "IDF3": "Compiled with IDF 3.x",
"D2WD": "ESP32 D2WD",
"SPIRAM": "Support for SPIRAM / WROVER",
"UNICORE": "ESP32 Unicore",
diff --git a/ports/esp32/boards/UM_TINYPICO/board.json b/ports/esp32/boards/UM_TINYPICO/board.json
index 6dbe762f3..5ec7913c4 100644
--- a/ports/esp32/boards/UM_TINYPICO/board.json
+++ b/ports/esp32/boards/UM_TINYPICO/board.json
@@ -22,8 +22,5 @@
"product": "TinyPICO",
"thumbnail": "",
"url": "https://www.tinypico.com/",
- "variants": {
- "IDF3": "Compiled with IDF 3.x"
- },
"vendor": "Unexpected Maker"
}
diff --git a/tools/autobuild/build-boards.sh b/tools/autobuild/build-boards.sh
index 4b8cf315a..801e7062e 100755
--- a/tools/autobuild/build-boards.sh
+++ b/tools/autobuild/build-boards.sh
@@ -55,10 +55,8 @@ 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"
- # 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
+ # Query variants from board.json and build them.
+ for variant in `cat $board_json | python3 -c "import json,sys; print(' '.join(json.load(sys.stdin).get('variants', {}).keys()))"`; 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 $@