Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] Add ESP8266 custom IR 1M build + IPv6 to custom ESP32 IR build #4950

Merged
merged 1 commit into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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