Skip to content

Commit

Permalink
[BOARD] Add M5Stamp C3 (#1857)
Browse files Browse the repository at this point in the history
  • Loading branch information
1technophile authored Jan 8, 2024
1 parent 5db0de5 commit 107bcf4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
- "esp32c3-dev-m1-ble"
- "airm2m_core_esp32c3"
- "lolin_c3_mini"
- "esp32c3-m5stamp"
- "thingpulse-espgateway"
- "theengs-bridge"
runs-on: ubuntu-latest
Expand Down
22 changes: 22 additions & 0 deletions environments.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1731,6 +1731,28 @@ build_flags =
'-DCONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=true'
'-DCONFIG_ESP_CONSOLE_UART=ESP_CONSOLE_USB_SERIAL_JTAG'

[env:esp32c3-m5stamp]
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=3'
'-DANEOPIX_IND_DATA_GPIO=2'
'-DANEOPIX_IND_NUM_LEDS=1'
'-DRGB_INDICATORS=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 C3

[env:thingpulse-espgateway]
platform = ${com.esp32_platform}
board = esp32dev
Expand Down

0 comments on commit 107bcf4

Please sign in to comment.