Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: espressif/arduino-esp32
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.0.0
Choose a base ref
...
head repository: espressif/arduino-esp32
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.0.1
Choose a head ref

Commits on May 27, 2024

  1. feat(reports): Update Issue-report.yml with new versions (#9699)

    Adding missing versions from Issue Report form
    me-no-dev authored May 27, 2024
    Copy the full SHA
    2b0404b View commit details
  2. Copy the full SHA
    dcfb257 View commit details
  3. fix(release): install missing 'packaging' package (#9698)

    * fix(release): install missing 'packaging' package
    
    Necessary to combine the json files
    
    * Update .github/workflows/release.yml
    
    Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
    me-no-dev and lucasssvaz authored May 27, 2024
    Copy the full SHA
    3925d51 View commit details
  4. ci(wokwi): Self host Wokwi CLI server (#9701)

    * ci(wokwi): Self host Wokwi CLI server
    
    * ci(event_file): Fix file upload
    
    * change(tests): Re-run once on test failure
    lucasssvaz authored May 27, 2024
    Copy the full SHA
    d45f35a View commit details

Commits on May 28, 2024

  1. fix(IDF): Define max IDF version for the component (#9703)

    Fixes the issue, where the component is shown as compatible with ESP-IDF 5.2, while in fact isn't.
    
    cc: @igrr
    me-no-dev authored May 28, 2024
    Copy the full SHA
    62bf719 View commit details
  2. Copy the full SHA
    3267469 View commit details
  3. ci(external_libs): Add ZACwire to External libraries compilation test (

    …#9705)
    
    * Add ZACwire to External libraries compilation test
    
    * fix example path
    
    * fix(lib): fixed link to right examples
    
    The previously linked example wasn't working, so I linked two other examples, which are more up to date
    lebuni authored May 28, 2024
    Copy the full SHA
    d8e1374 View commit details

Commits on May 29, 2024

  1. Addition (3rd_party_board): Add board support for Autosport Labs ESP3…

    …2-CAN-X2 development board (#9683)
    
    * add board support for Autosport Labs ESP32-CAN-X2 development board
    
    * change(board-support): Add board support for Autosport Labs ESP32-CAN-X2 development board
    
    * change(board-support) - remove entries that are already globally defined
    
    * change(board-support) rename board name
    
    * change(board-support) switch ASL-CAN-X2 to ASL_CAN_X2
    
    * change(board-support) fix formatting, correct USB VID/PID to match our own product
    
    * Update variants/aslcanx2/pins_arduino.h
    
    Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
    
    * Update variants/aslcanx2/pins_arduino.h
    
    Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
    brentpicasso and lucasssvaz authored May 29, 2024
    Copy the full SHA
    10a48f5 View commit details
  2. fix(net): Don't unregister events if there are interfaces still open (#…

    …9706)
    
    * fix(net): Don't unreg events if there are netifs
    
    Unregister IP events only if all other netifs are stopped.
    
    * fix(eth): Delete mac and phy on end
    
    * fix(net): Update pin naming and log levels
    me-no-dev authored May 29, 2024
    Copy the full SHA
    a4ee652 View commit details
  3. fix(boards): Remove duplicate VID/PID from boards.txt and add default…

    … CDC/JTAG board (#9717)
    
    * fix(boards): boards must define unique VID/PID
    
    Also adds a hidden board with the default VID/PID of USB CDC/JTAG in order to always show that in IDE when ESP32 CDC/JTAG device is connected
    
    * fix(boards): Skip test for the generic board
    
    * Trigger board test
    
    * fix(boards): Make discovery work on IDE2
    me-no-dev authored May 29, 2024
    Copy the full SHA
    f772fca View commit details
  4. docs(libraries): Add new SoCs H2 and C6 to missing parts in docs (#9709)

    * docs(libraries): Add new SoCs
    
    * docs(): Add C2 and H2 to USB and getting started
    
    * docs(): Fix table format
    
    * docs(extension): Add sphinxemoji support
    
    * docs(): Lower emoji version
    
    * Revert "docs(): Lower emoji version"
    
    This reverts commit 3f3e0ad.
    
    * Revert "docs(extension): Add sphinxemoji support"
    
    This reverts commit e903da6.
    
    * docs(): Shrink peripherals table
    
    * docs(): Shrink table even more
    
    * docs(): Shrink table more and more
    
    * docs(): Shrink table the most I am able to
    P-R-O-C-H-Y authored May 29, 2024
    Copy the full SHA
    55e340c View commit details
  5. feat(tools):Use Windows native path separator in ESP_SR model copy co…

    …mmand pattern (#9649)
    
    * fix(platform): Use Win path separator in ESP_SR copy command pattern
    
    Although Windows generally supports the use of the POSIX compliant slash path separator in addition
    to the Windows native backslash separator, in the specific use case where a path is present in a
    native command executed via an argument to `cmd /c` in a platform command pattern, it is mandatory
    to use backslash path separators.
    
    Previously, a slash path separator was used in the `tools.esp32-arduino-libs.path` and
    `compiler.sdk.path` platform properties, which were referenced in a `copy` command in the `cmd /c`
    argument part of the platform's `recipe.hooks.objcopy.postobjcopy.2.pattern.windows` command
    pattern. This caused compilation to fail with a "The syntax of the command is incorrect." error
    under the following conditions:
    
    - The compilation is performed on a Windows machine
    - The compiled sketch uses the ESP_SR library
    
    This is fixed by adding Windows override variants of the properties, with backslash path separators.
    
    * fix(release): Remove windows path to libs when releasing
    
    ---------
    
    Co-authored-by: me-no-dev <hristo@espressif.com>
    per1234 and me-no-dev authored May 29, 2024
    Copy the full SHA
    79b8350 View commit details

Commits on May 30, 2024

  1. Copy the full SHA
    f1cb6b8 View commit details
  2. Copy the full SHA
    16b1aeb View commit details
  3. Updated UM boards for IDE2 & CLI (#9726)

    * Updated UM boards for IDE2 & CLI
    
    * Removed unwanted UM_RMP folder.
    UnexpectedMaker authored May 30, 2024
    Copy the full SHA
    c16a325 View commit details

Commits on Jun 3, 2024

  1. feat(tools): Updated get.py with ability to verify extracted files an…

    …d skip if ok (#8720)
    
    * Updated get.py with ability to verify extracted files and skip if ok
    
    * Updates
    
    * Minor fixes
    
    * Push binary to tools
    
    * Fix formatting and add checksum comparison
    
    * Push binary to tools
    
    * Skip checksum for libs
    
    * Push binary to tools
    
    * ci(pre-commit): Apply automatic fixes
    
    * Push binary to tools
    
    * Make the linter happy
    
    * Push binary to tools
    
    * refactor(get.py): Small improvements
    
    * fix(get.py): Fix parent folder name
    
    * ci(pre-commit): Apply automatic fixes
    
    * Push binary to tools
    
    * fix(get.py): Fix header comment
    
    * Push binary to tools
    
    ---------
    
    Co-authored-by: Tomas Pilny <tomas.pilny@espressif.com>
    Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
    Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
    Co-authored-by: pre-commit-ci-lite[bot] <pre-commit-ci-lite[bot]@users.noreply.github.com>
    Co-authored-by: lucasssvaz <lucasssvaz@users.noreply.github.com>
    6 people authored Jun 3, 2024
    Copy the full SHA
    00fb799 View commit details
  2. Copy the full SHA
    58e61ef View commit details
  3. Copy the full SHA
    2122811 View commit details
  4. ci(sizes): Sites test between master and 2.x branch (#9755)

    * ci(sizes):  Sites test between master and 2.x branch
    
    * ci(sizes): Remove if as its manual trigger
    P-R-O-C-H-Y authored Jun 3, 2024
    Copy the full SHA
    f447a92 View commit details
  5. Copy the full SHA
    a62ad55 View commit details
  6. Copy the full SHA
    e33022f View commit details
  7. Copy the full SHA
    ffeebf8 View commit details
  8. Copy the full SHA
    97c98eb View commit details
  9. feat(usb): Support the new USB IDF API (#9761)

    * feat(usb): Support the new USB IDF API
    
    Required for the latest ESP-IDF release/v5.1
    
    * ci(pre-commit): Apply automatic fixes
    
    ---------
    
    Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
    me-no-dev and pre-commit-ci-lite[bot] authored Jun 3, 2024
    Copy the full SHA
    8b4c130 View commit details
  10. feat(idf): Require esp_psram when as component (#9762)

    * feat(idf): Require esp_psram when as component
    
    * fix(idf): Move requirement to private
    me-no-dev authored Jun 3, 2024
    Copy the full SHA
    f742b74 View commit details
  11. fix(idf): Require MDNS as public (#9764)

    * fix(idf): Require MDNS as public
    
    Included in Arduino's public headers
    
    * fix(idf): Switch to require through the component yaml
    me-no-dev authored Jun 3, 2024
    Copy the full SHA
    de2fc25 View commit details

Commits on Jun 4, 2024

  1. fix(tls): do not attach bundle from runtime (#9763)

    * fix(tls): do not attach bundle from runtime
    
    * fix(ssl): Make the bundle callback per context
    me-no-dev authored Jun 4, 2024
    Copy the full SHA
    546ce38 View commit details
  2. Copy the full SHA
    ce229a1 View commit details
  3. fix(ssl): Fix load stream memory leak (#9767)

    * fix(ssl): Fix load stream memory leak
    
    Loading Ca Cert/Certificate or Private Key from stream was leaking memory, due to buffers not being freed.
    
    * fix(ssl): Cast the buffers to non-const
    me-no-dev authored Jun 4, 2024
    Copy the full SHA
    55ec22f View commit details
  4. feat(partition): Add 4MB No File System partition scheme (#9769)

    Adds partition scheme with two apps, 2MB each.
    me-no-dev authored Jun 4, 2024
    Copy the full SHA
    04427c9 View commit details
  5. fix(release): Shorten all toolchain names/versions (#9760)

    Helps to overcome the limit of windows path, when the usernames are long.
    me-no-dev authored Jun 4, 2024
    Copy the full SHA
    dc5bd38 View commit details
  6. fix: Changed Board name (#9773)

    fix: Changed Board name
    SooDragon authored Jun 4, 2024
    Copy the full SHA
    6405238 View commit details

Commits on Jun 5, 2024

  1. Copy the full SHA
    e99f40c View commit details
  2. Copy the full SHA
    cc50d90 View commit details
Showing with 1,113 additions and 498 deletions.
  1. +4 −0 .github/ISSUE_TEMPLATE/Issue-report.yml
  2. +1 −1 .github/scripts/find_new_boards.sh
  3. +23 −4 .github/scripts/on-release.sh
  4. +10 −2 .github/scripts/tests_run.sh
  5. +3 −3 .github/scripts/update-version.sh
  6. +6 −10 .github/workflows/hil.yml
  7. +17 −1 .github/workflows/lib.json
  8. +1 −1 .github/workflows/publishlib.yml
  9. +53 −0 .github/workflows/publishsizes-2.x.yml
  10. +1 −1 .github/workflows/publishsizes.yml
  11. +1 −0 .github/workflows/release.yml
  12. +3 −0 .github/workflows/wokwi.yml
  13. +1 −1 CMakeLists.txt
  14. +2 −2 README.md
  15. +486 −278 boards.txt
  16. +3 −2 cores/esp32/Esp.cpp
  17. +2 −1 cores/esp32/IPAddress.cpp
  18. +3 −2 cores/esp32/chip-debug-report.cpp
  19. +7 −2 cores/esp32/esp32-hal-tinyusb.c
  20. +1 −1 cores/esp32/esp_arduino_version.h
  21. +7 −9 docs/en/esp-idf_component.rst
  22. +10 −10 docs/en/getting_started.rst
  23. +49 −47 docs/en/libraries.rst
  24. +2 −0 docs/en/tutorials/cdc_dfu_flash.rst
  25. +11 −7 idf_component.yml
  26. +55 −24 libraries/Ethernet/src/ETH.cpp
  27. +3 −0 libraries/Ethernet/src/ETH.h
  28. +21 −2 libraries/Network/src/NetworkInterface.cpp
  29. +37 −1 libraries/NetworkClientSecure/src/NetworkClientSecure.cpp
  30. +4 −1 libraries/NetworkClientSecure/src/NetworkClientSecure.h
  31. +16 −5 libraries/NetworkClientSecure/src/ssl_client.cpp
  32. +5 −0 libraries/NetworkClientSecure/src/ssl_client.h
  33. +1 −0 libraries/PPP/src/PPP.cpp
  34. +1 −1 libraries/WiFi/src/AP.cpp
  35. +3 −3 libraries/WiFi/src/STA.cpp
  36. +6 −3 libraries/WiFi/src/WiFiScan.cpp
  37. +2 −0 libraries/WiFi/src/WiFiScan.h
  38. +1 −1 package.json
  39. +3 −1 platform.txt
  40. BIN tools/get.exe
  41. +219 −42 tools/get.py
  42. +6 −0 tools/partitions/no_fs.csv
  43. +1 −0 variants/arduino_nano_nora/dfu_callbacks.cpp
  44. +7 −0 variants/aslcanx2/default_8MB_ffat.csv
  45. +15 −29 variants/{um_rmp → aslcanx2}/pins_arduino.h
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/Issue-report.yml
Original file line number Diff line number Diff line change
@@ -41,6 +41,10 @@ body:
options:
- latest master (checkout manually)
- latest development Release Candidate (RC-X)
- v3.0.0
- v2.0.17
- v2.0.16
- v2.0.15
- v2.0.14
- v2.0.13
- v2.0.12
2 changes: 1 addition & 1 deletion .github/scripts/find_new_boards.sh
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ do
break
fi
board_name=$(echo "$line" | cut -d '.' -f1 | cut -d '#' -f1)
if [ "$board_name" != "" ]
if [ "$board_name" != "" ] && [ "$board_name" != "esp32_family" ]
then
if [ "$board_name" != "$previous_board" ]
then
27 changes: 23 additions & 4 deletions .github/scripts/on-release.sh
Original file line number Diff line number Diff line change
@@ -216,16 +216,23 @@ find "$PKG_DIR" -name '*.git*' -type f -delete
##
RVTC_NAME="riscv32-esp-elf-gcc"
RVTC_NEW_NAME="esp-rv32"
X32TC_NAME="xtensa-esp32-elf-gcc"
X32TC_NEW_NAME="esp-x32"
XS2TC_NAME="xtensa-esp32s2-elf-gcc"
XS2TC_NEW_NAME="esp-xs2"
XS3TC_NAME="xtensa-esp32s3-elf-gcc"
XS3TC_NEW_NAME="esp-xs3"

# Replace tools locations in platform.txt
echo "Generating platform.txt..."
cat "$GITHUB_WORKSPACE/platform.txt" | \
sed "s/version=.*/version=$RELEASE_TAG/g" | \
sed 's/tools\.esp32-arduino-libs\.path\.windows=.*//g' | \
sed 's/{runtime\.platform\.path}.tools.esp32-arduino-libs/\{runtime.tools.esp32-arduino-libs.path\}/g' | \
sed 's/{runtime\.platform\.path}.tools.xtensa-esp-elf-gdb/\{runtime.tools.xtensa-esp-elf-gdb.path\}/g' | \
sed 's/{runtime\.platform\.path}.tools.xtensa-esp32-elf/\{runtime.tools.xtensa-esp32-elf-gcc.path\}/g' | \
sed 's/{runtime\.platform\.path}.tools.xtensa-esp32s2-elf/\{runtime.tools.xtensa-esp32s2-elf-gcc.path\}/g' | \
sed 's/{runtime\.platform\.path}.tools.xtensa-esp32s3-elf/\{runtime.tools.xtensa-esp32s3-elf-gcc.path\}/g' | \
sed "s/{runtime\.platform\.path}.tools.xtensa-esp32-elf/\\{runtime.tools.$X32TC_NEW_NAME.path\\}/g" | \
sed "s/{runtime\.platform\.path}.tools.xtensa-esp32s2-elf/\\{runtime.tools.$XS2TC_NEW_NAME.path\\}/g" | \
sed "s/{runtime\.platform\.path}.tools.xtensa-esp32s3-elf/\\{runtime.tools.$XS3TC_NEW_NAME.path\\}/g" | \
sed 's/{runtime\.platform\.path}.tools.riscv32-esp-elf-gdb/\{runtime.tools.riscv32-esp-elf-gdb.path\}/g' | \
sed "s/{runtime\.platform\.path}.tools.riscv32-esp-elf/\\{runtime.tools.$RVTC_NEW_NAME.path\\}/g" | \
sed 's/{runtime\.platform\.path}.tools.esptool/\{runtime.tools.esptool_py.path\}/g' | \
@@ -341,7 +348,19 @@ rvtc_jq_arg="\
(.packages[0].platforms[0].toolsDependencies[] | select(.name==\"$RVTC_NAME\")).version = \"$RVTC_VERSION\" |\
(.packages[0].platforms[0].toolsDependencies[] | select(.name==\"$RVTC_NAME\")).name = \"$RVTC_NEW_NAME\" |\
(.packages[0].tools[] | select(.name==\"$RVTC_NAME\")).version = \"$RVTC_VERSION\" |\
(.packages[0].tools[] | select(.name==\"$RVTC_NAME\")).name = \"$RVTC_NEW_NAME\""
(.packages[0].tools[] | select(.name==\"$RVTC_NAME\")).name = \"$RVTC_NEW_NAME\" |\
(.packages[0].platforms[0].toolsDependencies[] | select(.name==\"$X32TC_NAME\")).version = \"$RVTC_VERSION\" |\
(.packages[0].platforms[0].toolsDependencies[] | select(.name==\"$X32TC_NAME\")).name = \"$X32TC_NEW_NAME\" |\
(.packages[0].tools[] | select(.name==\"$X32TC_NAME\")).version = \"$RVTC_VERSION\" |\
(.packages[0].tools[] | select(.name==\"$X32TC_NAME\")).name = \"$X32TC_NEW_NAME\" |\
(.packages[0].platforms[0].toolsDependencies[] | select(.name==\"$XS2TC_NAME\")).version = \"$RVTC_VERSION\" |\
(.packages[0].platforms[0].toolsDependencies[] | select(.name==\"$XS2TC_NAME\")).name = \"$XS2TC_NEW_NAME\" |\
(.packages[0].tools[] | select(.name==\"$XS2TC_NAME\")).version = \"$RVTC_VERSION\" |\
(.packages[0].tools[] | select(.name==\"$XS2TC_NAME\")).name = \"$XS2TC_NEW_NAME\" |\
(.packages[0].platforms[0].toolsDependencies[] | select(.name==\"$XS3TC_NAME\")).version = \"$RVTC_VERSION\" |\
(.packages[0].platforms[0].toolsDependencies[] | select(.name==\"$XS3TC_NAME\")).name = \"$XS3TC_NEW_NAME\" |\
(.packages[0].tools[] | select(.name==\"$XS3TC_NAME\")).version = \"$RVTC_VERSION\" |\
(.packages[0].tools[] | select(.name==\"$XS3TC_NAME\")).name = \"$XS3TC_NEW_NAME\""
cat "$PACKAGE_JSON_TEMPLATE" | jq "$rvtc_jq_arg" > "$OUTPUT_DIR/package-$LIBS_PROJ_NAME-rvfix.json"
PACKAGE_JSON_TEMPLATE="$OUTPUT_DIR/package-$LIBS_PROJ_NAME-rvfix.json"

12 changes: 10 additions & 2 deletions .github/scripts/tests_run.sh
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@ function run_test() {
local erase_flash=$4
local sketchdir=$(dirname $sketch)
local sketchname=$(basename $sketchdir)
local result=0

if [[ -f "$sketchdir/.skip.$platform" ]] || [[ -f "$sketchdir/.skip.$target" ]] || [[ -f "$sketchdir/.skip.$platform.$target" ]]; then
echo "Skipping $sketchname test for $target, platform: $platform"
@@ -61,11 +62,18 @@ function run_test() {
extra_args="--embedded-services esp,arduino"
fi

result=0
echo "pytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args"
bash -c "pytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args"
bash -c "set +e; pytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args; exit \$?" || result=$?
result=$?
if [ $result -ne 0 ]; then
return $result
result=0
echo "Retrying test: $sketchname -- Config: $i"
bash -c "set +e; pytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args; exit \$?" || result=$?
result=$?
if [ $result -ne 0 ]; then
exit $result
fi
fi
done
}
6 changes: 3 additions & 3 deletions .github/scripts/update-version.sh
Original file line number Diff line number Diff line change
@@ -32,8 +32,8 @@ cat package.json | sed "s/.*\"version\":.*/ \"version\": \"$ESP_ARDUINO_VERSION

echo "Updating cores/esp32/esp_arduino_version.h..."
cat cores/esp32/esp_arduino_version.h | \
sed "s/#define ESP_ARDUINO_VERSION_MAJOR.*/#define ESP_ARDUINO_VERSION_MAJOR $ESP_ARDUINO_VERSION_MAJOR/g" | \
sed "s/#define ESP_ARDUINO_VERSION_MINOR.*/#define ESP_ARDUINO_VERSION_MINOR $ESP_ARDUINO_VERSION_MINOR/g" | \
sed "s/#define ESP_ARDUINO_VERSION_PATCH.*/#define ESP_ARDUINO_VERSION_PATCH $ESP_ARDUINO_VERSION_PATCH/g" > __esp_arduino_version.h && mv __esp_arduino_version.h cores/esp32/esp_arduino_version.h
sed "s/#define ESP_ARDUINO_VERSION_MAJOR.*/#define ESP_ARDUINO_VERSION_MAJOR $ESP_ARDUINO_VERSION_MAJOR/g" | \
sed "s/#define ESP_ARDUINO_VERSION_MINOR.*/#define ESP_ARDUINO_VERSION_MINOR $ESP_ARDUINO_VERSION_MINOR/g" | \
sed "s/#define ESP_ARDUINO_VERSION_PATCH.*/#define ESP_ARDUINO_VERSION_PATCH $ESP_ARDUINO_VERSION_PATCH/g" > __esp_arduino_version.h && mv __esp_arduino_version.h cores/esp32/esp_arduino_version.h

exit 0
16 changes: 6 additions & 10 deletions .github/workflows/hil.yml
Original file line number Diff line number Diff line change
@@ -59,6 +59,12 @@ jobs:
echo "test_folder=${test_folder}" >> $GITHUB_OUTPUT
echo "test_type=${test_type}" >> $GITHUB_OUTPUT
- name: Upload Event file
uses: actions/upload-artifact@v4
with:
name: event_file
path: ${{github.event_path}}

build:
needs: gen_chunks
name: ${{matrix.chip}}-Build#${{matrix.chunks}}
@@ -267,13 +273,3 @@ jobs:
path: |
tests/**/*.xml
tests/**/result_*.json
event_file:
name: "Event File"
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v4
with:
name: event_file
path: ${{github.event_path}}
18 changes: 17 additions & 1 deletion .github/workflows/lib.json
Original file line number Diff line number Diff line change
@@ -35,6 +35,14 @@
"~/Arduino/libraries/ESPAsyncWebServer/examples/simple_server/simple_server.ino"
]
},
{
"name": "EthernetESP32",
"exclude_targets": [],
"sketch_path": [
"~/Arduino/libraries/EthernetESP32/examples/LegacyEthernetTest/LegacyEthernetTest.ino",
"~/Arduino/libraries/EthernetESP32/examples/TwoEthernets/TwoEthernets.ino"
]
},
{
"name": "FastLED",
"exclude_targets": [],
@@ -62,5 +70,13 @@
"sketch_path": [
"~/Arduino/libraries/WS2812FX/examples/ws2812fx_spi/ws2812fx_spi.ino"
]
},
{
"name": "ZACwire for TSic",
"exclude_targets": [],
"sketch_path": [
"~/Arduino/libraries/ZACwire_for_TSic/examples/ReadingTwoTSICs/ReadingTwoTSICs.ino",
"~/Arduino/libraries/ZACwire_for_TSic/examples/ReadSingleTSIC206/ReadSingleTSIC206.ino"
]
}
]
]
2 changes: 1 addition & 1 deletion .github/workflows/publishlib.yml
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ jobs:
IFS=$'\t' read name url <<< "$artifact"
gh api $url > "$name.zip"
unzip -j "$name.zip" -d "temp_$name"
if [[ "$name" == "pr_num" ]]; then
if [[ "$name" == "pr_number" ]]; then
mv "temp_$name"/* workflows
else
mv "temp_$name"/* libraries-report
53 changes: 53 additions & 0 deletions .github/workflows/publishsizes-2.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Sizes Results (master-v2.x)

on:
workflow_dispatch:

env:
# It's convenient to set variables for values used multiple times in the workflow
SKETCHES_REPORTS_PATH: artifacts/sizes-report
RESULT_SIZES_TEST_FILE: SIZES_TEST.md
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

jobs:
sizes-test-results:
name: Sizes Comparsion Results
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4 # This step checks out the repository's code at gh-pages branch
with:
ref: gh-pages

- name: Create folder structure
run: |
mkdir -p artifacts && cd artifacts
mkdir -p sizes-report
mkdir -p sizes-report/master
mkdir -p sizes-report/pr
# master folder is a base for comparison
# pr folder is for comparison with master
- name: Download JSON file
run: |
mv master_cli_compile/*.json artifacts/sizes-report/pr/
mv v2.x_cli_compile/*.json artifacts/sizes-report/master/
- name: Report results
uses: P-R-O-C-H-Y/report-size-deltas@sizes_v2
with:
sketches-reports-source: ${{ env.SKETCHES_REPORTS_PATH }}
github-token: ${{ env.GITHUB_TOKEN }}
destination-file: ${{ env.RESULT_SIZES_TEST_FILE }}

- name: Append file with action URL
run:
echo "/ [GitHub Action Link](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})" >> ${{ env.RESULT_SIZES_TEST_FILE }}

- name: Push to github repo
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add ${{ env.RESULT_SIZES_TEST_FILE }}
git commit -m "Generated Sizes Results (master-v2.x)"
git push origin HEAD:gh-pages
2 changes: 1 addition & 1 deletion .github/workflows/publishsizes.yml
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ jobs:
IFS=$'\t' read name url <<< "$artifact"
gh api $url > "$name.zip"
unzip -j "$name.zip" -d "temp_$name"
if [[ "$name" == "pr_num" ]]; then
if [[ "$name" == "pr_number" ]]; then
mv "temp_$name"/* sizes-report
elif [[ "$name" == "pr_cli"* ]]; then
mv "temp_$name"/* sizes-report/pr
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: pip install packaging
- name: Build Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/wokwi.yml
Original file line number Diff line number Diff line change
@@ -95,6 +95,9 @@ jobs:
- name: Install Wokwi CLI
run: curl -L https://wokwi.com/ci/install.sh | sh

- name: Wokwi CI Server
uses: wokwi/wokwi-ci-server-action@v1

- name: Install dependencies
run: |
pip install -U pip
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -288,7 +288,7 @@ set(includedirs variants/${CONFIG_ARDUINO_VARIANT}/ cores/esp32/ ${ARDUINO_LIBRA
set(srcs ${CORE_SRCS} ${ARDUINO_LIBRARIES_SRCS})
set(priv_includes cores/esp32/libb64)
set(requires spi_flash esp_partition mbedtls wifi_provisioning wpa_supplicant esp_adc esp_eth http_parser)
set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support bt esp_hid usb ${ARDUINO_LIBRARIES_REQUIRES})
set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support bt esp_hid usb esp_psram ${ARDUINO_LIBRARIES_REQUIRES})

idf_component_register(INCLUDE_DIRS ${includedirs} PRIV_INCLUDE_DIRS ${priv_includes} SRCS ${srcs} REQUIRES ${requires} PRIV_REQUIRES ${priv_requires})

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -57,8 +57,8 @@ Here are the ESP32 series supported by the Arduino-ESP32 project:
| ESP32-S2 | Yes | Yes | [ESP32-S2](https://www.espressif.com/sites/default/files/documentation/esp32-s2_datasheet_en.pdf) |
| ESP32-C3 | Yes | Yes | [ESP32-C3](https://www.espressif.com/sites/default/files/documentation/esp32-c3_datasheet_en.pdf) |
| ESP32-S3 | Yes | Yes | [ESP32-S3](https://www.espressif.com/sites/default/files/documentation/esp32-s3_datasheet_en.pdf) |
| ESP32-C6 | No | Yes | [ESP32-C6](https://www.espressif.com/sites/default/files/documentation/esp32-c6_datasheet_en.pdf) |
| ESP32-H2 | No | Yes | [ESP32-H2](https://www.espressif.com/sites/default/files/documentation/esp32-h2_datasheet_en.pdf) |
| ESP32-C6 | Yes | Yes | [ESP32-C6](https://www.espressif.com/sites/default/files/documentation/esp32-c6_datasheet_en.pdf) |
| ESP32-H2 | Yes | Yes | [ESP32-H2](https://www.espressif.com/sites/default/files/documentation/esp32-h2_datasheet_en.pdf) |

> [!NOTE]
> ESP32-C2 is also supported by Arduino-ESP32 but requires rebuilding the static libraries. This is not trivial and requires a good understanding of the ESP-IDF
Loading