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...
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
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
* 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>
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 ```
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