Skip to content

Commit ac8646d

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

File tree

2 files changed

+33
-8
lines changed

2 files changed

+33
-8
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,22 @@ on:
2626

2727
jobs:
2828
build:
29+
name: build ${{ matrix.board.profile }}
2930
runs-on: ubuntu-latest
3031
permissions: {}
3132
strategy:
3233
fail-fast: true
34+
matrix:
35+
board:
36+
- profile: esp32s3-ospi
37+
# If you change this line, change it in sketch.yaml as well
38+
fqbn: esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=8M,PSRAM=opi,CPUFreq=80,USBMode=hwcdc,FlashMode=qio,PartitionScheme=custom,DebugLevel=none
39+
artifact-suffix: ospi
40+
- profile: esp32s3-qspi
41+
# If you change this line, change it in sketch.yaml as well
42+
fqbn: esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=8M,PSRAM=enabled,CPUFreq=80,USBMode=hwcdc,FlashMode=qio,PartitionScheme=custom,DebugLevel=none
43+
artifact-suffix: qspi
44+
3345
outputs:
3446
slug: ${{ steps.slug.outputs.slug }}
3547

@@ -52,11 +64,10 @@ jobs:
5264
github-token: ${{ secrets.GITHUB_TOKEN }}
5365
sketch-paths: |
5466
- 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
67+
fqbn: ${{ matrix.board.fqbn }}
5768
cli-compile-flags: |
5869
- --profile
59-
- esp32s3
70+
- ${{ matrix.board.profile }}
6071
- --export-binaries
6172
# Disabled to prevent building artifact for a previous commit
6273
enable-deltas-report: false
@@ -67,7 +78,7 @@ jobs:
6778
with:
6879
if-no-files-found: error
6980
path: sketches-reports
70-
name: sketches-report
81+
name: sketches-report-${{ matrix.board.artifact-suffix }}
7182

7283
- name: Prepare compiled artifact
7384
run: |
@@ -79,7 +90,7 @@ jobs:
7990
uses: actions/upload-artifact@v4
8091
with:
8192
if-no-files-found: error
82-
name: ${{ github.event.repository.name }}-${{ steps.slug.outputs.slug }}
93+
name: ${{ github.event.repository.name }}-${{ steps.slug.outputs.slug }}-${{ matrix.board.artifact-suffix }}
8394
path: artifact
8495

8596
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)