Skip to content

Commit

Permalink
Add env for Lolin Wemos D1 mini with CC1101
Browse files Browse the repository at this point in the history
  • Loading branch information
vi7 committed Sep 25, 2023
1 parent 8a124c8 commit dddf83b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions environments.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1568,6 +1568,37 @@ build_flags =
'-DWM_DEBUG_LEVEL=0'
custom_description = BLE gateway on Espressiv ESP32-C3-DevKitC-02 without logging

; Wemos Lolin D1 mini v3.1.0
[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"'

;; uncomment to enable manual network params
;; this could be required for 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'

; Wemos Lolin C3 mini v2.1.0
[env:lolin_c3_mini]
platform = ${com.esp32_platform}
Expand Down
1 change: 1 addition & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ extra_configs =
;default_envs = esp32c3-dev-m1-ble
;default_envs = airm2m_core_esp32c3
;default_envs = esp32c3-dev-c2-ble
;default_envs = d1mini-rf-cc1101
;default_envs = lolin_c3_mini
;default_envs = thingpulse-espgateway
;default_envs = thingpulse-espgateway-ethernet
Expand Down

0 comments on commit dddf83b

Please sign in to comment.