Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build-clang-doxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,11 +318,14 @@ jobs:
"sparklemotionstick_esp32",
"feather_esp32_v2",
"itsybitsy_esp32",
"dfrobot_beetle_esp32c3",
"wippersnapper_qtpy_esp32c3",
"wippersnapper_feather_esp32c6"
]
include:
- offset: "0x1000"
- offset: "0x0"
arduino-platform: "dfrobot_beetle_esp32c3"
- offset: "0x0"
arduino-platform: "wippersnapper_qtpy_esp32c3"
- offset: "0x0"
Expand Down
Empty file.
Empty file.
13 changes: 12 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
; PlatformIO Defaults
[platformio]
description = "Adafruit.IO WipperSnapper Firmware"
default_envs = adafruit_feather_esp32s3_tft, adafruit_magtag29_esp32s2, adafruit_feather_esp32s3, featheresp32s2, adafruit_feather_esp32s2_reversetft, adafruit_metro_esp32s2, adafruit_qtpy_esp32s2, adafruit_feather_esp32s3_reversetft, adafruit_feather_esp32s3_nopsram, adafruit_feather_esp32s2_tft, adafruit_qtpy_esp32, adafruit_qtpy_esp32c3, featheresp32, adafruit_qtpy_esp32s3_nopsram, featheresp32v2, huzzah, adafruit_pyportal_m4, adafruit_pyportal_m4_titano
default_envs = adafruit_feather_esp32s3_tft, adafruit_magtag29_esp32s2, adafruit_feather_esp32s3, featheresp32s2, adafruit_feather_esp32s2_reversetft, adafruit_metro_esp32s2, adafruit_qtpy_esp32s2, adafruit_feather_esp32s3_reversetft, adafruit_feather_esp32s3_nopsram, adafruit_feather_esp32s2_tft, adafruit_qtpy_esp32, adafruit_qtpy_esp32c3, featheresp32, adafruit_qtpy_esp32s3_nopsram, featheresp32v2, huzzah, adafruit_pyportal_m4, adafruit_pyportal_m4_titano, dfrobot_beetle_esp32c3


; Common Build Environment
Expand Down Expand Up @@ -532,6 +532,17 @@ build_flags = -DUSE_TINYUSB
; extra_scripts = pre:rename_usb_config.py
upload_port = /dev/cu.usbmodem1201

; DFRobot Beetle ESP32-C3
[env:dfrobot_beetle_esp32c3]
extends = common:esp32
board = dfrobot_beetle_esp32c3
; Note: this board reuses a generic preprocessor define
; espressif/arduino-esp32@fcd4799c6de6eb5a5a8eba94818adf770238ecc0
; rather than creating one unique to the device.
build_flags = -DARDUINO_ESP32C3_DEV
board_build.filesystem = littlefs
board_build.partitions = min_spiffs.csv


[env:raspberypi_picow]
extends = common:rp2040
Expand Down
8 changes: 8 additions & 0 deletions src/Wippersnapper_Boards.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,14 @@
#define STATUS_NEOPIXEL_PIN PIN_NEOPIXEL
#define STATUS_NEOPIXEL_NUM 1
#define USE_PSRAM ///< Board has PSRAM, use it for dynamic memory allocation
#elif defined(ARDUINO_ESP32C3_DEV)
// Note: this board reuses a generic preprocessor define
// espressif/arduino-esp32@fcd4799c6de6eb5a5a8eba94818adf770238ecc0
// rather than creating one unique to the device.
#define BOARD_ID "dfrobot-beetle-esp32c3"
#define USE_LITTLEFS
#define USE_STATUS_LED
#define STATUS_LED_PIN LED_BUILTIN
#elif defined(ARDUINO_SPARKLEMOTIONMINI_ESP32)
#define BOARD_ID "sparklemotionmini-esp32"
#define USE_LITTLEFS
Expand Down
3 changes: 2 additions & 1 deletion src/provisioning/littlefs/WipperSnapper_LittleFS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
defined(ARDUINO_ADAFRUIT_ITSYBITSY_ESP32) || \
defined(ARDUINO_ADAFRUIT_FEATHER_ESP32_V2) || \
defined(ARDUINO_ADAFRUIT_QTPY_ESP32_PICO) || \
defined(ARDUINO_ESP32C3_DEV) || \
defined(ARDUINO_SPARKLEMOTIONMINI_ESP32) || \
defined(ARDUINO_SPARKLEMOTIONSTICK_ESP32) || \
defined(ARDUINO_ADAFRUIT_QTPY_ESP32C3) || \
Expand Down Expand Up @@ -170,4 +171,4 @@ void WipperSnapper_LittleFS::fsHalt(String msg) {
}
}

#endif
#endif
Loading