mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
749 lines
33 KiB
INI
749 lines
33 KiB
INI
;;; Custom builds *****************************************************
|
|
; Use either the plugins defined in ;
|
|
; pre_custom_esp82xx.py or Custom.h ;
|
|
; *********************************************************************
|
|
|
|
|
|
[hard_esp82xx]
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
-DBUILD_NO_DEBUG
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
|
|
[hard_esp82xx_alt_wifi]
|
|
platform = ${regular_platform_alt_wifi.platform}
|
|
platform_packages = ${regular_platform_alt_wifi.platform_packages}
|
|
build_flags = ${regular_platform_alt_wifi.build_flags}
|
|
-DBUILD_NO_DEBUG
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
|
|
|
|
[esp8266_custom_common]
|
|
;lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, Adafruit GFX Library, LOLIN_EPD, Adafruit ILI9341
|
|
lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR
|
|
extra_scripts = pre:tools/pio/pre_custom_esp82xx.py
|
|
${extra_scripts_esp8266.extra_scripts}
|
|
|
|
|
|
; Custom: 4M1M version --------------------------
|
|
[env:custom_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
lib_ignore = ${esp8266_custom_common.lib_ignore}
|
|
extra_scripts = ${esp8266_custom_common.extra_scripts}
|
|
|
|
[env:custom_IR_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, Adafruit GFX Library, LOLIN_EPD, Adafruit ILI9341, Adafruit BusIO, Adafruit NeoPixel, Adafruit Motor Shield V2 Library
|
|
extra_scripts = ${esp8266_custom_common.extra_scripts}
|
|
|
|
|
|
|
|
[env:custom_alt_wifi_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${regular_platform_alt_wifi.platform}
|
|
platform_packages = ${regular_platform_alt_wifi.platform_packages}
|
|
build_flags = ${regular_platform_alt_wifi.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
lib_ignore = ${esp8266_custom_common.lib_ignore}
|
|
extra_scripts = ${esp8266_custom_common.extra_scripts}
|
|
|
|
|
|
|
|
[env:custom_sdk3_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${core_2_7_4_sdk3.platform}
|
|
platform_packages = ${core_2_7_4_sdk3.platform_packages}
|
|
build_flags = ${core_2_7_4_sdk3.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
lib_ignore = ${esp8266_custom_common.lib_ignore}
|
|
extra_scripts = ${esp8266_custom_common.extra_scripts}
|
|
|
|
|
|
[env:custom_beta_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${beta_platform.platform}
|
|
platform_packages = ${beta_platform.platform_packages}
|
|
build_flags = ${beta_platform.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
lib_ignore = ${esp8266_custom_common.lib_ignore}
|
|
extra_scripts = ${esp8266_custom_common.extra_scripts}
|
|
|
|
|
|
; Custom: 4M2M version -- SPIFFS --------------
|
|
[env:custom_ESP8266_4M2M]
|
|
extends = esp8266_4M2M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
lib_ignore = ${esp8266_custom_common.lib_ignore}
|
|
extra_scripts = ${esp8266_custom_common.extra_scripts}
|
|
|
|
; Custom: 4M2M version -- LittleFS --------------
|
|
; LittleFS is determined by using "LittleFS" in the pio env name
|
|
[env:custom_ESP8266_4M2M_LittleFS]
|
|
extends = esp8266_4M2M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
lib_ignore = ${esp8266_custom_common.lib_ignore}
|
|
extra_scripts = ${esp8266_custom_common.extra_scripts}
|
|
|
|
|
|
; Custom: 1M version --------------------------
|
|
[env:custom_ESP8266_1M]
|
|
extends = esp8266_1M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_1M.build_flags}
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
lib_ignore = ${esp8266_custom_common.lib_ignore}
|
|
extra_scripts = ${esp8266_custom_common.extra_scripts}
|
|
|
|
[env:custom_alt_wifi_ESP8266_1M]
|
|
extends = esp8266_1M
|
|
platform = ${regular_platform_alt_wifi.platform}
|
|
platform_packages = ${regular_platform_alt_wifi.platform_packages}
|
|
build_flags = ${regular_platform_alt_wifi.build_flags}
|
|
${esp8266_1M.build_flags}
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
lib_ignore = ${esp8266_custom_common.lib_ignore}
|
|
extra_scripts = ${esp8266_custom_common.extra_scripts}
|
|
|
|
|
|
[env:custom_beta_ESP8266_1M]
|
|
extends = esp8266_1M
|
|
platform = ${beta_platform.platform}
|
|
platform_packages = ${beta_platform.platform_packages}
|
|
build_flags = ${beta_platform.build_flags}
|
|
${esp8266_1M.build_flags}
|
|
-DPLUGIN_BUILD_CUSTOM
|
|
lib_ignore = ${esp8266_custom_common.lib_ignore}
|
|
extra_scripts = ${esp8266_custom_common.extra_scripts}
|
|
|
|
|
|
|
|
|
|
;;; NORMAL (STABLE) ***************************************************
|
|
; normal version with stable plugins ;
|
|
; *********************************************************************
|
|
|
|
; NORMAL: 1024k version --------------------------
|
|
[env:normal_ESP8266_1M]
|
|
extends = esp8266_1M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_1M.build_flags}
|
|
|
|
[env:normal_alt_wifi_ESP8266_1M]
|
|
extends = esp8266_1M
|
|
platform = ${regular_platform_alt_wifi.platform}
|
|
platform_packages = ${regular_platform_alt_wifi.platform_packages}
|
|
build_flags = ${regular_platform_alt_wifi.build_flags}
|
|
${esp8266_1M.build_flags}
|
|
|
|
[env:normal_sdk3_ESP8266_1M]
|
|
extends = esp8266_1M
|
|
platform = ${core_2_7_4_sdk3.platform}
|
|
platform_packages = ${core_2_7_4_sdk3.platform_packages}
|
|
build_flags = ${core_2_7_4_sdk3.build_flags}
|
|
${esp8266_1M.build_flags}
|
|
|
|
|
|
[env:normal_ESP8266_1M_VCC]
|
|
extends = esp8266_1M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_1M.build_flags}
|
|
-D FEATURE_ADC_VCC=true
|
|
|
|
[env:normal_alt_wifi_ESP8266_1M_VCC]
|
|
extends = esp8266_1M
|
|
platform = ${regular_platform_alt_wifi.platform}
|
|
platform_packages = ${regular_platform_alt_wifi.platform_packages}
|
|
build_flags = ${regular_platform_alt_wifi.build_flags}
|
|
${esp8266_1M.build_flags}
|
|
-D FEATURE_ADC_VCC=true
|
|
|
|
|
|
; NORMAL: 1024k for esp8285 ----------------------
|
|
[env:normal_ESP8285_1M]
|
|
extends = esp8285_1M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8285_1M.build_flags}
|
|
|
|
|
|
; NORMAL: 2048k WROOM02 version --------------------------
|
|
[env:normal_WROOM02_2M]
|
|
extends = espWroom2M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${espWroom2M.build_flags}
|
|
|
|
|
|
; NORMAL: 2048k WROOM02 version 256k SPIFFS --------------------------
|
|
[env:normal_WROOM02_2M256]
|
|
extends = espWroom2M256
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${espWroom2M256.build_flags}
|
|
|
|
|
|
; NORMAL: 4096k version --------------------------
|
|
[env:normal_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
|
|
[env:normal_ESP8266_4M1M_VCC]
|
|
extends = esp8266_4M1M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-D FEATURE_ADC_VCC=true
|
|
|
|
[env:normal_alt_wifi_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${regular_platform_alt_wifi.platform}
|
|
platform_packages = ${regular_platform_alt_wifi.platform_packages}
|
|
build_flags = ${regular_platform_alt_wifi.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
|
|
; NORMAL: 16M version --- LittleFS --------------
|
|
; LittleFS is determined by using "LittleFS" in the pio env name
|
|
[env:normal_beta_ESP8266_16M_LittleFS]
|
|
extends = esp8266_16M
|
|
platform = ${normal_beta.platform}
|
|
platform_packages = ${normal_beta.platform_packages}
|
|
build_flags = ${normal_beta.build_flags}
|
|
${esp8266_16M.build_flags}
|
|
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
|
|
lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR
|
|
|
|
|
|
|
|
;;; Minimal ***********************************************************
|
|
; Minimal build size for OTA ;
|
|
; *********************************************************************
|
|
|
|
[minimal_OTA_domoticz]
|
|
build_flags = -DUSES_DOMOTICZ
|
|
|
|
[minimal_OTA_FHEM_HA]
|
|
build_flags = -DUSES_FHEM
|
|
-DUSES_HOMEASSISTANT_OPENHAB
|
|
|
|
|
|
[env:minimal_core_274_ESP8266_1M_OTA_Domoticz]
|
|
extends = esp8266_1M_OTA
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_1M_OTA.build_flags}
|
|
${minimal_OTA_domoticz.build_flags}
|
|
|
|
[env:minimal_core_274_ESP8285_1M_OTA_Domoticz]
|
|
extends = esp8285_1M_OTA
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8285_1M_OTA.build_flags}
|
|
${minimal_OTA_domoticz.build_flags}
|
|
|
|
[env:minimal_core_274_sdk3_ESP8266_1M_OTA_Domoticz]
|
|
extends = esp8266_1M_OTA
|
|
platform = ${core_2_7_4_sdk3.platform}
|
|
platform_packages = ${core_2_7_4_sdk3.platform_packages}
|
|
build_flags = ${core_2_7_4_sdk3.build_flags}
|
|
${esp8266_1M_OTA.build_flags}
|
|
${minimal_OTA_domoticz.build_flags}
|
|
|
|
[env:minimal_core_274_sdk3_ESP8285_1M_OTA_Domoticz]
|
|
extends = esp8285_1M_OTA
|
|
platform = ${core_2_7_4_sdk3.platform}
|
|
platform_packages = ${core_2_7_4_sdk3.platform_packages}
|
|
build_flags = ${core_2_7_4_sdk3.build_flags}
|
|
${esp8285_1M_OTA.build_flags}
|
|
${minimal_OTA_domoticz.build_flags}
|
|
|
|
|
|
[env:minimal_core_274_ESP8266_1M_OTA_FHEM_HA]
|
|
extends = esp8266_1M_OTA
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_1M_OTA.build_flags}
|
|
${minimal_OTA_FHEM_HA.build_flags}
|
|
|
|
[env:minimal_core_274_ESP8285_1M_OTA_FHEM_HA]
|
|
extends = esp8285_1M_OTA
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8285_1M_OTA.build_flags}
|
|
${minimal_OTA_FHEM_HA.build_flags}
|
|
|
|
[env:minimal_core_274_sdk3_ESP8266_1M_OTA_FHEM_HA]
|
|
extends = esp8266_1M_OTA
|
|
platform = ${core_2_7_4_sdk3.platform}
|
|
platform_packages = ${core_2_7_4_sdk3.platform_packages}
|
|
build_flags = ${core_2_7_4_sdk3.build_flags}
|
|
${esp8266_1M_OTA.build_flags}
|
|
${minimal_OTA_FHEM_HA.build_flags}
|
|
|
|
[env:minimal_core_274_sdk3_ESP8285_1M_OTA_FHEM_HA]
|
|
extends = esp8285_1M_OTA
|
|
platform = ${core_2_7_4_sdk3.platform}
|
|
platform_packages = ${core_2_7_4_sdk3.platform_packages}
|
|
build_flags = ${core_2_7_4_sdk3.build_flags}
|
|
${esp8285_1M_OTA.build_flags}
|
|
${minimal_OTA_FHEM_HA.build_flags}
|
|
|
|
|
|
|
|
;;; IR ***********************************************************
|
|
; IR builds ;
|
|
; *********************************************************************
|
|
|
|
|
|
; Minimal IR: 1024k version --------------------------
|
|
; Build including IR libraries, including extended AC commands
|
|
; Minimal set of other plugins
|
|
[env:minimal_IRext_ESP8266_1M]
|
|
extends = esp8266_1M
|
|
platform = ${minimal_ir_extended.platform}
|
|
platform_packages = ${minimal_ir_extended.platform_packages}
|
|
lib_ignore = ${minimal_ir_extended.lib_ignore}
|
|
build_flags = ${minimal_ir_extended.build_flags}
|
|
${esp8266_1M.build_flags}
|
|
build_unflags = ${esp8266_1M_OTA.build_unflags} -DPLUGIN_BUILD_NORMAL_IR
|
|
|
|
|
|
; Minimal IR: 4096k version --------------------------
|
|
; Build including IR libraries, INCLUDING extended AC commands
|
|
; Includes Extended IR AC commands (takes a lot more program space)
|
|
; 4M flash, 1M SPIFFS
|
|
[env:minimal_IRext_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${minimal_ir_extended.platform}
|
|
platform_packages = ${minimal_ir_extended.platform_packages}
|
|
lib_ignore = ${minimal_ir_extended.lib_ignore}
|
|
build_flags = ${minimal_ir_extended.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
|
|
; 4M flash, 2M SPIFFS
|
|
[env:minimal_IRext_ESP8266_4M2M]
|
|
extends = esp8266_4M2M
|
|
platform = ${minimal_ir_extended.platform}
|
|
platform_packages = ${minimal_ir_extended.platform_packages}
|
|
lib_ignore = ${minimal_ir_extended.lib_ignore}
|
|
build_flags = ${minimal_ir_extended.build_flags}
|
|
${esp8266_4M2M.build_flags}
|
|
|
|
|
|
; NORMAL IR: 4096k version --------------------------
|
|
; Build including IR libraries, INCLUDING extended AC commands
|
|
; Includes Extended IR AC commands (takes a lot more program space)
|
|
; 4M flash, 2M SPIFFS
|
|
[env:normal_IRext_no_rx_ESP8266_4M2M]
|
|
extends = esp8266_4M2M
|
|
platform = ${normal_ir_extended_no_rx.platform}
|
|
platform_packages = ${normal_ir_extended_no_rx.platform_packages}
|
|
lib_ignore = ${normal_ir_extended_no_rx.lib_ignore}
|
|
build_flags = ${normal_ir_extended_no_rx.build_flags}
|
|
${esp8266_4M2M.build_flags}
|
|
-DLIMIT_BUILD_SIZE
|
|
|
|
|
|
|
|
;;; TEST *************************************************************
|
|
; additional plugins (and dependend code) that is marked as TESTING ;
|
|
; Includes "normal" + "testing" plugins ;
|
|
; *********************************************************************
|
|
|
|
[env:test_A_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing.platform}
|
|
platform_packages = ${testing.platform_packages}
|
|
build_flags = ${testing.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
|
|
[env:test_B_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing.platform}
|
|
platform_packages = ${testing.platform_packages}
|
|
build_flags = ${testing.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DPLUGIN_BUILD_TESTING_B
|
|
|
|
[env:test_C_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing.platform}
|
|
platform_packages = ${testing.platform_packages}
|
|
build_flags = ${testing.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DPLUGIN_BUILD_TESTING_C
|
|
|
|
[env:test_D_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing.platform}
|
|
platform_packages = ${testing.platform_packages}
|
|
build_flags = ${testing.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DPLUGIN_BUILD_TESTING_D
|
|
|
|
|
|
; TEST: 4096k version + FEATURE_ADC_VCC ----------
|
|
[env:test_A_ESP8266_4M1M_VCC]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing.platform}
|
|
platform_packages = ${testing.platform_packages}
|
|
build_flags = ${testing.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DFEATURE_ADC_VCC=true
|
|
|
|
[env:test_B_ESP8266_4M1M_VCC]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing.platform}
|
|
platform_packages = ${testing.platform_packages}
|
|
build_flags = ${testing.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DFEATURE_ADC_VCC=true
|
|
-DPLUGIN_BUILD_TESTING_B
|
|
|
|
[env:test_C_ESP8266_4M1M_VCC]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing.platform}
|
|
platform_packages = ${testing.platform_packages}
|
|
build_flags = ${testing.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DFEATURE_ADC_VCC=true
|
|
-DPLUGIN_BUILD_TESTING_C
|
|
|
|
[env:test_D_ESP8266_4M1M_VCC]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing.platform}
|
|
platform_packages = ${testing.platform_packages}
|
|
build_flags = ${testing.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DFEATURE_ADC_VCC=true
|
|
-DPLUGIN_BUILD_TESTING_D
|
|
|
|
[env:test_A_alt_wifi_ESP8266_4M1M_VCC]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing_alt_wifi.platform}
|
|
platform_packages = ${testing_alt_wifi.platform_packages}
|
|
build_flags = ${testing_alt_wifi.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DFEATURE_ADC_VCC=true
|
|
|
|
[env:test_B_alt_wifi_ESP8266_4M1M_VCC]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing_alt_wifi.platform}
|
|
platform_packages = ${testing_alt_wifi.platform_packages}
|
|
build_flags = ${testing_alt_wifi.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DFEATURE_ADC_VCC=true
|
|
-DPLUGIN_BUILD_TESTING_B
|
|
|
|
[env:test_C_alt_wifi_ESP8266_4M1M_VCC]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing_alt_wifi.platform}
|
|
platform_packages = ${testing_alt_wifi.platform_packages}
|
|
build_flags = ${testing_alt_wifi.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DFEATURE_ADC_VCC=true
|
|
-DPLUGIN_BUILD_TESTING_C
|
|
|
|
[env:test_D_alt_wifi_ESP8266_4M1M_VCC]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing_alt_wifi.platform}
|
|
platform_packages = ${testing_alt_wifi.platform_packages}
|
|
build_flags = ${testing_alt_wifi.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DFEATURE_ADC_VCC=true
|
|
-DPLUGIN_BUILD_TESTING_D
|
|
|
|
|
|
; TEST: 4096k version + FEATURE_ADC_VCC + FEATURE_MDNS + FEATURE_SD ----------
|
|
; Disabled for now as it does not fit in IRAM and with VCC_SD it does not fit in max. build size
|
|
;[env:test_ESP8266_4M1M_VCC_MDNS_SD]
|
|
;extends = esp8266_4M1M
|
|
;platform = ${testing.platform}
|
|
;platform_packages = ${testing.platform_packages}
|
|
;build_flags = ${testing.build_flags}
|
|
; ${esp8266_4M1M.build_flags}
|
|
; -DFEATURE_ADC_VCC=true
|
|
; -DFEATURE_MDNS
|
|
; -DFEATURE_SD
|
|
; -DLIMIT_BUILD_SIZE
|
|
;lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR, LittleFS(esp8266)
|
|
|
|
|
|
[env:test_A_beta_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing_beta.platform}
|
|
platform_packages = ${testing_beta.platform_packages}
|
|
build_flags = ${testing_beta.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DLIMIT_BUILD_SIZE
|
|
|
|
[env:test_B_beta_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing_beta.platform}
|
|
platform_packages = ${testing_beta.platform_packages}
|
|
build_flags = ${testing_beta.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DLIMIT_BUILD_SIZE
|
|
-DPLUGIN_BUILD_TESTING_B
|
|
|
|
[env:test_C_beta_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing_beta.platform}
|
|
platform_packages = ${testing_beta.platform_packages}
|
|
build_flags = ${testing_beta.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DLIMIT_BUILD_SIZE
|
|
-DPLUGIN_BUILD_TESTING_C
|
|
|
|
[env:test_D_beta_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${testing_beta.platform}
|
|
platform_packages = ${testing_beta.platform_packages}
|
|
build_flags = ${testing_beta.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-DLIMIT_BUILD_SIZE
|
|
-DPLUGIN_BUILD_TESTING_D
|
|
|
|
; Test: 16M version -- LittleFS --------------
|
|
; LittleFS is determined by using "LittleFS" in the pio env name
|
|
[env:test_A_beta_ESP8266_16M_LittleFS]
|
|
extends = esp8266_16M
|
|
platform = ${testing_beta.platform}
|
|
platform_packages = ${testing_beta.platform_packages}
|
|
build_flags = ${testing_beta.build_flags}
|
|
${esp8266_16M.build_flags}
|
|
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
|
|
lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR
|
|
|
|
[env:test_B_beta_ESP8266_16M_LittleFS]
|
|
extends = esp8266_16M
|
|
platform = ${testing_beta.platform}
|
|
platform_packages = ${testing_beta.platform_packages}
|
|
build_flags = ${testing_beta.build_flags}
|
|
${esp8266_16M.build_flags}
|
|
-DPLUGIN_BUILD_TESTING_B
|
|
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
|
|
lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR
|
|
|
|
[env:test_C_beta_ESP8266_16M_LittleFS]
|
|
extends = esp8266_16M
|
|
platform = ${testing_beta.platform}
|
|
platform_packages = ${testing_beta.platform_packages}
|
|
build_flags = ${testing_beta.build_flags}
|
|
${esp8266_16M.build_flags}
|
|
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
|
|
-DPLUGIN_BUILD_TESTING_C
|
|
lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR
|
|
|
|
[env:test_D_beta_ESP8266_16M_LittleFS]
|
|
extends = esp8266_16M
|
|
platform = ${testing_beta.platform}
|
|
platform_packages = ${testing_beta.platform_packages}
|
|
build_flags = ${testing_beta.build_flags}
|
|
${esp8266_16M.build_flags}
|
|
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
|
|
-DPLUGIN_BUILD_TESTING_D
|
|
lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;; DEV **************************************************************
|
|
; additional plugins (and dependend code) that is in development ;
|
|
; (probably broken or incomplete) ;
|
|
; *********************************************************************
|
|
|
|
; DEV : 4096k version ----------------------------
|
|
; [env:dev_ESP8266_4M1M]
|
|
; extends = esp8266_4M1M
|
|
; platform = ${dev.platform}
|
|
; platform_packages = ${dev.platform_packages}
|
|
; build_flags = ${dev.build_flags}
|
|
; ${esp8266_4M1M.build_flags}
|
|
|
|
;;; Collection builds ************************************************
|
|
; Collection of similar plugins for a specific use case ;
|
|
; for example "Display" or "energy meter" ;
|
|
; *********************************************************************
|
|
|
|
; energy : 4096k version ----------------------------
|
|
[env:energy_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-D PLUGIN_ENERGY_COLLECTION
|
|
|
|
; display : 4096k version ----------------------------
|
|
[env:display_ESP8266_4M1M]
|
|
extends = esp8266_4M1M
|
|
platform = ${regular_platform.platform}
|
|
platform_packages = ${regular_platform.platform_packages}
|
|
build_flags = ${regular_platform.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-D PLUGIN_DISPLAY_COLLECTION
|
|
|
|
|
|
;;; HARDWARE SPECIFIC VERSIONS ***********************************************************
|
|
; versions specially designed to fit, and contents only needed plugins for each hardware ;
|
|
; ****************************************************************************************
|
|
|
|
; ITEAD Products
|
|
|
|
; ITEAD / SONOFF BASIC version ------------------
|
|
;[env:hard_SONOFF_BASIC]
|
|
;extends = esp8266_1M, hard_esp82xx
|
|
;platform = ${hard_esp82xx.platform}
|
|
;platform_packages = ${hard_esp82xx.platform_packages}
|
|
;build_flags = ${hard_esp82xx.build_flags} ${esp8266_1M.build_flags} -D PLUGIN_SET_SONOFF_BASIC
|
|
|
|
|
|
; ITEAD / SONOFF TH10/TH16 version -------------------
|
|
;[env:hard_SONOFF_TH1x]
|
|
;extends = esp8266_1M, hard_esp82xx
|
|
;platform = ${hard_esp82xx.platform}
|
|
;platform_packages = ${hard_esp82xx.platform_packages}
|
|
;build_flags = ${hard_esp82xx.build_flags} ${esp8266_1M.build_flags} -D PLUGIN_SET_SONOFF_TH1x
|
|
|
|
; ITEAD / SONOFF POW & POW R2 version --------------------
|
|
; Sonoff Pow (ESP8266 - HLW8012)
|
|
; GPIO00 Button
|
|
; GPIO05 HLW8012 Sel output
|
|
; GPIO12 Red Led and Relay (0 = Off, 1 = On)
|
|
; GPIO13 HLW8012 CF1 voltage / current
|
|
; GPIO14 HLW8012 CF power
|
|
; GPIO15 Blue Led (0 = On, 1 = Off)
|
|
|
|
; Sonoff Pow R2 (ESP8266 4M flash - CSE7766)
|
|
; GPIO00 Button
|
|
; GPIO01 Serial RXD 4800 baud 8E1 CSE7766 energy sensor
|
|
; GPIO03 Serial TXD
|
|
; GPIO12 Red Led and Relay (0 = Off, 1 = On)
|
|
; GPIO13 Blue Led (0 = On, 1 = Off)
|
|
[env:hard_SONOFF_POW_4M1M]
|
|
extends = esp8266_4M1M, hard_esp82xx
|
|
platform = ${hard_esp82xx.platform}
|
|
platform_packages = ${hard_esp82xx.platform_packages}
|
|
build_flags = ${hard_esp82xx.build_flags}
|
|
${esp8266_4M1M.build_flags}
|
|
-D PLUGIN_SET_SONOFF_POW
|
|
|
|
|
|
; Build including power measurement plugins for those devices that have only 1M flash.
|
|
; For example those made by BlitzWolf SHP
|
|
[env:hard_other_POW_ESP8285_1M]
|
|
extends = esp8266_1M_OTA, hard_esp82xx
|
|
platform = ${hard_esp82xx.platform}
|
|
platform_packages = ${hard_esp82xx.platform_packages}
|
|
build_flags = ${hard_esp82xx.build_flags}
|
|
${esp8266_1M_OTA.build_flags}
|
|
-D PLUGIN_SET_SONOFF_POW
|
|
|
|
|
|
; ITEAD / SONOFF S20 version --------------------
|
|
;[env:hard_SONOFF_S20]
|
|
;extends = esp8266_1M_OTA, hard_esp82xx
|
|
;platform = ${hard_esp82xx.platform}
|
|
;platform_packages = ${hard_esp82xx.platform_packages}
|
|
;build_flags = ${hard_esp82xx.build_flags} ${esp8266_1M_OTA.build_flags} -D PLUGIN_SET_SONOFF_S2x
|
|
|
|
|
|
; ITEAD / SONOFF 4CH version --------------------
|
|
;[env:hard_SONOFF_4CH]
|
|
;extends = esp8285_1M_OTA, hard_esp82xx
|
|
;platform = ${hard_esp82xx.platform}
|
|
;platform_packages = ${hard_esp82xx.platform_packages}
|
|
;build_flags = ${hard_esp82xx.build_flags} ${esp8285_1M_OTA.build_flags} -D PLUGIN_SET_SONOFF_4CH
|
|
|
|
|
|
|
|
; ITEAD / SONOFF TOUCH version ------------------
|
|
;[env:hard_SONOFF_TOUCH]
|
|
;extends = esp8285_1M_OTA, hard_esp82xx
|
|
;platform = ${hard_esp82xx.platform}
|
|
;platform_packages = ${hard_esp82xx.platform_packages}
|
|
;build_flags = ${hard_esp82xx.build_flags} ${esp8285_1M_OTA.build_flags} -D PLUGIN_SET_SONOFF_TOUCH
|
|
|
|
|
|
; Shelly1 Open Source (ESP8266-2MB)
|
|
; https://shelly.cloud/shelly1-open-source/
|
|
; GPIO04 Relay (non inverted)
|
|
; GPIO05 Button
|
|
[env:hard_Shelly_1_2M256]
|
|
extends = esp8266_2M256, hard_esp82xx
|
|
platform = ${hard_esp82xx.platform}
|
|
platform_packages = ${hard_esp82xx.platform_packages}
|
|
build_flags = ${hard_esp82xx.build_flags}
|
|
${esp8266_2M256.build_flags}
|
|
-D PLUGIN_SET_SHELLY_1
|
|
|
|
[env:hard_Shelly_PLUG_S_2M256]
|
|
extends = esp8266_2M256, hard_esp82xx
|
|
platform = ${hard_esp82xx.platform}
|
|
platform_packages = ${hard_esp82xx.platform_packages}
|
|
build_flags = ${hard_esp82xx.build_flags}
|
|
${esp8266_2M256.build_flags}
|
|
-D PLUGIN_SET_SHELLY_PLUG_S
|
|
|
|
|
|
; Ventus W266 weather station
|
|
; https://www.letscontrolit.com/wiki/index.php/VentusW266
|
|
[env:hard_Ventus_W266]
|
|
extends = esp8266_1M, hard_esp82xx
|
|
platform = ${hard_esp82xx.platform}
|
|
platform_packages = ${hard_esp82xx.platform_packages}
|
|
build_flags = ${hard_esp82xx.build_flags}
|
|
${esp8266_1M_OTA.build_flags}
|
|
-D PLUGIN_SET_VENTUS_W266
|
|
|
|
[env:hard_LCtech_relay_x2_1M]
|
|
extends = esp8266_1M, hard_esp82xx
|
|
platform = ${hard_esp82xx.platform}
|
|
platform_packages = ${hard_esp82xx.platform_packages}
|
|
build_flags = ${hard_esp82xx.build_flags}
|
|
${esp8266_1M.build_flags}
|
|
-D PLUGIN_SET_LC_TECH_RELAY_X2
|
|
|