Commit Graph

141 Commits

Author SHA1 Message Date
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
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
Stephan Hadinger 22daee620a Fix ctypes for energy and lvgl 2021-10-04 13:42:09 +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
Stephan Hadinger a21e4a58fc Berry add `tasmota.global` 2021-09-30 19:51:40 +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
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
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
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
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 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