[BOARD] Add env for Lolin Wemos D1 mini with CC1101 (#1716)
This commit is contained in:
1 parent
8a124c8841
commit
3d20995b3a
1 file changed
+29
@@ -146,6 +146,35 @@ board_build.flash_mode = dout
|
||||
custom_description = Gas flammable sensor gateway
|
||||
custom_hardware = Gas flammable sensor first version
|
||||
|
||||
; Wemos Lolin D1 mini with CC1101 RF module and manual network configuration
|
||||
[env:d1mini-rf-cc1101]
|
||||
platform = ${com.esp8266_platform}
|
||||
board = d1_mini
|
||||
lib_deps =
|
||||
${com-esp.lib_deps}
|
||||
${libraries.wifimanager8266}
|
||||
${libraries.rc-switch}
|
||||
${libraries.smartrc-cc1101-driver-lib}
|
||||
${libraries.esp8266_mdns}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DZgatewayRF="RF"'
|
||||
'-DZradioCC1101="CC1101"'
|
||||
'-DGateway_Name="OMG_D1MINI_RF"'
|
||||
;; manual network config could be required due to
|
||||
;; the dhcp incompatibilities with the newer wifi routers
|
||||
; '-DNetworkAdvancedSetup=true'
|
||||
; '-DNET_IP="192.168.1.99"'
|
||||
; '-DNET_MASK="255.255.255.0"'
|
||||
; '-DNET_GW="192.168.1.1"'
|
||||
; '-DNET_DNS="1.1.1.1"'
|
||||
'-DLED_RECEIVE=LED_BUILTIN'
|
||||
'-DLED_RECEIVE_ON=LOW'
|
||||
'-DRF_RECEIVER_GPIO=4'
|
||||
'-DRF_EMITTER_GPIO=5'
|
||||
;; Assign erase/reset button
|
||||
; '-DTRIGGER_GPIO=0'
|
||||
|
||||
;ESP12E with an DS1820 waterproof temperature probe, custom interval, max temperature resolution and DEEP SLEEP to conserve battery power
|
||||
[env:esp12e-ds18b20-deepsleep-pool]
|
||||
platform = ${com.esp8266_platform}
|
||||
|
||||
Reference in new issue
Block a user