Skip to content

Commit

Permalink
Merge pull request #4950 from TD-er/build/esp8266_custom_IR_1M
Browse files Browse the repository at this point in the history
[Build] Add ESP8266 custom IR 1M build + IPv6 to custom ESP32 IR build
  • Loading branch information
TD-er authored Jan 24, 2024
2 parents ab7dbcf + a755496 commit 0c8a0d1
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 10 deletions.
29 changes: 29 additions & 0 deletions platformio_esp82xx_envs.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
6 changes: 5 additions & 1 deletion tools/pio/pre_custom_esp32_IR.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]


Expand Down
18 changes: 9 additions & 9 deletions tools/pio/pre_custom_esp82xx_IR.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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",
Expand Down

0 comments on commit 0c8a0d1

Please sign in to comment.