Commit Graph

179 Commits

Author SHA1 Message Date
Jason2866 b62f0ff3cf
added eagle.flash.4m2m.ld 2021-01-12 11:29:13 +01:00
Jason2866 e7c96fbb78
Support for 2M and 4MB builds 2021-01-12 09:44:18 +01:00
Jason2866 b543217ffa
Remove redundant pio ESP32 entrys 2021-01-11 13:51:23 +01:00
Jason2866 8818c36106
Use commit 2452c1fb....539246e47a715b74a3ad25b8a7ebbec7 2021-01-11 13:43:16 +01:00
Jason2866 20fc21459e
platformio/tool-mklittlefs 2021-01-05 12:17:44 +01:00
Jason2866 83b00e64f8
add missing odroid go 2021-01-02 16:16:07 +01:00
Jason2866 a0777b9638
Latest Arduino Esp8266 stage needs new...
toolchain-xtensa @ 5.100200.201223
2020-12-24 23:12:06 +01:00
Jason2866 b873debcf3
Platformio espressif32 @ 2.1.0 2020-12-07 18:31:32 +01:00
Jason2866 c73998f27d
Use esp32-1.0.5-rc4 for stage 2020-12-07 16:53:44 +01:00
Jason2866 837775d407
Use tasmota core 2.7.4.9 from Platformio registry 2020-12-04 15:29:34 +01:00
Jason2866 ceeb18d5be
Backport PWM selection 2020-12-03 15:02:59 +01:00
Jason2866 e2b167c432 use release_v3.3-solo1-4b325f52e 2020-11-22 16:50:32 +01:00
Jason2866 939b75bae5 Tasmota standard build 2020-11-22 16:33:53 +01:00
Jason2866 8474b0bf77 add ESP32solo1 2020-11-22 16:21:38 +01:00
Jason2866 34e0daefcc
Add compile option for PWM variant
in latest Arduino Stage there is now the possibility to choose between two variants how software PWM is implemented.
2020-11-20 09:37:21 +01:00
Jason2866 674fa8e293
Esptool 3.0 from Platformio registry 2020-11-19 19:37:16 +01:00
Barbudor 1694087a28 Rename pio folder to pio-tools solve linux build errors
When vscode is ran from the Tasmota folder in Linux, build fails with message :
```Executing task: pio run <
    The terminal process failed to launch: Path to shell executable "pio" is not a file of a symlink.```
Renaming pio folder into pio-tools solve the problem.

Note: the problem can still occur if the user have a pio folder in his PATH...
2020-11-17 22:01:42 +01:00
Jason2866 88ca9205eb
ESP32 1.0.5-rc2 for stage core 2020-11-16 16:24:42 +01:00
Jason2866 4184395e31
Update platformio_override_sample.ini 2020-11-16 12:59:10 +01:00
Jason2866 33ec9b3210 esptool 3.0 2020-11-16 11:56:56 +00:00
Jason2866 1a67ce8823
Remove compile option
since it is default for all.
2020-11-15 16:19:50 +01:00
Jason2866 5947f3516b
Use ESP32 stage core for entry `[core32_stage]`
since the core 1.0.4.2 is Tasmota standard and not stage anymore
2020-11-14 10:57:24 +01:00
Jason2866 b0e2ceb17b
remove ESP32 sleep build flag 2020-11-12 14:30:14 +01:00
Jason2866 2433538355
Update platformio_override_sample.ini 2020-11-11 18:14:51 +01:00
Jason2866 271a07c506
Remove more obsolete entrys 2020-11-10 10:51:44 +01:00
Jason2866 7865fdaffb
Remove very rarly used entrys 2020-11-10 10:42:20 +01:00
Jason2866 7339e363d0
Add compile option -free -fipa-pta ...
Save some tens of bytes Thx to @jjsuwa-sys3175
2020-11-08 17:00:15 +01:00
Jason2866 178ff7a841
Use always latest ESP32 stage version 2020-11-08 12:05:54 +01:00
Jason2866 aca6cac660
mno-target-align is default 2020-11-06 12:36:32 +01:00
Jason2866 2909a29dcf target align for ESPxx and ESP32 2020-11-05 08:06:48 +00:00
Jason2866 9e7c059514 -mno-target-align 2020-11-05 07:45:35 +00:00
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