mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-11 18:54:28 +05:00
move USE_TELNET & USE_SERIAL to global env section
This commit is contained in:
@@ -23,7 +23,11 @@ lib_deps =
|
|||||||
laxilef/TinyLogger@^1.0.4
|
laxilef/TinyLogger@^1.0.4
|
||||||
https://github.com/Laxilef/WiFiManager/archive/refs/heads/patch-1.zip
|
https://github.com/Laxilef/WiFiManager/archive/refs/heads/patch-1.zip
|
||||||
;https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
;https://github.com/tzapu/WiFiManager.git#v2.0.16-rc.2
|
||||||
build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH -mtext-section-literals
|
build_flags =
|
||||||
|
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
||||||
|
-mtext-section-literals
|
||||||
|
-D USE_SERIAL=0
|
||||||
|
-D USE_TELNET=1
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
version = 1.3.4
|
version = 1.3.4
|
||||||
@@ -48,7 +52,9 @@ lib_ignore =
|
|||||||
extra_scripts =
|
extra_scripts =
|
||||||
post:tools/esp32.py
|
post:tools/esp32.py
|
||||||
post:tools/build.py
|
post:tools/build.py
|
||||||
build_flags = ${env.build_flags}
|
build_flags =
|
||||||
|
${env.build_flags}
|
||||||
|
-D CORE_DEBUG_LEVEL=0
|
||||||
|
|
||||||
|
|
||||||
; Boards
|
; Boards
|
||||||
@@ -66,8 +72,6 @@ build_flags =
|
|||||||
-D SENSOR_INDOOR_PIN_DEFAULT=14
|
-D SENSOR_INDOOR_PIN_DEFAULT=14
|
||||||
-D LED_STATUS_PIN=13
|
-D LED_STATUS_PIN=13
|
||||||
-D LED_OT_RX_PIN=15
|
-D LED_OT_RX_PIN=15
|
||||||
-D USE_SERIAL=0
|
|
||||||
-D USE_TELNET=1
|
|
||||||
|
|
||||||
[env:d1_mini_lite]
|
[env:d1_mini_lite]
|
||||||
platform = ${esp8266_defaults.platform}
|
platform = ${esp8266_defaults.platform}
|
||||||
@@ -83,8 +87,6 @@ build_flags =
|
|||||||
-D SENSOR_INDOOR_PIN_DEFAULT=14
|
-D SENSOR_INDOOR_PIN_DEFAULT=14
|
||||||
-D LED_STATUS_PIN=13
|
-D LED_STATUS_PIN=13
|
||||||
-D LED_OT_RX_PIN=15
|
-D LED_OT_RX_PIN=15
|
||||||
-D USE_SERIAL=0
|
|
||||||
-D USE_TELNET=1
|
|
||||||
|
|
||||||
[env:d1_mini_pro]
|
[env:d1_mini_pro]
|
||||||
platform = ${esp8266_defaults.platform}
|
platform = ${esp8266_defaults.platform}
|
||||||
@@ -100,8 +102,6 @@ build_flags =
|
|||||||
-D SENSOR_INDOOR_PIN_DEFAULT=14
|
-D SENSOR_INDOOR_PIN_DEFAULT=14
|
||||||
-D LED_STATUS_PIN=13
|
-D LED_STATUS_PIN=13
|
||||||
-D LED_OT_RX_PIN=15
|
-D LED_OT_RX_PIN=15
|
||||||
-D USE_SERIAL=0
|
|
||||||
-D USE_TELNET=1
|
|
||||||
|
|
||||||
[env:s2_mini]
|
[env:s2_mini]
|
||||||
platform = ${esp32_defaults.platform}
|
platform = ${esp32_defaults.platform}
|
||||||
@@ -117,8 +117,6 @@ build_flags =
|
|||||||
-D SENSOR_INDOOR_PIN_DEFAULT=7
|
-D SENSOR_INDOOR_PIN_DEFAULT=7
|
||||||
-D LED_STATUS_PIN=11
|
-D LED_STATUS_PIN=11
|
||||||
-D LED_OT_RX_PIN=12
|
-D LED_OT_RX_PIN=12
|
||||||
-D USE_SERIAL=0
|
|
||||||
-D USE_TELNET=1
|
|
||||||
|
|
||||||
[env:s3_mini]
|
[env:s3_mini]
|
||||||
platform = ${esp32_defaults.platform}
|
platform = ${esp32_defaults.platform}
|
||||||
@@ -134,8 +132,6 @@ build_flags =
|
|||||||
-D SENSOR_INDOOR_PIN_DEFAULT=12
|
-D SENSOR_INDOOR_PIN_DEFAULT=12
|
||||||
-D LED_STATUS_PIN=11
|
-D LED_STATUS_PIN=11
|
||||||
-D LED_OT_RX_PIN=10
|
-D LED_OT_RX_PIN=10
|
||||||
-D USE_SERIAL=0
|
|
||||||
-D USE_TELNET=1
|
|
||||||
|
|
||||||
[env:c3_mini]
|
[env:c3_mini]
|
||||||
platform = ${esp32_defaults.platform}
|
platform = ${esp32_defaults.platform}
|
||||||
@@ -151,8 +147,6 @@ build_flags =
|
|||||||
-D SENSOR_INDOOR_PIN_DEFAULT=1
|
-D SENSOR_INDOOR_PIN_DEFAULT=1
|
||||||
-D LED_STATUS_PIN=4
|
-D LED_STATUS_PIN=4
|
||||||
-D LED_OT_RX_PIN=5
|
-D LED_OT_RX_PIN=5
|
||||||
-D USE_SERIAL=0
|
|
||||||
-D USE_TELNET=1
|
|
||||||
|
|
||||||
[env:nodemcu_32s]
|
[env:nodemcu_32s]
|
||||||
platform = ${esp32_defaults.platform}
|
platform = ${esp32_defaults.platform}
|
||||||
@@ -168,10 +162,7 @@ build_flags =
|
|||||||
-D SENSOR_INDOOR_PIN_DEFAULT=13
|
-D SENSOR_INDOOR_PIN_DEFAULT=13
|
||||||
-D LED_STATUS_PIN=2 ; 18
|
-D LED_STATUS_PIN=2 ; 18
|
||||||
-D LED_OT_RX_PIN=19
|
-D LED_OT_RX_PIN=19
|
||||||
-D USE_SERIAL=0
|
|
||||||
-D USE_TELNET=1
|
|
||||||
;-D WOKWI=1
|
;-D WOKWI=1
|
||||||
;-D USE_TELNET=0
|
|
||||||
;-D DEBUG_BY_DEFAULT=1
|
;-D DEBUG_BY_DEFAULT=1
|
||||||
;-D WM_DEBUG_MODE=3
|
;-D WM_DEBUG_MODE=3
|
||||||
|
|
||||||
@@ -189,5 +180,3 @@ build_flags =
|
|||||||
-D SENSOR_INDOOR_PIN_DEFAULT=18
|
-D SENSOR_INDOOR_PIN_DEFAULT=18
|
||||||
-D LED_STATUS_PIN=2
|
-D LED_STATUS_PIN=2
|
||||||
-D LED_OT_RX_PIN=19
|
-D LED_OT_RX_PIN=19
|
||||||
-D USE_SERIAL=0
|
|
||||||
-D USE_TELNET=1
|
|
||||||
|
|||||||
Reference in New Issue
Block a user