Add M5Atom board (#697)
based on pico32 BT, IR sending available TODO RGB LED support
This commit is contained in:
1 parent
04b95945b8
commit
5772a35425
1 file changed
+19
@@ -40,6 +40,7 @@ extra_configs =
|
||||
;default_envs = esp32-m5stick-ble
|
||||
;default_envs = esp32-m5stack-ble
|
||||
;default_envs = esp32-m5stick-c-ble
|
||||
;default_envs = esp32-m5atom
|
||||
;default_envs = ttgo-lora32-v1
|
||||
;default_envs = nodemcuv2-rf
|
||||
;default_envs = nodemcuv2-rf-cc1101
|
||||
@@ -347,6 +348,24 @@ build_flags =
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP32_M5STICK_C_BLE_IR"'
|
||||
board_upload.speed = 1500000
|
||||
|
||||
[env:esp32-m5atom]
|
||||
platform = ${com.esp32_platform}
|
||||
board = pico32
|
||||
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"'
|
||||
'-DTRIGGER_GPIO=39'
|
||||
'-DSLEEP_BUTTON=39'
|
||||
'-DIR_EMITTER_GPIO=12'
|
||||
'-DGateway_Name="OpenMQTTGateway_ESP32_ATOM_BLE_IR"'
|
||||
board_upload.speed = 1500000
|
||||
|
||||
[env:ttgo-lora32-v1]
|
||||
platform = ${com.esp32_platform}
|
||||
board = ttgo-lora32-v1
|
||||
|
||||
Reference in new issue
Block a user