From c8c4a3d450807a8a69bafe10b56accc5d94358fd Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Fri, 26 May 2023 09:49:35 +0200 Subject: [PATCH] build s3 bin --- .github/workflows/pre_release.yml | 4 ++++ platformio.ini | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/pre_release.yml b/.github/workflows/pre_release.yml index 421bcab1a..9da1351c0 100644 --- a/.github/workflows/pre_release.yml +++ b/.github/workflows/pre_release.yml @@ -41,6 +41,10 @@ jobs: run: | platformio run -e ci + - name: Build S3 firmware + run: | + platformio run -e ci_s3 + - name: Create a GH Release id: 'automatic_releases' uses: 'marvinpinto/action-automatic-releases@latest' diff --git a/platformio.ini b/platformio.ini index e0e7bed85..bff85d4ae 100644 --- a/platformio.ini +++ b/platformio.ini @@ -71,6 +71,17 @@ board_build.filesystem = littlefs build_flags = ${common.build_flags} build_unflags = ${common.unbuild_flags} +[env:ci_s3] +platform = https://github.com/platformio/platform-espressif32.git +framework = arduino +extra_scripts = scripts/rename_fw.py +board = lolin_s3 +board_build.f_cpu = 240000000L +board_upload.flash_size = 16MB +board_build.partitions = esp32_partition_16M.csv +build_flags = ${common.build_flags} -O2 +build_unflags = ${common.unbuild_flags} + [env:esp32_4M] platform = espressif32@5.2.0 framework = arduino