Skip to content

Commit

Permalink
esp-idf v5.4 test
Browse files Browse the repository at this point in the history
  • Loading branch information
tobozo committed Nov 14, 2024
1 parent e761dbe commit 21b3d92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/esp-idf-versions.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/

// hardcoded EOL versions, official versions will be added by the script
$hardcoded_fqbns = ['esp32@4.3.6', 'esp32@4.1.4', 'esp32s3@release/v5.4'];
$hardcoded_fqbns = ['esp32@v4.3.6', 'esp32@v4.1.4', 'esp32s3@release/v5.4'];

// restrict output to these idf targets, other targets will be ignored
$idf_boards = ['esp32', 'esp32s2', 'esp32s3', 'esp32c6'/*, 'esp32h2', 'esp32p4', 'esp32c5'*/];
Expand Down Expand Up @@ -64,7 +64,7 @@
if(in_array($board, $idf_boards)) // only keep supported targets
{
// e.g. esp32@5.2.1
$fqbns[] = $board.'@'.str_replace(["v","V"], "", $version['name']);
$fqbns[] = $board.'@v'.str_replace(["v","V"], "", $version['name']);
}
}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/IDFBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
cd ~/esp
idf_fqbn="${{ matrix.esp-idf-fqbn }}"
idf_version=${idf_fqbn#*@}
if [ ! -d "./esp-idf/" ]; then git clone -b v$idf_version --recursive ${{ needs.set_matrix.outputs.repo_url }} esp-idf; fi
if [ ! -d "./esp-idf/" ]; then git clone -b $idf_version --recursive ${{ needs.set_matrix.outputs.repo_url }} esp-idf; fi
cd ~/esp/esp-idf
if [ ! -d "~/.espressif" ]; then ./install.sh; fi
Expand Down

0 comments on commit 21b3d92

Please sign in to comment.