2017-01-28 15:44:00 +00:00
|
|
|
; PlatformIO Project Configuration File
|
|
|
|
;
|
|
|
|
; Build options: build flags, source filter, extra scripting
|
|
|
|
; Upload options: custom port, speed and extra flags
|
|
|
|
; Library options: dependencies, extra library storages
|
|
|
|
;
|
|
|
|
; Please visit documentation for the other options and examples
|
|
|
|
; http://docs.platformio.org/en/stable/projectconf.html
|
|
|
|
|
|
|
|
[platformio]
|
2019-10-27 11:04:08 +00:00
|
|
|
src_dir = tasmota
|
2019-07-13 14:29:15 +01:00
|
|
|
build_dir = .pioenvs
|
2019-09-21 14:17:07 +01:00
|
|
|
build_cache_dir = .cache
|
2019-11-29 13:57:11 +00:00
|
|
|
extra_configs = platformio_tasmota_env.ini
|
|
|
|
platformio_override.ini
|
2017-01-28 15:44:00 +00:00
|
|
|
|
2019-11-01 10:25:08 +00:00
|
|
|
; *** Build/upload environment
|
|
|
|
default_envs =
|
2019-11-01 10:44:18 +00:00
|
|
|
; *** Uncomment by deleting ";" in the line(s) below to select version(s)
|
2019-11-14 16:30:03 +00:00
|
|
|
; tasmota
|
2019-11-01 10:25:08 +00:00
|
|
|
; tasmota-ircustom ; alternative to 'tasmota' with full IR protocols activated, you will need to disable some features to keep code not too big
|
|
|
|
; tasmota-minimal
|
|
|
|
; tasmota-basic
|
|
|
|
; tasmota-knx
|
|
|
|
; tasmota-sensors
|
|
|
|
; tasmota-display
|
|
|
|
; tasmota-ir
|
|
|
|
; tasmota-BG
|
|
|
|
; tasmota-BR
|
|
|
|
; tasmota-CN
|
|
|
|
; tasmota-CZ
|
|
|
|
; tasmota-DE
|
|
|
|
; tasmota-ES
|
|
|
|
; tasmota-FR
|
|
|
|
; tasmota-GR
|
|
|
|
; tasmota-HE
|
|
|
|
; tasmota-HU
|
|
|
|
; tasmota-IT
|
|
|
|
; tasmota-KO
|
|
|
|
; tasmota-NL
|
|
|
|
; tasmota-PL
|
|
|
|
; tasmota-PT
|
|
|
|
; tasmota-RU
|
|
|
|
; tasmota-SE
|
|
|
|
; tasmota-SK
|
|
|
|
; tasmota-TR
|
|
|
|
; tasmota-TW
|
|
|
|
; tasmota-UK
|
2019-11-29 10:14:26 +00:00
|
|
|
;
|
2019-11-29 15:15:12 +00:00
|
|
|
; *** alternatively can be done in: platformio_override.ini
|
2019-11-29 13:59:57 +00:00
|
|
|
; *** See example: platformio_override_sample.ini
|
2019-11-29 10:14:26 +00:00
|
|
|
; *********************************************************************
|
|
|
|
|
2017-06-03 21:13:35 +01:00
|
|
|
|
2019-11-01 10:03:10 +00:00
|
|
|
[common]
|
|
|
|
framework = arduino
|
|
|
|
board = esp01_1m
|
|
|
|
board_build.flash_mode = dout
|
|
|
|
|
|
|
|
platform = ${core_active.platform}
|
|
|
|
build_flags = ${core_active.build_flags}
|
|
|
|
|
|
|
|
; *********************************************************************
|
2019-11-01 10:48:11 +00:00
|
|
|
; *** Uncomment, by deleting ";" in line below, to use custom settings from file user_config_override.h
|
2019-11-01 10:03:10 +00:00
|
|
|
; -DUSE_CONFIG_OVERRIDE
|
2019-11-29 10:14:26 +00:00
|
|
|
;
|
2019-11-29 13:59:57 +00:00
|
|
|
; *** alternatively can be done in: platformio_override.ini
|
|
|
|
; *** See example: platformio_override_sample.ini
|
2019-11-01 10:03:10 +00:00
|
|
|
; *********************************************************************
|
|
|
|
|
|
|
|
; *** Fix espressif8266@1.7.0 induced undesired all warnings
|
|
|
|
build_unflags = -Wall
|
|
|
|
|
|
|
|
board_build.f_cpu = 80000000L
|
|
|
|
monitor_speed = 115200
|
|
|
|
upload_speed = 115200
|
|
|
|
; *** Upload Serial reset method for Wemos and NodeMCU
|
2019-11-29 10:14:26 +00:00
|
|
|
upload_resetmethod = nodemcu
|
2019-11-01 10:03:10 +00:00
|
|
|
upload_port = COM5
|
2019-11-29 10:14:26 +00:00
|
|
|
extra_scripts = ${scripts_defaults.extra_scripts}
|
|
|
|
|
|
|
|
[scripts_defaults]
|
2019-11-01 10:03:10 +00:00
|
|
|
extra_scripts = pio/strip-floats.py
|
2019-11-16 19:18:17 +00:00
|
|
|
pio/name-firmware.py
|
2019-11-01 10:03:10 +00:00
|
|
|
|
2018-12-17 14:29:21 +00:00
|
|
|
[esp82xx_defaults]
|
|
|
|
build_flags = -D NDEBUG
|
|
|
|
-mtarget-align
|
|
|
|
-Wl,-Map,firmware.map
|
2019-11-10 16:42:21 +00:00
|
|
|
|
2019-11-29 10:14:26 +00:00
|
|
|
[core_active]
|
|
|
|
platform = ${core_2_6_1.platform}
|
|
|
|
build_flags = ${core_2_6_1.build_flags}
|
|
|
|
|
2019-11-14 16:25:53 +00:00
|
|
|
[core_2_6_1]
|
2019-11-25 12:26:15 +00:00
|
|
|
; *** Esp8266 core for Arduino version 2.6.1
|
2019-11-28 15:27:12 +00:00
|
|
|
platform = espressif8266@2.3.0
|
2018-12-17 14:29:21 +00:00
|
|
|
build_flags = ${esp82xx_defaults.build_flags}
|
2019-11-14 16:25:53 +00:00
|
|
|
-Wl,-Teagle.flash.1m.ld
|
2019-05-11 13:32:35 +01:00
|
|
|
-DBEARSSL_SSL_BASIC
|
2019-11-29 10:14:26 +00:00
|
|
|
; NONOSDK22x_190703 = 2.2.2-dev(38a443e)
|
2019-11-21 14:34:53 +00:00
|
|
|
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703
|
2019-11-29 10:14:26 +00:00
|
|
|
; lwIP 2 - Higher Bandwidth no Features
|
2019-11-28 15:09:42 +00:00
|
|
|
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
|
2019-11-29 10:14:26 +00:00
|
|
|
; VTABLES in Flash
|
2019-11-28 15:09:42 +00:00
|
|
|
-DVTABLES_IN_FLASH
|
|
|
|
; No exception code in firmware
|
|
|
|
-fno-exceptions
|
|
|
|
-lstdc++
|