mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +00:00
Merge pull request #12402 from Jason2866/new_override
Refactor platformio_override
This commit is contained in:
commit
33ab436fdd
@ -11,7 +11,6 @@
|
|||||||
[platformio]
|
[platformio]
|
||||||
; For best Gitpod performance remove the ";" in the next line. Needed Platformio files are cached and installed at first run
|
; For best Gitpod performance remove the ";" in the next line. Needed Platformio files are cached and installed at first run
|
||||||
;core_dir = .platformio
|
;core_dir = .platformio
|
||||||
; Custom config Zigbee [env] -> platformio_tasmota_cenv_example.ini
|
|
||||||
extra_configs = platformio_tasmota_cenv.ini
|
extra_configs = platformio_tasmota_cenv.ini
|
||||||
|
|
||||||
; *** Build/upload environment
|
; *** Build/upload environment
|
||||||
@ -42,47 +41,88 @@ default_envs =
|
|||||||
; tasmota32-core2
|
; tasmota32-core2
|
||||||
|
|
||||||
|
|
||||||
[common]
|
[env]
|
||||||
platform_packages = ${core.platform_packages}
|
framework = ${common.framework}
|
||||||
build_unflags = ${core.build_unflags}
|
platform = ${common.platform}
|
||||||
build_flags = ${core.build_flags}
|
platform_packages = ${common.platform_packages}
|
||||||
; *** Optional Debug messages
|
|
||||||
; -DDEBUG_TASMOTA_CORE
|
|
||||||
; -DDEBUG_TASMOTA_DRIVER
|
|
||||||
; -DDEBUG_TASMOTA_SENSOR
|
|
||||||
|
|
||||||
; *** CAUTION *** This setting is ONLY possible since 12.01.2021 with development version !!!
|
|
||||||
; *** Enable only if you exactly know what are you doing
|
|
||||||
; *** If you try with earlier builds a serial erase and flash is probably needed
|
|
||||||
;
|
|
||||||
; Build variant 1MB = 1MB firmware no filesystem (default)
|
; Build variant 1MB = 1MB firmware no filesystem (default)
|
||||||
;board = esp8266_1M
|
board = ${common.board}
|
||||||
; Build variant 2MB = 1MB firmware, 1MB filesystem (most Shelly devices)
|
; Build variant 2MB = 1MB firmware, 1MB filesystem (most Shelly devices)
|
||||||
;board = esp8266_2M1M
|
;board = esp8266_2M1M
|
||||||
; Build variant 4MB = 1MB firmware, 1MB OTA, 2MB filesystem (WEMOS D1 Mini, NodeMCU, Sonoff POW)
|
; Build variant 4MB = 1MB firmware, 1MB OTA, 2MB filesystem (WEMOS D1 Mini, NodeMCU, Sonoff POW)
|
||||||
;board = esp8266_4M2M
|
;board = esp8266_4M2M
|
||||||
|
;board_build.f_cpu = 160000000L
|
||||||
|
;board_build.f_flash = 40000000L
|
||||||
|
board_build.filesystem = ${common.board_build.filesystem}
|
||||||
|
build_unflags = ${common.build_unflags}
|
||||||
|
build_flags = ${common.build_flags}
|
||||||
|
; *** Optional Debug messages
|
||||||
|
; -DDEBUG_TASMOTA_CORE
|
||||||
|
; -DDEBUG_TASMOTA_DRIVER
|
||||||
|
; -DDEBUG_TASMOTA_SENSOR
|
||||||
|
monitor_speed = ${common.monitor_speed}
|
||||||
; *** Serial port used for erasing/flashing the ESP82xx
|
; *** Serial port used for erasing/flashing the ESP82xx
|
||||||
upload_port = COM5
|
upload_port = ${common.upload_port}
|
||||||
extra_scripts = ${scripts_defaults.extra_scripts}
|
;upload_port = COM5
|
||||||
; pio-tools/obj-dump.py
|
upload_resetmethod = ${common.upload_resetmethod}
|
||||||
lib_extra_dirs = ${library.lib_extra_dirs}
|
extra_scripts = ${scripts_defaults.extra_scripts}
|
||||||
|
; pio-tools/obj-dump.py
|
||||||
|
lib_ldf_mode = ${common.lib_ldf_mode}
|
||||||
|
lib_compat_mode = ${common.lib_compat_mode}
|
||||||
|
lib_ignore =
|
||||||
|
Servo(esp8266)
|
||||||
|
ESP8266AVRISP
|
||||||
|
ESP8266LLMNR
|
||||||
|
ESP8266NetBIOS
|
||||||
|
ESP8266SSDP
|
||||||
|
SP8266WiFiMesh
|
||||||
|
Ethernet(esp8266)
|
||||||
|
GDBStub
|
||||||
|
TFT_Touch_Shield_V2
|
||||||
|
ESP8266HTTPUpdateServer
|
||||||
|
ESP8266WiFiMesh
|
||||||
|
EspSoftwareSerial
|
||||||
|
SPISlave
|
||||||
|
Hash
|
||||||
|
; Disable next if you want to use ArduinoOTA in Tasmota (default disabled)
|
||||||
|
ArduinoOTA
|
||||||
|
lib_extra_dirs = ${library.lib_extra_dirs}
|
||||||
|
|
||||||
|
|
||||||
[common32]
|
[env:tasmota32_base]
|
||||||
platform_packages = ${core32.platform_packages}
|
framework = ${common.framework}
|
||||||
build_unflags = ${core32.build_unflags}
|
platform = ${common32.platform}
|
||||||
build_flags = ${core32.build_flags}
|
platform_packages = ${common32.platform_packages}
|
||||||
|
|
||||||
; Build variant ESP32 4M Flash, Tasmota 1856k Code/OTA, 320k LITTLEFS (default)
|
; Build variant ESP32 4M Flash, Tasmota 1856k Code/OTA, 320k LITTLEFS (default)
|
||||||
;board = esp32_4M
|
board = ${common32.board}
|
||||||
; Build variant ESP32 8M Flash, Tasmota 2944k Code/OTA, 2112k LITTLEFS
|
; Build variant ESP32 8M Flash, Tasmota 2944k Code/OTA, 2112k LITTLEFS
|
||||||
;board = esp32_8M
|
;board = esp32_8M
|
||||||
; Build variant ESP32 16M Flash, Tasmota 2944k Code/OTA, 10M LITTLEFS
|
; Build variant ESP32 16M Flash, Tasmota 2944k Code/OTA, 10M LITTLEFS
|
||||||
;board = esp32_16M
|
;board = esp32_16M
|
||||||
|
;board_build.f_cpu = 240000000L
|
||||||
|
;board_build.f_flash = 40000000L
|
||||||
|
monitor_speed = ${common32.monitor_speed}
|
||||||
|
upload_resetmethod = ${common32.upload_resetmethod}
|
||||||
; *** Serial port used for erasing/flashing the ESP32
|
; *** Serial port used for erasing/flashing the ESP32
|
||||||
upload_port = COM4
|
upload_port = ${common32.upload_port}
|
||||||
|
;upload_port = COM4
|
||||||
|
; upload_speed = 115200
|
||||||
|
extra_scripts = ${common32.extra_scripts}
|
||||||
|
build_unflags = ${common32.build_unflags}
|
||||||
|
build_flags = ${common32.build_flags}
|
||||||
|
lib_ldf_mode = ${common32.lib_ldf_mode}
|
||||||
|
lib_compat_mode = ${common32.lib_compat_mode}
|
||||||
|
lib_ignore =
|
||||||
|
ESP32 Azure IoT Arduino
|
||||||
|
ESP32 Async UDP
|
||||||
|
ESP32 BLE Arduino
|
||||||
|
; SimpleBLE
|
||||||
|
NetBIOS
|
||||||
|
ESP32
|
||||||
|
Preferences
|
||||||
|
BluetoothSerial
|
||||||
|
; Disable next if you want to use ArduinoOTA in Tasmota32 (default disabled)
|
||||||
|
ArduinoOTA
|
||||||
|
|
||||||
lib_extra_dirs = ${library.lib_extra_dirs}
|
lib_extra_dirs = ${library.lib_extra_dirs}
|
||||||
; *** ESP32 lib. ALWAYS needed for ESP32 !!!
|
; *** ESP32 lib. ALWAYS needed for ESP32 !!!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user