Commit Graph

924 Commits

Author SHA1 Message Date
gemu2015 3885a19b57 enable all pins for cs and dc 2021-11-16 08:09:04 +01:00
gemu2015 1278682182 epaper area calls 2021-11-16 08:03:15 +01:00
Stephan Hadinger b3796c4adb Preliminary support for Tasmota Application (.tapp files) 2021-11-15 23:06:04 +01:00
Stephan Hadinger 87490c5e94 Renamed autoconf suffix 2021-11-15 22:11:04 +01:00
Stephan Hadinger a08b54b295 Fix Berry compound assignment 2021-11-15 19:14:35 +01:00
Jason2866 67a8380131
Merge pull request #13680 from Jason2866/comp_silence
fix compiler warnings
2021-11-15 12:52:32 +01:00
Jason2866 d3ba1dd5fc fix compiler warnings 2021-11-15 12:35:48 +01:00
Stephan Hadinger a584d77651 Berry fix unary not 2021-11-14 21:38:59 +01:00
Stephan Hadinger ac2634d8e7 Force Berry and Autoconf to use internal Flash file-system 2021-11-14 18:32:17 +01:00
s-hadinger a9f0585429
Autoconf v1 (#13665)
* Fix compiler warning

* Autoconfiguration for ESP32 and variants
2021-11-13 20:45:27 +01:00
Theo Arends dbd7d29765 Fix CSE7761 comms
Fix CSE7761 and Sonoff Dual R3 comms
2021-11-12 14:39:14 +01:00
Stephan Hadinger a36331fe47 Improved for zigbee 2021-11-11 19:22:15 +01:00
Stephan Hadinger 75b749c67e Merge branch 'development' of https://github.com/arendst/Tasmota into serial_lowbitrate 2021-11-11 18:56:31 +01:00
Stephan Hadinger 9084e36978 Make serial more responsive at low bitrate 2021-11-11 14:44:54 +01:00
s-hadinger e69522f70b
Berry `tasmota.arch()` (#13635)
* Berry `tasmota.arch()`

* Fix typo
2021-11-10 20:58:06 +01:00
s-hadinger 1f229e7534
Support for ZIP fs and download (#13632)
* Support for ZIP fs and download

* Fix
2021-11-10 19:31:22 +01:00
Stephan Hadinger 23e562a058 TLS make ALPN configurable 2021-11-10 18:45:50 +01:00
Christian Baars 54acd8fad7
Delete bignum.c
forgot to delete this...
2021-11-08 18:22:55 +01:00
Christian Baars 7b687fc658
Port to ESP32-C3 2021-11-08 17:33:51 +01:00
Christian Baars 566f619235
Update esp_mfi_debug.h
Reduce logging for release builds
2021-11-08 17:31:25 +01:00
Stephan Hadinger b9b6531c7d Berry fix problem when stack resize 2021-11-07 20:02:56 +01:00
Jason2866 0c3e9a4751 correct and rename lib structure 2021-11-07 13:47:24 +01:00
Stephan Hadinger 1e5364ecef Berry make persist more robust 2021-11-07 11:10:01 +01:00
Stephan Hadinger 4f4b1f7658 Berry fix crash in solidify 2021-11-06 19:23:50 +01:00
Theo Arends 5549b5e108
Merge pull request #13583 from arlosi/fix-onewire-c3
Fix OneWire on ESP32-C3
2021-11-06 11:12:56 +01:00
Stephan Hadinger 9fcebb17ed Move LList to its own library 2021-11-06 09:37:40 +01:00
Arlo Siemsen d918eb1dff Fix OneWire on ESP32-C3 2021-11-05 23:41:35 -05:00
Stephan Hadinger 0c144fb748 Berry optimize GPIO constants 2021-11-05 19:25:50 +01:00
Stephan Hadinger 77a3d8670b LVGL add theme mono 2021-11-05 08:44:39 +01:00
Stephan Hadinger 765013cda9 Berry avoid crash when I2C is not configured 2021-11-04 20:21:59 +01:00
Stephan Hadinger 26d2f9821e Berry support for multiple rules with same prefix 2021-11-04 19:34:22 +01:00
Stephan Hadinger e45f25f59a Berry support for unishox compression 2021-11-04 08:17:42 +01:00
s-hadinger b9f47f93c9
Merge pull request #13559 from s-hadinger/berry_updates
Berry multiple updates
2021-11-03 21:03:59 +01:00
Stephan Hadinger 10b56dc1f6 Berry multiple updates 2021-11-03 20:46:49 +01:00
Stephan Hadinger 595f181dc0 LVGL fix event target 2021-11-03 18:16:29 +01:00
Jason2866 f47d044bc9
Epdiy Waveform update Lilly Go 4.7
* ED047TC2 waveform
2021-11-01 13:54:07 +01:00
Jason2866 70b1977d3c
Update library.json 2021-10-31 20:53:10 +01:00
Jason2866 1929cf27ce
LDF Platformio compile fix 2021-10-31 20:41:14 +01:00
Jason2866 da686d616f
Delete lib/libesp32_epdiy/hardware directory 2021-10-31 18:09:59 +01:00
Jason2866 003b367f2d
Delete lib/libesp32_epdiy/examples directory 2021-10-31 18:08:52 +01:00
Jason2866 344f929137
Delete lib/libesp32_epdiy/doc directory 2021-10-31 18:07:24 +01:00
Jason2866 c24694adab
correct entry in platforms 2021-10-31 17:47:10 +01:00
Jason2866 256c1ff08e del not needed code 2021-10-28 19:25:07 +02:00
Jason2866 8a764f86ee
fix compile with ESP32 2.0.x 2021-10-26 23:34:35 +02:00
s-hadinger 6158032723
Berry add stack increase observability (#13482)
* Berry add stack increase observability

* Berry stack increase in bytes
2021-10-26 23:13:16 +02:00
Stephan Hadinger cb27f53816 LVGL OpenHASP alpha 4 2021-10-26 21:58:21 +02:00
Christian Baars f4b6acf242
Fix ESP32-Homekit for IDF>4 2021-10-26 21:29:24 +02:00
Stephan Hadinger 07e848cd30 LVGL OpenHASP alpha 3 2021-10-25 22:20:48 +02:00
Stephan Hadinger 9fcd7c3ae4 Berry fix possible memory corruption 2021-10-24 10:23:36 +02:00
Theo Arends 2e87681612 BearSSL: support connect() without timeout on ESP32
BearSSL: support connect() without timeout on ESP32 (#13435)
2021-10-23 18:08:49 +02:00
Stephan Hadinger 03a3dd481e Missed one 2021-10-23 17:50:12 +02:00
Stephan Hadinger 1aa017a095 Roll back from #13435 2021-10-23 17:46:52 +02:00
Stephan Hadinger e047260158 LVGL add roboto condensed 2021-10-23 16:13:00 +02:00
Stephan Hadinger 6fa5aec939 LVGL OpenHASP alpha2 2021-10-23 15:08:33 +02:00
Theo Arends e6cc6dfcd1
Merge pull request #13435 from Leo-PL/fix_bearssl_connect_esp32
BearSSL: support connect() without timeout on ESP32
2021-10-22 09:33:49 +02:00
Lech Perczak b5730a9be9 BearSSL: support connect() without timeout on ESP32
Arduino-ESP32 supports both versions of 'connect' method, with and
without timeout argument. Since most users of
WiFiClientSecure_light class use version without this argument -
for example - Telegram, export both on ESP32 to fix build failure
with USE_TELEGRAM enabled on ESP32.

Fixes: 3d5c68b850 ("Berry class ``webclient`` for HTTP/HTTPS requests")
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
2021-10-21 23:29:47 +02:00
Stephan Hadinger 0a5bccc8d9 Berry json dump for subclasses 2021-10-21 21:41:20 +02:00
Stephan Hadinger 85a0ba4b6d Change limit 2021-10-20 23:06:29 +02:00
Stephan Hadinger 13e8287554 Berry python compat for ranges 2021-10-20 22:59:16 +02:00
Stephan Hadinger 9f7a52633a Berry add module ``python_compat`` to be closer to Python syntax 2021-10-20 19:04:18 +02:00
Stephan Hadinger 3d3d634070 Berry support for tele rules 2021-10-19 22:38:54 +02:00
Stephan Hadinger 24afc50375 Berry add access to Settings 2021-10-19 21:47:48 +02:00
s-hadinger e7159c8c8c
Merge pull request #13410 from s-hadinger/berry_set_solidified_fix
Berry prevent crash when setting static variable for solidified class
2021-10-19 20:56:09 +02:00
Stephan Hadinger 3b90a68799 Berry prevent crash when setting static variable for solidified class 2021-10-19 20:32:41 +02:00
Stephan Hadinger 0fa343c447 Berry add a watchdog 2021-10-19 20:14:31 +02:00
Stephan Hadinger 58694c99e0 Berry fix tasmota.cmd result 2021-10-18 18:09:31 +02:00
Stephan Hadinger f3c11c6951 Berry return last message in tasmota.cmd() 2021-10-18 11:24:11 +02:00
Stephan Hadinger e49eadff4e Berry bytes() allow negative indices 2021-10-17 19:13:32 +02:00
Stephan Hadinger 149920e363 Berry fix string literal 2021-10-17 16:05:13 +02:00
Stephan Hadinger 560e676be3 LVGL Berry remove constants 2021-10-15 21:26:33 +02:00
Stephan Hadinger 164d14496b LVGL Berry namespace ``lv.*`` added and removed ``lv_*`` constants 2021-10-15 19:34:37 +02:00
Stephan Hadinger 8837ad6ff1 Berry stability fix 2021-10-14 09:15:19 +02:00
Stephan Hadinger 48410e9536 Berry safer rule management 2021-10-11 19:10:37 +02:00
s-hadinger 416b3f8e05
Berry add stack dump in case of exception (#13319)
* Berry add stack dump in case of exception

* Fix type in Berry

* More typo
2021-10-10 19:53:38 +02:00
s-hadinger 497d49b417
Merge pull request #13304 from s-hadinger/tls_dual_mode
TLS dual mode
2021-10-09 10:06:49 +02:00
Stephan Hadinger 1a96a39d3a TLS dual mode 2021-10-09 09:49:00 +02:00
Stephan Hadinger 0b69194134 Berry remove persist tosrting 2021-10-08 21:00:50 +02:00
Stephan Hadinger 59e5747301 Berry reduce pressure on gc 2021-10-07 21:35:56 +02:00
Stephan Hadinger fba096500e Berry fix heap size control in high memory pressure 2021-10-07 19:03:34 +02:00
Theo Arends a176778956 Fix Tasmota logging when NIMBLE is enabled 2021-10-07 14:15:20 +02:00
Stephan Hadinger aaec57db1c Berry fix Energy module 2021-10-05 21:28:34 +02:00
Stephan Hadinger 1077ce3db7 OpenHASP phase 1 2021-10-04 22:36:22 +02:00
Stephan Hadinger ddb1eb7fea Berry and LVGL fixes 2021-10-04 19:15:27 +02:00
Theo Arends 47a85d975a
Merge pull request #13271 from gemu2015/udisp_fix
fix rotate
2021-10-04 14:57:38 +02:00
Stephan Hadinger 22daee620a Fix ctypes for energy and lvgl 2021-10-04 13:42:09 +02:00
gemu2015 01ec66b7b6 fix rotate 2021-10-04 13:04:48 +02:00
Stephan Hadinger 4a18748f74 Berry improvements to `persist` 2021-10-03 16:34:45 +02:00
s-hadinger 6878bf9fbf
Berry add module ``import persist`` (#13264)
* Berry add module ``import persist``

* Call `persist.save()` before restart
2021-10-03 11:54:29 +02:00
Stephan Hadinger 98acc6fe2d LVGL updated to v8.0.2 **breaking changes** 2021-10-02 09:33:59 +02:00
Barbudor 6783f91566 prepend OPTH_ to conflicting symbols 2021-10-01 17:57:02 +00:00
Theo Arends 63f526972c
Merge pull request #13252 from gemu2015/multi_display
fix multi display issues
2021-10-01 16:12:57 +02:00
Stephan Hadinger a21e4a58fc Berry add `tasmota.global` 2021-09-30 19:51:40 +02:00
gemu2015 7e38e75116 fix multi display issues 2021-09-30 19:09:38 +02:00
Stephan Hadinger b5c58d0273 Berry support for NAN 2021-09-28 22:47:40 +02:00
Stephan Hadinger 2f494feb80 Berry smart compile to bytecode 2021-09-28 22:17:11 +02:00
Stephan Hadinger 27dbe91a1c Berry fix Energy mapping 2021-09-28 20:03:24 +02:00
Stephan Hadinger e5be88ad15 Berry print stack trace when exception, more detailed with line numbers if `#define USE_BERRY_DEBUG` 2021-09-27 13:39:12 +02:00
s-hadinger 70d46bf32a
Merge pull request #13226 from s-hadinger/berry_ctypes_accept_bool
Berry ctypes accepts `bool` as parameter
2021-09-27 13:17:37 +02:00
Stephan Hadinger 735aea937a Berry ctypes accepts `bool` as parameter 2021-09-27 12:53:28 +02:00
Stephan Hadinger 7e93d5c370 Berry fix flip 2021-09-27 12:13:11 +02:00
Theo Arends 939ac5da33 Satisfy security police 2021-09-25 13:19:14 +02:00
Stephan Hadinger 509daa24dc Berry revamped ``energy`` module to expose all C variables to Berry (read/write) 2021-09-24 18:05:16 +02:00
s-hadinger 883a9fb12c
Berry refactored bytes class (#13208)
* Berry refactored bytes class

* Fix
2021-09-24 08:04:55 +02:00
Theo Arends 16f9e2bd88
Merge branch 'development' into development+SCD40 2021-09-23 14:42:04 +02:00
Stephan Hadinger 28c65dd0c1 Berry simplification of `ctypes` 2021-09-22 13:54:20 +02:00
s-hadinger 176e2d8fac
Berry string range (#13194)
* Berry string range

* Fix regressions
2021-09-21 11:59:40 +02:00
s-hadinger 036430ec65
Berry improve `introspect.toptr()` (#13178)
* Berry improve `introspect.toptr()`

* Fix unwanted change
2021-09-19 23:27:51 +02:00
s-hadinger 74bd4cfd53
Berry add `tasmota.get_switch()` (#13173) 2021-09-19 15:52:13 +02:00
s-hadinger 5e2686407d
Berry introspect toptr (#13172)
* Berry introspect, add `toptr` and `fromptr`

* Remove warning
2021-09-19 15:35:51 +02:00
Stephan Hadinger 60d9b95ff4 Berry fix compiler bug in complex compound assignments 2021-09-18 16:00:56 +02:00
Jason2866 b02560fd8f
Webcam compile time optimization
* Optimize compile time (1)
2021-09-16 19:24:01 +02:00
Stephan Hadinger 9fa3cb4544 Berry add `path.last_modified()` 2021-09-15 22:25:36 +02:00
Stephan Hadinger 418ebf1e4e Berry update and global resolidify 2021-09-15 19:36:48 +02:00
Arnold Niessen 0fea60d8ee Add SCD40/41 support 2021-09-15 12:02:27 +02:00
s-hadinger e311001cd8
Merge pull request #13133 from s-hadinger/berry_serial_lowercase
Change berry class from `Serial` to `serial`
2021-09-14 22:45:51 +02:00
s-hadinger f4dadc625b
``DisplayDimmer`` has now range 0..100 instead of 0..15 (#13132)
* ``DisplayDimmer`` has now resolution of 8 bits instead of 4, and uses Gamma for LED

* Fix changelog
2021-09-14 22:40:26 +02:00
Stephan Hadinger f3592b1326 Change berry class from `Serial` to `serial` 2021-09-14 22:29:27 +02:00
Stephan Hadinger 55202aa7f5 Berry support for Serial 2021-09-14 22:07:20 +02:00
Stephan Hadinger 0c879ebe25 Berry solidified AXP192 driver 2021-09-14 08:44:54 +02:00
Stephan Hadinger 8ee3bae70d Support for ESP32/ESP32S2 DAC gpio via Berry 2021-09-13 13:44:39 +02:00
s-hadinger fb7a9a8970
Revert "lv_freetype patch #10" 2021-09-12 22:01:21 +02:00
s-hadinger 751234e05d
Revert "Berry move introspect.vcall to call" 2021-09-11 11:27:30 +02:00
Stephan Hadinger 840d9fdc2b Berry move introspect.vcall to call 2021-09-10 08:36:26 +02:00
Stephan Hadinger b2da0b2ed7 LVGL add lv_clock_icon 2021-09-09 20:32:19 +02:00
s-hadinger 5995724a49
LVGL updated enum parsing (#13099)
* LVGL updated enum parsing

* Fix
2021-09-09 20:24:08 +02:00
Stephan Hadinger 04c0f42981 Improved wifi widgets 2021-09-08 19:40:18 +02:00
Stephan Hadinger 71d97e72a8 Fix lv_signal_bars to avoid crash 2021-09-08 12:41:28 +02:00
s-hadinger 777661add3
Merge pull request #13089 from s-hadinger/wifi_bars_2
LVGL improve lv_wifi_bars
2021-09-07 20:06:40 +02:00
Stephan Hadinger 86602cc6f3 LVGL improve lv_wifi_bars 2021-09-07 19:34:18 +02:00
Stephan Hadinger 70e11bd6a5 Berry add `math.atan2()` and change `list.find()` 2021-09-07 19:27:57 +02:00
Jason2866 4a0788f33c
Improve documentation of protocol format 2021-09-07 17:44:02 +02:00
Stephan Hadinger f730c664c2 LVGL cleaning 2021-09-04 11:12:18 +02:00
s-hadinger aacf3ff2a9
Lvgl color names (#13056)
* LVGL Berry change in color names

* Minor fix

* Fix
2021-09-04 11:08:13 +02:00
Stephan Hadinger 5b29c261ca Berry fix for LVGL styles 2021-09-03 18:35:50 +02:00
Stephan Hadinger 9731b3ea53 Moved HttpClient to its own lib 2021-09-03 08:53:42 +02:00
Jason2866 b1d4435e67 Capitilization 2021-09-02 21:32:12 +00:00
Stephan Hadinger 3d5c68b850 Berry class ``webclient`` for HTTP/HTTPS requests 2021-09-02 21:58:08 +02:00
Stephan Hadinger a2fdeff9c5 Fixed crash when PSRAM is absent and ``BOARD_HAS_PSRAM`` set 2021-09-01 22:48:02 +02:00
s-hadinger 5fcfd42df5
Merge pull request #13033 from s-hadinger/fix_esp32_tlss
Fix ESP32 TLS reconnects
2021-09-01 19:52:30 +02:00
Stephan Hadinger c21f6d455d Fix ESP32 TLS reconnects 2021-09-01 19:42:57 +02:00
Stephan Hadinger cb42e241e6 Berry introspect.vcall 2021-09-01 09:12:50 +02:00
Stephan Hadinger 547d47e297 Berry strftime 2021-08-30 23:15:27 +02:00
s-hadinger 6cf6efbdc9
Merge pull request #13016 from s-hadinger/ir_2_7_20
IRremoteESP8266 library from v2.7.19 to v2.7.20
2021-08-30 21:34:46 +02:00
Stephan Hadinger 066029cd97 IRremoteESP8266 library from v2.7.19 to v2.7.20 2021-08-30 21:08:41 +02:00
Stephan Hadinger 06037b10a5 Berry support for Curve 25519 EC crypto 2021-08-30 21:01:06 +02:00
Stephan Hadinger 66998aa429 Berry constant search size 2021-08-30 19:10:17 +02:00
Stephan Hadinger 1ce8dbad85 Berry fix bytecode load/save for static class members 2021-08-27 19:15:25 +02:00
Stephan Hadinger df8fb263e0 Berry support for indirect members 2021-08-27 09:10:29 +02:00
Stephan Hadinger 5588324274 Berry fix deinit 2021-08-26 21:51:19 +02:00
Stephan Hadinger 4541438e70 Berry take into account `bytes()` in gc size 2021-08-26 19:57:03 +02:00
Stephan Hadinger 5387345794 Berry improved `super()` for inheritance 2021-08-26 19:30:57 +02:00
Stephan Hadinger 9be8f4fc7a Berry fix bug in conditional 2021-08-26 18:52:08 +02:00
Stephan Hadinger 5ab0081f47 Berry upgrade to latest changes 2021-08-24 22:44:33 +02:00
Theo Arends 308e4a536d
Merge pull request #12942 from Jason2866/C3_BLE
BLE support for ESP32-C3
2021-08-24 08:36:11 +02:00
Stephan Hadinger ce8958c89b Berry preliminary support for OneWire 2021-08-23 20:32:32 +02:00
Stephan Hadinger 0e1a5a0a79 Berry support for vararg 2021-08-23 19:47:37 +02:00
s-hadinger aa6af84693
Berry vararg prep (#12951)
* Berry prepare for vararg, and fix string format

* Cosmetic fix
2021-08-23 13:29:15 +02:00
Jason2866 68e9e3dbc7 NimBLE 1.3.1 2021-08-22 15:52:00 +02:00
Stephan Hadinger d3ad13c962 Berry system events for rules 2021-08-19 12:37:19 +02:00
Stephan Hadinger d4085bb063 Berry add base64 to bytes 2021-08-17 19:17:58 +02:00
Stephan Hadinger 307f140a81 Fixed PWM5 on ESP32C3 2021-08-17 17:10:48 +02:00
Stephan Hadinger 63bbf46d7f Berry now compiling in ``strict`` mode to catch more bugs 2021-08-16 20:46:09 +02:00
Stephan Hadinger 4ad8604b72 Berry add `tasmota.remove_timer()` 2021-08-16 13:10:19 +02:00
Stephan Hadinger b870ca1aa3 Fix 2021-08-16 12:22:02 +02:00
Stephan Hadinger 660698dc10 Fix Berry compiler bug #117 2021-08-16 12:11:28 +02:00
Jason2866 d516f2a3ad Neopixel v.2.6.7 2021-08-04 17:15:14 +02:00
Jason2866 c0bfc7cb20
Core 3.0.2
* Arduino ESP8266 3.0.2

* i2s for core >3

* Update NeoEsp8266DmaMethod.h
2021-08-03 14:42:02 +02:00
Theo Arends 1c5b1c0ee0 Fix ESP32 regression of I2s_write_bytes (#12812) 2021-08-02 11:34:24 +02:00
Stephan Hadinger f9fbdc12ed Fix include for framework < 3.0.0 2021-07-30 17:46:06 +02:00
Stephan Hadinger 14c4be9d51 ESP8266Audio library from v1.5.0 to v1.9.2 2021-07-30 16:34:50 +02:00
Stephan Hadinger cb1fbf2edc Berry support for WAV audio 2021-07-30 13:09:31 +02:00
Stephan Hadinger bbe3babe8b Berry support for AES GCM and raw MQTT send/receive 2021-07-29 19:58:23 +02:00
Stephan Hadinger 0af33c903d Berry fix regression 2021-07-29 09:33:39 +02:00
Stephan Hadinger bce1aeda74 Berry add support for mqtt_data in Driver 2021-07-29 08:37:52 +02:00
Stephan Hadinger 52b29625a6 Berry simplidy globals for solidification 2021-07-27 21:39:24 +02:00
Stephan Hadinger ee876bd342 Berry solidified constants 2021-07-25 21:33:39 +02:00
Stephan Hadinger 4cab21eaaa Berry fix solidified sub-protos 2021-07-25 21:20:14 +02:00
s-hadinger 37d350d9e1
LVGL new widget ``lv_wifi_bars`` (#12752)
* LVGL new widget ``lv_wifi_bars``

* Remove old code
2021-07-25 19:23:58 +02:00
Stephan Hadinger 21c3ac6727 Berry add ``tasmota.wifi()`` and ``tasmota.eth()`` 2021-07-25 12:50:58 +02:00
Stephan Hadinger 8dccf2767e LVGL Fix solidified class lv_signal_bars 2021-07-23 15:22:54 +02:00
s-hadinger 392d580a97
Berry add module ``introspect`` (#12728)
* Berry add module ``introspect``

* Rename `members`
2021-07-22 22:36:18 +02:00
Stephan Hadinger 6cd3e37ed5 Berry LVGL improvements to allow custom widgets 2021-07-22 20:21:18 +02:00
Stephan Hadinger 200b34a208 Change Berry stack buffer to 20 2021-07-21 23:37:03 +02:00
Stephan Hadinger 749d30a14f LVGL fixes and examples 2021-07-21 23:17:53 +02:00
Theo Arends 9f0f08b1cf
Merge pull request #12715 from s-hadinger/berry_gc
Fix wrong gc count for instances
2021-07-21 13:21:06 +02:00
Stephan Hadinger 7d26370d9e Fix wrong gc count for instances 2021-07-21 12:25:26 +02:00
Stephan Hadinger 0539e8ec32 Berry add tasmota.publish_result 2021-07-20 22:31:22 +02:00
Stephan Hadinger 5f99d13718 Update Berry VSCode plugin 2021-07-20 21:28:18 +02:00
Stephan Hadinger 84e58739a0 Berry add support for I2S audio mp3 playback 2021-07-20 21:05:10 +02:00
Theo Arends 153a9a69da
Merge pull request #12690 from Jason2866/New_framework
Updated Arduino ESP32/IDF4.4 framework, LITTLEFS -> LittleFS
2021-07-20 09:21:32 +02:00
Stephan Hadinger f99d5b0e0f Berry support for static class members 2021-07-19 18:45:04 +02:00
Jason2866 3ab4a2a3e0
New framework LITTLEFS -> LittleFS 2021-07-18 23:14:10 +02:00
s-hadinger 650e882083
Merge pull request #12688 from s-hadinger/berry_path_module
Berry add `path` module
2021-07-18 23:03:50 +02:00
Stephan Hadinger 0b7d5e9123 Berry add `path` module 2021-07-18 22:39:59 +02:00
Stephan Hadinger 6834e5f72a Fix StackThunk size for USE_MQTT_AWS_IOT_LIGHT 2021-07-18 21:45:39 +02:00
Stephan Hadinger 1682582bea Disable PSRAM on unsupported hardware
Either ESP32 rev1/2 that needs special fixes
`-DHAS_PSRAM_FIX -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround`
or ESP32-PICO-V3-02 that requires esp-idf 4.4
2021-07-18 19:43:33 +02:00
Marius Bezuidenhout 0987489c0c Fixed compile on ESP32 2021-07-14 09:40:36 +02:00
Marius Bezuidenhout ef6b79a450
Merge branch 'arendst:development' into feature/can-bus 2021-07-13 17:11:43 +02:00
s-hadinger 76a0635491
LVGL add all callbacks (#12636)
* LVGL add all callbacks

* LVGL allow nil argument for init()

* Final touch
2021-07-12 22:53:31 +02:00
Stephan Hadinger 9599771624 Berry fix web buttons broken by #12524 2021-07-12 12:41:57 +02:00
Marius Bezuidenhout 024cc0b9b6 Added MCP2515 library and Freedom Won BMS sensor 2021-07-12 12:32:27 +02:00
Stephan Hadinger 1bfb4ef55c TLS remove check for cricital attributes in cert #12599 2021-07-09 11:11:33 +02:00
Stephan Hadinger 3bd4358a37 Berry fix GC when lexer error 2021-07-07 18:07:17 +02:00
Adrian Scillato 2476ff8e1a
KNX: Fix Telegrams UDP Overrun 2021-07-06 11:21:00 -03:00
Stephan Hadinger 52181f0822 IRremoteESP8266 library from v2.7.18 to v2.7.19 2021-07-06 12:21:23 +02:00
Stephan Hadinger 621ab97dea lv_freetype patch #10 2021-07-05 18:51:55 +02:00
Stephan Hadinger 4e57083f52 Fix compilation 2021-07-03 10:54:14 +02:00
Stephan Hadinger 3e2cd4f67d LVGL ctypes implemented 2021-07-03 10:40:08 +02:00
Theo Arends dd509e458e Moved LinkedList to lib_basic 2021-07-02 17:52:13 +02:00
Theo Arends c806bcd265 Moved LinkedList to lib_div 2021-07-02 17:46:17 +02:00
Stephan Hadinger dc3636be00 Berry better error messages 2021-06-30 23:36:33 +02:00
Stephan Hadinger 490412ebdc Berry fix button handlers 2021-06-30 22:36:51 +02:00
Stephan Hadinger 58fa57103b Fix regression in Berry bytes() 2021-06-29 19:15:34 +02:00
Stephan Hadinger 1a39656ff0 LVGL Prepare last phase custom types 2021-06-29 13:24:11 +02:00
Stephan Hadinger 2f751f7080 Berry update to more compact representation of solidified code 2021-06-27 15:16:22 +02:00
Jason2866 73be716be5 Core 3.0.1 include fix 2021-06-27 10:30:11 +00:00
Stephan Hadinger ee2b6d7f74 Add Esp32 Partition Manager as a Berry component 2021-06-23 22:02:44 +02:00
Stephan Hadinger 32b6f7d4b2 Berry simplify Driver class 2021-06-21 19:44:00 +02:00
Stephan Hadinger 28da131932 Simplified configuration for ir-full, tasmota-ircustom no more needed 2021-06-21 13:49:56 +02:00
Stephan Hadinger b70c8620b2 Fix compilation when USE_UFILESYS is not defined 2021-06-20 22:04:32 +02:00
Stephan Hadinger cf81127193 Berry added I2C_Driver class and patches 2021-06-18 18:30:58 +02:00
Theo Arends a8ae5f8ce0
Merge pull request #12358 from Jason2866/Tasmota_core32
Use Tasmota core32 (merge AFTER release 9.5)
2021-06-17 17:39:06 +02:00
Stephan Hadinger cd99034f79 Berry improve inheritance #107 2021-06-17 08:28:55 +02:00
Stephan Hadinger ec33c19dbe Berry report bug fix #106 2021-06-15 20:53:49 +02:00
Stephan Hadinger 04d64a969b Berry fix #102 2021-06-14 14:14:28 +02:00
Jason2866 ff5e9aa15b LITTLEFS is a lib in Tasmota core32 2021-06-13 18:31:21 +02:00
Stephan Hadinger 6889232524 Berry improve error handling 2021-06-12 11:12:57 +02:00
Stephan Hadinger 1c5bcd6dad I2C extended MPU6886 to also support MPU9250 (found in Legacy M5Stack Fire) 2021-06-11 13:27:34 +02:00
s-hadinger 5b62c5abd3
Merge pull request #12339 from s-hadinger/esp32c3_phase2
Esp32c3 fix compilation for SPI and uDisplay
2021-06-10 20:07:42 +02:00
Stephan Hadinger 2d5841af9c Esp32c3 fix compilation for SPI and uDisplay 2021-06-10 19:07:20 +02:00
Stephan Hadinger ca49b7daf2 Added `tasmota.memory()` 2021-06-10 18:55:06 +02:00
Stephan Hadinger 2b52ae255d Esp32c3 fix OneWire compilation 2021-06-10 12:18:35 +02:00
Jason2866 e98deea633
Neopixel C3
Latest NeoPixel (09062021) branch master
2021-06-09 20:23:59 +02:00
Stephan Hadinger 73a613119b Fix berry compiler bug #101 2021-06-06 17:41:09 +02:00
s-hadinger 22c9f2ece2
Berry add class `MD5` (#12296)
* Berry add class `MD5`

* Fix compilation

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-06-04 23:41:48 +02:00
Theo Arends 50580f9dec
Merge pull request #12287 from s-hadinger/fix_ext_vsnprintf
Extend ext_vsnprintf to auto-malloc buffer
2021-06-04 10:27:37 +02:00
Stephan Hadinger 6951c5aee5 Extend ext_vsnprintf to auto-malloc buffer 2021-06-03 22:11:14 +02:00
Jason2866 aa05503645
Fix homekit compile with IDF4 (#189)
* Fix compile error for IDF -> missing include file
2021-06-03 19:42:40 +02:00
Theo Arends 47e29f962e
Merge pull request #12276 from Jason2866/email
update eMail lib to v1.2.0
2021-06-03 16:33:34 +02:00
Jason2866 dba5cf2902 fixes from GEMU2015 2021-06-03 16:17:41 +02:00
Jason2866 96ce74bdd8
overlooked changes 2021-06-03 15:48:44 +02:00
Jason2866 7785685ded
add esp_mail_file_storage_type_univ 2021-06-03 15:37:21 +02:00
Stephan Hadinger 1608d823e4 Berry add module `flash` 2021-06-03 13:23:25 +02:00
Jason2866 e36aff4eab add esp_mail_file_storage_type_univ 2021-06-03 12:36:16 +02:00
Jason2866 4a0e6ae2bf Use LITTLEFS for ESP32 too 2021-06-03 11:53:44 +02:00
Jason2866 acd545f1bf Mail Client 1.2.0 2021-06-03 10:59:44 +02:00
Stephan Hadinger 79e71d26a1 More fix 2021-06-02 23:07:44 +02:00
Stephan Hadinger 3f07132e0f LVGL remove compilation warning 2021-06-02 23:04:44 +02:00
Jansen Arruda a1fed60730
Fix ESP32C3 compile error
Fix ESP32C3 compile error, maybe work in eps32s2 to.
2021-06-01 11:04:26 -03:00
Stephan Hadinger 8cdd327bf2 Speed optimization for monochrome conversion 2021-05-30 19:06:23 +02:00
Stephan Hadinger b7946a360e Support for SH1107 over SPI, found in M5Stick 2021-05-30 18:19:14 +02:00
Stephan Hadinger 1dc58957c3 IRremoteESP8266 library from v2.7.16 to v2.7.18 2021-05-29 14:48:27 +02:00
Stephan Hadinger c4bf4e0401 Berrry web button demo
- demo of a simple button on the main page and associated value as sensor
- fixed a bug in event dispatcher that would stop the event to the first driver to handle it
- cleaned directories in Berry examples
2021-05-29 14:27:01 +02:00
Stephan Hadinger 0f0ff85cdd Rename webserver.args to webserver.arg_size
Reserve args() for a potential future object with accessor and iterator
2021-05-29 09:21:44 +02:00
Stephan Hadinger de1ac64bd4 Berry webserver, added constants 2021-05-28 23:13:19 +02:00
Stephan Hadinger 5cffd58c16 Berry add module `webserver` 2021-05-28 22:37:06 +02:00
Stephan Hadinger c1f82141b9 Support for BM8563 RTC chip (I2C) found in M5Stack Core2 and M5StickC 2021-05-26 21:47:07 +02:00
s-hadinger 90330a5000
Add Berry `tasmota.web_send()` (#12197)
* Add Berry `tasmota.web_send()`

* Fix compilation

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-05-26 16:44:43 +02:00
Stephan Hadinger a6591ab6dd Berry add module `global` 2021-05-26 15:53:53 +02:00
Stephan Hadinger 6d54949273 LVGL prepare M5StickC 2021-05-25 18:53:10 +02:00
s-hadinger 7222716470
Add support for display extension in Berry (#12174)
* Add support for display extension in Berry

* Force CI again

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-05-23 18:54:11 +02:00
Stephan Hadinger 079eb117bf Berry fix wrong parameter for virtual method 2021-05-22 15:47:06 +02:00
s-hadinger 6c2448b5cf
Merge pull request #12156 from s-hadinger/berry_import
Berry allow import from file system
2021-05-22 15:18:43 +02:00
Stephan Hadinger e2865e22d4 Berry allow import from file system 2021-05-22 15:10:13 +02:00
Stephan Hadinger 3881508b00 Fix wrong allocator 2021-05-22 09:49:37 +02:00
Stephan Hadinger eea82b5049 Berry longer logs 2021-05-21 23:04:42 +02:00
Stephan Hadinger c642e716ce LVGL add support for PNG images 2021-05-21 13:49:47 +02:00
Stephan Hadinger 74445c0aaa LVGL fix crash in file system 2021-05-21 09:02:24 +02:00
Stephan Hadinger 85a6ab797a LVGL add screen support 2021-05-20 19:34:51 +02:00
Stephan Hadinger ba518e1b0c LVGL use Berrry virtual methods and save 74KB 2021-05-19 09:53:20 +02:00
Stephan Hadinger cf5b7b4a41 LVGL add support for TrueType fonts via FreeType library 2021-05-12 11:16:10 +02:00
gemu2015 a2242d4dbc udisplay color swap for lvgl 2021-05-11 10:42:04 +02:00
mikep1998 1c1495d52d rework of mapping 2021-05-11 00:26:14 -07:00
mikep1998 de506edd8e uDisplay support for new opcodes. 2021-05-10 13:40:27 -07:00
mikep1998 cec4828a13 Adding support for ILI9488/XPT2046 display 2021-05-10 13:26:59 -07:00
Stephan Hadinger 7963b3a5ca LVGL fixed events and callbacks 2021-05-10 20:04:11 +02:00
s-hadinger e01c60df84
LVGL Fix TS (#12071)
* LVGL Fix TS

* Try to fix linker

* Fix2

* Last fix

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-05-10 15:48:02 +02:00
s-hadinger 0cabd00f66
Merge pull request #12064 from s-hadinger/lvgl_fix_warning
LVGL Fix warning when sending NULL instead of an instance
2021-05-09 23:16:10 +02:00
Stephan Hadinger f7e92d4e07 LVGL Fix warning when sending NULL instead of an instance 2021-05-09 19:38:27 +02:00
s-hadinger fafe1622ec
Merge pull request #12063 from s-hadinger/tsl_3800
Increase min stack thunk to 3800 #12031
2021-05-09 18:39:13 +02:00
Stephan Hadinger 49b1c06f10 Increase min stack thunk to 3800 #12031 2021-05-09 18:18:39 +02:00
Stephan Hadinger e88955c479 LVGL support for PSRAM 2021-05-09 18:15:15 +02:00
Theo Arends e239b16c58
Merge pull request #12053 from ksaye/patch-1
Modifying to support Azure as well as AWS for TLS
2021-05-08 17:46:47 +02:00
Theo Arends fb44348a8c Add support for MQTT Settings save/restore 2021-05-08 17:40:13 +02:00
ksaye 21deb1f42b
Modifying to support Azure as well as AWS for TLS
This addresses the issue https://github.com/arendst/Tasmota/issues/12031
2021-05-08 09:40:00 -05:00
Stephan Hadinger b18aa2052f LVGL removed unused driver 2021-05-07 23:09:58 +02:00
Stephan Hadinger 0aa52d3100 LVGL add support for touchscreen 2021-05-07 17:24:57 +02:00
Stephan Hadinger 56cecfb274 LVGL Support for 3 buttons as rotary encoder 2021-05-07 11:51:22 +02:00
Stephan Hadinger 5355af1460 LVGL check parameters 2021-05-06 10:46:17 +02:00
Stephan Hadinger 63c7e5f7bf Introduced tasmota_options.h for libs 2021-05-04 19:28:51 +02:00
Stephan Hadinger 0edd81a521 Berry switched to ufsp 2021-05-04 18:21:08 +02:00
Theo Arends 49201b6acd
Merge pull request #11991 from hallard/teleinfo
Teleinfo fixes and improvements
2021-05-03 08:46:43 +02:00
Charles e719c116dd process all data to Energy Module 2021-05-01 18:32:03 +02:00
gemu2015 8a22f591ea attempt to fix a bug with ft5316 2021-05-01 09:56:09 +02:00
gemu2015 b3e69e71e5 optimized ra8876 pushpixels 2021-05-01 09:55:26 +02:00
gemu2015 95976a21fc add rgb24 color dma 2021-05-01 09:54:49 +02:00
Charles e842ae3fb2 Merge branch 'development' into teleinfo 2021-05-01 00:24:29 +02:00
gemu2015 d86353369e ili9341 callbacks 2021-04-30 15:39:53 +02:00
gemu2015 0ecb5202f7 move touch to driver 2021-04-30 15:26:41 +02:00
gemu2015 3565eeb75d display dump 2021-04-29 14:18:28 +02:00
Stephan Hadinger 5b36e504c5 Berry more solidification 2021-04-28 19:30:19 +02:00
Theo Arends 6c87d4c553
Merge pull request #11923 from gemu2015/lvgl_udisp
fix pushcolors
2021-04-28 09:19:33 +02:00
Stephan Hadinger deee1bb69c Berry simplified solidification 2021-04-28 08:49:22 +02:00
gemu2015 df56218d9d fix pushcolors 2021-04-28 08:34:11 +02:00
Stephan Hadinger d9a0dd5266 Berry add support for rtc time 2021-04-27 22:54:53 +02:00
Stephan Hadinger 2003688f1b uDisplay remove byte swap 2021-04-27 19:44:30 +02:00
s-hadinger e31998620f
LVGL add Led 7 seg font (#11916)
* LVGL add Led 7 seg font

* Moved fonts to a new LVGL_assets lib

* Forgot include

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-04-27 19:05:23 +02:00
gemu2015 688a999566 fix lvgl pushcolors 2021-04-26 15:05:17 +02:00
s-hadinger 7cb30b07da
LVGL fix byte order for DMA and non-DMA (#11897)
Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-04-26 14:33:20 +02:00
s-hadinger 61cecdef2f
Udisplay finegrain delay (#11894)
* uDisplay add 10ms delay and log

* Silly bug

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-04-26 13:49:42 +02:00
gemu2015 ed61e9fe74 fix esp8266 compile 2021-04-26 11:41:01 +02:00
gemu2015 9901ccdde7 lvgl initial dma support 2021-04-26 10:20:14 +02:00
Stephan Hadinger f0fb65c56d Merge branch 'development' of https://github.com/arendst/Tasmota into lvgl_chrono 2021-04-25 21:40:09 +02:00
Stephan Hadinger b03756a24a Add time measure to SPI display 2021-04-25 21:40:01 +02:00
gemu2015 1727741357 add hadinger mod space 2021-04-25 19:25:42 +02:00
gemu2015 45b38c9bf2 faster tft spi for esp32 2021-04-25 19:18:55 +02:00
gemu2015 1e230e1f2d fix lvgl touch 2021-04-25 17:28:42 +02:00
Stephan Hadinger fef7f0bf65 uDisplay - allow space as delimiter 2021-04-25 16:21:37 +02:00
gemu2015 a8ac5ed07c Update Adafruit_LvGL_Glue.cpp 2021-04-25 15:28:47 +02:00
gemu2015 3727ba977a epd47 lvgl support 2021-04-25 15:14:50 +02:00
s-hadinger 154ed011da
Revert "uDisplay LVGL auto-config of SPI" 2021-04-25 11:19:02 +02:00
Stephan Hadinger 075c124474 uDisplay LVGL auto-config of SPI 2021-04-25 10:39:04 +02:00
gemu2015 7d0f7fe3db lvgl monochrome support 2021-04-25 08:24:07 +02:00
Theo Arends f119c20e80
Merge pull request #11865 from gemu2015/lvgl_update
Lvgl update
2021-04-24 21:11:59 +02:00
gemu2015 70c2290c9d lvgl touch added 2021-04-24 16:20:39 +02:00
gemu2015 0f7ec3cb77 update lvgl 2 2021-04-24 12:31:14 +02:00
gemu2015 7b83e5d1e6 lvgl update 1 2021-04-24 12:29:05 +02:00
Stephan Hadinger 329fa24928 Berry conditional compile for modules 2021-04-24 12:11:06 +02:00
Stephan Hadinger dc68844ef3 Fix conflicts with uDisplay 2021-04-23 17:35:16 +02:00
Charles f4bacb7f1e Merge branch 'teleinfo' of https://github.com/hallard/Tasmota into teleinfo 2021-04-21 23:14:17 +02:00
gemu2015 02cab3cad0 fixes 2021-04-21 12:02:46 +02:00
gemu2015 a34d54032c remove wrong gfx lib 2021-04-21 11:16:42 +02:00
gemu2015 3b4ce6053c add udisp 2021-04-21 11:10:59 +02:00
gemu2015 95a29d7e61 add framebuffer 2021-04-21 11:04:36 +02:00
gemu2015 353046f092 gfx 2021-04-21 11:03:01 +02:00
gemu2015 e36c7b31cb multidisplay support 2021-04-21 11:01:40 +02:00
Stephan Hadinger 4395a19fe6 Add ``Input`` GPIO type with no default action, to be read via Berry 2021-04-21 10:05:10 +02:00
Charles 747dc28642 send also label name in ADPS callback 2021-04-20 19:15:02 +02:00
Stephan Hadinger dc77b58200 LVGL add screenshot 2021-04-20 13:44:16 +02:00
Theo Arends 33dcbb4363
Merge pull request #11786 from barbudor/esp32_pwm_full
Demo of PWM 100% problem on ESP32 (for discussion)
2021-04-20 08:42:23 +02:00
Barbudor 785d8a75b5 move the fix to esp32 adaptation layer 2021-04-20 08:18:25 +02:00
s-hadinger 79dda48c9a
Merge pull request #11799 from s-hadinger/esp32c3_bearssl
Fixes for esp32c3
2021-04-19 19:54:42 +02:00
Stephan Hadinger c6f433be91 Fixes for esp32c3 2021-04-19 19:37:59 +02:00
gemu2015 e946b4c483 epaper 42 support 2021-04-19 17:01:33 +02:00
Theo Arends 19314a7fc4
Merge pull request #11789 from s-hadinger/lvgl_v7.11_2
Add LVGL 7.11 support with Berry binding (ESP32 only)
2021-04-19 12:28:15 +02:00
Stephan Hadinger 4b55d5be52 Fix crash on Risc-V ESP32 C3 2021-04-19 12:14:26 +02:00
Stephan Hadinger 820b261c07 Fix bug with Berry PSRAM 2021-04-19 08:55:57 +02:00
Stephan Hadinger bd60b9b602 Add LVGL 7.11 support with Berry binding (ESP32 only) 2021-04-19 08:40:11 +02:00
gemu2015 96a0dd4874 add loadable fonts 2021-04-18 09:20:54 +02:00
Jason2866 186c8bcdb5
add C3 2021-04-17 19:54:56 +02:00