Commit Graph

198 Commits

Author SHA1 Message Date
Jason2866 3648098bae
Use Xtensa build chain 10.2. GNU13 2020-11-04 09:26:12 +01:00
Jason2866 8d51be770e
Beautify 2020-11-02 13:04:48 +01:00
Jason2866 0e816a34b1
Platformio Override changes
remove unneeded entry and correct copy&paste error
2020-11-02 12:24:42 +01:00
Jason2866 932aedeec5 enable all libs 2020-11-02 07:40:27 +00:00
Jason2866 cda0f98118
Refactor PlatformIO 2020-11-02 08:16:50 +01:00
Jason2866 f79b4936bf
Update platformio_override_sample.ini 2020-11-02 08:11:17 +01:00
Jason2866 e4551e4efe
Refactor Override 2020-11-02 08:09:23 +01:00
Theo Arends 32f3eee89d Fix ESP32 override build_flags 2020-11-01 17:31:44 +01:00
Theo Arends 864e8d788c Refactor platformio files 2020-11-01 17:27:50 +01:00
Jason2866 ed24e8d99f
Build Flag for ESP32 Stage 2020-11-01 15:27:26 +01:00
Jason2866 e454c54e6d move libs in folder lib 2020-10-26 12:51:06 +00:00
Jason2866 af6fe55a13
Update platformio_override_sample.ini 2020-10-26 13:34:25 +01:00
Jason2866 ca07a0f7af move lib disable in override 2020-10-25 16:27:34 +01:00
Jason2866 e4ed17c951
New flash writing method with offset/memory/size alignment handling 2020-10-19 11:50:57 +02:00
Jason2866 95235b579c
Some updates in stage cores
Use zip file for Tasmota stage 2.4.2 (faster install), updated Core Stage to 2.9.1 (uses Arduino commit 0x5539301),  added a (commented) PlatformIO option for better Gitpod usage
2020-09-30 11:38:07 +02:00
Jason2866 f6ef721e81
Use specific commit for ESP32 stage
because with later ones Tasmota32 does not compile.
2020-09-20 18:01:14 +02:00
Jason2866 ee475e833a Remove not needed, add stage core32 2020-09-19 12:30:03 +02:00
Jason2866 8038c24460
Use Tasmota stage, core 2.7.4.2
core 2.7.4.2 includes some backports from arduino / master
https://github.com/esp8266/Arduino/pull/7547
https://github.com/esp8266/Arduino/pull/7586
https://github.com/esp8266/Arduino/pull/7585
https://github.com/esp8266/Arduino/pull/7595
2020-09-17 18:17:26 +02:00
Jason2866 e966fbb2f1
Remove esp32 env 2020-09-05 22:52:11 +02:00
Jason2866 abc7ba6cac
Remove ESP32 move to main 2020-09-05 22:42:15 +02:00
Jason2866 8ee0b65155
Update platformio_override_sample.ini 2020-09-03 23:41:16 +02:00
Jason2866 1bae56eb66
Revert "Revert "Use Tasmota Core 2.7.4.1 from PlatformIO registry"" 2020-09-03 23:33:20 +02:00
Jason2866 a581c45e56
Revert "Use Tasmota Core 2.7.4.1 from PlatformIO registry" 2020-08-26 21:53:58 +02:00
Jason2866 82ac4743e3
Stage is even with stable Tasmota core 2.7.4.1 2020-08-25 18:13:54 +02:00
Jason2866 ce435cc94d
based on PIO ESP8266 2.6.2 2020-08-17 15:30:05 +02:00
Theo Arends 761332d286 Fix removal of core error messages
Fix removal of core error messages (#9084)
2020-08-14 17:03:33 +02:00
Jason2866 2b90ee3baf
Use Tasmota core 2.7.4.1
for Tasmota stage.
- Since Platformio released the GCC10.1 build chain, use the platformio provided for Core Stage.
2020-08-03 10:21:18 +02:00
Jason2866 c87acfd08c
use platformio 2.6.1
for the buildchain. Tasmota core 2.7.3.2 is on top and still used!
2020-07-30 14:55:31 +02:00
Theo Arends b1f98f5711 Add tasmota-zbbridge support 2020-07-28 09:25:48 +02:00
Jason2866 0875b6bab0
Tasmota Stage Core 2.7.3.2
includes Arduino backport #7488 backport #7487 backport #7486 backport #7464 backport #7434 backport #7433
Security fix and malloc fix
2020-07-27 09:03:53 +02:00
Jason2866 57fe4cf248
Use Tasmota_stage core 2.7.3.1 from Tasmota Github
and delete unneeded compiler flags
2020-07-20 10:04:39 +02:00
Jason2866 27ff269bcb
Fix regression build flags
from #8932
2020-07-19 13:43:08 +02:00
Jason2866 a7e057b8ba
Use Tasmota Stage Core 2.7.3.1...
for Tasmota Stage build. Core is based on (soon released) Arduino ESP core 2.7.3.
2020-07-19 13:21:45 +02:00
Jason2866 19c1bf2d7f
Update platformio_override_sample.ini 2020-07-16 12:08:51 +02:00
Jason2866 125c6a4402
sync platformio_override.ini with platformio.ini
Platform is `platform  = espressif8266@2.5.1` no need to install `platform  = espressif8266@2.6.0` too. It is overwritten anyway with Tasmota core
`platform_packages         = framework-arduinoespressif8266 @ https://github.com/tasmota/Arduino/releases/download/2.8.0-tasmota/esp8266-2.8.0.zip`

Delete lwIP 1.4 from core_stage because it is not anymore in core > 2.7.2
2020-07-16 09:03:04 +02:00
Jason2866 b68260a164
missing "-Wno-switch-unreachable" 2020-07-15 11:10:10 +02:00
Jason2866 8c58d8cd3b
suppress Gcc10.1 warning...
in lib IRremoteESP8266-2.7.8
2020-07-15 11:00:02 +02:00
Jason2866 f6314bcf6e
Add in env. debug stack usage >=300 bytes
maybe usefull
2020-07-14 21:45:52 +02:00
Jason2866 5d7ff37516
Core stage is now built with GCC10.1 toolchain 2020-07-11 12:29:51 +02:00
Jason2866 7f2ed31811
Use core 2.7.2 2020-07-09 21:00:20 +02:00
Jason2866 41a32200b6
Use Tasmota freezed stage version...
identified as core 2.8.0. Give the opportunity in future to do all core related optimizations in this build
2020-07-04 20:24:04 +02:00
Jason2866 59a433fe77
Fix regression from latest Platformio optimization
when Platformio_override.ini is activated and no other core is choosen as the selected in platformio.ini
2020-06-24 12:01:13 +02:00
Jason2866 0d1dd10314
Update to ESP framework 1.12.4
and remove obsolete and redundant entry
2020-06-20 15:04:38 +02:00
Jason2866 34d5e8bc50
Refactor...
and add missing entrys
2020-06-19 20:25:02 +02:00
Jason2866 fabb60f905
Fix missing build_flags entry...
and prepare for possible needed build_unflags
2020-06-19 18:26:41 +02:00
Jason2866 dd4642c5ba
remove redundant -DUSE_CONFIG_OVERRIDE
since use of user_config_override.h is always enabled (by default) in platformio.ini
2020-06-19 18:19:47 +02:00
Jason2866 a5868452a0
Update platformio_override_sample.ini 2020-06-02 18:06:04 +02:00
Jason2866 98fc7db8fa
Flash_freq in override 2020-06-02 18:02:36 +02:00
gemu2015 357341899c ILI9488 ESP32 2020-05-29 19:29:03 +02:00
gemu2015 77c60229cc ESP32 support for SSD1351 2020-05-27 11:14:17 +02:00
Theo Arends 8539021c92
Merge pull request #8554 from Staars/mi32
update xsns_62_MI_ESP32.ino (and NimBLE-Arduino)
2020-05-26 22:29:05 +02:00
Jason2866 f46e28d1d0
Use latest ESP framework 1.12.2 2020-05-26 21:46:34 +02:00
Staars ba905255ee remove second method to suppress warning 2020-05-26 20:45:55 +02:00
Jason2866 e69d568606
Use Tasmota optimizations
from @s-hadinger in latest Arduino core
2020-05-23 15:52:59 +02:00
Jason2866 e32ced285d
Use Platformio framework ESP32 1.12.1 2020-05-20 20:09:47 +02:00
Jason2866 5f7635e68b
Enable user_config_override.h for ESP32 by default
since we have always a user_config_override.h generated with override_copy.py if there is none.
2020-05-17 14:55:00 +02:00
Theo Arends d0daea1037 Change ESP32 from Wemos to ESP32dev
- Change ESP32 from Wemos to ESP32dev
- Add environment tasmota32-webcam using esp32cam
2020-05-12 14:54:18 +02:00
Jason2866 1dbf713e04
Use for Tasmota_stage
commit `a5432625d93f60d7e28cfdc5ed8abb3e0151951d` = release core 2.7.1 too.
2020-05-08 12:24:05 +02:00
Jason2866 946c9a0393
Use extends in Core flavour 2020-05-08 08:49:18 +02:00
Jason2866 424e4ee4a3
PlatformIO ESP8266 2.5.0
use  latest PlatformIO Arduino ESP8266 build chain as base
2020-05-05 08:06:37 +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
Jason2866 f8f654c9de
Use latest Arduino git version for Tasmota...
feature stage. -> rc v.7.0
2020-04-24 10:57:39 +02:00
Jason2866 3c6d4ef56b
NimBLE ESP32 warning suppression
needs to work a entry in build_unflags
2020-04-24 09:18:52 +02:00
Staars e39f62204b xsns_62_MI_ESP32.ino - initial commit 2020-04-21 09:58:33 +02:00
Jason2866 8765223f75
Add the possibility to add Custom env
to build special Tasmota versions with Compiler switches defined in [env:tasmota-xyz] in `platformio_tasmota_cenv.ini` to control
user_config_override.h
Example:
"[env:tasmota-zigbee]
build_flags = ${common.build_flags} -DHANS_CONFIG_ZIGBEE=true"
which referrs to in user_config_override.h
```#ifdef HANS_CONFIG_ZIGBEE  // ******************************************************************

#undef CODE_IMAGE_STR
#define CODE_IMAGE_STR "ZIGBEE"

#define USE_WEBSERVER                            // Enable web server and Wifi Manager (+66k code, +8k mem)
  #define USE_JAVASCRIPT_ES6                     // Enable ECMAScript6 syntax using less JavaScript code bytes (fails on IE11)
//  #define USE_WEBSEND_RESPONSE                   // Enable command WebSend response message (+1k code)

//#define USE_RULES                                // Add support for rules (+4k4 code)
//  #define USE_EXPRESSION                         // Add support for expression evaluation in rules (+3k2 code, +64 bytes mem)
//    #define SUPPORT_IF_STATEMENT                 // Add support for IF statement in rules (+4k2 code, -332 bytes mem)
//  #define SUPPORT_MQTT_EVENT                     // Support trigger event with MQTT subscriptions (+3k5 code)

//#define USE_SCRIPT                               // Add support for script
//  #define USE_SCRIPT_FATFS 4                     // Add support for script storage on SD card (+12k code, +4k mem)
//  #define USE_SCRIPT_WEB_DISPLAY


#define USE_ADC_VCC                              // Display Vcc in Power status. Disable for use as Analog input on selected devices


// -- Zigbee interface ----------------------------
#define USE_ZIGBEE                               // Enable serial communication with Zigbee CC2530 flashed with ZNP (+35k code, +3.2k mem)
  #define USE_ZIGBEE_PANID  0x1A63                // arbitrary PAN ID for Zigbee network, must be unique in the home
  #define USE_ZIGBEE_EXTPANID 0xCCCCCCCCCCCCCCCCL // arbitrary extended PAN ID
  #define USE_ZIGBEE_CHANNEL  11                  // Zigbee Channel (11-26)
  #define USE_ZIGBEE_PRECFGKEY_L 0x0F0D0B0907050301L  // note: changing requires to re-pair all devices
  #define USE_ZIGBEE_PRECFGKEY_H 0x0D0C0A0806040200L  // note: changing requires to re-pair all devices
  #define USE_ZIGBEE_PERMIT_JOIN false           // don't allow joining by default
  #define USE_ZIGBEE_COALESCE_ATTR_TIMER 350     // timer to coalesce attribute values (in ms)


#endif ```
2020-04-17 17:20:46 +02:00
Jason2866 f6863484c3
Install only one and latest esptool
ESP32 still uses as default the outdated esptool 2.6. 
Since esptool 2.8 is already used for ESP8266 use it for ESP32 too and prevent install of version 2.6
2020-04-16 20:54:35 +02:00
Jason2866 85d04dbc53
Fix minor errors 2020-04-16 19:44:13 +02:00
Jason2866 817bc47f04
Spiffs 64k 2020-04-14 20:18:00 +02:00
Jason2866 5c49a89d21
Update platformio_override_sample.ini 2020-04-14 19:05:07 +02:00
Jason2866 3820999747
Better placing of ESP32 env...
will be only activated when platformio_override is active
2020-04-14 10:55:00 +02:00
Jason2866 375cf778ea
Removed not needed options to compile...
firmware variants
2020-04-13 20:28:01 +02:00
Jason2866 10a1269c32
Update platformio_override_sample.ini 2020-04-13 19:53:33 +02:00
Jason2866 819f8791a8
Ability to define -DFP_IN_IROM
when generating ld script with commit https://github.com/esp8266/Arduino.git#d600cc7fa6c3fc5c31ed903ec12fd2e2da2c3678
2020-04-07 09:31:23 +02:00
Jason2866 2165a78374
Use latest Platformio chain 2.4.0 2020-03-25 14:03:51 +01:00
Jason2866 22eaa57953
Remove gzip script...
is already done in Platformio.ini
2020-03-23 11:55:20 +01:00
Jason2866 55aad3dd37
Use Arduino.git#e64cb619 for
Platformio override. -> Use all latest development commit features
2020-03-22 18:16:05 +01:00
Jason2866 0b36bedace
Use latest feature stage version for Tasmota...
Core Stage.
udp: fix again pbuf management
2020-03-06 13:02:25 +01:00
Jason2866 7899157871
Using Arduino ESP8266 commit abdd2bd...
for Tasmota stage freezed builds
2020-02-25 11:44:09 +01:00
Jason2866 25301b8cdc
Fix using new syntax for custom LD script 2020-02-24 10:04:48 +01:00
Jason2866 414020d19f
Use new syntax for providing ldscript 2020-02-19 12:21:53 +01:00
Theo Arends 643d3d0b69 Add -DNOPRINTFLOAT for future need solving dtostrf
Add -DNOPRINTFLOAT for future need solving dtostrf
2020-02-16 15:30:50 +01:00
Jason2866 7f180fa6bc
Statisfy Platformio v.4.2 syntax 2020-02-12 20:22:21 +01:00
Jason2866 52609a41d8
Remove comment...
since the option activated does not work reliable on all platforms when it is there!
2020-02-07 23:15:34 +01:00
Jason2866 cb58ae95ae
Freezed Arduino feature stage for Tasmota....
for supporting gzip firmware upgrades
2020-02-04 16:50:02 +01:00
Jason2866 0b067245ae
add gzip PlatformIO script 2020-01-07 13:10:00 +01:00
Mark Furland 8078939d41 fix(platformio_override_sample): extra_scripts doesn't deal well with commas
If you put commas in the extra_scripts, it seems to just ignore the script after the comma?
Newlines work fine though
2020-01-02 19:49:11 -05: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
Jason2866 8ed7257c9b
Update platformio_override_sample.ini 2019-12-05 15:16:57 +01:00
Adrian Scillato c1bd30ef8c
Add new SDK version available only for STAGE core
This new SDK is added as an option
Also some comments about older SDK are fixed
2019-12-03 22:25:03 -03:00
Theo Arends 02e938fc18 Prep for release 7.1 2019-11-29 15:22:28 +01:00
Jason2866 9805a840d7
Add files via upload 2019-11-29 14:59:03 +01:00
Jason2866 f890014d8f
Delete platformio_override_sample.ini 2019-11-29 12:45:51 +01:00
Jason2866 616b07cc01
delete 2019-11-29 12:45:10 +01:00
Jason2866 70c89f62cc
Update platformio_override_sample.ini 2019-11-29 11:09:29 +01:00
Jason2866 472318b685
Update platformio_override_sample.ini 2019-11-28 17:42:00 +01:00
Jason2866 92c8e862f4
Update platformio_override_sample.ini 2019-11-28 17:04:37 +01:00
Jason2866 7606efa2a7
Update platformio_override_sample.ini 2019-11-28 16:54:34 +01:00
Jason2866 59ca4d89e6
Add files via upload 2019-11-28 16:13:53 +01:00