From a755496fd5dd4773b04be060eeda75213e8cc539 Mon Sep 17 00:00:00 2001 From: TD-er Date: Wed, 24 Jan 2024 17:44:33 +0100 Subject: [PATCH] [Build] Add ESP8266 custom IR 1M build + IPv6 to custom ESP32 IR build --- platformio_esp82xx_envs.ini | 29 +++++++++++++++++++++++++++++ tools/pio/pre_custom_esp32_IR.py | 6 +++++- tools/pio/pre_custom_esp82xx_IR.py | 18 +++++++++--------- 3 files changed, 43 insertions(+), 10 deletions(-) diff --git a/platformio_esp82xx_envs.ini b/platformio_esp82xx_envs.ini index 6bf6c70ea7..94d1932c98 100644 --- a/platformio_esp82xx_envs.ini +++ b/platformio_esp82xx_envs.ini @@ -90,6 +90,35 @@ extra_scripts = pre:tools/pio/pre_custom_esp82xx_IR.py ${extra_scripts_esp8266.extra_scripts} pre:tools/pio/ir_build_check.py +[env:custom_IR_ESP8266_1M] +extends = esp8266_1M +platform = ${ir.platform} +platform_packages = ${ir.platform_packages} +build_flags = ${ir.build_flags} + ${esp8266_1M.build_flags} + -DPLUGIN_BUILD_CUSTOM + -DPLUGIN_BUILD_IR +lib_ignore = ESP32_ping + ESP32WebServer + ServoESP32 + ESP32HTTPUpdateServer + adafruit/Adafruit GFX Library@^1.11.1 + LOLIN_EPD + Adafruit ILI9341 ESPEasy + adafruit/Adafruit BusIO + Adafruit NeoPixel + NeoPixelBus_wrapper + NeoPixelBus by Makuna + Adafruit NeoMatrix via NeoPixelBus + Adafruit Motor Shield V2 Library + Adafruit_ST77xx + Adafruit NeoMatrix + I2C AXP192 Power management + EspSoftwareSerial +extra_scripts = pre:tools/pio/pre_custom_esp82xx_IR.py + ${extra_scripts_esp8266.extra_scripts} + pre:tools/pio/ir_build_check.py + [env:custom_312_ESP8266_4M1M] diff --git a/tools/pio/pre_custom_esp32_IR.py b/tools/pio/pre_custom_esp32_IR.py index 2d57221a40..4daf68ca07 100644 --- a/tools/pio/pre_custom_esp32_IR.py +++ b/tools/pio/pre_custom_esp32_IR.py @@ -68,9 +68,13 @@ "-DFEATURE_PLUGIN_STATS=1", "-DFEATURE_CHART_JS=1", + "-DTESTING_FEATURE_USE_IPV6", + "-DFEATURE_SETTINGS_ARCHIVE=1", + "-DFEATURE_DEFINE_SERIAL_CONSOLE_PORT=1", "-DFEATURE_ESPEASY_P2P=1", - "-DFEATURE_CUSTOM_PROVISIONING=1" + "-DFEATURE_CUSTOM_PROVISIONING=1", + "-DDISABLE_SC16IS752_SPI" ] diff --git a/tools/pio/pre_custom_esp82xx_IR.py b/tools/pio/pre_custom_esp82xx_IR.py index a342b2c1ec..3e25564261 100644 --- a/tools/pio/pre_custom_esp82xx_IR.py +++ b/tools/pio/pre_custom_esp82xx_IR.py @@ -31,20 +31,20 @@ "-DUSES_P004", # Dallas DS18b20 "-DUSES_P016", # IR "-DUSES_P026", # System info - "-DUSES_P027", # INA219 +# "-DUSES_P027", # INA219 "-DUSES_P028", # BME280 - "-DUSES_P033", # Dummy - "-DUSES_P036", # FrameOLED - "-DUSES_P045", # MPU6050 - "-DUSES_P049", # MHZ19 - "-DUSES_P052", # SenseAir - "-DUSES_P056", # SDS011-Dust +# "-DUSES_P033", # Dummy +# "-DUSES_P036", # FrameOLED +# "-DUSES_P045", # MPU6050 +# "-DUSES_P049", # MHZ19 +# "-DUSES_P052", # SenseAir +# "-DUSES_P056", # SDS011-Dust # "-DUSES_P059", # Encoder # "-DUSES_P080", # Dallas iButton "-DUSES_P081", # Cron # "-DUSES_P082", # GPS # "-DUSES_P085", # AcuDC24x - "-DUSES_P098", # PWM motor +# "-DUSES_P098", # PWM motor # "-DUSES_P100", # Pulse Counter - DS2423 # "-DUSES_P087", # Serial Proxy # "-DUSES_P094", # CUL Reader @@ -62,7 +62,7 @@ # "-DFEATURE_SD=1", # "-DFEATURE_EXT_RTC=1", "-DFEATURE_I2CMULTIPLEXER=0", - "-DFEATURE_TRIGONOMETRIC_FUNCTIONS_RULES=1", + "-DFEATURE_TRIGONOMETRIC_FUNCTIONS_RULES=0", # "-DFEATURE_CUSTOM_PROVISIONING=1", "-DFEATURE_ESPEASY_P2P=1",