235 Commits

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