mirror of
https://github.com/anklimov/lighthub
synced 2026-01-26 16:19:07 +03:00
OTA fixed (broken on last release)
New target: esp32c3 added partitions optimized for all esp32 targets & OTA
This commit is contained in:
77
build-flags/build_flags_esp32c3-wifi
Normal file
77
build-flags/build_flags_esp32c3-wifi
Normal file
@@ -0,0 +1,77 @@
|
||||
# Build flags for ESP32C3 with WiFi
|
||||
-D ARDUINO_USB_MODE=1
|
||||
-D ARDUINO_USB_CDC_ON_BOOT=1
|
||||
-DdebugSerialPort=Serial
|
||||
|
||||
-D CONFIG_CLEAN_PIN=9
|
||||
|
||||
-DmodbusSerial=Serial1
|
||||
#Define pins for modbus UART Serial1. Default - 9/10 is utilized by ESP flash
|
||||
-DMODBUS_UART_RX_PIN=5
|
||||
-DMODBUS_UART_TX_PIN=6
|
||||
-DMODBUS_TX_PIN=-1
|
||||
|
||||
-DAC_Serial=Serial0
|
||||
-D AC_RX_PIN=20
|
||||
-D AC_TX_PIN=21
|
||||
|
||||
|
||||
|
||||
-DWIFI_ENABLE
|
||||
-DDMX_DISABLE
|
||||
# - exeption in DMX.update/begin
|
||||
#-DSPILED_DISABLE
|
||||
#-DAC_DISABLE
|
||||
-DMODBUS_DISABLE
|
||||
-DMOTOR_DISABLE
|
||||
|
||||
#-DMBUS_DISABLE
|
||||
#-DCOUNTER_DISABLE
|
||||
-DSYSLOG_ENABLE
|
||||
|
||||
# - udp errors
|
||||
-DOTA_ENABLE
|
||||
-DARDUINO_OTA_MDNS_DISABLE
|
||||
-DMDNS_ENABLE
|
||||
#- ArduinoMDNS didnt working
|
||||
#-D CANDRV
|
||||
-DMCP23017
|
||||
|
||||
#-DARTNET_ENABLE - udp rx errors ((
|
||||
#-DUSE_1W_PIN=16
|
||||
#-DW5500_CS_PIN=15
|
||||
#-DPID_DISABLE
|
||||
|
||||
|
||||
|
||||
#-DMODBUS_DEBUG
|
||||
|
||||
# Use default pins for modbus UART
|
||||
#-DMODBUS_UART_RX_PIN=-1
|
||||
#-DMODBUS_UART_TX_PIN=-1
|
||||
|
||||
# Example of UARTBRIDGE configuration
|
||||
#-DUARTBRIDGE_ENABLE
|
||||
#-DMODULE_UATRBRIDGE_UARTA=Serial1
|
||||
#-DMODULE_UATRBRIDGE_UARTA_RX_PIN=15
|
||||
#-DMODULE_UATRBRIDGE_UARTA_TX_PIN=2
|
||||
|
||||
#-DMODULE_UATRBRIDGE_UARTB=Serial2
|
||||
#-DMODULE_UATRBRIDGE_UARTB_RX_PIN=-1
|
||||
#-DMODULE_UATRBRIDGE_UARTB_TX_PIN=-1
|
||||
|
||||
#-DAUTOCONNECT_RECONNECT_WAITTIME=60
|
||||
|
||||
-DFS_STORAGE
|
||||
-DFS_PREPARE
|
||||
|
||||
-DRESTART_LAN_ON_MQTT_ERRORS
|
||||
#-D CORS=\"http://lazyhome.ru\"
|
||||
-DOTA_PORT=80
|
||||
|
||||
-DMQTT_KEEPALIVE=10
|
||||
-DMQTT_SOCKET_TIMEOUT=20
|
||||
-D CORS=\"*\"
|
||||
-D REDIRECTION_URL=\"http://lazyhome.ru/pwa\"
|
||||
#-DMERCURY_ENABLE
|
||||
-D ROTARYENCODER
|
||||
Reference in New Issue
Block a user