Tasmota/platformio.ini

130 lines
5.1 KiB
INI
Raw Normal View History

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]
description = Provide ESP8266 based devices with Web, MQTT and OTA firmware
2019-10-27 11:04:08 +00:00
src_dir = tasmota
build_dir = .pioenvs
workspace_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
Core 2.7.0 (#36) * Prep for core 2.7 * Test release core 2.6.3... if it appears in build * Release zip as source for core? * Release Core 2.7.0 removed comment behind definition since it generates on some platforms errors * Update platformio_override_sample.ini * Update (#34) * Fix pin handling part 1 * Change pin handling part 2 * Change pin handling part 3 * Change pin handling part 4/4 * Fix pin handling part 4/4 * Change pin handling part 5 * Change pin handling part 6 * Update xsns_02_analog.ino * Only advance to next palette color when fade is down * Rework DGR channel update * Update Changelog and Release notes * Switch from GPIO array to Pin array * Change ESP32 pin allocation part 1 * Change pin array names Change pin array names to block unwanted use of direct access * Fix ESP32 settings size Fix ESP32 settings size as regression from yesterday * Change ESP32 pin allocation part 2 * Fix http message time * Create CI_github.yml * CI on Push and Pull * Change ESP32 pin allocation part 3 * Fix ESP32 pin allocation part 3 regression * Rename .travis.yml to .travis.yml.off * Update CI_github.yml * Update README.md * Update PULL_REQUEST_TEMPLATE.md * Fix CI badge Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com> Co-authored-by: kugelkopf123 <45996965+kugelkopf123@users.noreply.github.com> Co-authored-by: Paul C Diem <PCDiem@FoxValley.net> Co-authored-by: device111 <48546979+device111@users.noreply.github.com> Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com> Co-authored-by: kugelkopf123 <45996965+kugelkopf123@users.noreply.github.com> Co-authored-by: Paul C Diem <PCDiem@FoxValley.net> Co-authored-by: device111 <48546979+device111@users.noreply.github.com>
2020-05-01 13:29:52 +01:00
; tasmota-ircustom
2019-11-01 10:25:08 +00:00
; tasmota-minimal
; tasmota-lite
2019-11-01 10:25:08 +00:00
; 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
2020-03-04 10:56:35 +00:00
; tasmota-RO
2019-11-01 10:25:08 +00:00
; 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
; *********************************************************************
[common]
framework = arduino
board = esp01_1m
board_build.flash_mode = dout
2020-04-07 08:28:39 +01:00
board_build.ldscript = eagle.flash.1m.ld
platform = ${core_active.platform}
2020-02-12 18:54:14 +00:00
platform_packages = ${core_active.platform_packages}
build_flags = ${core_active.build_flags}
; *********************************************************************
; *** Use custom settings from file user_config_override.h
-DUSE_CONFIG_OVERRIDE
; *********************************************************************
; *** 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
upload_port = COM5
2019-11-29 10:14:26 +00:00
extra_scripts = ${scripts_defaults.extra_scripts}
[scripts_defaults]
extra_scripts = pio/strip-floats.py
2019-11-16 19:18:17 +00:00
pio/name-firmware.py
2020-03-21 14:57:59 +00:00
pio/gzip-firmware.py
pio/override_copy.py
2020-04-16 18:46:26 +01:00
[esp_defaults]
build_flags = -D_IR_ENABLE_DEFAULT_=false
-DDECODE_HASH=true -DDECODE_NEC=true -DSEND_NEC=true
-DDECODE_RC5=true -DSEND_RC5=true -DDECODE_RC6=true -DSEND_RC6=true
; new mechanism to set the IRremoteESP8266 supported protocols: none except HASH, NEC, RC5, RC6
[esp82xx_defaults]
2020-04-16 18:46:26 +01:00
build_flags = ${esp_defaults.build_flags}
-Wl,-Map,firmware.map
2020-04-16 18:46:26 +01:00
-D NDEBUG
-mtarget-align
2020-04-07 08:28:39 +01:00
-DFP_IN_IROM
2020-05-05 20:00:50 +01:00
; the following removes the 4-bytes alignment for PSTR(), waiting for a cleaner flag from Arduino Core
-DPSTR\(s\)=\(__extension__\(\{static\ const\ char\ __c\[\]\ __attribute__\(\(__aligned__\(1\)\)\)\ __attribute__\(\(section\(\ \"\\\\\".irom0.pstr.\"\ __FILE__\ \".\"\ __STRINGIZE\(__LINE__\)\ \".\"\ \ __STRINGIZE\(__COUNTER__\)\ \"\\\\\"\,\ \\\\\"aSM\\\\\"\,\ \@progbits\,\ 1\ \#\"\)\)\)\ =\ \(s\)\;\ \&__c\[0\]\;\}\)\)
2020-04-16 18:46:26 +01:00
[irremoteesp_full]
2020-02-03 18:41:35 +00:00
build_flags = -DUSE_IR_REMOTE_FULL
2020-02-07 21:48:34 +00:00
-U_IR_ENABLE_DEFAULT_
-DDECODE_PRONTO=false -DSEND_PRONTO=false
2019-11-29 10:14:26 +00:00
[core_active]
2020-04-24 10:27:30 +01:00
platform = ${tasmota_core.platform}
platform_packages = ${tasmota_core.platform_packages}
build_flags = ${tasmota_core.build_flags}
2019-11-29 10:14:26 +00:00
2020-04-24 10:27:30 +01:00
[tasmota_core]
Core 2.7.0 (#36) * Prep for core 2.7 * Test release core 2.6.3... if it appears in build * Release zip as source for core? * Release Core 2.7.0 removed comment behind definition since it generates on some platforms errors * Update platformio_override_sample.ini * Update (#34) * Fix pin handling part 1 * Change pin handling part 2 * Change pin handling part 3 * Change pin handling part 4/4 * Fix pin handling part 4/4 * Change pin handling part 5 * Change pin handling part 6 * Update xsns_02_analog.ino * Only advance to next palette color when fade is down * Rework DGR channel update * Update Changelog and Release notes * Switch from GPIO array to Pin array * Change ESP32 pin allocation part 1 * Change pin array names Change pin array names to block unwanted use of direct access * Fix ESP32 settings size Fix ESP32 settings size as regression from yesterday * Change ESP32 pin allocation part 2 * Fix http message time * Create CI_github.yml * CI on Push and Pull * Change ESP32 pin allocation part 3 * Fix ESP32 pin allocation part 3 regression * Rename .travis.yml to .travis.yml.off * Update CI_github.yml * Update README.md * Update PULL_REQUEST_TEMPLATE.md * Fix CI badge Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com> Co-authored-by: kugelkopf123 <45996965+kugelkopf123@users.noreply.github.com> Co-authored-by: Paul C Diem <PCDiem@FoxValley.net> Co-authored-by: device111 <48546979+device111@users.noreply.github.com> Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com> Co-authored-by: kugelkopf123 <45996965+kugelkopf123@users.noreply.github.com> Co-authored-by: Paul C Diem <PCDiem@FoxValley.net> Co-authored-by: device111 <48546979+device111@users.noreply.github.com>
2020-05-01 13:29:52 +01:00
; *** Esp8266 Arduino core 2.7.0
2020-05-05 07:03:47 +01:00
platform = espressif8266@2.5.0
platform_packages = framework-arduinoespressif8266 @ https://github.com/tasmota/Arduino/releases/download/2.7.0/esp8266-2.7.0.zip
build_flags = ${esp82xx_defaults.build_flags}
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)
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703
2019-11-29 10:14:26 +00:00
; lwIP 2 - Higher Bandwidth no Features
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
2019-11-29 10:14:26 +00:00
; VTABLES in Flash
-DVTABLES_IN_FLASH
; No exception code in firmware
-fno-exceptions
-lstdc++