Skip to content

Commit

Permalink
Merge pull request #267 from brentru/edit-s3-feather
Browse files Browse the repository at this point in the history
Add Adafruit ESP32-S3 Feather with 4MB Flash 2MB PSRAM
  • Loading branch information
brentru authored Jun 7, 2022
2 parents 0282213 + 47863ca commit 00a13c9
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 10 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build-clang-doxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ on:
required: true

jobs:
build-esp32s2:
name: Build WipperSnapper ESP32-S2, ESP32-S3
build-esp32sx:
name: Build WipperSnapper ESP32-Sx
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arduino-platform: ["funhouse", "magtag",
"metroesp32s2", "feather_esp32s2",
"qtpy_esp32s2", "feather_esp32s2_tft",
"feather_esp32s3", "qtpy_esp32s3"]
"feather_esp32s2_tft",
"feather_esp32s3", "feather_esp32s3_4mbflash_2mbpsram",
"qtpy_esp32s3", "qtpy_esp32s2"]
steps:
- uses: actions/setup-python@v1
with:
Expand All @@ -40,8 +41,8 @@ jobs:
- name: Install extra Arduino libraries
run: |
git clone --quiet https://github.com/brentru/Adafruit_MQTT_Library.git /home/runner/Arduino/libraries/Adafruit_MQTT_Library
- name: Build for ESP32-S2
run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}
- name: Build for ESP32-Sx
run: python3 ci/build_platform.py ${{ matrix.arduino-platform }} --no_warn
- name: list
run : |
ls
Expand Down Expand Up @@ -243,7 +244,7 @@ jobs:
clang_and_doxy:
runs-on: ubuntu-latest
needs: [build-samd, build-esp32, build-esp32s2, build-esp8266, build-samd-non-fs]
needs: [build-samd, build-esp32, build-esp32sx, build-esp8266, build-samd-non-fs]
steps:
- uses: actions/setup-python@v1
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Adafruit WipperSnapper Beta
version=1.0.0-beta.34
version=1.0.0-beta.35
author=Adafruit
maintainer=Adafruit <[email protected]>
sentence=Arduino client for Adafruit.io WipperSnapper
Expand Down
2 changes: 1 addition & 1 deletion src/Wippersnapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#endif

#define WS_VERSION \
"1.0.0-beta.34" ///< WipperSnapper app. version (semver-formatted)
"1.0.0-beta.35" ///< WipperSnapper app. version (semver-formatted)

// Reserved Adafruit IO MQTT topics
#define TOPIC_IO_THROTTLE "/throttle" ///< Adafruit IO Throttle MQTT Topic
Expand Down
6 changes: 6 additions & 0 deletions src/Wippersnapper_Boards.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@
#define USE_STATUS_NEOPIXEL
#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
#define STATUS_NEOPIXEL_NUM NEOPIXEL_NUM
#elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S3)
#define BOARD_ID "feather-esp32s3-4mbflash-2mbpsram"
#define USE_TINYUSB
#define USE_STATUS_NEOPIXEL
#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
#define STATUS_NEOPIXEL_NUM NEOPIXEL_NUM
#elif defined(ARDUINO_ADAFRUIT_QTPY_ESP32S2)
#define BOARD_ID "qtpy-esp32s2"
#define USE_TINYUSB
Expand Down
3 changes: 2 additions & 1 deletion src/provisioning/tinyusb/Wippersnapper_FS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
defined(ARDUINO_ADAFRUIT_QTPY_ESP32S2) || \
defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2_TFT) || \
defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S3_NOPSRAM) || \
defined(ARDUINO_ADAFRUIT_QTPY_ESP32S3_NOPSRAM)
defined(ARDUINO_ADAFRUIT_QTPY_ESP32S3_NOPSRAM) || \
defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S3)
#include "Wippersnapper_FS.h"
// On-board external flash (QSPI or SPI) macros should already
// defined in your board variant if supported
Expand Down

0 comments on commit 00a13c9

Please sign in to comment.