Commit Graph

378 Commits

Author SHA1 Message Date
Stephan Hadinger 418ebf1e4e Berry update and global resolidify 2021-09-15 19:36:48 +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 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
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
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
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
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
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
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
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
Stephan Hadinger f99d5b0e0f Berry support for static class members 2021-07-19 18:45:04 +02:00
Stephan Hadinger 0b7d5e9123 Berry add `path` module 2021-07-18 22:39:59 +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
Stephan Hadinger 3bd4358a37 Berry fix GC when lexer error 2021-07-07 18:07:17 +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
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
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 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 ca49b7daf2 Added `tasmota.memory()` 2021-06-10 18:55:06 +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
Stephan Hadinger 1608d823e4 Berry add module `flash` 2021-06-03 13:23:25 +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 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
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 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
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
Stephan Hadinger e88955c479 LVGL support for PSRAM 2021-05-09 18:15:15 +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 0edd81a521 Berry switched to ufsp 2021-05-04 18:21:08 +02:00
Stephan Hadinger 5b36e504c5 Berry more solidification 2021-04-28 19:30:19 +02:00
Stephan Hadinger deee1bb69c Berry simplified solidification 2021-04-28 08:49:22 +02:00
Stephan Hadinger d9a0dd5266 Berry add support for rtc time 2021-04-27 22:54:53 +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
Stephan Hadinger 329fa24928 Berry conditional compile for modules 2021-04-24 12:11:06 +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
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
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
Jason2866 186c8bcdb5
add C3 2021-04-17 19:54:56 +02:00
Stephan Hadinger c3bfdebcf1 Berry directory reorg 2021-04-12 19:53:35 +02:00
Stephan Hadinger 9e0300031a Berry driver.add_cmd() 2021-04-11 15:14:10 +02:00
Theo Arends 7abf1336c1 Remove redundant ETH lib 2021-04-05 17:39:56 +02:00
s-hadinger a37b3ec2c3
Merge pull request #11595 from s-hadinger/berry_attrdump
Berry fix crash when no attributes
2021-04-05 14:39:03 +02:00
Stephan Hadinger a979136b4b Berry fix crash when no attributes 2021-04-05 14:14:32 +02:00
Barbudor 59510da9e1
Berry : fix custom command +more (#11592)
* fix custom command + more

* missing berry lib changes

* solidifying
2021-04-05 13:53:04 +02:00
Stephan Hadinger 6952d5ac7c Berry add ``light`` module 2021-04-04 19:36:25 +02:00
Stephan Hadinger 93cb995a7c Berry minor improvements 2021-04-03 19:53:52 +02:00
Stephan Hadinger 3b9821994d Berry add ``gpio`` module 2021-04-03 18:06:40 +02:00
s-hadinger 1bd593eda3
Berry i2c improvements (#11497)
* Berry i2c improvements

* fix

* unfix

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-03-28 19:07:48 +02:00
Stephan Hadinger b06568b3c8 Berry stabilized and methods solidified 2021-03-27 19:02:22 +01:00
Stephan Hadinger 8155d2c66a Minor fixes 2021-03-21 17:12:10 +01:00
Stephan Hadinger 11127514b0 Berry add wire read/write_bytes 2021-03-21 10:03:58 +01:00
Stephan Hadinger 9116c9848a Berry milestone March 20 2021-03-20 18:44:35 +01:00
Stephan Hadinger 95e696075e Add support for MPU6686 on primary or secondary I2C bus 2021-03-15 21:06:50 +01:00
Stephan Hadinger 44517380ff Berry upgrade 2021-03-13 22:42:24 +01:00
Jason2866 7716bc8a8f mv some ESP32 libs 2021-03-11 14:48:59 +01:00
gemu2015 9d64f0cfba support for apple homekit on esp32 2021-03-11 12:28:13 +01:00
Stephan Hadinger f808038694 ESP32 support for WS2812 hardware driver via RMT or I2S 2021-03-10 20:38:19 +01:00
Stephan Hadinger 4471d6b9d5 Berry improvements 2021-03-07 19:37:18 +01:00
Stephan Hadinger d5ef4afceb Berry improvements 2021-03-03 08:34:38 +01:00
Stephan Hadinger b613e1db37 Berry improvements 2021-02-28 20:50:37 +01:00
Stephan Hadinger 88115be15d Berry add load/save 2021-02-17 19:35:37 +01:00
Simon Hailes 79b480ce73 Update NimBLE to 1.2.0 release version - no TAS code changes required. 2021-02-17 09:19:45 +00:00
Stephan Hadinger 692660c170 Berry add file system support 2021-02-16 20:47:00 +01:00
gemu2015 218b5101b4 update sendmail 2021-02-16 11:33:22 +01:00
Jason2866 64af7728eb correct library.properties 2021-02-15 15:49:18 +01:00
Stephan Hadinger ba9e31a351 Move Berry lib to libesp32 folder 2021-02-14 19:41:34 +01:00
Jason2866 f887bf29fc
Delete ESP32README.md
since it is outdated
2021-02-14 17:23:49 +01:00
Jason2866 ce064906fd add lib info files 2021-02-12 09:43:23 +01:00
Theo Arends 5caaf60c68 Prep ESP32S2 2021-02-03 14:12:43 +01:00
Theo Arends cd38179f7f Prep ESP32S2 2021-02-03 12:22:17 +01:00
Theo Arends b6af35767e Revert ESP32S2 ethernet defines 2021-02-03 10:51:59 +01:00
Theo Arends 13713dccc1 Prep ESP32S2 2021-02-02 17:55:45 +01:00
Simon Hailes 84620f70ea Update NimBLE to 1.1.0 release.
Remove BLE stats from Sensor, publish in BLE.
Set default address filter to 0
Add HA MQTT discovery to MI
2021-01-26 07:35:00 +00:00
Jason2866 5baf9516a8
Add files via upload 2021-01-23 11:55:36 +01:00
Simon Hailes 688c0b1a9f NimBLE release 1.1.0 2021-01-21 16:41:41 +00:00
gemu2015 a13c85c45e refactor rtsp and webcam 2021-01-20 08:42:44 +01:00
Simon Hailes e089fae11a update NimBLE to 5dc72ab10d9f928442a25ef3bdcf8a31a7e16301 2021-01-17 17:05:10 +00:00
Theo Arends e891c4e490 Update setSleepMode 2021-01-14 17:04:54 +01:00
Theo Arends 85b2d62225 ESP8266 Support for 2MB and up linker files with 1MB and up LittleFS
Breaking Change: ESP8266 until now NOT SUPPORTED linker files 2MB and up. Current settings will be overwritten once LittleFS is enabled
2021-01-11 17:56:18 +01:00
BBBits f99f413065 mDNS Performance Fix & mDNS ESP32 Support 2021-01-10 22:04:16 +13:00
gemu2015 0414ab1bf2 ufs update 2021-01-05 16:41:41 +01:00
Theo Arends 2dd3065aff
Merge pull request #10334 from gemu2015/ufilesystem
universal file system
2021-01-04 15:14:44 +01:00
Theo Arends fc93b05476 Happy New Year 2021-01-01 13:57:04 +01:00
gemu2015 0de64f3376 esp32 littlefs 2020-12-31 18:05:42 +01:00
gemu2015 8b5adb3095 fix rtc wakeup HH:MM 2020-12-26 09:44:01 +01:00
gemu2015 c93e810fee m5stack core2 support 2020-12-18 10:35:14 +01:00
Theo Arends 43171d12a7 Fix ESP32 phy mode detection 2020-12-07 18:16:28 +01:00
Staars b11f1b5483 support single core ESP32 variants 2020-11-22 09:35:09 +01:00
Theo Arends 3d44203cb5 Fix ESP32 KNX UDP multicastpackage
Fix ESP32 KNX UDP multicastpackage (#9811)
2020-11-17 13:53:49 +01:00
Staars 6fc55c985c silence the last remaining compiler warning 2020-11-15 09:57:23 +01:00
gemu2015 d092879f71 rtsplib added 2020-11-13 10:42:04 +01:00
Staars 9efa27cbce prevent compile error with ESP-idf>4 2020-11-07 18:55:05 +01:00
Staars 255a489127 prepare API-changes with ESP-idf>4 2020-11-07 18:54:04 +01:00
Jason2866 e454c54e6d move libs in folder lib 2020-10-26 12:51:06 +00:00