add m5stick-c board (#473)

This commit is contained in:
Florian authored and GitHub committed 2019-10-22 21:07:59 +02:00
1 parent 6af57f1db5
commit d231c5bda1
2 files changed
+41 -12

No files matched your search

+19
View File
@@ -34,6 +34,7 @@ extra_configs =
;default_envs = esp32dev-pilight
;default_envs = esp32dev-ir
;default_envs = esp32dev-ble
;default_envs = esp32-m5stick-c-ble
;default_envs = ttgo-lora32-v1
;default_envs = nodemcuv2-rf
;default_envs = rf-wifi-gateway
@@ -227,6 +228,24 @@ build_flags =
'-DZgatewayBT="BT"'
'-DGateway_Name="OpenMQTTGateway_ESP32_BLE"'
[env:esp32-m5stick-c-ble]
platform = ${com.esp32_platform}
board = m5stick-c
board_build.partitions = min_spiffs.csv
lib_deps =
${com-esp.lib_deps}
${libraries.ble}
${libraries.irremoteesp}
build_flags =
${com-esp.build_flags}
'-DZgatewayBT="BT"'
'-DZgatewayIR="IR"'
'-DZsensorGPIOInput="GPIOInput"'
'-DGPIOInput_PIN=37'
'-DIR_EMITTER_PIN=9'
'-DGateway_Name="OpenMQTTGateway_ESP32_M5STICK_C_BLE_IR"'
board_upload.speed = 1500000
[env:ttgo-lora32-v1]
platform = ${com.esp32_platform}
board = ttgo-lora32-v1