Skip to content

Commit 7938dfa

Browse files
committed
Add ospi/qspi PSRAM build artifacts
1 parent 011fa7e commit 7938dfa

File tree

2 files changed

+32
-8
lines changed

2 files changed

+32
-8
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ jobs:
3030
permissions: {}
3131
strategy:
3232
fail-fast: true
33+
matrix:
34+
board:
35+
- profile: esp32s3-ospi
36+
# If you change this line, change it in sketch.yaml as well
37+
fqbn: esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=8M,PSRAM=opi,CPUFreq=80,USBMode=hwcdc,FlashMode=qio,PartitionScheme=custom,DebugLevel=none
38+
artifact-suffix: ospi
39+
- profile: esp32s3-qspi
40+
# If you change this line, change it in sketch.yaml as well
41+
fqbn: esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=8M,PSRAM=enabled,CPUFreq=80,USBMode=hwcdc,FlashMode=qio,PartitionScheme=custom,DebugLevel=none
42+
artifact-suffix: qspi
43+
3344
outputs:
3445
slug: ${{ steps.slug.outputs.slug }}
3546

@@ -52,11 +63,10 @@ jobs:
5263
github-token: ${{ secrets.GITHUB_TOKEN }}
5364
sketch-paths: |
5465
- ats-mini
55-
# If you change this line, change it in sketch.yaml as well
56-
fqbn: esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=8M,PSRAM=disabled,CPUFreq=80,USBMode=hwcdc,FlashMode=qio,PartitionScheme=custom,DebugLevel=none
66+
fqbn: ${{ matrix.board.fqbn }}
5767
cli-compile-flags: |
5868
- --profile
59-
- esp32s3
69+
- ${{ matrix.board.profile }}
6070
- --export-binaries
6171
# Disabled to prevent building artifact for a previous commit
6272
enable-deltas-report: false
@@ -67,7 +77,7 @@ jobs:
6777
with:
6878
if-no-files-found: error
6979
path: sketches-reports
70-
name: sketches-report
80+
name: sketches-report-${{ matrix.board.artifact-suffix }}
7181

7282
- name: Prepare compiled artifact
7383
run: |
@@ -79,7 +89,7 @@ jobs:
7989
uses: actions/upload-artifact@v4
8090
with:
8191
if-no-files-found: error
82-
name: ${{ github.event.repository.name }}-${{ steps.slug.outputs.slug }}
92+
name: ${{ github.event.repository.name }}-${{ steps.slug.outputs.slug }}-${{ matrix.board.artifact-suffix }}
8393
path: artifact
8494

8595
release:

ats-mini/sketch.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
profiles:
2-
esp32s3:
2+
esp32s3-ospi:
33
# If you change this line, change it in build.yml as well
4-
fqbn: esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=8M,PSRAM=disabled,CPUFreq=80,USBMode=hwcdc,FlashMode=qio,PartitionScheme=custom,DebugLevel=none
4+
fqbn: esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=8M,PSRAM=opi,CPUFreq=80,USBMode=hwcdc,FlashMode=qio,PartitionScheme=custom,DebugLevel=none
55
platforms:
66
- platform: esp32:esp32 (3.2.0)
77
libraries:
@@ -13,4 +13,18 @@ profiles:
1313
- NimBLE-Arduino (2.3.0)
1414
- NuS-NimBLE-Serial (4.1.0)
1515

16-
default_profile: esp32s3
16+
esp32s3-qspi:
17+
# If you change this line, change it in build.yml as well
18+
fqbn: esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=8M,PSRAM=enabled,CPUFreq=80,USBMode=hwcdc,FlashMode=qio,PartitionScheme=custom,DebugLevel=none
19+
platforms:
20+
- platform: esp32:esp32 (3.2.0)
21+
libraries:
22+
- PU2CLR SI4735 (2.1.8)
23+
- TFT_eSPI (2.5.43)
24+
- Async TCP (3.4.4)
25+
- ESP Async WebServer (3.7.8)
26+
- NTPClient (3.2.1)
27+
- NimBLE-Arduino (2.3.0)
28+
- NuS-NimBLE-Serial (4.1.0)
29+
30+
default_profile: esp32s3-ospi

0 commit comments

Comments
 (0)