[BOARD] add esp32s3-m5stack-stamps3 (#2088)

* [BOARD] add esp32s3-m5stack-stamps3

https://docs.m5stack.com/en/core/StampS3

* [BOARD] add esp32c3u-m5stamp

button long-press reset verified to work

* add build environments for addional M5Stack targets

esp32s3-m5stack-stamps3
esp32c3u-m5stamp

---------

Co-authored-by: Michael Haberler <git@mah.priv.at>
This commit is contained in:
Michael HaberlerandMichael Haberler authored and GitHub committed 2024-10-15 06:42:58 -05:00
1 parent 3b3fe3eabe
commit f86d89db85
3 files changed
+47

No files matched your search

+2
View File
@@ -81,6 +81,8 @@ jobs:
- "theengs-bridge-v11"
- "theengs-plug"
- "esp32dev-ble-broker"
- "esp32s3-m5stack-stamps3"
- "esp32c3u-m5stamp"
runs-on: ubuntu-latest
name: Build with PlatformIO
steps:
+42
View File
@@ -1654,6 +1654,24 @@ build_flags =
'-DGateway_Name="OMG_ESP32_BLE"'
custom_description = BLE gateway on the S3
[env:esp32s3-m5stack-stamps3]
platform = ${com.esp32_platform}
board = esp32-s3-devkitc-1
lib_deps =
${com-esp32.lib_deps}
${libraries.ble}
${libraries.decoder}
${libraries.adafruit_neopixel}
build_flags =
${com-esp32.build_flags}
'-DZgatewayBT="BT"'
'-DLED_ADDRESSABLE_PIN1=21'
'-DLED_ADDRESSABLE_NUM=1'
'-DLED_ADDRESSABLE=true'
'-DNO_INT_TEMP_READING=true' ; Internal temperature reading not building on ESP32 C3 or S3
'-DGateway_Name="OMG_ESP32_BLE"'
custom_description = BLE gateway on the M5Stack StampS3
[env:esp32s3-atomS3U]
platform = ${com.esp32_platform}
board = m5stack-atoms3
@@ -1787,6 +1805,7 @@ build_flags =
'-DCONFIG_ESP_CONSOLE_UART=ESP_CONSOLE_USB_SERIAL_JTAG'
[env:esp32c3-m5stamp]
; https://docs.m5stack.com/en/core/stamp_c3
platform = ${com.esp32_platform}
board = esp32-c3-devkitm-1
board_build.partitions = min_spiffs.csv
@@ -1808,6 +1827,29 @@ build_flags =
custom_description = BLE gateway on ESP32C3
custom_hardware = M5Stamp C3
[env:esp32c3u-m5stamp]
; https://docs.m5stack.com/en/core/stamp_c3u
platform = ${com.esp32_platform}
board = esp32-c3-devkitm-1
board_build.partitions = min_spiffs.csv
lib_deps =
${com-esp32.lib_deps}
${libraries.wifimanager32}
${libraries.ble}
${libraries.decoder}
${libraries.adafruit_neopixel}
build_flags =
${com-esp32.build_flags}
'-DZgatewayBT="BT"'
'-DTRIGGER_GPIO=9'
'-DLED_ADDRESSABLE_PIN1=2'
'-DLED_ADDRESSABLE_NUM=1'
'-DLED_ADDRESSABLE=true'
'-DNO_INT_TEMP_READING=true' ; Internal temperature reading not building on ESP32 C3 or S3
'-DUSE_MAC_AS_GATEWAY_NAME'
custom_description = BLE gateway on ESP32C3
custom_hardware = M5Stamp C3U
[env:thingpulse-espgateway]
platform = ${com.esp32_platform}
board = esp32dev
+3
View File
@@ -103,6 +103,9 @@ extra_configs =
;default_envs = thingpulse-espgateway
;default_envs = theengs-bridge
;default_envs = esp32dev-ble-idf
;default_envs = esp32s3-m5stack-stamps3
;default_envs = esp32c3-m5stamp
;default_envs = esp32c3u-m5stamp
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ENVIRONMENTS PARAMETERS ;