Skip to content

Commit

Permalink
prepared S3 development
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Jan 26, 2024
1 parent 9e8f2a8 commit b6cb154
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ZeDMD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
needs: [ version ]
strategy:
matrix:
panels: ['128x32', '256x64', '128x32_wifi', '256x64_wifi']
panels: ['128x32', '256x64', '128x32_wifi', '256x64_wifi', 'S3-N16R8_256x64']

name: ZeDMD ${{ matrix.panels }}

Expand Down Expand Up @@ -95,6 +95,9 @@ jobs:
cd ../ZeDMD-256x64_wifi
echo "${{ needs.version.outputs.tag }}" > version.txt
zip ../ZeDMD-256x64_wifi.zip ZeDMD.bin version.txt
cd ../ZeDMD-S3-N16R8_256x64
echo "${{ needs.version.outputs.tag }}" > version.txt
zip ../ZeDMD-S3-N16R8_256x64.zip ZeDMD.bin version.txt
cd ..
- name: Release
uses: softprops/action-gh-release@v1
Expand All @@ -106,3 +109,4 @@ jobs:
ZeDMD-256x64.zip
ZeDMD-128x32_wifi.zip
ZeDMD-256x64_wifi.zip
ZeDMD-S3-N16R8_256x64.zip
5 changes: 5 additions & 0 deletions partitions_16MB.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
zedmd, app, ota_0, 0x10000, 0x640000,
spiffs, data, spiffs, 0x650000,0x9A0000,
32 changes: 32 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ lib_deps =
build_flags =
-DNO_GFX=1
-DPIXEL_COLOR_DEPTH_BITS=7
-DNO_FAST_FUNCTIONS=1
-DMINIZ_NO_STDIO=1
-DMINIZ_NO_TIME=1
-DMINIZ_NO_DEFLATE_APIS=1
Expand All @@ -49,6 +50,7 @@ build_flags =
-DNO_GFX=1
-DZEDMD_HD=1
-DPIXEL_COLOR_DEPTH_BITS=7
-DNO_FAST_FUNCTIONS=1
-DMINIZ_NO_STDIO=1
-DMINIZ_NO_TIME=1
-DMINIZ_NO_DEFLATE_APIS=1
Expand All @@ -73,6 +75,7 @@ build_flags =
-DNO_GFX=1
-DZEDMD_WIFI=1
-DPIXEL_COLOR_DEPTH_BITS=7
-DNO_FAST_FUNCTIONS=1
-DMINIZ_NO_STDIO=1
-DMINIZ_NO_TIME=1
-DMINIZ_NO_DEFLATE_APIS=1
Expand All @@ -98,6 +101,7 @@ build_flags =
-DZEDMD_HD=1
-DZEDMD_WIFI=1
-DPIXEL_COLOR_DEPTH_BITS=7
-DNO_FAST_FUNCTIONS=1
-DMINIZ_NO_STDIO=1
-DMINIZ_NO_TIME=1
-DMINIZ_NO_DEFLATE_APIS=1
Expand All @@ -106,3 +110,31 @@ build_flags =
-DMINIZ_NO_ZLIB_COMPATIBLE_NAMES=1
-Os
build_unflags = -Og

[env:S3-N16R8_256x64]
framework = arduino
platform = [email protected]
board = esp32-s3-devkitc-1
board_build.partitions = partitions_16MB.csv
board_build.filesystem = littlefs
#board_build.flash_mode = qio_opi
board_upload.flash_size = 16MB
lib_deps =
https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA#3.0.9
thomasfredericks/Bounce2
build_flags =
-DNO_GFX=1
-DZEDMD_HD=1
-DPIXEL_COLOR_DEPTH_BITS=7
-DNO_FAST_FUNCTIONS=1
-DSPIRAM_FRAMEBUFFER=1
-DMINIZ_NO_STDIO=1
-DMINIZ_NO_TIME=1
-DMINIZ_NO_DEFLATE_APIS=1
-DMINIZ_NO_ARCHIVE_APIS=1
-DMINIZ_NO_ARCHIVE_WRITING_APIS=1
-DMINIZ_NO_ZLIB_COMPATIBLE_NAMES=1
-Os
-DARDUINO_USB_CDC_ON_BOOT=1
-DBOARD_HAS_PSRAM
build_unflags = -Og

0 comments on commit b6cb154

Please sign in to comment.