Browse Source

cfg: clean-up

pull/2552/head
Maxim Prokhorov 1 year ago
parent
commit
5361e3d3df
3 changed files with 9 additions and 15 deletions
  1. +0
    -1
      code/espurna/config/arduino.h
  2. +7
    -11
      code/espurna/config/hardware.h
  3. +2
    -3
      code/platformio.ini

+ 0
- 1
code/espurna/config/arduino.h View File

@ -146,7 +146,6 @@
//#define NEDIS_WIFIP310FWT
//#define NEO_COOLCAM_NAS_WR01W
//#define NEXETE_A19
//#define NODEMCU_BASIC
//#define NODEMCU_LOLIN
//#define OPENENERGYMONITOR_MQTT_RELAY
//#define ORVIBO_B25


+ 7
- 11
code/espurna/config/hardware.h View File

@ -155,12 +155,6 @@
#define LED1_PIN 2
#define LED1_PIN_INVERSE 1
#elif defined(NODEMCU_BASIC)
// Info
// Generic NodeMCU Board without any buttons or relays connected.
#define MANUFACTURER "NODEMCU"
#define DEVICE "BASIC"
#elif defined(WEMOS_D1_MINI)
// Info
@ -4571,20 +4565,22 @@
#define MANUFACTURER "TUYA"
#define DEVICE "GENERIC_DIMMER"
#define TUYA_SUPPORT 1
#define LIGHT_PROVIDER LIGHT_PROVIDER_CUSTOM
#define TUYA_PORT 1
#define UART_SUPPORT 1
#define UART1_BAUDRATE 9600
#define UART1_TX_PIN 1
#define UART1_RX_PIN 3
#define LED1_GPIO 14
#define TUYA_SUPPORT 1
#define TUYA_PORT 1
#define TUYA_CH_STATE_DPID 1
#define TUYA_CH1_DPID 2
#define LIGHT_PROVIDER LIGHT_PROVIDER_CUSTOM
#define LED1_GPIO 14
// -----------------------------------------------------------------------------
// Etekcity ESW01-USA
// https://www.amazon.com/Etekcity-Voltson-Outlet-Monitoring-Required/dp/B01M3MYIFS


+ 2
- 3
code/platformio.ini View File

@ -125,7 +125,6 @@ debug_flags =
# -DDEBUG_ESP_PORT=Serial
# -DDEBUG_ESP_HWDT
# ------------------------------------------------------------------------------
# LIBRARIES: required dependencies
# Please note that we don't always use the latest version of a library.
@ -655,7 +654,7 @@ build_src_flags = -DMANCAVEMADE_ESPLIVE
[env:tuya-generic-dimmer]
extends = env:esp8266-1m-base
build_src_flags = -DTUYA_GENERIC_DIMMER -DDEBUG_SERIAL_SUPPORT=0 -DDISABLE_POSTMORTEM_STACKDUMP
build_src_flags = -DTUYA_GENERIC_DIMMER -DDISABLE_POSTMORTEM_STACKDUMP
[env:intermittech-quinled]
extends = env:esp8266-1m-base
@ -831,7 +830,7 @@ build_src_flags = -DPILOTAK_ESP_DIN_V1
[env:nodemcu-geiger]
extends = env:esp8266-4m-base
build_src_flags = -DNODEMCU_BASIC -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
build_src_flags = -DNODEMCU_LOLIN -DRELAY_SUPPORT=0 -DGEIGER_SUPPORT=1 -DEVENTS_SUPPORT=0 -DINFLUXDB_SUPPORT=1 -DALEXA_SUPPORT=0 -DALEXA_ENABLED=0
[env:blitzwolf-bwshpx]
extends = env:esp8266-1m-base


Loading…
Cancel
Save