Commit Graph

35 Commits

Author SHA1 Message Date
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