diff --git a/.github/workflows/boards.yml b/.github/workflows/boards.yml index 30175c3e8d2..8d5868b083b 100644 --- a/.github/workflows/boards.yml +++ b/.github/workflows/boards.yml @@ -59,6 +59,19 @@ jobs: exit 1; fi + - name: Get libs cache + uses: actions/cache@v4 + with: + key: libs-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('package/package_esp32_index.template.json', 'tools/get.py') }} + path: | + ./tools/dist + ./tools/esp32-arduino-libs + ./tools/esptool + ./tools/mk* + ./tools/openocd-esp32 + ./tools/riscv32-* + ./tools/xtensa-* + - name: Compile sketch uses: P-R-O-C-H-Y/compile-sketches@main with: @@ -73,3 +86,4 @@ jobs: exit-on-fail: true sketch-paths: "- ./libraries/ESP32/examples/CI/CIBoardsTest/CIBoardsTest.ino" + verbose: true diff --git a/boards.txt b/boards.txt index 5163a2d84c9..f77210279f0 100644 --- a/boards.txt +++ b/boards.txt @@ -36821,3 +36821,56 @@ aslcanx2.menu.EraseFlash.all=Enabled aslcanx2.menu.EraseFlash.all.upload.erase_cmd=-e ############################################################## + +esp32test.name=ESP32 TEST CI + +esp32test.bootloader.tool=esptool_py +esp32test.bootloader.tool.default=esptool_py + +esp32test.upload.tool=esptool_py +esp32test.upload.tool.default=esptool_py +esp32test.upload.tool.network=esp_ota + +esp32test.upload.maximum_size=1310720 +esp32test.upload.maximum_data_size=327680 +esp32test.upload.wait_for_upload_port=true +esp32test.upload.flags= +esp32test.upload.extra_flags= + +esp32test.serial.disableDTR=true +esp32test.serial.disableRTS=true + +esp32test.build.tarch=xtensa +esp32test.build.bootloader_addr=0x1000 +esp32test.build.target=esp32 +esp32test.build.mcu=esp32 +esp32test.build.core=esp32 +esp32test.build.variant=esp32 +esp32test.build.board=ESP32_TEST + +esp32test.build.f_cpu=240000000L +esp32test.build.flash_mode=dio +esp32test.build.flash_size=16MB +esp32test.build.boot=dio +esp32test.build.partitions=default +esp32test.build.defines= + +esp32test.menu.FlashFreq.80=80MHz +esp32test.menu.FlashFreq.80.build.flash_freq=80m + +esp32test.menu.PartitionScheme.default=Default (6.25MB APP/OTA/3.43MB SPIFFS) +esp32test.menu.PartitionScheme.default.build.partitions=default_16MB +esp32test.menu.PartitionScheme.default.upload.maximum_size=6553600 + +esp32test.menu.UploadSpeed.921600=921600 +esp32test.menu.UploadSpeed.921600.upload.speed=921600 + +esp32test.menu.DebugLevel.none=None +esp32test.menu.DebugLevel.none.build.code_debug=0 + +esp32test.menu.EraseFlash.none=Disabled +esp32test.menu.EraseFlash.none.upload.erase_cmd= +esp32test.menu.EraseFlash.all=Enabled +esp32test.menu.EraseFlash.all.upload.erase_cmd=-e + +##############################################################