Commit Graph

349 Commits

Author SHA1 Message Date
Jason2866 f0cfe154ed
Now correct syntax 2020-08-16 21:59:01 +02:00
Jason2866 110f523316
Quick fix since PIO dev has issue...
Use unmodified Arduino Core 2.7.4 since latest PlatformIO dev has a issue with function `platform_packages`
2020-08-16 19:56:13 +02:00
Jason2866 0c25c4c97c
Use latest Platformio 2.6.1...
for the buildchain. Tasmota core 2.7.3.2 is on top and still used!
2020-07-30 14:53:07 +02:00
Jason2866 e6cf1ef576
changed some comments...
and redundant entry
2020-07-29 15:17:15 +02:00
Jason2866 8e4d0adbd4
Use Tasmota Core 2.7.3.2...
for development after release 8.4 is done
2020-07-29 14:01:16 +02:00
Theo Arends b1f98f5711 Add tasmota-zbbridge support 2020-07-28 09:25:48 +02:00
Jason2866 02a30ae12b
Update platformio.ini 2020-07-16 12:08:06 +02:00
Jason2866 a0d731358f
use modified Core 2.7.2...
for Tasmota.
Reverts faulty Arduino commit 51daecc236 and adds PR https://github.com/esp8266/Arduino/pull/7022
2020-07-15 18:11:21 +02:00
Theo Arends d1078c5ce0 Workaround device hangs
Workaround device hangs by using core 2.7.1 (#8913)
2020-07-15 17:30:42 +02:00
Jason2866 481d26ce5f
Use core 2.7.2 2020-07-09 20:58:17 +02:00
Theo Arends 642fa216c2 Merge branch 'development' into pre-release 2020-07-04 12:04:41 +02:00
Jason2866 3d2914bf8e
Refactor PlatformIO.ini
Deleting uneeded entrys. Moving and adding some entrys.
2020-06-19 20:14:59 +02:00
Jason2866 750e28d135
Better placing for -DUSE_CONFIG_OVERRIDE...
update to espressif8266@2.5.3 (minor fixes)
2020-06-19 18:16:55 +02:00
Jason2866 303b49f2fe
use espressif8266@2.5.2
minor fixes in PlatformIO framework
2020-06-14 15:18:38 +02:00
Jason2866 0a88c56376
Update platformio.ini 2020-06-02 21:46:56 +02:00
Stephan Hadinger 016258e363 Prepare compile flags for Arduino patches in flight 2020-05-18 20:06:47 +02:00
Theo Arends 0404adf4a2 Merge branch 'development' into pre-release 2020-05-10 11:28:17 +02:00
Jason2866 5d413b917a
Move standard ESP8266 core...
build_flags to section `[esp82xx_defaults]`
2020-05-08 09:50:03 +02:00
Jason2866 7e165a03c3
Update platformio.ini 2020-05-08 09:11:46 +02:00
Jason2866 41d8b33d1b
Use Core 2.7.1 2020-05-08 08:57:00 +02:00
Theo Arends b00463900b Merge branch 'development' into pre-release 2020-05-07 18:14:34 +02:00
Jason2866 4db23b1c02
Revert changes from #8375 in platformio.ini 2020-05-07 17:15:08 +02:00
gemu2015 72b49a5f2d Update platformio.ini 2020-05-07 16:23:05 +02:00
Jason2866 82ec017b3b
enable user_config_override.h by default 2020-05-06 16:22:27 +02:00
Theo Arends 895b13ba19 Merge branch 'development' into pre-release 2020-05-06 10:36:17 +02:00
Stephan Hadinger a43485bf62 Don't align PSTR on 4 bytes boundaries 2020-05-05 21:00:50 +02:00
Theo Arends e2da3e432e Merge branch 'development' into pre-release 2020-05-05 14:31:43 +02:00
Jason2866 8fb0a66785
PlatformIO ESP8266 v.2.5.0 2020-05-05 08:03:47 +02:00
Jason2866 66378f962b
Hotfix: Use patched Core 2.7.0...
since the new introduced XMC flash OTA handling in eboot.elf does not work. Device is a Softbrick and needs serial flashing.
Replaced eboot.elf with a older working version
Solves #8334
2020-05-04 16:50:56 +02:00
Jason2866 54e46cb321
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 14:29:52 +02:00
Theo Arends ade7b4b96e Merge branch 'development' into pre-release 2020-04-28 16:05:06 +02:00
Jason2866 06841bbdff
Use RC candidate of core v.2.7 2020-04-24 11:27:30 +02:00
Theo Arends c977069df5 Merge branch 'development' into pre-release 2020-04-20 18:31:20 +02:00
Jason2866 8035590e95
Defaults for ESP82xx and ESP32 2020-04-16 19:46:26 +02:00
Jason2866 9bebc96936
Update platformio.ini 2020-04-14 10:52:10 +02:00
Jason2866 81627bbf0e
Update platformio.ini 2020-04-13 19:49:10 +02:00
Theo Arends b532430ff8 Merge branch 'development' into pre-release 2020-04-07 10:45:26 +02:00
Jason2866 02fec9d8d4
DFP_IN_IROM 2020-04-07 09:28:39 +02:00
Theo Arends 4b98e9dfb2 Merge branch 'development' into pre-release 2020-04-05 14:33:47 +02:00
Stephan Hadinger f46923ba1e Change remove floating point libs from IRAM 2020-03-31 23:04:17 +02:00
Jason2866 308b145514
Update platformio.ini 2020-03-25 14:05:31 +01:00
Jason2866 5c0d78ac42
Generate gzip binaries 2020-03-21 15:57:59 +01:00
Theo Arends f918181127 Merge branch 'development' into release 2020-03-12 11:07:57 +01:00
Jason2866 fc29e31d20
Change to Tasmota freeze stage for development...
solving issue https://github.com/arendst/Tasmota/issues/7879 
Tests of the freezed stage core shows (so far) no issues. 
With regard to the new release version 8.2. with gzip support a good test in advance to verify the stability of the upcoming core 2.7.
The core 2.7. will no longer change significantly to the one used here.
2020-03-12 09:14:30 +01:00
Theo Arends e3be05756a Merge branch 'development' into release 2020-03-06 12:18:08 +01:00
Theo Arends f0a8305b13 Add localization for Romanian 2020-03-04 11:56:35 +01:00
Jason2866 3b0b9088e1
Update platformio.ini 2020-02-24 10:01:26 +01:00
Jason2866 0faea08bc5
Update platformio.ini 2020-02-12 19:56:54 +01:00
Jason2866 4f0ee274d1
Update platformio.ini 2020-02-12 19:54:14 +01:00
s-hadinger 2acc0e3a8f
Remove trailing comments 2020-02-07 22:48:34 +01:00
Hadinger 97f4924639 Change update IRRemoteESP8266 v2.7.3 2020-02-03 19:41:35 +01:00
Theo Arends 2be726580c Change -basic to -lite 2019-12-17 15:25:37 +01:00
Theo Arends 5968d2b28a Change tasmota-basic to tasmota-lite
Change tasmota-basic.bin and FIRMWARE_BASIC to tasmota-lite.bin and FIRMWARE_LITE
2019-12-17 15:13:47 +01:00
Theo Arends c9b02896ce Merge branch 'release-7.1' 2019-11-29 16:17:07 +01:00
Theo Arends 3d28f347d5 Update platformio.ini 2019-11-29 16:15:12 +01:00
Jason2866 2f18f0732f
Update platformio.ini 2019-11-29 14:59:57 +01:00
Jason2866 54ce44cc5e
Update platformio.ini 2019-11-29 14:57:11 +01:00
Jason2866 9de4ba1801
Update platformio.ini 2019-11-29 14:52:42 +01:00
Jason2866 100ac8a75e
Move ENVs back in platformio.ini...
since the idea to have 3 files for setting up was not liked at all.
2019-11-29 14:40:11 +01:00
Jason2866 6f57c30c92
Add files via upload 2019-11-29 12:46:16 +01:00
Jason2866 2539d67839
Add files via upload 2019-11-29 11:14:26 +01:00
Jason2866 00da8ead35
Update platformio.ini 2019-11-28 16:27:12 +01:00
Jason2866 cf6ca5c0cd
Add core 2.6.2 and platformio_override.ini 2019-11-28 16:09:42 +01:00
Jason2866 6664b5d073
Core 2.6.1 as release....
not develop anymore from PlatformIO crew
2019-11-28 08:59:22 +01:00
Jason2866 79f0e6045e
Release core 2.6.1 2019-11-28 08:56:48 +01:00
Jason2866 35ad0e0694
Update platformio.ini 2019-11-27 23:08:36 +01:00
Jason2866 bf53766437
Update platformio.ini 2019-11-27 23:02:51 +01:00
Jason2866 afbeb13bda
Update platformio.ini 2019-11-27 23:00:37 +01:00
Jason2866 23ef55a5da
Update platformio.ini 2019-11-27 22:59:11 +01:00
Jason2866 03662370d9
sonoff naming 2019-11-27 22:55:52 +01:00
Jason2866 baa35f0ceb
Add files via upload 2019-11-27 22:45:27 +01:00
Jason2866 c477a4261b
Delete platformio.ini 2019-11-27 22:44:22 +01:00
Jason2866 2aa7ab57a8
Use latest platformio.ini...
Gitpod users get not the actual core 2.6.1 / SDK version with actual one!
2019-11-27 22:43:21 +01:00
Jason2866 d507b3b27a
Remove cstage from platformio.ini
because it is not needed anymore. 
New build chain is used in Platformio feature/stage since the release of 2.6.1
2019-11-25 23:03:10 +01:00
Jason2866 4d6c6ffdff
Update platformio.ini 2019-11-25 13:26:15 +01:00
Jason2866 239dbb3ec4
Update platformio.ini 2019-11-21 20:40:39 +01:00
Jason2866 75e4b12c86
Delete core 2.6.0...
since it is replaced with core 2.6.1.
There are just a few commits in between with small fixes and enhancements
2019-11-21 20:35:39 +01:00
Theo Arends 7d6330a8ba fix 2019-11-21 15:36:06 +01:00
Theo Arends 977a063007 Downgrade supported Tasmota SDK
Downgrade supported Tasmota SDK from 2.2.x_191105 to 2.2.x_190703
2019-11-21 15:34:53 +01:00
Jason2866 61e3dea5b7
Activate firmware copy and naming 2019-11-16 20:18:17 +01:00
Jason2866 6287eb5b27
Change rename firmware script to name firmware
Since the old script did a rename Platformio flash function failed.
Change script to `copy` firmware.bin to tasmota variant name.
So the firmware.bin is still there and flash is working in Plaformio
With this change script can be activated and every function will work
2019-11-16 13:55:18 +01:00
Adrian Scillato 45830eda5a
Make optional some scripts while compiling 2019-11-15 15:57:28 -03:00
Jason2866 2ccf9c199b
Update platformio.ini 2019-11-14 17:39:43 +01:00
Jason2866 084a725e31
Update platformio.ini 2019-11-14 17:37:46 +01:00
Jason2866 7e6409d167
unselect env 2019-11-14 17:30:03 +01:00
Jason2866 c64743e2ca
Support for Arduino Core 2.6.1....
and deleted all old outdated cores
2019-11-14 17:25:53 +01:00
Jason2866 379670f900
Update platformio.ini 2019-11-10 21:17:29 +01:00
Jason2866 a41b4745c9
Core 2.6.0 now for Mac too 2019-11-10 20:19:50 +01:00
Jason2866 cf9fef699d
Comment default corrected 2019-11-10 18:04:17 +01:00
Jason2866 d407fc63fd
Support for core 2.6.0....
not for all platforms, since core 2.6.0 is not official released from PlatformIO crew.
Support for Windows and most Linux variants and gitpod. Mac is NOT supported.

Core is selected as default
2019-11-10 17:42:21 +01:00
Adrian Scillato cdba14780a
Added new SDK option to platformio.ini 2019-11-08 10:46:41 -03:00
Jason2866 66d0ee34a3
Update platformio.ini 2019-11-01 11:48:11 +01:00
Jason2866 fa854b7bfb
Update platformio.ini 2019-11-01 11:44:18 +01:00
Jason2866 6a6d829c27
Update platformio.ini 2019-11-01 11:25:08 +01:00
Jason2866 c3b5c3638b
Bring setting -DUSE_CONFIG_OVERRIDE more to top...
to make it easier to find. Core Selection is moved too.
2019-11-01 11:03:10 +01:00
Jason2866 89c058ee99
Added env:tasmota-debug for...
PlatformIO Home Project Inspection
2019-10-29 11:15:30 +01:00
Jason2866 fb757dabf2
Core Stage added NONOSDK22x_191024...
and enabled by default for core stage. Updated NONO SDK22x from191024. See ba50bd57b8
2019-10-28 10:24:35 +01:00
Theo Arends 200edd46fb Change binary names from sonoff to tasmota 2019-10-27 12:44:37 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00
Theo Arends b072791426 Bump version 6.6.0.21
* Remove support for WPS and SmartConfig in favour of Web server (!) based WifiManager (#6680)
 * Remove binary sonoff-classic (#6680)
2019-10-22 16:34:25 +02:00
Jason2866 948ef16f91
Add warnings to old cores 2019-10-17 11:12:42 +02:00
Theo Arends a3c0451e41 Remove support for core 2.5.2
Remove support for core 2.5.2 (#6664)
2019-10-16 15:15:10 +02:00
Theo Arends 82df091312 Fix ipv6 compilations
Fix ipv6 compilations
2019-10-11 14:29:41 +02:00
Theo Arends 3ed790277e
Fix future compiles 2019-10-11 13:32:25 +02:00
Theo Arends 7b1f9a5334
Fix future compiles 2019-10-11 13:31:32 +02:00
hkrupp b48c1a1c82 Remove logging message translation and core 2.5.2 as future target is core 2.6 2019-10-11 12:50:45 +02:00
hkrupp 3596e4c77f Initial IPv6 support (SLAAC). Builds against 2.5.2 and 2.6.0 staging. iram1_0_seg problems with larger configurations. 2019-10-11 07:40:55 +02:00
Theo Arends d6a5b651d5 Update cache usage
Update cache usage
2019-09-21 15:17:07 +02:00
Jason2866 124d2d59e9
Use Platformio cache function...
for already compiled environment code. Speeds up rebuilding a lot.
In my test it worked reliable.
2019-09-21 13:57:15 +02:00
Staars 28bd411311 call obj-dump.py as extra_script 2019-09-13 09:10:36 +02:00
Staars 83b2c85815 call obj_dump.py as extra_script 2019-09-13 09:08:15 +02:00
Stephan Hadinger 2d673d78ef Add 'sonoff-ir' pre-packaged IR-dedicated firmware and 'sonoff-ircustom' to customize firmware with IR Full protocol support 2019-08-30 20:41:01 +02:00
Jason2866 4b506eddee
Use pre 2.6 as default
After some weeks of testing (and fixing the mqtt lag issue BIG THX @ascillato ) it is stated, pre 2.6 core is better than core 2.5.2.
The pre core 2.6 differs from main Arduino repo. Two additional PRs added (PR which frees >600 bytes iram and PR which fixes mqtt lag)  
Main benefit core pre 2.6. fixes mqtt reconnects of cores 2.4.x. and 2.5.x
2019-08-24 12:30:19 +02:00
Theo Arends e8f28740a7 Display fixes part 1
Display fixes part 1
2019-08-19 16:49:20 +02:00
gemu2015 cb0de03df7 update displays 2019-08-19 13:21:54 +02:00
Theo Arends 27efc08d2c Add define DEBUG_TASMOTA_CORE
Add define DEBUG_TASMOTA_CORE
2019-08-08 16:24:11 +02:00
Theo Arends 43b2536021 Add optional debug defines
Add optional debug defines
2019-08-08 15:36:47 +02:00
Adrian Scillato 94bd05903f
Update Platformio.ini to PIO v4 requirements
Changed env_default to default_envs as required by PIO 4 and as to avoid compilation warnings.
2019-07-30 10:09:13 -03:00
Jason2866 b013526d27
added "build_dir"
to make Core 2.3.0 compile with PlatformIO V.4.0.
Change has no impact to older versions of PlatformIO
2019-07-13 15:29:15 +02:00
Jason2866 079cb140e2
Tasmota build env for core pre 2.6.x
Build Tasmota with SDK 2.2.y on pre 2.6.x (freezed on Arduino ESP8266 Master commit 8c37601)
Solves mqtt reconnects
2019-07-11 11:02:14 +02:00
Jason2866 8d31b1721c
Use latest SDK22y for core_stage
Switch default FW to "2.2.2-dev(38a443e)" (menu:2.2.1+100) 

* enable by default latest 2.2.x firmware, including fixed espnow
* LittleFS: avoid crash when FS size is 0
* flash size defaults: 1M for generic board, not empty FS for all
2019-07-10 20:13:38 +02:00
Jason2866 3ccc3e64d7
Update to latest platform-espressif8266 v.2.2.2 2019-07-01 11:17:38 +02:00
Stephan Hadinger 4413a757d8 TLS+AWS IoT optimization for speed, code and memory footprint 2019-06-19 09:49:48 +02:00
Stephan Hadinger 006462f17e Refactored TLS based on BearSSL - cleaned 2019-06-10 12:06:03 +02:00
Theo Arends 6a5ea7a9c6 Add support for AWS IoT with TLS 1.2 on core 2.5.2
Add support for AWS IoT with TLS 1.2 on core 2.5.2
2019-06-06 14:40:59 +02:00
Stephan Hadinger bc3d0add4c Support for AWS IoT via TLS 1.2 2019-06-05 11:44:52 +02:00
Theo Arends 9aa05889b0 Revert "Fix pio compile parameters"
This reverts commit efb4d08823.
2019-06-03 18:00:29 +02:00
Theo Arends efb4d08823 Fix pio compile parameters
Fix pio compile parameters
2019-06-03 10:41:43 +02:00
Jason2866 abb7e0f412
Small fixes in platformio
Fixes in platformio update to 2.2.1
Fixed broken example "esp8266-nonos-sdk-blink"
Use 115200 upload speed by default (issue #153)
2019-05-26 14:19:26 +02:00
Jason2866 119f124a1d
Bugfix Core 2.5.2 release 2019-05-21 11:36:00 +02:00
gemu2015 cb662637eb Create platformio.ini 2019-05-18 12:59:42 +02:00
gemu 6ed2f06193
Delete platformio.ini 2019-05-18 10:50:18 +02:00
gemu2015 ba41a2ada5 update scripter 2019-05-18 09:45:04 +02:00
Jason2866 9ae658f886
Update to platformio v.2.1.1
For some platforms esptool flash fails. https://github.com/platformio/platform-espressif8266/issues/149
Fixed in v.2.1.1
2019-05-17 16:49:02 +02:00
Jason2866 32f59c462d
Official Platformio release of core 2.5.1
Use official resource of Platformio for core 2.5.1 and delete support for core 2.5.0.
Core 2.5.1 is a bug fix release for core 2.5.0
2019-05-15 14:49:50 +02:00
Jason2866 faa2590e92
Fix 2019-05-11 14:32:35 +02:00
Jason2866 3d08514060
add -DBEARSSL_SSL_BASIC
When using TLS, this flag avoids loading all the Elliptic Curves algorithm, and saves ~45KB of flash. Anyways, Elliptic Curves are far too slow for ESP8266 and the handshake would take more the 5 seconds. With this flag we limit to RSA algorithms which are faster.
Thx for the tipp @s-hadinger
2019-05-11 14:19:54 +02:00
Jason2866 bc211e8c78
Add Bugfix Arduino Core 2.5.1 and use as default
Since bugfix release is still not availible via orig. Platformio Github it is donwloaded via forked source from https://github.com/Jason2866/platform-espressif8266.git#Tasmota
2019-05-11 13:58:23 +02:00
Theo Arends 7f590e62f3 Change Spanish Argentina to Spanish Spain (#5565)
Change Spanish Argentina to Spanish Spain (#5565)
2019-04-01 17:41:47 +02:00
Jason2866 f709ecf786
Update Core 2.5.0 to build chain 2.0.4
Update Core 2.5.0 to build chain 2.0.4
Set Compiler Option -O2 for Core 2.5.0 and Core Stage (Faster code) See https://github.com/esp8266/Arduino/issues/5790#issuecomment-475672473
2019-03-26 11:46:03 +01:00
Theo Arends ef5377e327 Workaround NeoPixelBus STAGE compile error
Workaround NeoPixelBus STAGE compile error
2019-03-15 11:25:02 +01:00
Jason2866 798b8b73e0
nonos-sdk 22x as default for [core_stage]
Using for core stage latest updated nonos sdk 22x
2019-03-15 09:30:59 +01:00
Theo Arends 5871c7ebae Add Korean language translations
Add Korean language translations (#5344)
2019-02-26 10:16:56 +01:00
Jason2866 ca237a3123
Platformio 2.0.1 (Core 2.5.0)
Platformio is back to working build toolchain from core 2.4.2.
2019-02-24 11:15:40 +01:00
Jason2866 2a8e785a8b
Revert to modular build 2.5.0 release 2019-02-22 15:23:37 +01:00
Jason2866 51227b1d95
Update platformio.ini 2019-02-20 21:07:01 +01:00
Theo Arends ae277f59cf Change image defines
6.4.1.15 20190208
 * Change image name BE_MINIMAL to FIRMWARE_MINIMAL (#5106)
 * Change image names USE_xyz to FIRMWARE_xyz (#5106)
2019-02-08 14:55:45 +01:00
Jason2866 b430a22e0c
Core 2.5.0 Release
Changed core 2.5.0 beta3 to Release.
2019-02-06 19:57:11 +01:00
Jason2866 0870b5a7e8
Update platformio.ini 2019-01-26 09:33:11 +01:00
Jason2866 f0b56c6b8a
Changed core 2.5.0 to version Beta3 2019-01-26 08:58:21 +01:00