From 164d14496b1f96649468104c16b4c1a6668437b8 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Fri, 15 Oct 2021 19:34:37 +0200 Subject: [PATCH] LVGL Berry namespace ``lv.*`` added and removed ``lv_*`` constants --- CHANGELOG.md | 1 + .../Berry/default/be_lvgl_clock_icon_lib.c | 37 +- .../Berry/default/be_lvgl_color_lib.c | 32 - .../default/be_lvgl_ctypes_definitions.c | 32 + lib/libesp32/Berry/default/be_lvgl_font_lib.c | 34 - lib/libesp32/Berry/default/be_lvgl_glob_lib.c | 520 ++--- lib/libesp32/Berry/default/be_lvgl_module.c | 347 ++- .../Berry/default/be_lvgl_signal_arcs_lib.c | 394 ++-- .../Berry/default/be_lvgl_signal_bars_lib.c | 312 +-- .../Berry/default/be_lvgl_widgets_lib.c | 870 +++++--- .../default/be_lvgl_wifi_arcs_icon_lib.c | 122 +- .../default/be_lvgl_wifi_bars_icon_lib.c | 116 +- lib/libesp32/Berry/default/be_modtab.c | 12 +- .../Berry/default/embedded/lv_clock_icon.be | 4 +- .../Berry/default/embedded/lv_signal_arcs.be | 18 +- .../Berry/default/embedded/lv_signal_bars.be | 16 +- .../Berry/default/embedded/lvgl_glob.be | 42 +- lib/libesp32/Berry/generate/be_const_strtab.h | 1267 +++++------ .../Berry/generate/be_const_strtab_def.h | 1892 ++++++++--------- .../Berry/generate/be_fixed_be_class_lv_arc.h | 21 - .../Berry/generate/be_fixed_be_class_lv_bar.h | 21 - .../Berry/generate/be_fixed_be_class_lv_btn.h | 21 - .../generate/be_fixed_be_class_lv_btnmatrix.h | 21 - .../generate/be_fixed_be_class_lv_canvas.h | 21 - .../generate/be_fixed_be_class_lv_chart.h | 21 - .../generate/be_fixed_be_class_lv_checkbox.h | 21 - .../generate/be_fixed_be_class_lv_color.h | 20 - .../be_fixed_be_class_lv_colorwheel.h | 21 - .../generate/be_fixed_be_class_lv_dropdown.h | 21 - .../generate/be_fixed_be_class_lv_font.h | 19 - .../generate/be_fixed_be_class_lv_group.h | 20 - .../Berry/generate/be_fixed_be_class_lv_img.h | 21 - .../generate/be_fixed_be_class_lv_imgbtn.h | 21 - .../generate/be_fixed_be_class_lv_indev.h | 20 - .../generate/be_fixed_be_class_lv_label.h | 21 - .../Berry/generate/be_fixed_be_class_lv_led.h | 21 - .../generate/be_fixed_be_class_lv_line.h | 21 - .../generate/be_fixed_be_class_lv_meter.h | 21 - .../generate/be_fixed_be_class_lv_msgbox.h | 21 - .../Berry/generate/be_fixed_be_class_lv_obj.h | 21 - .../generate/be_fixed_be_class_lv_roller.h | 21 - .../generate/be_fixed_be_class_lv_slider.h | 21 - .../generate/be_fixed_be_class_lv_spinbox.h | 21 - .../generate/be_fixed_be_class_lv_style.h | 20 - .../generate/be_fixed_be_class_lv_switch.h | 21 - .../generate/be_fixed_be_class_lv_table.h | 21 - .../generate/be_fixed_be_class_lv_textarea.h | 21 - lib/libesp32/Berry/generate/be_fixed_lvgl.h | 83 - lib/libesp32/Berry/include/be_ctypes.h | 6 + lib/libesp32/Berry/include/be_lvgl.h | 1 + lib/libesp32/Berry/src/be_constobj.h | 8 + lib/libesp32/Berry/src/be_debug.c | 4 +- lib/libesp32/Berry/src/be_module.c | 6 + lib/libesp32/Berry/src/be_solidifylib.c | 13 +- lib/libesp32/Berry/src/berry.h | 1 + .../examples/watch_renaissance/autoexec.be | 14 +- tasmota/berry/lvgl_examples/buttons_demo.be | 16 +- tasmota/berry/lvgl_examples/lvgl_demo.be | 30 +- tasmota/berry/modules/ctypes.be | 8 + tasmota/lvgl_berry/be_lv_c_mapping.h | 1625 +++++++------- tasmota/xdrv_52_2_berry_native.ino | 41 +- tasmota/xdrv_52_3_berry_lvgl.ino | 113 +- tasmota/xdrv_52_7_berry_embedded.ino | 2 +- tools/lv_berry/convert.py | 441 ++-- tools/lv_berry/lv_enum.h | 85 + tools/lv_berry/lv_symbol.h | 62 + tools/lv_berry/preprocessor.py | 87 +- 67 files changed, 4433 insertions(+), 4863 deletions(-) delete mode 100644 lib/libesp32/Berry/default/be_lvgl_color_lib.c delete mode 100644 lib/libesp32/Berry/default/be_lvgl_font_lib.c delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_arc.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_bar.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_btn.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_btnmatrix.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_canvas.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_chart.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_checkbox.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_color.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_colorwheel.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_dropdown.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_font.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_group.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_img.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_imgbtn.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_indev.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_label.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_led.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_line.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_meter.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_msgbox.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_obj.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_roller.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_slider.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_spinbox.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_style.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_switch.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_table.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_be_class_lv_textarea.h delete mode 100644 lib/libesp32/Berry/generate/be_fixed_lvgl.h create mode 100644 tools/lv_berry/lv_symbol.h diff --git a/CHANGELOG.md b/CHANGELOG.md index 659437161..c74fbc7fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ All notable changes to this project will be documented in this file. - Removed command ``EnergyReset`` as it is replaced by new commands - Files starting with underscore in file system are no more hidden - ESP32 Memory display to exclude IRAM (i.e. less by 40-50KB) (#13294) +- LVGL Berry namespace ``lv.*`` added and removed ``lv_*`` constants ### Fixed - ESP32 restore GPIO16/17 if no PSRAM was found regression from v9.5.0.3 diff --git a/lib/libesp32/Berry/default/be_lvgl_clock_icon_lib.c b/lib/libesp32/Berry/default/be_lvgl_clock_icon_lib.c index 456753a64..519a09150 100644 --- a/lib/libesp32/Berry/default/be_lvgl_clock_icon_lib.c +++ b/lib/libesp32/Berry/default/be_lvgl_clock_icon_lib.c @@ -150,14 +150,14 @@ be_local_closure(init, /* name */ /* K15 */ be_const_int(3), /* K16 */ be_nested_string("set_style_pad_right", -980898242, 19), /* K17 */ be_nested_string("set_style_bg_color", 1689513089, 18), - /* K18 */ be_nested_string("lv_color", 1419148319, 8), + /* K18 */ be_nested_string("color", 1031692888, 5), /* K19 */ be_nested_string("COLOR_BLACK", 264427940, 11), /* K20 */ be_nested_string("tasmota", 424643812, 7), /* K21 */ be_nested_string("add_driver", 1654458371, 10), }), (be_nested_const_str("init", 380752755, 4)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[82]) { /* code */ + ( &(const binstruction[83]) { /* code */ 0x600C0003, // 0000 GETGBL R3 G3 0x5C100000, // 0001 MOVE R4 R0 0x7C0C0200, // 0002 CALL R3 1 @@ -182,7 +182,7 @@ be_local_closure(init, /* name */ 0x7C100600, // 0015 CALL R4 3 0x4C100000, // 0016 LDNIL R4 0x20100204, // 0017 NE R4 R1 R4 - 0x78120033, // 0018 JMPF R4 #004D + 0x78120034, // 0018 JMPF R4 #004E 0x8C100306, // 0019 GETMET R4 R1 K6 0x7C100200, // 001A CALL R4 1 0x8C140107, // 001B GETMET R5 R0 K7 @@ -225,21 +225,22 @@ be_local_closure(init, /* name */ 0x3028140B, // 0040 OR R10 R10 R11 0x7C1C0600, // 0041 CALL R7 3 0x8C1C0111, // 0042 GETMET R7 R0 K17 - 0xB8262400, // 0043 GETNGBL R9 K18 - 0xB82A0200, // 0044 GETNGBL R10 K1 - 0x88281513, // 0045 GETMBR R10 R10 K19 - 0x7C240200, // 0046 CALL R9 1 - 0xB82A0200, // 0047 GETNGBL R10 K1 - 0x88281504, // 0048 GETMBR R10 R10 K4 - 0xB82E0200, // 0049 GETNGBL R11 K1 - 0x882C1705, // 004A GETMBR R11 R11 K5 - 0x3028140B, // 004B OR R10 R10 R11 - 0x7C1C0600, // 004C CALL R7 3 - 0xB8122800, // 004D GETNGBL R4 K20 - 0x8C100915, // 004E GETMET R4 R4 K21 - 0x5C180000, // 004F MOVE R6 R0 - 0x7C100400, // 0050 CALL R4 2 - 0x80000000, // 0051 RET 0 + 0xB8260200, // 0043 GETNGBL R9 K1 + 0x8C241312, // 0044 GETMET R9 R9 K18 + 0xB82E0200, // 0045 GETNGBL R11 K1 + 0x882C1713, // 0046 GETMBR R11 R11 K19 + 0x7C240400, // 0047 CALL R9 2 + 0xB82A0200, // 0048 GETNGBL R10 K1 + 0x88281504, // 0049 GETMBR R10 R10 K4 + 0xB82E0200, // 004A GETNGBL R11 K1 + 0x882C1705, // 004B GETMBR R11 R11 K5 + 0x3028140B, // 004C OR R10 R10 R11 + 0x7C1C0600, // 004D CALL R7 3 + 0xB8122800, // 004E GETNGBL R4 K20 + 0x8C100915, // 004F GETMET R4 R4 K21 + 0x5C180000, // 0050 MOVE R6 R0 + 0x7C100400, // 0051 CALL R4 2 + 0x80000000, // 0052 RET 0 }) ) ); diff --git a/lib/libesp32/Berry/default/be_lvgl_color_lib.c b/lib/libesp32/Berry/default/be_lvgl_color_lib.c deleted file mode 100644 index ec82ccedb..000000000 --- a/lib/libesp32/Berry/default/be_lvgl_color_lib.c +++ /dev/null @@ -1,32 +0,0 @@ -/******************************************************************** - * Tasmota LVGL Font class - *******************************************************************/ -#include "be_constobj.h" - -#ifdef USE_LVGL - -#include "lvgl.h" - -extern int lco_init(bvm *vm); // generic function -extern int lco_tostring(bvm *vm); // generic function -extern int lco_toint(bvm *vm); // generic function - - -#include "../generate/be_fixed_be_class_lv_color.h" - -void be_load_lvgl_color_lib(bvm *vm) { - be_pushntvclass(vm, &be_class_lv_color); - be_setglobal(vm, "lv_color"); - be_pop(vm, 1); -} - -/* @const_object_info_begin -class be_class_lv_color (scope: global, name: lv_color) { - _p, var - init, func(lco_init) - tostring, func(lco_tostring) - toint, func(lco_toint) -} -@const_object_info_end */ - -#endif // USE_LVGL \ No newline at end of file diff --git a/lib/libesp32/Berry/default/be_lvgl_ctypes_definitions.c b/lib/libesp32/Berry/default/be_lvgl_ctypes_definitions.c index 219e3e4df..bb1ffb65c 100644 --- a/lib/libesp32/Berry/default/be_lvgl_ctypes_definitions.c +++ b/lib/libesp32/Berry/default/be_lvgl_ctypes_definitions.c @@ -6,6 +6,7 @@ #ifdef USE_LVGL #include "lvgl.h" +#include "be_lvgl.h" /******************************************************************** * Generated code, don't edit @@ -494,6 +495,37 @@ void be_load_ctypes_lvgl_definitions_lib(bvm *vm) { ctypes_register_class(vm, &be_class_lv_point, &be_lv_point); ctypes_register_class(vm, &be_class_lv_sqrt_res, &be_lv_sqrt_res); } + +be_ctypes_class_by_name_t be_ctypes_lvgl_classes[] = { + { "lv_area", &be_class_lv_area }, + { "lv_draw_img_dsc", &be_class_lv_draw_img_dsc }, + { "lv_draw_line_dsc", &be_class_lv_draw_line_dsc }, + { "lv_draw_mask_angle_param", &be_class_lv_draw_mask_angle_param }, + { "lv_draw_mask_angle_param_cfg", &be_class_lv_draw_mask_angle_param_cfg }, + { "lv_draw_mask_common_dsc", &be_class_lv_draw_mask_common_dsc }, + { "lv_draw_mask_fade_param", &be_class_lv_draw_mask_fade_param }, + { "lv_draw_mask_fade_param_cfg", &be_class_lv_draw_mask_fade_param_cfg }, + { "lv_draw_mask_line_param", &be_class_lv_draw_mask_line_param }, + { "lv_draw_mask_line_param_cfg", &be_class_lv_draw_mask_line_param_cfg }, + { "lv_draw_mask_map_param", &be_class_lv_draw_mask_map_param }, + { "lv_draw_mask_map_param_cfg", &be_class_lv_draw_mask_map_param_cfg }, + { "lv_draw_mask_radius_param", &be_class_lv_draw_mask_radius_param }, + { "lv_draw_mask_radius_param_cfg", &be_class_lv_draw_mask_radius_param_cfg }, + { "lv_draw_mask_saved", &be_class_lv_draw_mask_saved }, + { "lv_draw_rect_dsc", &be_class_lv_draw_rect_dsc }, + { "lv_event", &be_class_lv_event }, + { "lv_meter_indicator", &be_class_lv_meter_indicator }, + { "lv_meter_indicator_arc", &be_class_lv_meter_indicator_arc }, + { "lv_meter_indicator_needle_img", &be_class_lv_meter_indicator_needle_img }, + { "lv_meter_indicator_needle_line", &be_class_lv_meter_indicator_needle_line }, + { "lv_meter_indicator_scale_lines", &be_class_lv_meter_indicator_scale_lines }, + { "lv_meter_scale", &be_class_lv_meter_scale }, + { "lv_obj_class", &be_class_lv_obj_class }, + { "lv_point", &be_class_lv_point }, + { "lv_sqrt_res", &be_class_lv_sqrt_res }, +}; +const size_t be_ctypes_lvgl_classes_size = sizeof(be_ctypes_lvgl_classes)/sizeof(be_ctypes_lvgl_classes[0]); + /********************************************************************/ #endif // USE_LVGL \ No newline at end of file diff --git a/lib/libesp32/Berry/default/be_lvgl_font_lib.c b/lib/libesp32/Berry/default/be_lvgl_font_lib.c deleted file mode 100644 index e17fd506f..000000000 --- a/lib/libesp32/Berry/default/be_lvgl_font_lib.c +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************************** - * Tasmota LVGL Font class - *******************************************************************/ -#include "be_constobj.h" - -#ifdef USE_LVGL - -#include "lvgl.h" - -extern int lvx_tostring(bvm *vm); // generic function -extern int lvx_init_ctor(bvm *vm, void * func); -extern int be_call_c_func(bvm *vm, void * func, const char * return_type, const char * arg_type); - - -// create font either empty or from parameter on stack -int lvbe_font_create(bvm *vm) { return be_call_c_func(vm, NULL, "+lv_group", ""); } - -#include "../generate/be_fixed_be_class_lv_font.h" - -void be_load_lvgl_font_lib(bvm *vm) { - be_pushntvclass(vm, &be_class_lv_font); - be_setglobal(vm, "lv_font"); - be_pop(vm, 1); -} - -/* @const_object_info_begin -class be_class_lv_font (scope: global, name: lv_font) { - _p, var - init, func(lvbe_font_create) - tostring, func(lvx_tostring) -} -@const_object_info_end */ - -#endif // USE_LVGL \ No newline at end of file diff --git a/lib/libesp32/Berry/default/be_lvgl_glob_lib.c b/lib/libesp32/Berry/default/be_lvgl_glob_lib.c index e15184fed..328b1e02c 100644 --- a/lib/libesp32/Berry/default/be_lvgl_glob_lib.c +++ b/lib/libesp32/Berry/default/be_lvgl_glob_lib.c @@ -56,47 +56,50 @@ be_local_closure(widget_event_impl, /* name */ 0, /* has sup protos */ NULL, /* no sub protos */ 1, /* has constants */ - ( &(const bvalue[ 8]) { /* constants */ + ( &(const bvalue[ 9]) { /* constants */ /* K0 */ be_nested_string("introspect", 164638290, 10), - /* K1 */ be_nested_string("lv_obj_class", -255311002, 12), - /* K2 */ be_nested_string("lv_event", -1860877328, 8), - /* K3 */ be_nested_string("target", 845187144, 6), - /* K4 */ be_nested_string("get_object_from_ptr", -1949948095, 19), - /* K5 */ be_nested_string("instance", 193386898, 8), - /* K6 */ be_nested_string("get", 1410115415, 3), - /* K7 */ be_nested_string("widget_event", 1951408186, 12), + /* K1 */ be_nested_string("lv", 1529997255, 2), + /* K2 */ be_nested_string("lv_obj_class", -255311002, 12), + /* K3 */ be_nested_string("lv_event", -1860877328, 8), + /* K4 */ be_nested_string("target", 845187144, 6), + /* K5 */ be_nested_string("get_object_from_ptr", -1949948095, 19), + /* K6 */ be_nested_string("instance", 193386898, 8), + /* K7 */ be_nested_string("get", 1410115415, 3), + /* K8 */ be_nested_string("widget_event", 1951408186, 12), }), (be_nested_const_str("widget_event_impl", -2116536735, 17)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[28]) { /* code */ + ( &(const binstruction[30]) { /* code */ 0xA40E0000, // 0000 IMPORT R3 K0 0xB8120200, // 0001 GETNGBL R4 K1 - 0x5C140200, // 0002 MOVE R5 R1 - 0x7C100200, // 0003 CALL R4 1 - 0xB8160400, // 0004 GETNGBL R5 K2 - 0x5C180400, // 0005 MOVE R6 R2 - 0x7C140200, // 0006 CALL R5 1 - 0x88180B03, // 0007 GETMBR R6 R5 K3 - 0x8C1C0104, // 0008 GETMET R7 R0 K4 - 0x60240009, // 0009 GETGBL R9 G9 - 0x5C280C00, // 000A MOVE R10 R6 - 0x7C240200, // 000B CALL R9 1 - 0x7C1C0400, // 000C CALL R7 2 - 0x60200004, // 000D GETGBL R8 G4 - 0x5C240E00, // 000E MOVE R9 R7 - 0x7C200200, // 000F CALL R8 1 - 0x1C201105, // 0010 EQ R8 R8 K5 - 0x78220008, // 0011 JMPF R8 #001B - 0x8C200706, // 0012 GETMET R8 R3 K6 - 0x5C280E00, // 0013 MOVE R10 R7 - 0x582C0007, // 0014 LDCONST R11 K7 - 0x7C200600, // 0015 CALL R8 3 - 0x78220003, // 0016 JMPF R8 #001B - 0x8C200F07, // 0017 GETMET R8 R7 K7 - 0x5C280800, // 0018 MOVE R10 R4 - 0x5C2C0A00, // 0019 MOVE R11 R5 - 0x7C200600, // 001A CALL R8 3 - 0x80000000, // 001B RET 0 + 0x8C100902, // 0002 GETMET R4 R4 K2 + 0x5C180200, // 0003 MOVE R6 R1 + 0x7C100400, // 0004 CALL R4 2 + 0xB8160200, // 0005 GETNGBL R5 K1 + 0x8C140B03, // 0006 GETMET R5 R5 K3 + 0x5C1C0400, // 0007 MOVE R7 R2 + 0x7C140400, // 0008 CALL R5 2 + 0x88180B04, // 0009 GETMBR R6 R5 K4 + 0x8C1C0105, // 000A GETMET R7 R0 K5 + 0x60240009, // 000B GETGBL R9 G9 + 0x5C280C00, // 000C MOVE R10 R6 + 0x7C240200, // 000D CALL R9 1 + 0x7C1C0400, // 000E CALL R7 2 + 0x60200004, // 000F GETGBL R8 G4 + 0x5C240E00, // 0010 MOVE R9 R7 + 0x7C200200, // 0011 CALL R8 1 + 0x1C201106, // 0012 EQ R8 R8 K6 + 0x78220008, // 0013 JMPF R8 #001D + 0x8C200707, // 0014 GETMET R8 R3 K7 + 0x5C280E00, // 0015 MOVE R10 R7 + 0x582C0008, // 0016 LDCONST R11 K8 + 0x7C200600, // 0017 CALL R8 3 + 0x78220003, // 0018 JMPF R8 #001D + 0x8C200F08, // 0019 GETMET R8 R7 K8 + 0x5C280800, // 001A MOVE R10 R4 + 0x5C2C0A00, // 001B MOVE R11 R5 + 0x7C200600, // 001C CALL R8 3 + 0x80000000, // 001D RET 0 }) ) ); @@ -116,34 +119,36 @@ be_local_closure(lvgl_event_dispatch, /* name */ 0, /* has sup protos */ NULL, /* no sub protos */ 1, /* has constants */ - ( &(const bvalue[ 6]) { /* constants */ + ( &(const bvalue[ 7]) { /* constants */ /* K0 */ be_nested_string("introspect", 164638290, 10), - /* K1 */ be_nested_string("lv_event", -1860877328, 8), - /* K2 */ be_nested_string("toptr", -915119842, 5), - /* K3 */ be_nested_string("target", 845187144, 6), - /* K4 */ be_nested_string("cb_event_closure", -466699971, 16), - /* K5 */ be_nested_string("get_object_from_ptr", -1949948095, 19), + /* K1 */ be_nested_string("lv", 1529997255, 2), + /* K2 */ be_nested_string("lv_event", -1860877328, 8), + /* K3 */ be_nested_string("toptr", -915119842, 5), + /* K4 */ be_nested_string("target", 845187144, 6), + /* K5 */ be_nested_string("cb_event_closure", -466699971, 16), + /* K6 */ be_nested_string("get_object_from_ptr", -1949948095, 19), }), (be_nested_const_str("lvgl_event_dispatch", 2104396622, 19)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[17]) { /* code */ + ( &(const binstruction[18]) { /* code */ 0xA40A0000, // 0000 IMPORT R2 K0 0xB80E0200, // 0001 GETNGBL R3 K1 - 0x8C100502, // 0002 GETMET R4 R2 K2 - 0x5C180200, // 0003 MOVE R6 R1 - 0x7C100400, // 0004 CALL R4 2 - 0x7C0C0200, // 0005 CALL R3 1 - 0x88100703, // 0006 GETMBR R4 R3 K3 - 0x88140104, // 0007 GETMBR R5 R0 K4 - 0x94140A04, // 0008 GETIDX R5 R5 R4 - 0x8C180105, // 0009 GETMET R6 R0 K5 - 0x5C200800, // 000A MOVE R8 R4 - 0x7C180400, // 000B CALL R6 2 - 0x5C1C0A00, // 000C MOVE R7 R5 - 0x5C200C00, // 000D MOVE R8 R6 - 0x5C240600, // 000E MOVE R9 R3 - 0x7C1C0400, // 000F CALL R7 2 - 0x80000000, // 0010 RET 0 + 0x8C0C0702, // 0002 GETMET R3 R3 K2 + 0x8C140503, // 0003 GETMET R5 R2 K3 + 0x5C1C0200, // 0004 MOVE R7 R1 + 0x7C140400, // 0005 CALL R5 2 + 0x7C0C0400, // 0006 CALL R3 2 + 0x88100704, // 0007 GETMBR R4 R3 K4 + 0x88140105, // 0008 GETMBR R5 R0 K5 + 0x94140A04, // 0009 GETIDX R5 R5 R4 + 0x8C180106, // 000A GETMET R6 R0 K6 + 0x5C200800, // 000B MOVE R8 R4 + 0x7C180400, // 000C CALL R6 2 + 0x5C1C0A00, // 000D MOVE R7 R5 + 0x5C200C00, // 000E MOVE R8 R6 + 0x5C240600, // 000F MOVE R9 R3 + 0x7C1C0400, // 0010 CALL R7 2 + 0x80000000, // 0011 RET 0 }) ) ); @@ -163,38 +168,40 @@ be_local_closure(widget_dtor_impl, /* name */ 0, /* has sup protos */ NULL, /* no sub protos */ 1, /* has constants */ - ( &(const bvalue[ 6]) { /* constants */ + ( &(const bvalue[ 7]) { /* constants */ /* K0 */ be_nested_string("introspect", 164638290, 10), - /* K1 */ be_nested_string("lv_obj_class", -255311002, 12), - /* K2 */ be_nested_string("get_object_from_ptr", -1949948095, 19), - /* K3 */ be_nested_string("instance", 193386898, 8), - /* K4 */ be_nested_string("get", 1410115415, 3), - /* K5 */ be_nested_string("widget_destructor", -87578951, 17), + /* K1 */ be_nested_string("lv", 1529997255, 2), + /* K2 */ be_nested_string("lv_obj_class", -255311002, 12), + /* K3 */ be_nested_string("get_object_from_ptr", -1949948095, 19), + /* K4 */ be_nested_string("instance", 193386898, 8), + /* K5 */ be_nested_string("get", 1410115415, 3), + /* K6 */ be_nested_string("widget_destructor", -87578951, 17), }), (be_nested_const_str("widget_dtor_impl", 520430610, 16)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[21]) { /* code */ + ( &(const binstruction[22]) { /* code */ 0xA40E0000, // 0000 IMPORT R3 K0 0xB8120200, // 0001 GETNGBL R4 K1 - 0x5C140200, // 0002 MOVE R5 R1 - 0x7C100200, // 0003 CALL R4 1 - 0x8C140102, // 0004 GETMET R5 R0 K2 - 0x5C1C0400, // 0005 MOVE R7 R2 - 0x7C140400, // 0006 CALL R5 2 - 0x60180004, // 0007 GETGBL R6 G4 - 0x5C1C0A00, // 0008 MOVE R7 R5 - 0x7C180200, // 0009 CALL R6 1 - 0x1C180D03, // 000A EQ R6 R6 K3 - 0x781A0007, // 000B JMPF R6 #0014 - 0x8C180704, // 000C GETMET R6 R3 K4 - 0x5C200A00, // 000D MOVE R8 R5 - 0x58240005, // 000E LDCONST R9 K5 - 0x7C180600, // 000F CALL R6 3 - 0x781A0002, // 0010 JMPF R6 #0014 - 0x8C180B05, // 0011 GETMET R6 R5 K5 - 0x5C200800, // 0012 MOVE R8 R4 - 0x7C180400, // 0013 CALL R6 2 - 0x80000000, // 0014 RET 0 + 0x8C100902, // 0002 GETMET R4 R4 K2 + 0x5C180200, // 0003 MOVE R6 R1 + 0x7C100400, // 0004 CALL R4 2 + 0x8C140103, // 0005 GETMET R5 R0 K3 + 0x5C1C0400, // 0006 MOVE R7 R2 + 0x7C140400, // 0007 CALL R5 2 + 0x60180004, // 0008 GETGBL R6 G4 + 0x5C1C0A00, // 0009 MOVE R7 R5 + 0x7C180200, // 000A CALL R6 1 + 0x1C180D04, // 000B EQ R6 R6 K4 + 0x781A0007, // 000C JMPF R6 #0015 + 0x8C180705, // 000D GETMET R6 R3 K5 + 0x5C200A00, // 000E MOVE R8 R5 + 0x58240006, // 000F LDCONST R9 K6 + 0x7C180600, // 0010 CALL R6 3 + 0x781A0002, // 0011 JMPF R6 #0015 + 0x8C180B06, // 0012 GETMET R6 R5 K6 + 0x5C200800, // 0013 MOVE R8 R4 + 0x7C180400, // 0014 CALL R6 2 + 0x80000000, // 0015 RET 0 }) ) ); @@ -471,25 +478,26 @@ be_local_closure(widget_cb, /* name */ ), }), 1, /* has constants */ - ( &(const bvalue[14]) { /* constants */ + ( &(const bvalue[15]) { /* constants */ /* K0 */ be_nested_string("widget_ctor_cb", 876007560, 14), /* K1 */ be_nested_string("tasmota", 424643812, 7), /* K2 */ be_nested_string("gen_cb", -1049739745, 6), /* K3 */ be_nested_string("widget_dtor_cb", -1143421451, 14), /* K4 */ be_nested_string("widget_event_cb", 1508466754, 15), /* K5 */ be_nested_string("widget_struct_default", 781673633, 21), - /* K6 */ be_nested_string("lv_obj_class", -255311002, 12), - /* K7 */ be_nested_string("lv_obj", -37134147, 6), - /* K8 */ be_nested_string("_class", -1562820946, 6), - /* K9 */ be_nested_string("copy", -446502332, 4), - /* K10 */ be_nested_string("base_class", 1107737279, 10), - /* K11 */ be_nested_string("constructor_cb", -1805861999, 14), - /* K12 */ be_nested_string("destructor_cb", 1930283190, 13), - /* K13 */ be_nested_string("event_cb", -1166269279, 8), + /* K6 */ be_nested_string("lv", 1529997255, 2), + /* K7 */ be_nested_string("lv_obj_class", -255311002, 12), + /* K8 */ be_nested_string("lv_obj", -37134147, 6), + /* K9 */ be_nested_string("_class", -1562820946, 6), + /* K10 */ be_nested_string("copy", -446502332, 4), + /* K11 */ be_nested_string("base_class", 1107737279, 10), + /* K12 */ be_nested_string("constructor_cb", -1805861999, 14), + /* K13 */ be_nested_string("destructor_cb", 1930283190, 13), + /* K14 */ be_nested_string("event_cb", -1166269279, 8), }), (be_nested_const_str("widget_cb", -1531384241, 9)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[53]) { /* code */ + ( &(const binstruction[56]) { /* code */ 0x88040100, // 0000 GETMBR R1 R0 K0 0x4C080000, // 0001 LDNIL R2 0x1C040202, // 0002 EQ R1 R1 R2 @@ -520,29 +528,32 @@ be_local_closure(widget_cb, /* name */ 0x88040105, // 001B GETMBR R1 R0 K5 0x4C080000, // 001C LDNIL R2 0x1C040202, // 001D EQ R1 R1 R2 - 0x78060013, // 001E JMPF R1 #0033 + 0x78060016, // 001E JMPF R1 #0036 0xB8060C00, // 001F GETNGBL R1 K6 - 0xB80A0E00, // 0020 GETNGBL R2 K7 - 0x88080508, // 0021 GETMBR R2 R2 K8 - 0x7C040200, // 0022 CALL R1 1 - 0x8C040309, // 0023 GETMET R1 R1 K9 - 0x7C040200, // 0024 CALL R1 1 - 0x90020A01, // 0025 SETMBR R0 K5 R1 - 0x88040105, // 0026 GETMBR R1 R0 K5 - 0xB80A0E00, // 0027 GETNGBL R2 K7 - 0x88080508, // 0028 GETMBR R2 R2 K8 - 0x90061402, // 0029 SETMBR R1 K10 R2 - 0x88040105, // 002A GETMBR R1 R0 K5 - 0x88080100, // 002B GETMBR R2 R0 K0 + 0x8C040307, // 0020 GETMET R1 R1 K7 + 0xB80E0C00, // 0021 GETNGBL R3 K6 + 0x880C0708, // 0022 GETMBR R3 R3 K8 + 0x880C0709, // 0023 GETMBR R3 R3 K9 + 0x7C040400, // 0024 CALL R1 2 + 0x8C04030A, // 0025 GETMET R1 R1 K10 + 0x7C040200, // 0026 CALL R1 1 + 0x90020A01, // 0027 SETMBR R0 K5 R1 + 0x88040105, // 0028 GETMBR R1 R0 K5 + 0xB80A0C00, // 0029 GETNGBL R2 K6 + 0x88080508, // 002A GETMBR R2 R2 K8 + 0x88080509, // 002B GETMBR R2 R2 K9 0x90061602, // 002C SETMBR R1 K11 R2 0x88040105, // 002D GETMBR R1 R0 K5 - 0x88080103, // 002E GETMBR R2 R0 K3 + 0x88080100, // 002E GETMBR R2 R0 K0 0x90061802, // 002F SETMBR R1 K12 R2 0x88040105, // 0030 GETMBR R1 R0 K5 - 0x88080104, // 0031 GETMBR R2 R0 K4 + 0x88080103, // 0031 GETMBR R2 R0 K3 0x90061A02, // 0032 SETMBR R1 K13 R2 - 0xA0000000, // 0033 CLOSE R0 - 0x80000000, // 0034 RET 0 + 0x88040105, // 0033 GETMBR R1 R0 K5 + 0x88080104, // 0034 GETMBR R2 R0 K4 + 0x90061C02, // 0035 SETMBR R1 K14 R2 + 0xA0000000, // 0036 CLOSE R0 + 0x80000000, // 0037 RET 0 }) ) ); @@ -550,9 +561,9 @@ be_local_closure(widget_cb, /* name */ /******************************************************************** -** Solidified function: +** Solidified function: _anonymous_ ********************************************************************/ -be_local_closure(anonymous, /* name */ +be_local_closure(_anonymous_, /* name */ be_nested_proto( 2, /* nstack */ 0, /* argc */ @@ -565,7 +576,7 @@ be_local_closure(anonymous, /* name */ ( &(const bvalue[ 1]) { /* constants */ /* K0 */ be_nested_string("LVG: call to unsupported callback", 504176819, 33), }), - (be_nested_const_str("", 1160973142, 11)), + (be_nested_const_str("_anonymous_", 1957281476, 11)), (be_nested_const_str("input", -103256197, 5)), ( &(const binstruction[ 4]) { /* code */ 0x60000001, // 0000 GETGBL R0 G1 @@ -593,28 +604,28 @@ be_local_closure(create_custom_widget, /* name */ 1, /* has constants */ ( &(const bvalue[27]) { /* constants */ /* K0 */ be_nested_string("introspect", 164638290, 10), - /* K1 */ be_nested_string("lv_obj", -37134147, 6), - /* K2 */ be_nested_string("value_error", 773297791, 11), - /* K3 */ be_nested_string("arg must be a subclass of lv_obj", 1641882079, 32), - /* K4 */ be_nested_string("widget_struct_by_class", -488593454, 22), - /* K5 */ be_nested_string("find", -1108310694, 4), - /* K6 */ be_nested_string("widget_cb", -1531384241, 9), - /* K7 */ be_nested_string("widget_struct_default", 781673633, 21), - /* K8 */ be_nested_string("copy", -446502332, 4), - /* K9 */ be_nested_string("base_class", 1107737279, 10), - /* K10 */ be_nested_string("_class", -1562820946, 6), - /* K11 */ be_nested_string("get", 1410115415, 3), - /* K12 */ be_nested_string("widget_width_def", -308888434, 16), - /* K13 */ be_nested_string("width_def", 1143717879, 9), - /* K14 */ be_nested_string("widget_height_def", -1163299483, 17), - /* K15 */ be_nested_string("height_def", -1946728458, 10), - /* K16 */ be_nested_string("widget_editable", -473174010, 15), - /* K17 */ be_nested_string("editable", 60532369, 8), - /* K18 */ be_nested_string("widget_group_def", 1246968785, 16), - /* K19 */ be_nested_string("group_def", 1524213328, 9), - /* K20 */ be_nested_string("widget_instance_size", 2055354779, 20), - /* K21 */ be_nested_string("instance_size", -14697778, 13), - /* K22 */ be_nested_string("lv", 1529997255, 2), + /* K1 */ be_nested_string("lv", 1529997255, 2), + /* K2 */ be_nested_string("lv_obj", -37134147, 6), + /* K3 */ be_nested_string("value_error", 773297791, 11), + /* K4 */ be_nested_string("arg must be a subclass of lv_obj", 1641882079, 32), + /* K5 */ be_nested_string("widget_struct_by_class", -488593454, 22), + /* K6 */ be_nested_string("find", -1108310694, 4), + /* K7 */ be_nested_string("widget_cb", -1531384241, 9), + /* K8 */ be_nested_string("widget_struct_default", 781673633, 21), + /* K9 */ be_nested_string("copy", -446502332, 4), + /* K10 */ be_nested_string("base_class", 1107737279, 10), + /* K11 */ be_nested_string("_class", -1562820946, 6), + /* K12 */ be_nested_string("get", 1410115415, 3), + /* K13 */ be_nested_string("widget_width_def", -308888434, 16), + /* K14 */ be_nested_string("width_def", 1143717879, 9), + /* K15 */ be_nested_string("widget_height_def", -1163299483, 17), + /* K16 */ be_nested_string("height_def", -1946728458, 10), + /* K17 */ be_nested_string("widget_editable", -473174010, 15), + /* K18 */ be_nested_string("editable", 60532369, 8), + /* K19 */ be_nested_string("widget_group_def", 1246968785, 16), + /* K20 */ be_nested_string("group_def", 1524213328, 9), + /* K21 */ be_nested_string("widget_instance_size", 2055354779, 20), + /* K22 */ be_nested_string("instance_size", -14697778, 13), /* K23 */ be_nested_string("obj_class_create_obj", -990576664, 20), /* K24 */ be_nested_string("_p", 1594591802, 2), /* K25 */ be_nested_string("register_obj", -312352526, 12), @@ -622,92 +633,93 @@ be_local_closure(create_custom_widget, /* name */ }), (be_nested_const_str("create_custom_widget", 1140594778, 20)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[85]) { /* code */ + ( &(const binstruction[86]) { /* code */ 0xA40E0000, // 0000 IMPORT R3 K0 0x6010000F, // 0001 GETGBL R4 G15 0x5C140200, // 0002 MOVE R5 R1 0xB81A0200, // 0003 GETNGBL R6 K1 - 0x7C100400, // 0004 CALL R4 2 - 0x74120000, // 0005 JMPT R4 #0007 - 0xB0060503, // 0006 RAISE 1 K2 K3 - 0x88100104, // 0007 GETMBR R4 R0 K4 - 0x4C140000, // 0008 LDNIL R5 - 0x1C100805, // 0009 EQ R4 R4 R5 - 0x78120002, // 000A JMPF R4 #000E - 0x60100013, // 000B GETGBL R4 G19 - 0x7C100000, // 000C CALL R4 0 - 0x90020804, // 000D SETMBR R0 K4 R4 - 0x60100005, // 000E GETGBL R4 G5 - 0x5C140200, // 000F MOVE R5 R1 - 0x7C100200, // 0010 CALL R4 1 - 0x88140104, // 0011 GETMBR R5 R0 K4 - 0x8C140B05, // 0012 GETMET R5 R5 K5 - 0x5C1C0800, // 0013 MOVE R7 R4 - 0x7C140400, // 0014 CALL R5 2 - 0x4C180000, // 0015 LDNIL R6 - 0x1C180A06, // 0016 EQ R6 R5 R6 - 0x781A002F, // 0017 JMPF R6 #0048 - 0x8C180106, // 0018 GETMET R6 R0 K6 - 0x7C180200, // 0019 CALL R6 1 - 0x88180107, // 001A GETMBR R6 R0 K7 - 0x8C180D08, // 001B GETMET R6 R6 K8 - 0x7C180200, // 001C CALL R6 1 - 0x5C140C00, // 001D MOVE R5 R6 - 0x60180003, // 001E GETGBL R6 G3 - 0x5C1C0200, // 001F MOVE R7 R1 - 0x7C180200, // 0020 CALL R6 1 - 0x88180D0A, // 0021 GETMBR R6 R6 K10 - 0x90161206, // 0022 SETMBR R5 K9 R6 - 0x8C18070B, // 0023 GETMET R6 R3 K11 - 0x5C200200, // 0024 MOVE R8 R1 - 0x5824000C, // 0025 LDCONST R9 K12 - 0x7C180600, // 0026 CALL R6 3 - 0x781A0001, // 0027 JMPF R6 #002A - 0x8818030C, // 0028 GETMBR R6 R1 K12 - 0x90161A06, // 0029 SETMBR R5 K13 R6 - 0x8C18070B, // 002A GETMET R6 R3 K11 - 0x5C200200, // 002B MOVE R8 R1 - 0x5824000E, // 002C LDCONST R9 K14 - 0x7C180600, // 002D CALL R6 3 - 0x781A0001, // 002E JMPF R6 #0031 - 0x8818030E, // 002F GETMBR R6 R1 K14 - 0x90161E06, // 0030 SETMBR R5 K15 R6 - 0x8C18070B, // 0031 GETMET R6 R3 K11 - 0x5C200200, // 0032 MOVE R8 R1 - 0x58240010, // 0033 LDCONST R9 K16 - 0x7C180600, // 0034 CALL R6 3 - 0x781A0001, // 0035 JMPF R6 #0038 - 0x88180310, // 0036 GETMBR R6 R1 K16 - 0x90162206, // 0037 SETMBR R5 K17 R6 - 0x8C18070B, // 0038 GETMET R6 R3 K11 - 0x5C200200, // 0039 MOVE R8 R1 - 0x58240012, // 003A LDCONST R9 K18 - 0x7C180600, // 003B CALL R6 3 - 0x781A0001, // 003C JMPF R6 #003F - 0x88180312, // 003D GETMBR R6 R1 K18 - 0x90162606, // 003E SETMBR R5 K19 R6 - 0x8C18070B, // 003F GETMET R6 R3 K11 - 0x5C200200, // 0040 MOVE R8 R1 - 0x58240014, // 0041 LDCONST R9 K20 - 0x7C180600, // 0042 CALL R6 3 - 0x781A0001, // 0043 JMPF R6 #0046 - 0x88180314, // 0044 GETMBR R6 R1 K20 - 0x90162A06, // 0045 SETMBR R5 K21 R6 - 0x88180104, // 0046 GETMBR R6 R0 K4 - 0x98180805, // 0047 SETIDX R6 R4 R5 - 0xB81A2C00, // 0048 GETNGBL R6 K22 - 0x8C180D17, // 0049 GETMET R6 R6 K23 - 0x5C200A00, // 004A MOVE R8 R5 - 0x5C240400, // 004B MOVE R9 R2 - 0x7C180600, // 004C CALL R6 3 - 0x881C0D18, // 004D GETMBR R7 R6 K24 - 0x90063007, // 004E SETMBR R1 K24 R7 - 0x8C1C0119, // 004F GETMET R7 R0 K25 - 0x5C240200, // 0050 MOVE R9 R1 - 0x7C1C0400, // 0051 CALL R7 2 - 0x8C1C031A, // 0052 GETMET R7 R1 K26 - 0x7C1C0200, // 0053 CALL R7 1 - 0x80000000, // 0054 RET 0 + 0x88180D02, // 0004 GETMBR R6 R6 K2 + 0x7C100400, // 0005 CALL R4 2 + 0x74120000, // 0006 JMPT R4 #0008 + 0xB0060704, // 0007 RAISE 1 K3 K4 + 0x88100105, // 0008 GETMBR R4 R0 K5 + 0x4C140000, // 0009 LDNIL R5 + 0x1C100805, // 000A EQ R4 R4 R5 + 0x78120002, // 000B JMPF R4 #000F + 0x60100013, // 000C GETGBL R4 G19 + 0x7C100000, // 000D CALL R4 0 + 0x90020A04, // 000E SETMBR R0 K5 R4 + 0x60100005, // 000F GETGBL R4 G5 + 0x5C140200, // 0010 MOVE R5 R1 + 0x7C100200, // 0011 CALL R4 1 + 0x88140105, // 0012 GETMBR R5 R0 K5 + 0x8C140B06, // 0013 GETMET R5 R5 K6 + 0x5C1C0800, // 0014 MOVE R7 R4 + 0x7C140400, // 0015 CALL R5 2 + 0x4C180000, // 0016 LDNIL R6 + 0x1C180A06, // 0017 EQ R6 R5 R6 + 0x781A002F, // 0018 JMPF R6 #0049 + 0x8C180107, // 0019 GETMET R6 R0 K7 + 0x7C180200, // 001A CALL R6 1 + 0x88180108, // 001B GETMBR R6 R0 K8 + 0x8C180D09, // 001C GETMET R6 R6 K9 + 0x7C180200, // 001D CALL R6 1 + 0x5C140C00, // 001E MOVE R5 R6 + 0x60180003, // 001F GETGBL R6 G3 + 0x5C1C0200, // 0020 MOVE R7 R1 + 0x7C180200, // 0021 CALL R6 1 + 0x88180D0B, // 0022 GETMBR R6 R6 K11 + 0x90161406, // 0023 SETMBR R5 K10 R6 + 0x8C18070C, // 0024 GETMET R6 R3 K12 + 0x5C200200, // 0025 MOVE R8 R1 + 0x5824000D, // 0026 LDCONST R9 K13 + 0x7C180600, // 0027 CALL R6 3 + 0x781A0001, // 0028 JMPF R6 #002B + 0x8818030D, // 0029 GETMBR R6 R1 K13 + 0x90161C06, // 002A SETMBR R5 K14 R6 + 0x8C18070C, // 002B GETMET R6 R3 K12 + 0x5C200200, // 002C MOVE R8 R1 + 0x5824000F, // 002D LDCONST R9 K15 + 0x7C180600, // 002E CALL R6 3 + 0x781A0001, // 002F JMPF R6 #0032 + 0x8818030F, // 0030 GETMBR R6 R1 K15 + 0x90162006, // 0031 SETMBR R5 K16 R6 + 0x8C18070C, // 0032 GETMET R6 R3 K12 + 0x5C200200, // 0033 MOVE R8 R1 + 0x58240011, // 0034 LDCONST R9 K17 + 0x7C180600, // 0035 CALL R6 3 + 0x781A0001, // 0036 JMPF R6 #0039 + 0x88180311, // 0037 GETMBR R6 R1 K17 + 0x90162406, // 0038 SETMBR R5 K18 R6 + 0x8C18070C, // 0039 GETMET R6 R3 K12 + 0x5C200200, // 003A MOVE R8 R1 + 0x58240013, // 003B LDCONST R9 K19 + 0x7C180600, // 003C CALL R6 3 + 0x781A0001, // 003D JMPF R6 #0040 + 0x88180313, // 003E GETMBR R6 R1 K19 + 0x90162806, // 003F SETMBR R5 K20 R6 + 0x8C18070C, // 0040 GETMET R6 R3 K12 + 0x5C200200, // 0041 MOVE R8 R1 + 0x58240015, // 0042 LDCONST R9 K21 + 0x7C180600, // 0043 CALL R6 3 + 0x781A0001, // 0044 JMPF R6 #0047 + 0x88180315, // 0045 GETMBR R6 R1 K21 + 0x90162C06, // 0046 SETMBR R5 K22 R6 + 0x88180105, // 0047 GETMBR R6 R0 K5 + 0x98180805, // 0048 SETIDX R6 R4 R5 + 0xB81A0200, // 0049 GETNGBL R6 K1 + 0x8C180D17, // 004A GETMET R6 R6 K23 + 0x5C200A00, // 004B MOVE R8 R5 + 0x5C240400, // 004C MOVE R9 R2 + 0x7C180600, // 004D CALL R6 3 + 0x881C0D18, // 004E GETMBR R7 R6 K24 + 0x90063007, // 004F SETMBR R1 K24 R7 + 0x8C1C0119, // 0050 GETMET R7 R0 K25 + 0x5C240200, // 0051 MOVE R9 R1 + 0x7C1C0400, // 0052 CALL R7 2 + 0x8C1C031A, // 0053 GETMET R7 R1 K26 + 0x7C1C0200, // 0054 CALL R7 1 + 0x80000000, // 0055 RET 0 }) ) ); @@ -727,47 +739,49 @@ be_local_closure(widget_ctor_impl, /* name */ 0, /* has sup protos */ NULL, /* no sub protos */ 1, /* has constants */ - ( &(const bvalue[ 8]) { /* constants */ + ( &(const bvalue[ 9]) { /* constants */ /* K0 */ be_nested_string("introspect", 164638290, 10), - /* K1 */ be_nested_string("lv_obj_class", -255311002, 12), - /* K2 */ be_nested_string("get_object_from_ptr", -1949948095, 19), - /* K3 */ be_nested_string("cb_obj", 1195696482, 6), - /* K4 */ be_nested_string("find", -1108310694, 4), - /* K5 */ be_nested_string("instance", 193386898, 8), - /* K6 */ be_nested_string("get", 1410115415, 3), - /* K7 */ be_nested_string("widget_constructor", -1751181362, 18), + /* K1 */ be_nested_string("lv", 1529997255, 2), + /* K2 */ be_nested_string("lv_obj_class", -255311002, 12), + /* K3 */ be_nested_string("get_object_from_ptr", -1949948095, 19), + /* K4 */ be_nested_string("cb_obj", 1195696482, 6), + /* K5 */ be_nested_string("find", -1108310694, 4), + /* K6 */ be_nested_string("instance", 193386898, 8), + /* K7 */ be_nested_string("get", 1410115415, 3), + /* K8 */ be_nested_string("widget_constructor", -1751181362, 18), }), (be_nested_const_str("widget_ctor_impl", 194252479, 16)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[28]) { /* code */ + ( &(const binstruction[29]) { /* code */ 0xA40E0000, // 0000 IMPORT R3 K0 0xB8120200, // 0001 GETNGBL R4 K1 - 0x5C140200, // 0002 MOVE R5 R1 - 0x7C100200, // 0003 CALL R4 1 - 0x8C140102, // 0004 GETMET R5 R0 K2 - 0x5C1C0400, // 0005 MOVE R7 R2 - 0x7C140400, // 0006 CALL R5 2 - 0x88180103, // 0007 GETMBR R6 R0 K3 - 0x8C180D04, // 0008 GETMET R6 R6 K4 - 0x5C200A00, // 0009 MOVE R8 R5 - 0x7C180400, // 000A CALL R6 2 - 0x781A0001, // 000B JMPF R6 #000E - 0x88180103, // 000C GETMBR R6 R0 K3 - 0x94140C05, // 000D GETIDX R5 R6 R5 - 0x60180004, // 000E GETGBL R6 G4 - 0x5C1C0A00, // 000F MOVE R7 R5 - 0x7C180200, // 0010 CALL R6 1 - 0x1C180D05, // 0011 EQ R6 R6 K5 - 0x781A0007, // 0012 JMPF R6 #001B - 0x8C180706, // 0013 GETMET R6 R3 K6 - 0x5C200A00, // 0014 MOVE R8 R5 - 0x58240007, // 0015 LDCONST R9 K7 - 0x7C180600, // 0016 CALL R6 3 - 0x781A0002, // 0017 JMPF R6 #001B - 0x8C180B07, // 0018 GETMET R6 R5 K7 - 0x5C200800, // 0019 MOVE R8 R4 - 0x7C180400, // 001A CALL R6 2 - 0x80000000, // 001B RET 0 + 0x8C100902, // 0002 GETMET R4 R4 K2 + 0x5C180200, // 0003 MOVE R6 R1 + 0x7C100400, // 0004 CALL R4 2 + 0x8C140103, // 0005 GETMET R5 R0 K3 + 0x5C1C0400, // 0006 MOVE R7 R2 + 0x7C140400, // 0007 CALL R5 2 + 0x88180104, // 0008 GETMBR R6 R0 K4 + 0x8C180D05, // 0009 GETMET R6 R6 K5 + 0x5C200A00, // 000A MOVE R8 R5 + 0x7C180400, // 000B CALL R6 2 + 0x781A0001, // 000C JMPF R6 #000F + 0x88180104, // 000D GETMBR R6 R0 K4 + 0x94140C05, // 000E GETIDX R5 R6 R5 + 0x60180004, // 000F GETGBL R6 G4 + 0x5C1C0A00, // 0010 MOVE R7 R5 + 0x7C180200, // 0011 CALL R6 1 + 0x1C180D06, // 0012 EQ R6 R6 K6 + 0x781A0007, // 0013 JMPF R6 #001C + 0x8C180707, // 0014 GETMET R6 R3 K7 + 0x5C200A00, // 0015 MOVE R8 R5 + 0x58240008, // 0016 LDCONST R9 K8 + 0x7C180600, // 0017 CALL R6 3 + 0x781A0002, // 0018 JMPF R6 #001C + 0x8C180B08, // 0019 GETMET R6 R5 K8 + 0x5C200800, // 001A MOVE R8 R4 + 0x7C180400, // 001B CALL R6 2 + 0x80000000, // 001C RET 0 }) ) ); @@ -798,7 +812,7 @@ be_local_class(LVGL_glob, { be_nested_key("deregister_obj", -385000303, 14, 12), be_const_closure(deregister_obj_closure) }, { be_nested_key("widget_event_cb", 1508466754, 15, -1), be_const_var(6) }, { be_nested_key("widget_cb", -1531384241, 9, -1), be_const_closure(widget_cb_closure) }, - { be_nested_key("cb_do_nothing", 1488730702, 13, 3), be_const_closure(anonymous_closure) }, + { be_nested_key("cb_do_nothing", 1488730702, 13, 3), be_const_closure(_anonymous__closure) }, { be_nested_key("event_cb", -1166269279, 8, -1), be_const_var(2) }, { be_nested_key("create_custom_widget", 1140594778, 20, -1), be_const_closure(create_custom_widget_closure) }, { be_nested_key("widget_ctor_impl", 194252479, 16, -1), be_const_closure(widget_ctor_impl_closure) }, diff --git a/lib/libesp32/Berry/default/be_lvgl_module.c b/lib/libesp32/Berry/default/be_lvgl_module.c index e4cb5c74a..1924ca34e 100644 --- a/lib/libesp32/Berry/default/be_lvgl_module.c +++ b/lib/libesp32/Berry/default/be_lvgl_module.c @@ -36,65 +36,65 @@ const lvbe_call_c_t lv_func[] = { { "clamp_height", (void*) &lv_clamp_height, "i", "iiii" }, { "clamp_width", (void*) &lv_clamp_width, "i", "iiii" }, - { "color_mix", (void*) &lv_color_mix, "lv_color", "(lv_color)(lv_color)i" }, + { "color_mix", (void*) &lv_color_mix, "lv.lv_color", "(lv.lv_color)(lv.lv_color)i" }, { "dpx", (void*) &lv_dpx, "i", "i" }, - { "draw_arc", (void*) &lv_draw_arc, "", "iiiii(lv_area)(lv_draw_arc_dsc)" }, - { "draw_arc_dsc_init", (void*) &lv_draw_arc_dsc_init, "", "(lv_draw_arc_dsc)" }, - { "draw_arc_get_area", (void*) &lv_draw_arc_get_area, "", "iiiiiib(lv_area)" }, - { "draw_img", (void*) &lv_draw_img, "", "(lv_area)(lv_area).(lv_draw_img_dsc)" }, - { "draw_img_dsc_init", (void*) &lv_draw_img_dsc_init, "", "(lv_draw_img_dsc)" }, - { "draw_label", (void*) &lv_draw_label, "", "(lv_area)(lv_area)(lv_draw_label_dsc)s(lv_draw_label_hint)" }, - { "draw_label_dsc_init", (void*) &lv_draw_label_dsc_init, "", "(lv_draw_label_dsc)" }, - { "draw_letter", (void*) &lv_draw_letter, "", "(lv_point)(lv_area)(lv_font)i(lv_color)ii" }, - { "draw_line", (void*) &lv_draw_line, "", "(lv_point)(lv_point)(lv_area)(lv_draw_line_dsc)" }, - { "draw_line_dsc_init", (void*) &lv_draw_line_dsc_init, "", "(lv_draw_line_dsc)" }, + { "draw_arc", (void*) &lv_draw_arc, "", "iiiii(lv.lv_area)(lv.lv_draw_arc_dsc)" }, + { "draw_arc_dsc_init", (void*) &lv_draw_arc_dsc_init, "", "(lv.lv_draw_arc_dsc)" }, + { "draw_arc_get_area", (void*) &lv_draw_arc_get_area, "", "iiiiiib(lv.lv_area)" }, + { "draw_img", (void*) &lv_draw_img, "", "(lv.lv_area)(lv.lv_area).(lv.lv_draw_img_dsc)" }, + { "draw_img_dsc_init", (void*) &lv_draw_img_dsc_init, "", "(lv.lv_draw_img_dsc)" }, + { "draw_label", (void*) &lv_draw_label, "", "(lv.lv_area)(lv.lv_area)(lv.lv_draw_label_dsc)s(lv.lv_draw_label_hint)" }, + { "draw_label_dsc_init", (void*) &lv_draw_label_dsc_init, "", "(lv.lv_draw_label_dsc)" }, + { "draw_letter", (void*) &lv_draw_letter, "", "(lv.lv_point)(lv.lv_area)(lv.lv_font)i(lv.lv_color)ii" }, + { "draw_line", (void*) &lv_draw_line, "", "(lv.lv_point)(lv.lv_point)(lv.lv_area)(lv.lv_draw_line_dsc)" }, + { "draw_line_dsc_init", (void*) &lv_draw_line_dsc_init, "", "(lv.lv_draw_line_dsc)" }, { "draw_mask_add", (void*) &lv_draw_mask_add, "i", ".." }, - { "draw_mask_angle_init", (void*) &lv_draw_mask_angle_init, "", "(lv_draw_mask_angle_param)iiii" }, - { "draw_mask_fade_init", (void*) &lv_draw_mask_fade_init, "", "(lv_draw_mask_fade_param)(lv_area)iiii" }, + { "draw_mask_angle_init", (void*) &lv_draw_mask_angle_init, "", "(lv.lv_draw_mask_angle_param)iiii" }, + { "draw_mask_fade_init", (void*) &lv_draw_mask_fade_init, "", "(lv.lv_draw_mask_fade_param)(lv.lv_area)iiii" }, { "draw_mask_get_cnt", (void*) &lv_draw_mask_get_cnt, "i", "" }, - { "draw_mask_line_angle_init", (void*) &lv_draw_mask_line_angle_init, "", "(lv_draw_mask_line_param)iiii" }, - { "draw_mask_line_points_init", (void*) &lv_draw_mask_line_points_init, "", "(lv_draw_mask_line_param)iiiii" }, - { "draw_mask_map_init", (void*) &lv_draw_mask_map_init, "", "(lv_draw_mask_map_param)(lv_area)(lv_opa)" }, - { "draw_mask_radius_init", (void*) &lv_draw_mask_radius_init, "", "(lv_draw_mask_radius_param)(lv_area)ib" }, + { "draw_mask_line_angle_init", (void*) &lv_draw_mask_line_angle_init, "", "(lv.lv_draw_mask_line_param)iiii" }, + { "draw_mask_line_points_init", (void*) &lv_draw_mask_line_points_init, "", "(lv.lv_draw_mask_line_param)iiiii" }, + { "draw_mask_map_init", (void*) &lv_draw_mask_map_init, "", "(lv.lv_draw_mask_map_param)(lv.lv_area)(lv.lv_opa)" }, + { "draw_mask_radius_init", (void*) &lv_draw_mask_radius_init, "", "(lv.lv_draw_mask_radius_param)(lv.lv_area)ib" }, { "draw_mask_remove_custom", (void*) &lv_draw_mask_remove_custom, ".", "." }, { "draw_mask_remove_id", (void*) &lv_draw_mask_remove_id, ".", "i" }, - { "draw_polygon", (void*) &lv_draw_polygon, "", "ii(lv_area)(lv_draw_rect_dsc)" }, - { "draw_rect", (void*) &lv_draw_rect, "", "(lv_area)(lv_area)(lv_draw_rect_dsc)" }, - { "draw_rect_dsc_init", (void*) &lv_draw_rect_dsc_init, "", "(lv_draw_rect_dsc)" }, - { "draw_triangle", (void*) &lv_draw_triangle, "", "i(lv_area)(lv_draw_rect_dsc)" }, + { "draw_polygon", (void*) &lv_draw_polygon, "", "ii(lv.lv_area)(lv.lv_draw_rect_dsc)" }, + { "draw_rect", (void*) &lv_draw_rect, "", "(lv.lv_area)(lv.lv_area)(lv.lv_draw_rect_dsc)" }, + { "draw_rect_dsc_init", (void*) &lv_draw_rect_dsc_init, "", "(lv.lv_draw_rect_dsc)" }, + { "draw_triangle", (void*) &lv_draw_triangle, "", "i(lv.lv_area)(lv.lv_draw_rect_dsc)" }, { "event_register_id", (void*) &lv_event_register_id, "i", "" }, - { "event_send", (void*) &lv_event_send, "i", "(lv_obj)i." }, - { "event_set_cover_res", (void*) &lv_event_set_cover_res, "", "(lv_event)(lv_cover_res)" }, - { "event_set_ext_draw_size", (void*) &lv_event_set_ext_draw_size, "", "(lv_event)i" }, + { "event_send", (void*) &lv_event_send, "i", "(lv.lv_obj)i." }, + { "event_set_cover_res", (void*) &lv_event_set_cover_res, "", "(lv.lv_event)(lv.lv_cover_res)" }, + { "event_set_ext_draw_size", (void*) &lv_event_set_ext_draw_size, "", "(lv.lv_event)i" }, { "get_hor_res", (void*) &lv_get_hor_res, "i", "" }, { "get_ver_res", (void*) &lv_get_ver_res, "i", "" }, - { "group_get_default", (void*) &lv_group_get_default, "lv_group", "" }, + { "group_get_default", (void*) &lv_group_get_default, "lv.lv_group", "" }, { "img_src_get_type", (void*) &lv_img_src_get_type, "i", "." }, - { "indev_get_obj_act", (void*) &lv_indev_get_obj_act, "lv_obj", "" }, - { "indev_read_timer_cb", (void*) &lv_indev_read_timer_cb, "", "(lv_timer)" }, - { "layer_sys", (void*) &lv_layer_sys, "lv_obj", "" }, - { "layer_top", (void*) &lv_layer_top, "lv_obj", "" }, + { "indev_get_obj_act", (void*) &lv_indev_get_obj_act, "lv.lv_obj", "" }, + { "indev_read_timer_cb", (void*) &lv_indev_read_timer_cb, "", "(lv.lv_timer)" }, + { "layer_sys", (void*) &lv_layer_sys, "lv.lv_obj", "" }, + { "layer_top", (void*) &lv_layer_top, "lv.lv_obj", "" }, { "layout_register", (void*) &lv_layout_register, "i", "^lv_layout_update_cb^." }, - { "obj_class_create_obj", (void*) &lv_obj_class_create_obj, "lv_obj", "(_lv_obj_class)(lv_obj)" }, - { "obj_del_anim_ready_cb", (void*) &lv_obj_del_anim_ready_cb, "", "(lv_anim)" }, - { "obj_draw_dsc_init", (void*) &lv_obj_draw_dsc_init, "", "(lv_obj_draw_part_dsc)(lv_area)" }, + { "obj_class_create_obj", (void*) &lv_obj_class_create_obj, "lv.lv_obj", "(lv._lv_obj_class)(lv.lv_obj)" }, + { "obj_del_anim_ready_cb", (void*) &lv_obj_del_anim_ready_cb, "", "(lv.lv_anim)" }, + { "obj_draw_dsc_init", (void*) &lv_obj_draw_dsc_init, "", "(lv.lv_obj_draw_part_dsc)(lv.lv_area)" }, { "obj_enable_style_refresh", (void*) &lv_obj_enable_style_refresh, "", "b" }, - { "obj_event_base", (void*) &lv_obj_event_base, "i", "(lv_obj_class)(lv_event)" }, - { "obj_report_style_change", (void*) &lv_obj_report_style_change, "", "(lv_style)" }, - { "obj_style_get_selector_part", (void*) &lv_obj_style_get_selector_part, "i", "(lv_style_selector)" }, - { "obj_style_get_selector_state", (void*) &lv_obj_style_get_selector_state, "i", "(lv_style_selector)" }, - { "refr_now", (void*) &lv_refr_now, "", "(lv_disp)" }, - { "scr_act", (void*) &lv_scr_act, "lv_obj", "" }, - { "scr_load", (void*) &lv_scr_load, "", "(lv_obj)" }, - { "scr_load_anim", (void*) &lv_scr_load_anim, "", "(lv_obj)iiib" }, - { "theme_apply", (void*) &lv_theme_apply, "", "(lv_obj)" }, - { "theme_get_color_primary", (void*) &lv_theme_get_color_primary, "lv_color", "(lv_obj)" }, - { "theme_get_color_secondary", (void*) &lv_theme_get_color_secondary, "lv_color", "(lv_obj)" }, - { "theme_get_font_large", (void*) &lv_theme_get_font_large, "lv_font", "(lv_obj)" }, - { "theme_get_font_normal", (void*) &lv_theme_get_font_normal, "lv_font", "(lv_obj)" }, - { "theme_get_font_small", (void*) &lv_theme_get_font_small, "lv_font", "(lv_obj)" }, - { "theme_set_apply_cb", (void*) &lv_theme_set_apply_cb, "", "(lv_theme)^lv_theme_apply_cb^" }, - { "theme_set_parent", (void*) &lv_theme_set_parent, "", "(lv_theme)(lv_theme)" }, + { "obj_event_base", (void*) &lv_obj_event_base, "i", "(lv.lv_obj_class)(lv.lv_event)" }, + { "obj_report_style_change", (void*) &lv_obj_report_style_change, "", "(lv.lv_style)" }, + { "obj_style_get_selector_part", (void*) &lv_obj_style_get_selector_part, "i", "(lv.lv_style_selector)" }, + { "obj_style_get_selector_state", (void*) &lv_obj_style_get_selector_state, "i", "(lv.lv_style_selector)" }, + { "refr_now", (void*) &lv_refr_now, "", "(lv.lv_disp)" }, + { "scr_act", (void*) &lv_scr_act, "lv.lv_obj", "" }, + { "scr_load", (void*) &lv_scr_load, "", "(lv.lv_obj)" }, + { "scr_load_anim", (void*) &lv_scr_load_anim, "", "(lv.lv_obj)iiib" }, + { "theme_apply", (void*) &lv_theme_apply, "", "(lv.lv_obj)" }, + { "theme_get_color_primary", (void*) &lv_theme_get_color_primary, "lv.lv_color", "(lv.lv_obj)" }, + { "theme_get_color_secondary", (void*) &lv_theme_get_color_secondary, "lv.lv_color", "(lv.lv_obj)" }, + { "theme_get_font_large", (void*) &lv_theme_get_font_large, "lv.lv_font", "(lv.lv_obj)" }, + { "theme_get_font_normal", (void*) &lv_theme_get_font_normal, "lv.lv_font", "(lv.lv_obj)" }, + { "theme_get_font_small", (void*) &lv_theme_get_font_small, "lv.lv_font", "(lv.lv_obj)" }, + { "theme_set_apply_cb", (void*) &lv_theme_set_apply_cb, "", "(lv.lv_theme)^lv_theme_apply_cb^" }, + { "theme_set_parent", (void*) &lv_theme_set_parent, "", "(lv.lv_theme)(lv.lv_theme)" }, }; const size_t lv_func_size = sizeof(lv_func) / sizeof(lv_func[0]); @@ -177,23 +177,23 @@ const be_constint_t lv0_constants[] = { { "COLORWHEEL_MODE_HUE", LV_COLORWHEEL_MODE_HUE }, { "COLORWHEEL_MODE_SATURATION", LV_COLORWHEEL_MODE_SATURATION }, { "COLORWHEEL_MODE_VALUE", LV_COLORWHEEL_MODE_VALUE }, - { "COLOR_AQUA", 65535 }, - { "COLOR_BLACK", 0 }, - { "COLOR_BLUE", 255 }, - { "COLOR_CYAN", 65535 }, - { "COLOR_GRAY", 8421504 }, - { "COLOR_GREEN", 32768 }, - { "COLOR_LIME", 65280 }, - { "COLOR_MAGENTA", 16711935 }, - { "COLOR_MAROON", 8388608 }, - { "COLOR_NAVY", 128 }, - { "COLOR_OLIVE", 8421376 }, - { "COLOR_PURPLE", 8388736 }, - { "COLOR_RED", 16711680 }, - { "COLOR_SILVER", 12632256 }, - { "COLOR_TEAL", 32896 }, - { "COLOR_WHITE", 16777215 }, - { "COLOR_YELLOW", 16776960 }, + { "COLOR_AQUA", (int32_t) 0x00FFFF }, + { "COLOR_BLACK", (int32_t) 0x000000 }, + { "COLOR_BLUE", (int32_t) 0x0000FF }, + { "COLOR_CYAN", (int32_t) 0x00FFFF }, + { "COLOR_GRAY", (int32_t) 0x808080 }, + { "COLOR_GREEN", (int32_t) 0x008000 }, + { "COLOR_LIME", (int32_t) 0x00FF00 }, + { "COLOR_MAGENTA", (int32_t) 0xFF00FF }, + { "COLOR_MAROON", (int32_t) 0x800000 }, + { "COLOR_NAVY", (int32_t) 0x000080 }, + { "COLOR_OLIVE", (int32_t) 0x808000 }, + { "COLOR_PURPLE", (int32_t) 0x800080 }, + { "COLOR_RED", (int32_t) 0xFF0000 }, + { "COLOR_SILVER", (int32_t) 0xC0C0C0 }, + { "COLOR_TEAL", (int32_t) 0x008080 }, + { "COLOR_WHITE", (int32_t) 0xFFFFFF }, + { "COLOR_YELLOW", (int32_t) 0xFFFF00 }, { "COVER_RES_COVER", LV_COVER_RES_COVER }, { "COVER_RES_MASKED", LV_COVER_RES_MASKED }, { "COVER_RES_NOT_COVER", LV_COVER_RES_NOT_COVER }, @@ -573,6 +573,65 @@ const be_constint_t lv0_constants[] = { { "STYLE_WIDTH", LV_STYLE_WIDTH }, { "STYLE_X", LV_STYLE_X }, { "STYLE_Y", LV_STYLE_Y }, + { "$SYMBOL_AUDIO", (int32_t) "\xef\x80\x81" }, + { "$SYMBOL_BACKSPACE", (int32_t) "\xef\x95\x9A" }, + { "$SYMBOL_BATTERY_1", (int32_t) "\xef\x89\x83" }, + { "$SYMBOL_BATTERY_2", (int32_t) "\xef\x89\x82" }, + { "$SYMBOL_BATTERY_3", (int32_t) "\xef\x89\x81" }, + { "$SYMBOL_BATTERY_EMPTY", (int32_t) "\xef\x89\x84" }, + { "$SYMBOL_BATTERY_FULL", (int32_t) "\xef\x89\x80" }, + { "$SYMBOL_BELL", (int32_t) "\xef\x83\xb3" }, + { "$SYMBOL_BLUETOOTH", (int32_t) "\xef\x8a\x93" }, + { "$SYMBOL_BULLET", (int32_t) "\xE2\x80\xA2" }, + { "$SYMBOL_CALL", (int32_t) "\xef\x82\x95" }, + { "$SYMBOL_CHARGE", (int32_t) "\xef\x83\xa7" }, + { "$SYMBOL_CLOSE", (int32_t) "\xef\x80\x8d" }, + { "$SYMBOL_COPY", (int32_t) "\xef\x83\x85" }, + { "$SYMBOL_CUT", (int32_t) "\xef\x83\x84" }, + { "$SYMBOL_DIRECTORY", (int32_t) "\xef\x81\xbb" }, + { "$SYMBOL_DOWN", (int32_t) "\xef\x81\xb8" }, + { "$SYMBOL_DOWNLOAD", (int32_t) "\xef\x80\x99" }, + { "$SYMBOL_DRIVE", (int32_t) "\xef\x80\x9c" }, + { "$SYMBOL_DUMMY", (int32_t) "\xEF\xA3\xBF" }, + { "$SYMBOL_EDIT", (int32_t) "\xef\x8C\x84" }, + { "$SYMBOL_EJECT", (int32_t) "\xef\x81\x92" }, + { "$SYMBOL_EYE_CLOSE", (int32_t) "\xef\x81\xb0" }, + { "$SYMBOL_EYE_OPEN", (int32_t) "\xef\x81\xae" }, + { "$SYMBOL_FILE", (int32_t) "\xef\x85\x9b" }, + { "$SYMBOL_GPS", (int32_t) "\xef\x84\xa4" }, + { "$SYMBOL_HOME", (int32_t) "\xef\x80\x95" }, + { "$SYMBOL_IMAGE", (int32_t) "\xef\x80\xbe" }, + { "$SYMBOL_KEYBOARD", (int32_t) "\xef\x84\x9c" }, + { "$SYMBOL_LEFT", (int32_t) "\xef\x81\x93" }, + { "$SYMBOL_LIST", (int32_t) "\xef\x80\x8b" }, + { "$SYMBOL_LOOP", (int32_t) "\xef\x81\xb9" }, + { "$SYMBOL_MINUS", (int32_t) "\xef\x81\xa8" }, + { "$SYMBOL_MUTE", (int32_t) "\xef\x80\xa6" }, + { "$SYMBOL_NEW_LINE", (int32_t) "\xef\xA2\xA2" }, + { "$SYMBOL_NEXT", (int32_t) "\xef\x81\x91" }, + { "$SYMBOL_OK", (int32_t) "\xef\x80\x8c" }, + { "$SYMBOL_PASTE", (int32_t) "\xef\x83\xAA" }, + { "$SYMBOL_PAUSE", (int32_t) "\xef\x81\x8c" }, + { "$SYMBOL_PLAY", (int32_t) "\xef\x81\x8b" }, + { "$SYMBOL_PLUS", (int32_t) "\xef\x81\xa7" }, + { "$SYMBOL_POWER", (int32_t) "\xef\x80\x91" }, + { "$SYMBOL_PREV", (int32_t) "\xef\x81\x88" }, + { "$SYMBOL_REFRESH", (int32_t) "\xef\x80\xa1" }, + { "$SYMBOL_RIGHT", (int32_t) "\xef\x81\x94" }, + { "$SYMBOL_SAVE", (int32_t) "\xef\x83\x87" }, + { "$SYMBOL_SD_CARD", (int32_t) "\xef\x9F\x82" }, + { "$SYMBOL_SETTINGS", (int32_t) "\xef\x80\x93" }, + { "$SYMBOL_SHUFFLE", (int32_t) "\xef\x81\xb4" }, + { "$SYMBOL_STOP", (int32_t) "\xef\x81\x8d" }, + { "$SYMBOL_TRASH", (int32_t) "\xef\x8B\xAD" }, + { "$SYMBOL_UP", (int32_t) "\xef\x81\xb7" }, + { "$SYMBOL_UPLOAD", (int32_t) "\xef\x82\x93" }, + { "$SYMBOL_USB", (int32_t) "\xef\x8a\x87" }, + { "$SYMBOL_VIDEO", (int32_t) "\xef\x80\x88" }, + { "$SYMBOL_VOLUME_MAX", (int32_t) "\xef\x80\xa8" }, + { "$SYMBOL_VOLUME_MID", (int32_t) "\xef\x80\xa7" }, + { "$SYMBOL_WARNING", (int32_t) "\xef\x81\xb1" }, + { "$SYMBOL_WIFI", (int32_t) "\xef\x87\xab" }, { "TABLE_CELL_CTRL_CUSTOM_1", LV_TABLE_CELL_CTRL_CUSTOM_1 }, { "TABLE_CELL_CTRL_CUSTOM_2", LV_TABLE_CELL_CTRL_CUSTOM_2 }, { "TABLE_CELL_CTRL_CUSTOM_3", LV_TABLE_CELL_CTRL_CUSTOM_3 }, @@ -594,153 +653,27 @@ const be_constint_t lv0_constants[] = { { "TEXT_FLAG_FIT", LV_TEXT_FLAG_FIT }, { "TEXT_FLAG_NONE", LV_TEXT_FLAG_NONE }, { "TEXT_FLAG_RECOLOR", LV_TEXT_FLAG_RECOLOR }, + { "&load_font", (int32_t) &lv0_load_font }, + { "&load_freetype_font", (int32_t) &lv0_load_freetype_font }, + { "&montserrat_font", (int32_t) &lv0_load_montserrat_font }, + { "®ister_button_encoder", (int32_t) &lv0_register_button_encoder }, + { "&screenshot", (int32_t) &lv0_screenshot }, + { "&seg7_font", (int32_t) &lv0_load_seg7_font }, }; const size_t lv0_constants_size = sizeof(lv0_constants)/sizeof(lv0_constants[0]); -be_define_local_const_str(SYMBOL_AUDIO, "\xef\x80\x81", 0, 3); -be_define_local_const_str(SYMBOL_VIDEO, "\xef\x80\x88", 0, 3); -be_define_local_const_str(SYMBOL_LIST, "\xef\x80\x8b", 0, 3); -be_define_local_const_str(SYMBOL_OK, "\xef\x80\x8c", 0, 3); -be_define_local_const_str(SYMBOL_CLOSE, "\xef\x80\x8d", 0, 3); -be_define_local_const_str(SYMBOL_POWER, "\xef\x80\x91", 0, 3); -be_define_local_const_str(SYMBOL_SETTINGS, "\xef\x80\x93", 0, 3); -be_define_local_const_str(SYMBOL_HOME, "\xef\x80\x95", 0, 3); -be_define_local_const_str(SYMBOL_DOWNLOAD, "\xef\x80\x99", 0, 3); -be_define_local_const_str(SYMBOL_DRIVE, "\xef\x80\x9c", 0, 3); -be_define_local_const_str(SYMBOL_REFRESH, "\xef\x80\xa1", 0, 3); -be_define_local_const_str(SYMBOL_MUTE, "\xef\x80\xa6", 0, 3); -be_define_local_const_str(SYMBOL_VOLUME_MID, "\xef\x80\xa7", 0, 3); -be_define_local_const_str(SYMBOL_VOLUME_MAX, "\xef\x80\xa8", 0, 3); -be_define_local_const_str(SYMBOL_IMAGE, "\xef\x80\xbe", 0, 3); -be_define_local_const_str(SYMBOL_EDIT, "\xef\x8C\x84", 0, 3); -be_define_local_const_str(SYMBOL_PREV, "\xef\x81\x88", 0, 3); -be_define_local_const_str(SYMBOL_PLAY, "\xef\x81\x8b", 0, 3); -be_define_local_const_str(SYMBOL_PAUSE, "\xef\x81\x8c", 0, 3); -be_define_local_const_str(SYMBOL_STOP, "\xef\x81\x8d", 0, 3); -be_define_local_const_str(SYMBOL_NEXT, "\xef\x81\x91", 0, 3); -be_define_local_const_str(SYMBOL_EJECT, "\xef\x81\x92", 0, 3); -be_define_local_const_str(SYMBOL_LEFT, "\xef\x81\x93", 0, 3); -be_define_local_const_str(SYMBOL_RIGHT, "\xef\x81\x94", 0, 3); -be_define_local_const_str(SYMBOL_PLUS, "\xef\x81\xa7", 0, 3); -be_define_local_const_str(SYMBOL_MINUS, "\xef\x81\xa8", 0, 3); -be_define_local_const_str(SYMBOL_EYE_OPEN, "\xef\x81\xae", 0, 3); -be_define_local_const_str(SYMBOL_EYE_CLOSE, "\xef\x81\xb0", 0, 3); -be_define_local_const_str(SYMBOL_WARNING, "\xef\x81\xb1", 0, 3); -be_define_local_const_str(SYMBOL_SHUFFLE, "\xef\x81\xb4", 0, 3); -be_define_local_const_str(SYMBOL_UP, "\xef\x81\xb7", 0, 3); -be_define_local_const_str(SYMBOL_DOWN, "\xef\x81\xb8", 0, 3); -be_define_local_const_str(SYMBOL_LOOP, "\xef\x81\xb9", 0, 3); -be_define_local_const_str(SYMBOL_DIRECTORY, "\xef\x81\xbb", 0, 3); -be_define_local_const_str(SYMBOL_UPLOAD, "\xef\x82\x93", 0, 3); -be_define_local_const_str(SYMBOL_CALL, "\xef\x82\x95", 0, 3); -be_define_local_const_str(SYMBOL_CUT, "\xef\x83\x84", 0, 3); -be_define_local_const_str(SYMBOL_COPY, "\xef\x83\x85", 0, 3); -be_define_local_const_str(SYMBOL_SAVE, "\xef\x83\x87", 0, 3); -be_define_local_const_str(SYMBOL_CHARGE, "\xef\x83\xa7", 0, 3); -be_define_local_const_str(SYMBOL_PASTE, "\xef\x83\xAA", 0, 3); -be_define_local_const_str(SYMBOL_BELL, "\xef\x83\xb3", 0, 3); -be_define_local_const_str(SYMBOL_KEYBOARD, "\xef\x84\x9c", 0, 3); -be_define_local_const_str(SYMBOL_GPS, "\xef\x84\xa4", 0, 3); -be_define_local_const_str(SYMBOL_FILE, "\xef\x85\x9b", 0, 3); -be_define_local_const_str(SYMBOL_WIFI, "\xef\x87\xab", 0, 3); -be_define_local_const_str(SYMBOL_BATTERY_FULL, "\xef\x89\x80", 0, 3); -be_define_local_const_str(SYMBOL_BATTERY_3, "\xef\x89\x81", 0, 3); -be_define_local_const_str(SYMBOL_BATTERY_2, "\xef\x89\x82", 0, 3); -be_define_local_const_str(SYMBOL_BATTERY_1, "\xef\x89\x83", 0, 3); -be_define_local_const_str(SYMBOL_BATTERY_EMPTY, "\xef\x89\x84", 0, 3); -be_define_local_const_str(SYMBOL_USB, "\xef\x8a\x87", 0, 3); -be_define_local_const_str(SYMBOL_BLUETOOTH, "\xef\x8a\x93", 0, 3); -be_define_local_const_str(SYMBOL_TRASH, "\xef\x8B\xAD", 0, 3); -be_define_local_const_str(SYMBOL_BACKSPACE, "\xef\x95\x9A", 0, 3); -be_define_local_const_str(SYMBOL_SD_CARD, "\xef\x9F\x82", 0, 3); -be_define_local_const_str(SYMBOL_NEW_LINE, "\xef\xA2\xA2", 0, 3); - -be_define_local_const_str(SYMBOL_DUMMY, "\xEF\xA3\xBF", 0, 3); - -be_define_local_const_str(SYMBOL_BULLET, "\xE2\x80\xA2", 0, 3); - - -/* @const_object_info_begin -module lvgl (scope: global) { - SYMBOL_AUDIO, str(&be_local_const_str_SYMBOL_AUDIO) - SYMBOL_VIDEO, str(&be_local_const_str_SYMBOL_VIDEO) - SYMBOL_LIST, str(&be_local_const_str_SYMBOL_LIST) - SYMBOL_OK, str(&be_local_const_str_SYMBOL_OK) - SYMBOL_CLOSE, str(&be_local_const_str_SYMBOL_CLOSE) - SYMBOL_POWER, str(&be_local_const_str_SYMBOL_POWER) - SYMBOL_SETTINGS, str(&be_local_const_str_SYMBOL_SETTINGS) - SYMBOL_HOME, str(&be_local_const_str_SYMBOL_HOME) - SYMBOL_DOWNLOAD, str(&be_local_const_str_SYMBOL_DOWNLOAD) - SYMBOL_DRIVE, str(&be_local_const_str_SYMBOL_DRIVE) - SYMBOL_REFRESH, str(&be_local_const_str_SYMBOL_REFRESH) - SYMBOL_MUTE, str(&be_local_const_str_SYMBOL_MUTE) - SYMBOL_VOLUME_MID, str(&be_local_const_str_SYMBOL_VOLUME_MID) - SYMBOL_VOLUME_MAX, str(&be_local_const_str_SYMBOL_VOLUME_MAX) - SYMBOL_IMAGE, str(&be_local_const_str_SYMBOL_IMAGE) - SYMBOL_EDIT, str(&be_local_const_str_SYMBOL_EDIT) - SYMBOL_PREV, str(&be_local_const_str_SYMBOL_PREV) - SYMBOL_PLAY, str(&be_local_const_str_SYMBOL_PLAY) - SYMBOL_PAUSE, str(&be_local_const_str_SYMBOL_PAUSE) - SYMBOL_STOP, str(&be_local_const_str_SYMBOL_STOP) - SYMBOL_NEXT, str(&be_local_const_str_SYMBOL_NEXT) - SYMBOL_EJECT, str(&be_local_const_str_SYMBOL_EJECT) - SYMBOL_LEFT, str(&be_local_const_str_SYMBOL_LEFT) - SYMBOL_RIGHT, str(&be_local_const_str_SYMBOL_RIGHT) - SYMBOL_PLUS, str(&be_local_const_str_SYMBOL_PLUS) - SYMBOL_MINUS, str(&be_local_const_str_SYMBOL_MINUS) - SYMBOL_EYE_OPEN, str(&be_local_const_str_SYMBOL_EYE_OPEN) - SYMBOL_EYE_CLOSE, str(&be_local_const_str_SYMBOL_EYE_CLOSE) - SYMBOL_WARNING, str(&be_local_const_str_SYMBOL_WARNING) - SYMBOL_SHUFFLE, str(&be_local_const_str_SYMBOL_SHUFFLE) - SYMBOL_UP, str(&be_local_const_str_SYMBOL_UP) - SYMBOL_DOWN, str(&be_local_const_str_SYMBOL_DOWN) - SYMBOL_LOOP, str(&be_local_const_str_SYMBOL_LOOP) - SYMBOL_DIRECTORY, str(&be_local_const_str_SYMBOL_DIRECTORY) - SYMBOL_UPLOAD, str(&be_local_const_str_SYMBOL_UPLOAD) - SYMBOL_CALL, str(&be_local_const_str_SYMBOL_CALL) - SYMBOL_CUT, str(&be_local_const_str_SYMBOL_CUT) - SYMBOL_COPY, str(&be_local_const_str_SYMBOL_COPY) - SYMBOL_SAVE, str(&be_local_const_str_SYMBOL_SAVE) - SYMBOL_CHARGE, str(&be_local_const_str_SYMBOL_CHARGE) - SYMBOL_PASTE, str(&be_local_const_str_SYMBOL_PASTE) - SYMBOL_BELL, str(&be_local_const_str_SYMBOL_BELL) - SYMBOL_KEYBOARD, str(&be_local_const_str_SYMBOL_KEYBOARD) - SYMBOL_GPS, str(&be_local_const_str_SYMBOL_GPS) - SYMBOL_FILE, str(&be_local_const_str_SYMBOL_FILE) - SYMBOL_WIFI, str(&be_local_const_str_SYMBOL_WIFI) - SYMBOL_BATTERY_FULL, str(&be_local_const_str_SYMBOL_BATTERY_FULL) - SYMBOL_BATTERY_3, str(&be_local_const_str_SYMBOL_BATTERY_3) - SYMBOL_BATTERY_2, str(&be_local_const_str_SYMBOL_BATTERY_2) - SYMBOL_BATTERY_1, str(&be_local_const_str_SYMBOL_BATTERY_1) - SYMBOL_BATTERY_EMPTY, str(&be_local_const_str_SYMBOL_BATTERY_EMPTY) - SYMBOL_USB, str(&be_local_const_str_SYMBOL_USB) - SYMBOL_BLUETOOTH, str(&be_local_const_str_SYMBOL_BLUETOOTH) - SYMBOL_TRASH, str(&be_local_const_str_SYMBOL_TRASH) - SYMBOL_BACKSPACE, str(&be_local_const_str_SYMBOL_BACKSPACE) - SYMBOL_SD_CARD, str(&be_local_const_str_SYMBOL_SD_CARD) - SYMBOL_NEW_LINE, str(&be_local_const_str_SYMBOL_NEW_LINE) - - SYMBOL_DUMMY, str(&be_local_const_str_SYMBOL_DUMMY) - - SYMBOL_BULLET, str(&be_local_const_str_SYMBOL_BULLET) - - - member, func(lv0_member) - start, func(lv0_start) - - register_button_encoder, func(lv0_register_button_encoder) - - montserrat_font, func(lv0_load_montserrat_font) - seg7_font, func(lv0_load_seg7_font) - load_font, func(lv0_load_font) - load_freetype_font, func(lv0_load_freetype_font) - - screenshot, func(lv0_screenshot) -} -@const_object_info_end */ -#include "../generate/be_fixed_lvgl.h" +/* generated */ +be_local_module(lv, + "lv", + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("member", 719708611, 6, -1), be_const_func(lv0_member) }, + { be_nested_key("start", 1697318111, 5, 0), be_const_func(lv0_start) }, + })) +); +BE_EXPORT_VARIABLE be_define_const_native_module(lv, NULL); #endif // USE_LVGL diff --git a/lib/libesp32/Berry/default/be_lvgl_signal_arcs_lib.c b/lib/libesp32/Berry/default/be_lvgl_signal_arcs_lib.c index c74b25481..496ef4aa1 100644 --- a/lib/libesp32/Berry/default/be_lvgl_signal_arcs_lib.c +++ b/lib/libesp32/Berry/default/be_lvgl_signal_arcs_lib.c @@ -70,16 +70,16 @@ be_local_closure(init, /* name */ /* K1 */ be_nested_string("create_custom_widget", 1140594778, 20), /* K2 */ be_nested_string("percentage", -1756136011, 10), /* K3 */ be_nested_string("p1", -1605446022, 2), - /* K4 */ be_nested_string("lv_point", -174745506, 8), - /* K5 */ be_nested_string("p2", -1622223641, 2), - /* K6 */ be_nested_string("area", -1693507260, 4), - /* K7 */ be_nested_string("lv_area", -1773816895, 7), + /* K4 */ be_nested_string("lv", 1529997255, 2), + /* K5 */ be_nested_string("point", 414084241, 5), + /* K6 */ be_nested_string("p2", -1622223641, 2), + /* K7 */ be_nested_string("area", -1693507260, 4), /* K8 */ be_nested_string("line_dsc", -200476318, 8), - /* K9 */ be_nested_string("lv_draw_line_dsc", -1872162060, 16), + /* K9 */ be_nested_string("draw_line_dsc", -74291093, 13), }), (be_nested_const_str("init", 380752755, 4)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[20]) { /* code */ + ( &(const binstruction[24]) { /* code */ 0xB80A0000, // 0000 GETNGBL R2 K0 0x8C080501, // 0001 GETMET R2 R2 K1 0x5C100000, // 0002 MOVE R4 R0 @@ -88,18 +88,22 @@ be_local_closure(init, /* name */ 0x540A0063, // 0005 LDINT R2 100 0x90020402, // 0006 SETMBR R0 K2 R2 0xB80A0800, // 0007 GETNGBL R2 K4 - 0x7C080000, // 0008 CALL R2 0 - 0x90020602, // 0009 SETMBR R0 K3 R2 - 0xB80A0800, // 000A GETNGBL R2 K4 - 0x7C080000, // 000B CALL R2 0 - 0x90020A02, // 000C SETMBR R0 K5 R2 - 0xB80A0E00, // 000D GETNGBL R2 K7 - 0x7C080000, // 000E CALL R2 0 - 0x90020C02, // 000F SETMBR R0 K6 R2 - 0xB80A1200, // 0010 GETNGBL R2 K9 - 0x7C080000, // 0011 CALL R2 0 - 0x90021002, // 0012 SETMBR R0 K8 R2 - 0x80000000, // 0013 RET 0 + 0x8C080505, // 0008 GETMET R2 R2 K5 + 0x7C080200, // 0009 CALL R2 1 + 0x90020602, // 000A SETMBR R0 K3 R2 + 0xB80A0800, // 000B GETNGBL R2 K4 + 0x8C080505, // 000C GETMET R2 R2 K5 + 0x7C080200, // 000D CALL R2 1 + 0x90020C02, // 000E SETMBR R0 K6 R2 + 0xB80A0800, // 000F GETNGBL R2 K4 + 0x8C080507, // 0010 GETMET R2 R2 K7 + 0x7C080200, // 0011 CALL R2 1 + 0x90020E02, // 0012 SETMBR R0 K7 R2 + 0xB80A0800, // 0013 GETNGBL R2 K4 + 0x8C080509, // 0014 GETMET R2 R2 K9 + 0x7C080200, // 0015 CALL R2 1 + 0x90021002, // 0016 SETMBR R0 K8 R2 + 0x80000000, // 0017 RET 0 }) ) ); @@ -143,7 +147,7 @@ be_local_closure(widget_event, /* name */ ), }), 1, /* has constants */ - ( &(const bvalue[36]) { /* constants */ + ( &(const bvalue[35]) { /* constants */ /* K0 */ be_nested_string("lv", 1529997255, 2), /* K1 */ be_nested_string("obj_event_base", 1624064363, 14), /* K2 */ be_nested_string("RES_OK", 1233817284, 6), @@ -154,36 +158,35 @@ be_local_closure(widget_event, /* name */ /* K7 */ be_const_int(2), /* K8 */ be_const_int(3), /* K9 */ be_nested_string("EVENT_DRAW_MAIN", 1955620614, 15), - /* K10 */ be_nested_string("lv_area", -1773816895, 7), + /* K10 */ be_nested_string("area", -1693507260, 4), /* K11 */ be_nested_string("param", 1309554226, 5), /* K12 */ be_nested_string("get_coords", 1044089006, 10), - /* K13 */ be_nested_string("area", -1693507260, 4), - /* K14 */ be_nested_string("x1", 274927234, 2), - /* K15 */ be_nested_string("y1", -1939865569, 2), - /* K16 */ be_nested_string("draw_line_dsc_init", -428273650, 18), - /* K17 */ be_nested_string("line_dsc", -200476318, 8), - /* K18 */ be_nested_string("init_draw_line_dsc", -1787031256, 18), - /* K19 */ be_nested_string("PART_MAIN", -1821475788, 9), - /* K20 */ be_nested_string("round_start", -1345482912, 11), - /* K21 */ be_const_int(1), - /* K22 */ be_nested_string("round_end", 985288225, 9), - /* K23 */ be_nested_string("width", -1786286561, 5), - /* K24 */ be_nested_string("get_style_line_color", 805371932, 20), - /* K25 */ be_nested_string("STATE_DEFAULT", 712406428, 13), - /* K26 */ be_nested_string("get_style_bg_color", 964794381, 18), - /* K27 */ be_nested_string("deg", -967213025, 3), - /* K28 */ be_nested_string("acos", 1006755615, 4), - /* K29 */ be_nested_string("p1", -1605446022, 2), - /* K30 */ be_nested_string("x", -49524601, 1), - /* K31 */ be_nested_string("y", -66302220, 1), - /* K32 */ be_nested_string("color", 1031692888, 5), - /* K33 */ be_nested_string("percentage", -1756136011, 10), - /* K34 */ be_nested_string("draw_arc", 1828251676, 8), - /* K35 */ be_const_int(0), + /* K13 */ be_nested_string("x1", 274927234, 2), + /* K14 */ be_nested_string("y1", -1939865569, 2), + /* K15 */ be_nested_string("draw_line_dsc_init", -428273650, 18), + /* K16 */ be_nested_string("line_dsc", -200476318, 8), + /* K17 */ be_nested_string("init_draw_line_dsc", -1787031256, 18), + /* K18 */ be_nested_string("PART_MAIN", -1821475788, 9), + /* K19 */ be_nested_string("round_start", -1345482912, 11), + /* K20 */ be_const_int(1), + /* K21 */ be_nested_string("round_end", 985288225, 9), + /* K22 */ be_nested_string("width", -1786286561, 5), + /* K23 */ be_nested_string("get_style_line_color", 805371932, 20), + /* K24 */ be_nested_string("STATE_DEFAULT", 712406428, 13), + /* K25 */ be_nested_string("get_style_bg_color", 964794381, 18), + /* K26 */ be_nested_string("deg", -967213025, 3), + /* K27 */ be_nested_string("acos", 1006755615, 4), + /* K28 */ be_nested_string("p1", -1605446022, 2), + /* K29 */ be_nested_string("x", -49524601, 1), + /* K30 */ be_nested_string("y", -66302220, 1), + /* K31 */ be_nested_string("color", 1031692888, 5), + /* K32 */ be_nested_string("percentage", -1756136011, 10), + /* K33 */ be_nested_string("draw_arc", 1828251676, 8), + /* K34 */ be_const_int(0), }), (be_nested_const_str("widget_event", 1951408186, 12)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[181]) { /* code */ + ( &(const binstruction[182]) { /* code */ 0xB80E0000, // 0000 GETNGBL R3 K0 0x8C0C0701, // 0001 GETMET R3 R3 K1 0x5C140200, // 0002 MOVE R5 R1 @@ -214,157 +217,158 @@ be_local_closure(widget_event, /* name */ 0xB82E0000, // 001B GETNGBL R11 K0 0x882C1709, // 001C GETMBR R11 R11 K9 0x1C2C060B, // 001D EQ R11 R3 R11 - 0x782E0094, // 001E JMPF R11 #00B4 - 0xB82E1400, // 001F GETNGBL R11 K10 - 0x8830050B, // 0020 GETMBR R12 R2 K11 - 0x7C2C0200, // 0021 CALL R11 1 - 0x8C30010C, // 0022 GETMET R12 R0 K12 - 0x8838010D, // 0023 GETMBR R14 R0 K13 - 0x7C300400, // 0024 CALL R12 2 - 0x8830010D, // 0025 GETMBR R12 R0 K13 - 0x8830190E, // 0026 GETMBR R12 R12 K14 - 0x8834010D, // 0027 GETMBR R13 R0 K13 - 0x88341B0F, // 0028 GETMBR R13 R13 K15 - 0xB83A0000, // 0029 GETNGBL R14 K0 - 0x8C381D10, // 002A GETMET R14 R14 K16 - 0x88400111, // 002B GETMBR R16 R0 K17 - 0x7C380400, // 002C CALL R14 2 - 0x8C380112, // 002D GETMET R14 R0 K18 - 0xB8420000, // 002E GETNGBL R16 K0 - 0x88402113, // 002F GETMBR R16 R16 K19 - 0x88440111, // 0030 GETMBR R17 R0 K17 - 0x7C380600, // 0031 CALL R14 3 - 0x88380111, // 0032 GETMBR R14 R0 K17 - 0x903A2915, // 0033 SETMBR R14 K20 K21 - 0x88380111, // 0034 GETMBR R14 R0 K17 - 0x903A2D15, // 0035 SETMBR R14 K22 K21 - 0x88380111, // 0036 GETMBR R14 R0 K17 - 0x083C1308, // 0037 MUL R15 R9 K8 - 0x003C1F15, // 0038 ADD R15 R15 K21 - 0x54420003, // 0039 LDINT R16 4 - 0x0C3C1E10, // 003A DIV R15 R15 R16 - 0x903A2E0F, // 003B SETMBR R14 K23 R15 - 0x8C380118, // 003C GETMET R14 R0 K24 - 0xB8420000, // 003D GETNGBL R16 K0 - 0x88402113, // 003E GETMBR R16 R16 K19 - 0xB8460000, // 003F GETNGBL R17 K0 - 0x88442319, // 0040 GETMBR R17 R17 K25 - 0x30402011, // 0041 OR R16 R16 R17 - 0x7C380400, // 0042 CALL R14 2 - 0x8C3C011A, // 0043 GETMET R15 R0 K26 - 0xB8460000, // 0044 GETNGBL R17 K0 - 0x88442313, // 0045 GETMBR R17 R17 K19 - 0xB84A0000, // 0046 GETNGBL R18 K0 - 0x88482519, // 0047 GETMBR R18 R18 K25 - 0x30442212, // 0048 OR R17 R17 R18 - 0x7C3C0400, // 0049 CALL R15 2 - 0x04400C09, // 004A SUB R16 R6 R9 - 0x0C440F07, // 004B DIV R17 R7 K7 - 0x0444220A, // 004C SUB R17 R17 R10 - 0x60480009, // 004D GETGBL R18 G9 - 0x544E0059, // 004E LDINT R19 90 - 0x8C50091B, // 004F GETMET R20 R4 K27 - 0x8C58091C, // 0050 GETMET R22 R4 K28 - 0x6060000A, // 0051 GETGBL R24 G10 - 0x5C642200, // 0052 MOVE R25 R17 - 0x7C600200, // 0053 CALL R24 1 - 0x6064000A, // 0054 GETGBL R25 G10 - 0x5C682000, // 0055 MOVE R26 R16 - 0x7C640200, // 0056 CALL R25 1 - 0x0C603019, // 0057 DIV R24 R24 R25 - 0x7C580400, // 0058 CALL R22 2 - 0x7C500400, // 0059 CALL R20 2 - 0x044C2614, // 005A SUB R19 R19 R20 - 0x7C480200, // 005B CALL R18 1 - 0x544E002C, // 005C LDINT R19 45 - 0x244C2413, // 005D GT R19 R18 R19 - 0x784E0000, // 005E JMPF R19 #0060 - 0x544A002C, // 005F LDINT R18 45 - 0x884C011D, // 0060 GETMBR R19 R0 K29 - 0x0C500F07, // 0061 DIV R20 R7 K7 - 0x00501814, // 0062 ADD R20 R12 R20 - 0x904E3C14, // 0063 SETMBR R19 K30 R20 - 0x884C011D, // 0064 GETMBR R19 R0 K29 - 0x00501A06, // 0065 ADD R20 R13 R6 - 0x04502915, // 0066 SUB R20 R20 K21 - 0x0450280A, // 0067 SUB R20 R20 R10 - 0x904E3E14, // 0068 SETMBR R19 K31 R20 - 0x884C0111, // 0069 GETMBR R19 R0 K17 - 0x88500121, // 006A GETMBR R20 R0 K33 - 0x54560018, // 006B LDINT R21 25 - 0x28502815, // 006C GE R20 R20 R21 - 0x78520001, // 006D JMPF R20 #0070 - 0x5C501C00, // 006E MOVE R20 R14 - 0x70020000, // 006F JMP #0071 - 0x5C501E00, // 0070 MOVE R20 R15 - 0x904E4014, // 0071 SETMBR R19 K32 R20 - 0xB84E0000, // 0072 GETNGBL R19 K0 - 0x8C4C2722, // 0073 GETMET R19 R19 K34 - 0x8854011D, // 0074 GETMBR R21 R0 K29 - 0x88542B1E, // 0075 GETMBR R21 R21 K30 - 0x8858011D, // 0076 GETMBR R22 R0 K29 - 0x88582D1F, // 0077 GETMBR R22 R22 K31 - 0x005C1208, // 0078 ADD R23 R9 R8 - 0x085E4617, // 0079 MUL R23 K35 R23 - 0x005C2E0A, // 007A ADD R23 R23 R10 - 0x58600023, // 007B LDCONST R24 K35 - 0x54660167, // 007C LDINT R25 360 - 0x5C681600, // 007D MOVE R26 R11 - 0x886C0111, // 007E GETMBR R27 R0 K17 - 0x7C4C1000, // 007F CALL R19 8 - 0x884C0111, // 0080 GETMBR R19 R0 K17 - 0x88500121, // 0081 GETMBR R20 R0 K33 - 0x54560031, // 0082 LDINT R21 50 - 0x28502815, // 0083 GE R20 R20 R21 - 0x78520001, // 0084 JMPF R20 #0087 - 0x5C501C00, // 0085 MOVE R20 R14 - 0x70020000, // 0086 JMP #0088 - 0x5C501E00, // 0087 MOVE R20 R15 - 0x904E4014, // 0088 SETMBR R19 K32 R20 - 0xB84E0000, // 0089 GETNGBL R19 K0 - 0x8C4C2722, // 008A GETMET R19 R19 K34 - 0x8854011D, // 008B GETMBR R21 R0 K29 - 0x88542B1E, // 008C GETMBR R21 R21 K30 - 0x8858011D, // 008D GETMBR R22 R0 K29 - 0x88582D1F, // 008E GETMBR R22 R22 K31 - 0x005C1208, // 008F ADD R23 R9 R8 - 0x085E2A17, // 0090 MUL R23 K21 R23 - 0x005C2E0A, // 0091 ADD R23 R23 R10 - 0x045C2F15, // 0092 SUB R23 R23 K21 - 0x5462010D, // 0093 LDINT R24 270 - 0x04603012, // 0094 SUB R24 R24 R18 - 0x5466010D, // 0095 LDINT R25 270 - 0x00643212, // 0096 ADD R25 R25 R18 - 0x5C681600, // 0097 MOVE R26 R11 - 0x886C0111, // 0098 GETMBR R27 R0 K17 - 0x7C4C1000, // 0099 CALL R19 8 - 0x884C0111, // 009A GETMBR R19 R0 K17 - 0x88500121, // 009B GETMBR R20 R0 K33 - 0x5456004A, // 009C LDINT R21 75 - 0x28502815, // 009D GE R20 R20 R21 - 0x78520001, // 009E JMPF R20 #00A1 - 0x5C501C00, // 009F MOVE R20 R14 - 0x70020000, // 00A0 JMP #00A2 - 0x5C501E00, // 00A1 MOVE R20 R15 - 0x904E4014, // 00A2 SETMBR R19 K32 R20 - 0xB84E0000, // 00A3 GETNGBL R19 K0 - 0x8C4C2722, // 00A4 GETMET R19 R19 K34 - 0x8854011D, // 00A5 GETMBR R21 R0 K29 - 0x88542B1E, // 00A6 GETMBR R21 R21 K30 - 0x8858011D, // 00A7 GETMBR R22 R0 K29 - 0x88582D1F, // 00A8 GETMBR R22 R22 K31 - 0x005C1208, // 00A9 ADD R23 R9 R8 - 0x085E0E17, // 00AA MUL R23 K7 R23 - 0x005C2E0A, // 00AB ADD R23 R23 R10 - 0x045C2F07, // 00AC SUB R23 R23 K7 - 0x5462010D, // 00AD LDINT R24 270 - 0x04603012, // 00AE SUB R24 R24 R18 - 0x5466010D, // 00AF LDINT R25 270 - 0x00643212, // 00B0 ADD R25 R25 R18 - 0x5C681600, // 00B1 MOVE R26 R11 - 0x886C0111, // 00B2 GETMBR R27 R0 K17 - 0x7C4C1000, // 00B3 CALL R19 8 - 0x80000000, // 00B4 RET 0 + 0x782E0095, // 001E JMPF R11 #00B5 + 0xB82E0000, // 001F GETNGBL R11 K0 + 0x8C2C170A, // 0020 GETMET R11 R11 K10 + 0x8834050B, // 0021 GETMBR R13 R2 K11 + 0x7C2C0400, // 0022 CALL R11 2 + 0x8C30010C, // 0023 GETMET R12 R0 K12 + 0x8838010A, // 0024 GETMBR R14 R0 K10 + 0x7C300400, // 0025 CALL R12 2 + 0x8830010A, // 0026 GETMBR R12 R0 K10 + 0x8830190D, // 0027 GETMBR R12 R12 K13 + 0x8834010A, // 0028 GETMBR R13 R0 K10 + 0x88341B0E, // 0029 GETMBR R13 R13 K14 + 0xB83A0000, // 002A GETNGBL R14 K0 + 0x8C381D0F, // 002B GETMET R14 R14 K15 + 0x88400110, // 002C GETMBR R16 R0 K16 + 0x7C380400, // 002D CALL R14 2 + 0x8C380111, // 002E GETMET R14 R0 K17 + 0xB8420000, // 002F GETNGBL R16 K0 + 0x88402112, // 0030 GETMBR R16 R16 K18 + 0x88440110, // 0031 GETMBR R17 R0 K16 + 0x7C380600, // 0032 CALL R14 3 + 0x88380110, // 0033 GETMBR R14 R0 K16 + 0x903A2714, // 0034 SETMBR R14 K19 K20 + 0x88380110, // 0035 GETMBR R14 R0 K16 + 0x903A2B14, // 0036 SETMBR R14 K21 K20 + 0x88380110, // 0037 GETMBR R14 R0 K16 + 0x083C1308, // 0038 MUL R15 R9 K8 + 0x003C1F14, // 0039 ADD R15 R15 K20 + 0x54420003, // 003A LDINT R16 4 + 0x0C3C1E10, // 003B DIV R15 R15 R16 + 0x903A2C0F, // 003C SETMBR R14 K22 R15 + 0x8C380117, // 003D GETMET R14 R0 K23 + 0xB8420000, // 003E GETNGBL R16 K0 + 0x88402112, // 003F GETMBR R16 R16 K18 + 0xB8460000, // 0040 GETNGBL R17 K0 + 0x88442318, // 0041 GETMBR R17 R17 K24 + 0x30402011, // 0042 OR R16 R16 R17 + 0x7C380400, // 0043 CALL R14 2 + 0x8C3C0119, // 0044 GETMET R15 R0 K25 + 0xB8460000, // 0045 GETNGBL R17 K0 + 0x88442312, // 0046 GETMBR R17 R17 K18 + 0xB84A0000, // 0047 GETNGBL R18 K0 + 0x88482518, // 0048 GETMBR R18 R18 K24 + 0x30442212, // 0049 OR R17 R17 R18 + 0x7C3C0400, // 004A CALL R15 2 + 0x04400C09, // 004B SUB R16 R6 R9 + 0x0C440F07, // 004C DIV R17 R7 K7 + 0x0444220A, // 004D SUB R17 R17 R10 + 0x60480009, // 004E GETGBL R18 G9 + 0x544E0059, // 004F LDINT R19 90 + 0x8C50091A, // 0050 GETMET R20 R4 K26 + 0x8C58091B, // 0051 GETMET R22 R4 K27 + 0x6060000A, // 0052 GETGBL R24 G10 + 0x5C642200, // 0053 MOVE R25 R17 + 0x7C600200, // 0054 CALL R24 1 + 0x6064000A, // 0055 GETGBL R25 G10 + 0x5C682000, // 0056 MOVE R26 R16 + 0x7C640200, // 0057 CALL R25 1 + 0x0C603019, // 0058 DIV R24 R24 R25 + 0x7C580400, // 0059 CALL R22 2 + 0x7C500400, // 005A CALL R20 2 + 0x044C2614, // 005B SUB R19 R19 R20 + 0x7C480200, // 005C CALL R18 1 + 0x544E002C, // 005D LDINT R19 45 + 0x244C2413, // 005E GT R19 R18 R19 + 0x784E0000, // 005F JMPF R19 #0061 + 0x544A002C, // 0060 LDINT R18 45 + 0x884C011C, // 0061 GETMBR R19 R0 K28 + 0x0C500F07, // 0062 DIV R20 R7 K7 + 0x00501814, // 0063 ADD R20 R12 R20 + 0x904E3A14, // 0064 SETMBR R19 K29 R20 + 0x884C011C, // 0065 GETMBR R19 R0 K28 + 0x00501A06, // 0066 ADD R20 R13 R6 + 0x04502914, // 0067 SUB R20 R20 K20 + 0x0450280A, // 0068 SUB R20 R20 R10 + 0x904E3C14, // 0069 SETMBR R19 K30 R20 + 0x884C0110, // 006A GETMBR R19 R0 K16 + 0x88500120, // 006B GETMBR R20 R0 K32 + 0x54560018, // 006C LDINT R21 25 + 0x28502815, // 006D GE R20 R20 R21 + 0x78520001, // 006E JMPF R20 #0071 + 0x5C501C00, // 006F MOVE R20 R14 + 0x70020000, // 0070 JMP #0072 + 0x5C501E00, // 0071 MOVE R20 R15 + 0x904E3E14, // 0072 SETMBR R19 K31 R20 + 0xB84E0000, // 0073 GETNGBL R19 K0 + 0x8C4C2721, // 0074 GETMET R19 R19 K33 + 0x8854011C, // 0075 GETMBR R21 R0 K28 + 0x88542B1D, // 0076 GETMBR R21 R21 K29 + 0x8858011C, // 0077 GETMBR R22 R0 K28 + 0x88582D1E, // 0078 GETMBR R22 R22 K30 + 0x005C1208, // 0079 ADD R23 R9 R8 + 0x085E4417, // 007A MUL R23 K34 R23 + 0x005C2E0A, // 007B ADD R23 R23 R10 + 0x58600022, // 007C LDCONST R24 K34 + 0x54660167, // 007D LDINT R25 360 + 0x5C681600, // 007E MOVE R26 R11 + 0x886C0110, // 007F GETMBR R27 R0 K16 + 0x7C4C1000, // 0080 CALL R19 8 + 0x884C0110, // 0081 GETMBR R19 R0 K16 + 0x88500120, // 0082 GETMBR R20 R0 K32 + 0x54560031, // 0083 LDINT R21 50 + 0x28502815, // 0084 GE R20 R20 R21 + 0x78520001, // 0085 JMPF R20 #0088 + 0x5C501C00, // 0086 MOVE R20 R14 + 0x70020000, // 0087 JMP #0089 + 0x5C501E00, // 0088 MOVE R20 R15 + 0x904E3E14, // 0089 SETMBR R19 K31 R20 + 0xB84E0000, // 008A GETNGBL R19 K0 + 0x8C4C2721, // 008B GETMET R19 R19 K33 + 0x8854011C, // 008C GETMBR R21 R0 K28 + 0x88542B1D, // 008D GETMBR R21 R21 K29 + 0x8858011C, // 008E GETMBR R22 R0 K28 + 0x88582D1E, // 008F GETMBR R22 R22 K30 + 0x005C1208, // 0090 ADD R23 R9 R8 + 0x085E2817, // 0091 MUL R23 K20 R23 + 0x005C2E0A, // 0092 ADD R23 R23 R10 + 0x045C2F14, // 0093 SUB R23 R23 K20 + 0x5462010D, // 0094 LDINT R24 270 + 0x04603012, // 0095 SUB R24 R24 R18 + 0x5466010D, // 0096 LDINT R25 270 + 0x00643212, // 0097 ADD R25 R25 R18 + 0x5C681600, // 0098 MOVE R26 R11 + 0x886C0110, // 0099 GETMBR R27 R0 K16 + 0x7C4C1000, // 009A CALL R19 8 + 0x884C0110, // 009B GETMBR R19 R0 K16 + 0x88500120, // 009C GETMBR R20 R0 K32 + 0x5456004A, // 009D LDINT R21 75 + 0x28502815, // 009E GE R20 R20 R21 + 0x78520001, // 009F JMPF R20 #00A2 + 0x5C501C00, // 00A0 MOVE R20 R14 + 0x70020000, // 00A1 JMP #00A3 + 0x5C501E00, // 00A2 MOVE R20 R15 + 0x904E3E14, // 00A3 SETMBR R19 K31 R20 + 0xB84E0000, // 00A4 GETNGBL R19 K0 + 0x8C4C2721, // 00A5 GETMET R19 R19 K33 + 0x8854011C, // 00A6 GETMBR R21 R0 K28 + 0x88542B1D, // 00A7 GETMBR R21 R21 K29 + 0x8858011C, // 00A8 GETMBR R22 R0 K28 + 0x88582D1E, // 00A9 GETMBR R22 R22 K30 + 0x005C1208, // 00AA ADD R23 R9 R8 + 0x085E0E17, // 00AB MUL R23 K7 R23 + 0x005C2E0A, // 00AC ADD R23 R23 R10 + 0x045C2F07, // 00AD SUB R23 R23 K7 + 0x5462010D, // 00AE LDINT R24 270 + 0x04603012, // 00AF SUB R24 R24 R18 + 0x5466010D, // 00B0 LDINT R25 270 + 0x00643212, // 00B1 ADD R25 R25 R18 + 0x5C681600, // 00B2 MOVE R26 R11 + 0x886C0110, // 00B3 GETMBR R27 R0 K16 + 0x7C4C1000, // 00B4 CALL R19 8 + 0x80000000, // 00B5 RET 0 }) ) ); diff --git a/lib/libesp32/Berry/default/be_lvgl_signal_bars_lib.c b/lib/libesp32/Berry/default/be_lvgl_signal_bars_lib.c index 2bf2afa96..0022034ab 100644 --- a/lib/libesp32/Berry/default/be_lvgl_signal_bars_lib.c +++ b/lib/libesp32/Berry/default/be_lvgl_signal_bars_lib.c @@ -70,16 +70,16 @@ be_local_closure(init, /* name */ /* K1 */ be_nested_string("create_custom_widget", 1140594778, 20), /* K2 */ be_nested_string("percentage", -1756136011, 10), /* K3 */ be_nested_string("p1", -1605446022, 2), - /* K4 */ be_nested_string("lv_point", -174745506, 8), - /* K5 */ be_nested_string("p2", -1622223641, 2), - /* K6 */ be_nested_string("area", -1693507260, 4), - /* K7 */ be_nested_string("lv_area", -1773816895, 7), + /* K4 */ be_nested_string("lv", 1529997255, 2), + /* K5 */ be_nested_string("point", 414084241, 5), + /* K6 */ be_nested_string("p2", -1622223641, 2), + /* K7 */ be_nested_string("area", -1693507260, 4), /* K8 */ be_nested_string("line_dsc", -200476318, 8), - /* K9 */ be_nested_string("lv_draw_line_dsc", -1872162060, 16), + /* K9 */ be_nested_string("draw_line_dsc", -74291093, 13), }), (be_nested_const_str("init", 380752755, 4)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[20]) { /* code */ + ( &(const binstruction[24]) { /* code */ 0xB80A0000, // 0000 GETNGBL R2 K0 0x8C080501, // 0001 GETMET R2 R2 K1 0x5C100000, // 0002 MOVE R4 R0 @@ -88,18 +88,22 @@ be_local_closure(init, /* name */ 0x540A0063, // 0005 LDINT R2 100 0x90020402, // 0006 SETMBR R0 K2 R2 0xB80A0800, // 0007 GETNGBL R2 K4 - 0x7C080000, // 0008 CALL R2 0 - 0x90020602, // 0009 SETMBR R0 K3 R2 - 0xB80A0800, // 000A GETNGBL R2 K4 - 0x7C080000, // 000B CALL R2 0 - 0x90020A02, // 000C SETMBR R0 K5 R2 - 0xB80A0E00, // 000D GETNGBL R2 K7 - 0x7C080000, // 000E CALL R2 0 - 0x90020C02, // 000F SETMBR R0 K6 R2 - 0xB80A1200, // 0010 GETNGBL R2 K9 - 0x7C080000, // 0011 CALL R2 0 - 0x90021002, // 0012 SETMBR R0 K8 R2 - 0x80000000, // 0013 RET 0 + 0x8C080505, // 0008 GETMET R2 R2 K5 + 0x7C080200, // 0009 CALL R2 1 + 0x90020602, // 000A SETMBR R0 K3 R2 + 0xB80A0800, // 000B GETNGBL R2 K4 + 0x8C080505, // 000C GETMET R2 R2 K5 + 0x7C080200, // 000D CALL R2 1 + 0x90020C02, // 000E SETMBR R0 K6 R2 + 0xB80A0800, // 000F GETNGBL R2 K4 + 0x8C080507, // 0010 GETMET R2 R2 K7 + 0x7C080200, // 0011 CALL R2 1 + 0x90020E02, // 0012 SETMBR R0 K7 R2 + 0xB80A0800, // 0013 GETNGBL R2 K4 + 0x8C080509, // 0014 GETMET R2 R2 K9 + 0x7C080200, // 0015 CALL R2 1 + 0x90021002, // 0016 SETMBR R0 K8 R2 + 0x80000000, // 0017 RET 0 }) ) ); @@ -143,7 +147,7 @@ be_local_closure(widget_event, /* name */ ), }), 1, /* has constants */ - ( &(const bvalue[38]) { /* constants */ + ( &(const bvalue[37]) { /* constants */ /* K0 */ be_nested_string("lv", 1529997255, 2), /* K1 */ be_nested_string("obj_event_base", 1624064363, 14), /* K2 */ be_nested_string("RES_OK", 1233817284, 6), @@ -153,39 +157,38 @@ be_local_closure(widget_event, /* name */ /* K6 */ be_const_int(3), /* K7 */ be_const_int(2), /* K8 */ be_nested_string("EVENT_DRAW_MAIN", 1955620614, 15), - /* K9 */ be_nested_string("lv_area", -1773816895, 7), + /* K9 */ be_nested_string("area", -1693507260, 4), /* K10 */ be_nested_string("param", 1309554226, 5), /* K11 */ be_nested_string("get_coords", 1044089006, 10), - /* K12 */ be_nested_string("area", -1693507260, 4), - /* K13 */ be_nested_string("x1", 274927234, 2), - /* K14 */ be_nested_string("y1", -1939865569, 2), - /* K15 */ be_nested_string("draw_line_dsc_init", -428273650, 18), - /* K16 */ be_nested_string("line_dsc", -200476318, 8), - /* K17 */ be_nested_string("init_draw_line_dsc", -1787031256, 18), - /* K18 */ be_nested_string("PART_MAIN", -1821475788, 9), - /* K19 */ be_nested_string("round_start", -1345482912, 11), - /* K20 */ be_const_int(1), - /* K21 */ be_nested_string("round_end", 985288225, 9), - /* K22 */ be_nested_string("width", -1786286561, 5), - /* K23 */ be_nested_string("get_style_line_color", 805371932, 20), - /* K24 */ be_nested_string("STATE_DEFAULT", 712406428, 13), - /* K25 */ be_nested_string("get_style_bg_color", 964794381, 18), - /* K26 */ be_nested_string("event_send", 598925582, 10), - /* K27 */ be_nested_string("EVENT_DRAW_PART_BEGIN", -903102272, 21), - /* K28 */ be_const_int(0), - /* K29 */ be_nested_string("color", 1031692888, 5), - /* K30 */ be_nested_string("percentage", -1756136011, 10), - /* K31 */ be_nested_string("p1", -1605446022, 2), - /* K32 */ be_nested_string("y", -66302220, 1), - /* K33 */ be_nested_string("x", -49524601, 1), - /* K34 */ be_nested_string("p2", -1622223641, 2), - /* K35 */ be_nested_string("draw_line", 1634465686, 9), - /* K36 */ be_nested_string("stop_iteration", -121173395, 14), - /* K37 */ be_nested_string("EVENT_DRAW_PART_END", -993342004, 19), + /* K12 */ be_nested_string("x1", 274927234, 2), + /* K13 */ be_nested_string("y1", -1939865569, 2), + /* K14 */ be_nested_string("draw_line_dsc_init", -428273650, 18), + /* K15 */ be_nested_string("line_dsc", -200476318, 8), + /* K16 */ be_nested_string("init_draw_line_dsc", -1787031256, 18), + /* K17 */ be_nested_string("PART_MAIN", -1821475788, 9), + /* K18 */ be_nested_string("round_start", -1345482912, 11), + /* K19 */ be_const_int(1), + /* K20 */ be_nested_string("round_end", 985288225, 9), + /* K21 */ be_nested_string("width", -1786286561, 5), + /* K22 */ be_nested_string("get_style_line_color", 805371932, 20), + /* K23 */ be_nested_string("STATE_DEFAULT", 712406428, 13), + /* K24 */ be_nested_string("get_style_bg_color", 964794381, 18), + /* K25 */ be_nested_string("event_send", 598925582, 10), + /* K26 */ be_nested_string("EVENT_DRAW_PART_BEGIN", -903102272, 21), + /* K27 */ be_const_int(0), + /* K28 */ be_nested_string("color", 1031692888, 5), + /* K29 */ be_nested_string("percentage", -1756136011, 10), + /* K30 */ be_nested_string("p1", -1605446022, 2), + /* K31 */ be_nested_string("y", -66302220, 1), + /* K32 */ be_nested_string("x", -49524601, 1), + /* K33 */ be_nested_string("p2", -1622223641, 2), + /* K34 */ be_nested_string("draw_line", 1634465686, 9), + /* K35 */ be_nested_string("stop_iteration", -121173395, 14), + /* K36 */ be_nested_string("EVENT_DRAW_PART_END", -993342004, 19), }), (be_nested_const_str("widget_event", 1951408186, 12)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[137]) { /* code */ + ( &(const binstruction[138]) { /* code */ 0xB80E0000, // 0000 GETNGBL R3 K0 0x8C0C0701, // 0001 GETMET R3 R3 K1 0x5C140200, // 0002 MOVE R5 R1 @@ -216,113 +219,114 @@ be_local_closure(widget_event, /* name */ 0xB82A0000, // 001B GETNGBL R10 K0 0x88281508, // 001C GETMBR R10 R10 K8 0x1C28060A, // 001D EQ R10 R3 R10 - 0x782A0068, // 001E JMPF R10 #0088 - 0xB82A1200, // 001F GETNGBL R10 K9 - 0x882C050A, // 0020 GETMBR R11 R2 K10 - 0x7C280200, // 0021 CALL R10 1 - 0x8C2C010B, // 0022 GETMET R11 R0 K11 - 0x8834010C, // 0023 GETMBR R13 R0 K12 - 0x7C2C0400, // 0024 CALL R11 2 - 0x882C010C, // 0025 GETMBR R11 R0 K12 - 0x882C170D, // 0026 GETMBR R11 R11 K13 - 0x8830010C, // 0027 GETMBR R12 R0 K12 - 0x8830190E, // 0028 GETMBR R12 R12 K14 - 0xB8360000, // 0029 GETNGBL R13 K0 - 0x8C341B0F, // 002A GETMET R13 R13 K15 - 0x883C0110, // 002B GETMBR R15 R0 K16 - 0x7C340400, // 002C CALL R13 2 - 0x8C340111, // 002D GETMET R13 R0 K17 - 0xB83E0000, // 002E GETNGBL R15 K0 - 0x883C1F12, // 002F GETMBR R15 R15 K18 - 0x88400110, // 0030 GETMBR R16 R0 K16 - 0x7C340600, // 0031 CALL R13 3 - 0x88340110, // 0032 GETMBR R13 R0 K16 - 0x90362714, // 0033 SETMBR R13 K19 K20 - 0x88340110, // 0034 GETMBR R13 R0 K16 - 0x90362B14, // 0035 SETMBR R13 K21 K20 - 0x88340110, // 0036 GETMBR R13 R0 K16 - 0x90362C08, // 0037 SETMBR R13 K22 R8 - 0x8C340117, // 0038 GETMET R13 R0 K23 - 0xB83E0000, // 0039 GETNGBL R15 K0 - 0x883C1F12, // 003A GETMBR R15 R15 K18 - 0xB8420000, // 003B GETNGBL R16 K0 - 0x88402118, // 003C GETMBR R16 R16 K24 - 0x303C1E10, // 003D OR R15 R15 R16 - 0x7C340400, // 003E CALL R13 2 - 0x8C380119, // 003F GETMET R14 R0 K25 - 0xB8420000, // 0040 GETNGBL R16 K0 - 0x88402112, // 0041 GETMBR R16 R16 K18 - 0xB8460000, // 0042 GETNGBL R17 K0 - 0x88442318, // 0043 GETMBR R17 R17 K24 - 0x30402011, // 0044 OR R16 R16 R17 - 0x7C380400, // 0045 CALL R14 2 - 0xB83E0000, // 0046 GETNGBL R15 K0 - 0x8C3C1F1A, // 0047 GETMET R15 R15 K26 - 0x5C440000, // 0048 MOVE R17 R0 - 0xB84A0000, // 0049 GETNGBL R18 K0 - 0x8848251B, // 004A GETMBR R18 R18 K27 - 0x884C0110, // 004B GETMBR R19 R0 K16 - 0x7C3C0800, // 004C CALL R15 4 - 0x603C0010, // 004D GETGBL R15 G16 - 0x40423906, // 004E CONNECT R16 K28 K6 - 0x7C3C0200, // 004F CALL R15 1 - 0xA802002C, // 0050 EXBLK 0 #007E - 0x5C401E00, // 0051 MOVE R16 R15 - 0x7C400000, // 0052 CALL R16 0 - 0x88440110, // 0053 GETMBR R17 R0 K16 - 0x8848011E, // 0054 GETMBR R18 R0 K30 - 0x004C2114, // 0055 ADD R19 R16 K20 - 0x54520013, // 0056 LDINT R20 20 - 0x084C2614, // 0057 MUL R19 R19 R20 - 0x28482413, // 0058 GE R18 R18 R19 - 0x784A0001, // 0059 JMPF R18 #005C - 0x5C481A00, // 005A MOVE R18 R13 - 0x70020000, // 005B JMP #005D - 0x5C481C00, // 005C MOVE R18 R14 - 0x90463A12, // 005D SETMBR R17 K29 R18 - 0x8844011F, // 005E GETMBR R17 R0 K31 - 0x00481805, // 005F ADD R18 R12 R5 - 0x04482514, // 0060 SUB R18 R18 K20 - 0x04482409, // 0061 SUB R18 R18 R9 - 0x90464012, // 0062 SETMBR R17 K32 R18 - 0x8844011F, // 0063 GETMBR R17 R0 K31 - 0x00481007, // 0064 ADD R18 R8 R7 - 0x08482012, // 0065 MUL R18 R16 R18 - 0x00481612, // 0066 ADD R18 R11 R18 - 0x00482409, // 0067 ADD R18 R18 R9 - 0x90464212, // 0068 SETMBR R17 K33 R18 - 0x88440122, // 0069 GETMBR R17 R0 K34 - 0x044A0C10, // 006A SUB R18 K6 R16 - 0x044C0A08, // 006B SUB R19 R5 R8 - 0x08482413, // 006C MUL R18 R18 R19 - 0x544E0003, // 006D LDINT R19 4 - 0x0C482413, // 006E DIV R18 R18 R19 - 0x00481812, // 006F ADD R18 R12 R18 - 0x00482409, // 0070 ADD R18 R18 R9 - 0x90464012, // 0071 SETMBR R17 K32 R18 - 0x88440122, // 0072 GETMBR R17 R0 K34 - 0x8848011F, // 0073 GETMBR R18 R0 K31 - 0x88482521, // 0074 GETMBR R18 R18 K33 - 0x90464212, // 0075 SETMBR R17 K33 R18 - 0xB8460000, // 0076 GETNGBL R17 K0 - 0x8C442323, // 0077 GETMET R17 R17 K35 - 0x884C011F, // 0078 GETMBR R19 R0 K31 - 0x88500122, // 0079 GETMBR R20 R0 K34 - 0x5C541400, // 007A MOVE R21 R10 - 0x88580110, // 007B GETMBR R22 R0 K16 - 0x7C440A00, // 007C CALL R17 5 - 0x7001FFD2, // 007D JMP #0051 - 0x583C0024, // 007E LDCONST R15 K36 - 0xAC3C0200, // 007F CATCH R15 1 0 - 0xB0080000, // 0080 RAISE 2 R0 R0 - 0xB83E0000, // 0081 GETNGBL R15 K0 - 0x8C3C1F1A, // 0082 GETMET R15 R15 K26 - 0x5C440000, // 0083 MOVE R17 R0 - 0xB84A0000, // 0084 GETNGBL R18 K0 - 0x88482525, // 0085 GETMBR R18 R18 K37 - 0x884C0110, // 0086 GETMBR R19 R0 K16 - 0x7C3C0800, // 0087 CALL R15 4 - 0x80000000, // 0088 RET 0 + 0x782A0069, // 001E JMPF R10 #0089 + 0xB82A0000, // 001F GETNGBL R10 K0 + 0x8C281509, // 0020 GETMET R10 R10 K9 + 0x8830050A, // 0021 GETMBR R12 R2 K10 + 0x7C280400, // 0022 CALL R10 2 + 0x8C2C010B, // 0023 GETMET R11 R0 K11 + 0x88340109, // 0024 GETMBR R13 R0 K9 + 0x7C2C0400, // 0025 CALL R11 2 + 0x882C0109, // 0026 GETMBR R11 R0 K9 + 0x882C170C, // 0027 GETMBR R11 R11 K12 + 0x88300109, // 0028 GETMBR R12 R0 K9 + 0x8830190D, // 0029 GETMBR R12 R12 K13 + 0xB8360000, // 002A GETNGBL R13 K0 + 0x8C341B0E, // 002B GETMET R13 R13 K14 + 0x883C010F, // 002C GETMBR R15 R0 K15 + 0x7C340400, // 002D CALL R13 2 + 0x8C340110, // 002E GETMET R13 R0 K16 + 0xB83E0000, // 002F GETNGBL R15 K0 + 0x883C1F11, // 0030 GETMBR R15 R15 K17 + 0x8840010F, // 0031 GETMBR R16 R0 K15 + 0x7C340600, // 0032 CALL R13 3 + 0x8834010F, // 0033 GETMBR R13 R0 K15 + 0x90362513, // 0034 SETMBR R13 K18 K19 + 0x8834010F, // 0035 GETMBR R13 R0 K15 + 0x90362913, // 0036 SETMBR R13 K20 K19 + 0x8834010F, // 0037 GETMBR R13 R0 K15 + 0x90362A08, // 0038 SETMBR R13 K21 R8 + 0x8C340116, // 0039 GETMET R13 R0 K22 + 0xB83E0000, // 003A GETNGBL R15 K0 + 0x883C1F11, // 003B GETMBR R15 R15 K17 + 0xB8420000, // 003C GETNGBL R16 K0 + 0x88402117, // 003D GETMBR R16 R16 K23 + 0x303C1E10, // 003E OR R15 R15 R16 + 0x7C340400, // 003F CALL R13 2 + 0x8C380118, // 0040 GETMET R14 R0 K24 + 0xB8420000, // 0041 GETNGBL R16 K0 + 0x88402111, // 0042 GETMBR R16 R16 K17 + 0xB8460000, // 0043 GETNGBL R17 K0 + 0x88442317, // 0044 GETMBR R17 R17 K23 + 0x30402011, // 0045 OR R16 R16 R17 + 0x7C380400, // 0046 CALL R14 2 + 0xB83E0000, // 0047 GETNGBL R15 K0 + 0x8C3C1F19, // 0048 GETMET R15 R15 K25 + 0x5C440000, // 0049 MOVE R17 R0 + 0xB84A0000, // 004A GETNGBL R18 K0 + 0x8848251A, // 004B GETMBR R18 R18 K26 + 0x884C010F, // 004C GETMBR R19 R0 K15 + 0x7C3C0800, // 004D CALL R15 4 + 0x603C0010, // 004E GETGBL R15 G16 + 0x40423706, // 004F CONNECT R16 K27 K6 + 0x7C3C0200, // 0050 CALL R15 1 + 0xA802002C, // 0051 EXBLK 0 #007F + 0x5C401E00, // 0052 MOVE R16 R15 + 0x7C400000, // 0053 CALL R16 0 + 0x8844010F, // 0054 GETMBR R17 R0 K15 + 0x8848011D, // 0055 GETMBR R18 R0 K29 + 0x004C2113, // 0056 ADD R19 R16 K19 + 0x54520013, // 0057 LDINT R20 20 + 0x084C2614, // 0058 MUL R19 R19 R20 + 0x28482413, // 0059 GE R18 R18 R19 + 0x784A0001, // 005A JMPF R18 #005D + 0x5C481A00, // 005B MOVE R18 R13 + 0x70020000, // 005C JMP #005E + 0x5C481C00, // 005D MOVE R18 R14 + 0x90463812, // 005E SETMBR R17 K28 R18 + 0x8844011E, // 005F GETMBR R17 R0 K30 + 0x00481805, // 0060 ADD R18 R12 R5 + 0x04482513, // 0061 SUB R18 R18 K19 + 0x04482409, // 0062 SUB R18 R18 R9 + 0x90463E12, // 0063 SETMBR R17 K31 R18 + 0x8844011E, // 0064 GETMBR R17 R0 K30 + 0x00481007, // 0065 ADD R18 R8 R7 + 0x08482012, // 0066 MUL R18 R16 R18 + 0x00481612, // 0067 ADD R18 R11 R18 + 0x00482409, // 0068 ADD R18 R18 R9 + 0x90464012, // 0069 SETMBR R17 K32 R18 + 0x88440121, // 006A GETMBR R17 R0 K33 + 0x044A0C10, // 006B SUB R18 K6 R16 + 0x044C0A08, // 006C SUB R19 R5 R8 + 0x08482413, // 006D MUL R18 R18 R19 + 0x544E0003, // 006E LDINT R19 4 + 0x0C482413, // 006F DIV R18 R18 R19 + 0x00481812, // 0070 ADD R18 R12 R18 + 0x00482409, // 0071 ADD R18 R18 R9 + 0x90463E12, // 0072 SETMBR R17 K31 R18 + 0x88440121, // 0073 GETMBR R17 R0 K33 + 0x8848011E, // 0074 GETMBR R18 R0 K30 + 0x88482520, // 0075 GETMBR R18 R18 K32 + 0x90464012, // 0076 SETMBR R17 K32 R18 + 0xB8460000, // 0077 GETNGBL R17 K0 + 0x8C442322, // 0078 GETMET R17 R17 K34 + 0x884C011E, // 0079 GETMBR R19 R0 K30 + 0x88500121, // 007A GETMBR R20 R0 K33 + 0x5C541400, // 007B MOVE R21 R10 + 0x8858010F, // 007C GETMBR R22 R0 K15 + 0x7C440A00, // 007D CALL R17 5 + 0x7001FFD2, // 007E JMP #0052 + 0x583C0023, // 007F LDCONST R15 K35 + 0xAC3C0200, // 0080 CATCH R15 1 0 + 0xB0080000, // 0081 RAISE 2 R0 R0 + 0xB83E0000, // 0082 GETNGBL R15 K0 + 0x8C3C1F19, // 0083 GETMET R15 R15 K25 + 0x5C440000, // 0084 MOVE R17 R0 + 0xB84A0000, // 0085 GETNGBL R18 K0 + 0x88482524, // 0086 GETMBR R18 R18 K36 + 0x884C010F, // 0087 GETMBR R19 R0 K15 + 0x7C3C0800, // 0088 CALL R15 4 + 0x80000000, // 0089 RET 0 }) ) ); diff --git a/lib/libesp32/Berry/default/be_lvgl_widgets_lib.c b/lib/libesp32/Berry/default/be_lvgl_widgets_lib.c index 70bca472b..fe66d0a81 100644 --- a/lib/libesp32/Berry/default/be_lvgl_widgets_lib.c +++ b/lib/libesp32/Berry/default/be_lvgl_widgets_lib.c @@ -11,13 +11,14 @@ #ifdef USE_LVGL #include "lvgl.h" -#include "be_lvgl.h" extern int lv0_init(bvm *vm); -extern int lco_init(bvm *vm); -extern int lco_tostring(bvm *vm); +extern int lco_init(bvm *vm); // generic function +extern int lco_tostring(bvm *vm); // generic function +extern int lco_toint(bvm *vm); // generic function +extern int lvx_init_ctor(bvm *vm, void * func); extern int lvx_member(bvm *vm); extern int lvx_tostring(bvm *vm); // generic function @@ -26,6 +27,9 @@ extern int lvs_tostring(bvm *vm); BE_EXPORT_VARIABLE extern const bclass be_class_lv_obj; +extern int lvbe_font_create(bvm *vm); + + /* `lv_style` external functions definitions */ extern int lvbe_style_set_width(bvm *vm); extern int lvbe_style_set_min_width(bvm *vm); @@ -117,6 +121,10 @@ extern int lvbe_style_set_arc_color_filtered(bvm *vm); extern int lvbe_style_set_arc_opa(bvm *vm); extern int lvbe_style_set_arc_img_src(bvm *vm); +/* `lv_font` external functions definitions */ + +/* `lv_color` external functions definitions */ + /* `lv_img` external functions definitions */ extern int lvbe_img_set_tasmota_logo(bvm *vm); extern int lvbe_img_create(bvm *vm); @@ -775,471 +783,657 @@ extern int lvbe_textarea_cursor_left(bvm *vm); extern int lvbe_textarea_cursor_down(bvm *vm); extern int lvbe_textarea_cursor_up(bvm *vm); -#include "../generate/be_fixed_be_class_lv_style.h" -#include "../generate/be_fixed_be_class_lv_img.h" -#include "../generate/be_fixed_be_class_lv_obj.h" -#include "../generate/be_fixed_be_class_lv_group.h" -#include "../generate/be_fixed_be_class_lv_indev.h" -#include "../generate/be_fixed_be_class_lv_chart.h" -#include "../generate/be_fixed_be_class_lv_colorwheel.h" -#include "../generate/be_fixed_be_class_lv_imgbtn.h" -#include "../generate/be_fixed_be_class_lv_led.h" -#include "../generate/be_fixed_be_class_lv_meter.h" -#include "../generate/be_fixed_be_class_lv_msgbox.h" -#include "../generate/be_fixed_be_class_lv_spinbox.h" -#include "../generate/be_fixed_be_class_lv_arc.h" -#include "../generate/be_fixed_be_class_lv_bar.h" -#include "../generate/be_fixed_be_class_lv_btn.h" -#include "../generate/be_fixed_be_class_lv_btnmatrix.h" -#include "../generate/be_fixed_be_class_lv_canvas.h" -#include "../generate/be_fixed_be_class_lv_checkbox.h" -#include "../generate/be_fixed_be_class_lv_dropdown.h" -#include "../generate/be_fixed_be_class_lv_label.h" -#include "../generate/be_fixed_be_class_lv_line.h" -#include "../generate/be_fixed_be_class_lv_roller.h" -#include "../generate/be_fixed_be_class_lv_slider.h" -#include "../generate/be_fixed_be_class_lv_switch.h" -#include "../generate/be_fixed_be_class_lv_table.h" -#include "../generate/be_fixed_be_class_lv_textarea.h" +extern int be_ntv_lv_style_init(bvm *vm); +extern int be_ntv_lv_font_init(bvm *vm); +extern int be_ntv_lv_color_init(bvm *vm); +extern int be_ntv_lv_img_init(bvm *vm); +extern int be_ntv_lv_obj_init(bvm *vm); +extern int be_ntv_lv_group_init(bvm *vm); +extern int be_ntv_lv_indev_init(bvm *vm); +extern int be_ntv_lv_chart_init(bvm *vm); +extern int be_ntv_lv_colorwheel_init(bvm *vm); +extern int be_ntv_lv_imgbtn_init(bvm *vm); +extern int be_ntv_lv_led_init(bvm *vm); +extern int be_ntv_lv_meter_init(bvm *vm); +extern int be_ntv_lv_msgbox_init(bvm *vm); +extern int be_ntv_lv_spinbox_init(bvm *vm); +extern int be_ntv_lv_arc_init(bvm *vm); +extern int be_ntv_lv_bar_init(bvm *vm); +extern int be_ntv_lv_btn_init(bvm *vm); +extern int be_ntv_lv_btnmatrix_init(bvm *vm); +extern int be_ntv_lv_canvas_init(bvm *vm); +extern int be_ntv_lv_checkbox_init(bvm *vm); +extern int be_ntv_lv_dropdown_init(bvm *vm); +extern int be_ntv_lv_label_init(bvm *vm); +extern int be_ntv_lv_line_init(bvm *vm); +extern int be_ntv_lv_roller_init(bvm *vm); +extern int be_ntv_lv_slider_init(bvm *vm); +extern int be_ntv_lv_switch_init(bvm *vm); +extern int be_ntv_lv_table_init(bvm *vm); +extern int be_ntv_lv_textarea_init(bvm *vm); -void be_load_lv_style_lib(bvm *vm) { + +/******************************************************************** +** Solidified class: lv_style +********************************************************************/ +be_local_class(lv_style, + 1, + NULL, + be_nested_map(4, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("init", 380752755, 4, -1), be_const_func(lvs_init) }, + { be_nested_key("tostring", -1995258651, 8, -1), be_const_func(lvs_tostring) }, + { be_nested_key("_p", 1594591802, 2, -1), be_const_var(0) }, + { be_nested_key("member", 719708611, 6, 0), be_const_func(lvx_member) }, + })), + (be_nested_const_str("lv_style", -143355747, 8)) +); +/*******************************************************************/ + +/******************************************************************** +** Solidified class: lv_obj +********************************************************************/ +be_local_class(lv_obj, + 1, + NULL, + be_nested_map(5, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("tostring", -1995258651, 8, 3), be_const_func(lvx_tostring) }, + { be_nested_key("member", 719708611, 6, -1), be_const_func(lvx_member) }, + { be_nested_key("_p", 1594591802, 2, -1), be_const_var(0) }, + { be_nested_key("init", 380752755, 4, 4), be_const_func(be_ntv_lv_obj_init) }, + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_obj_class) }, + })), + (be_nested_const_str("lv_obj", -37134147, 6)) +); +/*******************************************************************/ + +/******************************************************************** +** Solidified class: lv_group +********************************************************************/ +be_local_class(lv_group, + 1, + NULL, + be_nested_map(4, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_group_init) }, + { be_nested_key("tostring", -1995258651, 8, -1), be_const_func(lvx_tostring) }, + { be_nested_key("_p", 1594591802, 2, -1), be_const_var(0) }, + { be_nested_key("member", 719708611, 6, 0), be_const_func(lvx_member) }, + })), + (be_nested_const_str("lv_group", -442928277, 8)) +); +/*******************************************************************/ + +/******************************************************************** +** Solidified class: lv_indev +********************************************************************/ +be_local_class(lv_indev, + 1, + NULL, + be_nested_map(4, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("init", 380752755, 4, -1), be_const_func(lv0_init) }, + { be_nested_key("tostring", -1995258651, 8, -1), be_const_func(lvx_tostring) }, + { be_nested_key("_p", 1594591802, 2, -1), be_const_var(0) }, + { be_nested_key("member", 719708611, 6, 0), be_const_func(lvx_member) }, + })), + (be_nested_const_str("lv_indev", 225602374, 8)) +); +/*******************************************************************/ + +/******************************************************************** +** Solidified class: lv_font +********************************************************************/ +be_local_class(lv_font, + 1, + NULL, + be_nested_map(3, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("init", 380752755, 4, -1), be_const_func(lvbe_font_create) }, + { be_nested_key("tostring", -1995258651, 8, -1), be_const_func(lvx_tostring) }, + { be_nested_key("_p", 1594591802, 2, -1), be_const_var(0) }, + })), + (be_nested_const_str("lv_font", 1550958453, 7)) +); +/*******************************************************************/ + +/******************************************************************** +** Solidified class: lv_color +********************************************************************/ +be_local_class(lv_color, + 1, + NULL, + be_nested_map(4, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("toint", -681784387, 5, -1), be_const_func(lco_toint) }, + { be_nested_key("tostring", -1995258651, 8, 0), be_const_func(lco_tostring) }, + { be_nested_key("_p", 1594591802, 2, -1), be_const_var(0) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(lco_init) }, + })), + (be_nested_const_str("lv_color", 1419148319, 8)) +); +/*******************************************************************/ + +void be_load_lv_style_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_style); be_setglobal(vm, "lv_style"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_style (scope: global, name: lv_style) { - _p, var - init, func(lvs_init) - tostring, func(lvs_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_img_lib(bvm *vm) { +void be_load_lv_font_class(bvm *vm) { + be_pushntvclass(vm, &be_class_lv_font); + be_setglobal(vm, "lv_font"); + be_pop(vm, 1); +} + +void be_load_lv_color_class(bvm *vm) { + be_pushntvclass(vm, &be_class_lv_color); + be_setglobal(vm, "lv_color"); + be_pop(vm, 1); +} + +/******************************************************************** +** Solidified class: lv_img +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_img, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_img_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_img_init) }, + })), + (be_nested_const_str("lv_img", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_img_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_img); be_setglobal(vm, "lv_img"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_img (scope: global, name: lv_img, super: be_class_lv_obj) { - _p, var - _class, int(&lv_img_class) - init, func(lvbe_img_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_obj_lib(bvm *vm) { +void be_load_lv_obj_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_obj); be_setglobal(vm, "lv_obj"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_obj (scope: global, name: lv_obj) { - _p, var - _class, int(&lv_obj_class) - init, func(lvbe_obj_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_group_lib(bvm *vm) { +void be_load_lv_group_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_group); be_setglobal(vm, "lv_group"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_group (scope: global, name: lv_group) { - _p, var - init, func(lvbe_group_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_indev_lib(bvm *vm) { +void be_load_lv_indev_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_indev); be_setglobal(vm, "lv_indev"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_indev (scope: global, name: lv_indev) { - _p, var - init, func(lv0_init) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_chart_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_chart +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_chart, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_chart_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_chart_init) }, + })), + (be_nested_const_str("lv_chart", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_chart_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_chart); be_setglobal(vm, "lv_chart"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_chart (scope: global, name: lv_chart, super: be_class_lv_obj) { - _p, var - _class, int(&lv_chart_class) - init, func(lvbe_chart_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_colorwheel_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_colorwheel +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_colorwheel, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_colorwheel_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_colorwheel_init) }, + })), + (be_nested_const_str("lv_colorwheel", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_colorwheel_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_colorwheel); be_setglobal(vm, "lv_colorwheel"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_colorwheel (scope: global, name: lv_colorwheel, super: be_class_lv_obj) { - _p, var - _class, int(&lv_colorwheel_class) - init, func(lvbe_colorwheel_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_imgbtn_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_imgbtn +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_imgbtn, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_imgbtn_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_imgbtn_init) }, + })), + (be_nested_const_str("lv_imgbtn", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_imgbtn_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_imgbtn); be_setglobal(vm, "lv_imgbtn"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_imgbtn (scope: global, name: lv_imgbtn, super: be_class_lv_obj) { - _p, var - _class, int(&lv_imgbtn_class) - init, func(lvbe_imgbtn_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_led_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_led +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_led, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_led_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_led_init) }, + })), + (be_nested_const_str("lv_led", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_led_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_led); be_setglobal(vm, "lv_led"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_led (scope: global, name: lv_led, super: be_class_lv_obj) { - _p, var - _class, int(&lv_led_class) - init, func(lvbe_led_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_meter_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_meter +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_meter, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_meter_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_meter_init) }, + })), + (be_nested_const_str("lv_meter", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_meter_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_meter); be_setglobal(vm, "lv_meter"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_meter (scope: global, name: lv_meter, super: be_class_lv_obj) { - _p, var - _class, int(&lv_meter_class) - init, func(lvbe_meter_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_msgbox_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_msgbox +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_msgbox, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_msgbox_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_msgbox_init) }, + })), + (be_nested_const_str("lv_msgbox", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_msgbox_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_msgbox); be_setglobal(vm, "lv_msgbox"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_msgbox (scope: global, name: lv_msgbox, super: be_class_lv_obj) { - _p, var - _class, int(&lv_msgbox_class) - init, func(lvbe_msgbox_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_spinbox_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_spinbox +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_spinbox, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_spinbox_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_spinbox_init) }, + })), + (be_nested_const_str("lv_spinbox", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_spinbox_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_spinbox); be_setglobal(vm, "lv_spinbox"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_spinbox (scope: global, name: lv_spinbox, super: be_class_lv_obj) { - _p, var - _class, int(&lv_spinbox_class) - init, func(lvbe_spinbox_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_arc_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_arc +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_arc, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_arc_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_arc_init) }, + })), + (be_nested_const_str("lv_arc", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_arc_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_arc); be_setglobal(vm, "lv_arc"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_arc (scope: global, name: lv_arc, super: be_class_lv_obj) { - _p, var - _class, int(&lv_arc_class) - init, func(lvbe_arc_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_bar_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_bar +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_bar, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_bar_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_bar_init) }, + })), + (be_nested_const_str("lv_bar", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_bar_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_bar); be_setglobal(vm, "lv_bar"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_bar (scope: global, name: lv_bar, super: be_class_lv_obj) { - _p, var - _class, int(&lv_bar_class) - init, func(lvbe_bar_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_btn_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_btn +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_btn, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_btn_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_btn_init) }, + })), + (be_nested_const_str("lv_btn", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_btn_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_btn); be_setglobal(vm, "lv_btn"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_btn (scope: global, name: lv_btn, super: be_class_lv_obj) { - _p, var - _class, int(&lv_btn_class) - init, func(lvbe_btn_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_btnmatrix_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_btnmatrix +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_btnmatrix, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_btnmatrix_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_btnmatrix_init) }, + })), + (be_nested_const_str("lv_btnmatrix", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_btnmatrix_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_btnmatrix); be_setglobal(vm, "lv_btnmatrix"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_btnmatrix (scope: global, name: lv_btnmatrix, super: be_class_lv_obj) { - _p, var - _class, int(&lv_btnmatrix_class) - init, func(lvbe_btnmatrix_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_canvas_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_canvas +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_canvas, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_canvas_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_canvas_init) }, + })), + (be_nested_const_str("lv_canvas", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_canvas_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_canvas); be_setglobal(vm, "lv_canvas"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_canvas (scope: global, name: lv_canvas, super: be_class_lv_obj) { - _p, var - _class, int(&lv_canvas_class) - init, func(lvbe_canvas_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_checkbox_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_checkbox +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_checkbox, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_checkbox_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_checkbox_init) }, + })), + (be_nested_const_str("lv_checkbox", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_checkbox_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_checkbox); be_setglobal(vm, "lv_checkbox"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_checkbox (scope: global, name: lv_checkbox, super: be_class_lv_obj) { - _p, var - _class, int(&lv_checkbox_class) - init, func(lvbe_checkbox_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_dropdown_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_dropdown +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_dropdown, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_dropdown_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_dropdown_init) }, + })), + (be_nested_const_str("lv_dropdown", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_dropdown_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_dropdown); be_setglobal(vm, "lv_dropdown"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_dropdown (scope: global, name: lv_dropdown, super: be_class_lv_obj) { - _p, var - _class, int(&lv_dropdown_class) - init, func(lvbe_dropdown_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_label_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_label +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_label, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_label_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_label_init) }, + })), + (be_nested_const_str("lv_label", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_label_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_label); be_setglobal(vm, "lv_label"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_label (scope: global, name: lv_label, super: be_class_lv_obj) { - _p, var - _class, int(&lv_label_class) - init, func(lvbe_label_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_line_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_line +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_line, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_line_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_line_init) }, + })), + (be_nested_const_str("lv_line", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_line_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_line); be_setglobal(vm, "lv_line"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_line (scope: global, name: lv_line, super: be_class_lv_obj) { - _p, var - _class, int(&lv_line_class) - init, func(lvbe_line_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_roller_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_roller +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_roller, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_roller_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_roller_init) }, + })), + (be_nested_const_str("lv_roller", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_roller_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_roller); be_setglobal(vm, "lv_roller"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_roller (scope: global, name: lv_roller, super: be_class_lv_obj) { - _p, var - _class, int(&lv_roller_class) - init, func(lvbe_roller_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_slider_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_slider +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_slider, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_slider_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_slider_init) }, + })), + (be_nested_const_str("lv_slider", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_slider_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_slider); be_setglobal(vm, "lv_slider"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_slider (scope: global, name: lv_slider, super: be_class_lv_obj) { - _p, var - _class, int(&lv_slider_class) - init, func(lvbe_slider_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_switch_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_switch +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_switch, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_switch_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_switch_init) }, + })), + (be_nested_const_str("lv_switch", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_switch_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_switch); be_setglobal(vm, "lv_switch"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_switch (scope: global, name: lv_switch, super: be_class_lv_obj) { - _p, var - _class, int(&lv_switch_class) - init, func(lvbe_switch_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_table_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_table +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_table, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_table_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_table_init) }, + })), + (be_nested_const_str("lv_table", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_table_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_table); be_setglobal(vm, "lv_table"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_table (scope: global, name: lv_table, super: be_class_lv_obj) { - _p, var - _class, int(&lv_table_class) - init, func(lvbe_table_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ -void be_load_lv_textarea_lib(bvm *vm) { +/******************************************************************** +** Solidified class: lv_textarea +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_textarea, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_textarea_class) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_textarea_init) }, + })), + (be_nested_const_str("lv_textarea", 1612829968, 6)) +); +/*******************************************************************/ + +void be_load_lv_textarea_class(bvm *vm) { be_pushntvclass(vm, &be_class_lv_textarea); be_setglobal(vm, "lv_textarea"); be_pop(vm, 1); -}; - -/* @const_object_info_begin -class be_class_lv_textarea (scope: global, name: lv_textarea, super: be_class_lv_obj) { - _p, var - _class, int(&lv_textarea_class) - init, func(lvbe_textarea_create) - tostring, func(lvx_tostring) - member, func(lvx_member) - } -@const_object_info_end */ #endif // USE_LVGL diff --git a/lib/libesp32/Berry/default/be_lvgl_wifi_arcs_icon_lib.c b/lib/libesp32/Berry/default/be_lvgl_wifi_arcs_icon_lib.c index 2ea1663c3..93e83c7ba 100644 --- a/lib/libesp32/Berry/default/be_lvgl_wifi_arcs_icon_lib.c +++ b/lib/libesp32/Berry/default/be_lvgl_wifi_arcs_icon_lib.c @@ -23,8 +23,8 @@ be_local_closure(init, /* name */ ( &(const bvalue[18]) { /* constants */ /* K0 */ be_nested_string("init", 380752755, 4), /* K1 */ be_nested_string("set_style_line_color", -629728320, 20), - /* K2 */ be_nested_string("lv_color", 1419148319, 8), - /* K3 */ be_nested_string("lv", 1529997255, 2), + /* K2 */ be_nested_string("lv", 1529997255, 2), + /* K3 */ be_nested_string("color", 1031692888, 5), /* K4 */ be_nested_string("COLOR_WHITE", -1758096026, 11), /* K5 */ be_nested_string("PART_MAIN", -1821475788, 9), /* K6 */ be_nested_string("STATE_DEFAULT", 712406428, 13), @@ -42,7 +42,7 @@ be_local_closure(init, /* name */ }), (be_nested_const_str("init", 380752755, 4)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[65]) { /* code */ + ( &(const binstruction[67]) { /* code */ 0x60080003, // 0000 GETGBL R2 G3 0x5C0C0000, // 0001 MOVE R3 R0 0x7C080200, // 0002 CALL R2 1 @@ -51,63 +51,65 @@ be_local_closure(init, /* name */ 0x7C080400, // 0005 CALL R2 2 0x8C080101, // 0006 GETMET R2 R0 K1 0xB8120400, // 0007 GETNGBL R4 K2 - 0xB8160600, // 0008 GETNGBL R5 K3 - 0x88140B04, // 0009 GETMBR R5 R5 K4 - 0x7C100200, // 000A CALL R4 1 - 0xB8160600, // 000B GETNGBL R5 K3 - 0x88140B05, // 000C GETMBR R5 R5 K5 - 0xB81A0600, // 000D GETNGBL R6 K3 - 0x88180D06, // 000E GETMBR R6 R6 K6 - 0x30140A06, // 000F OR R5 R5 R6 - 0x7C080600, // 0010 CALL R2 3 - 0x8C080107, // 0011 GETMET R2 R0 K7 - 0xB8120400, // 0012 GETNGBL R4 K2 - 0xB8160600, // 0013 GETNGBL R5 K3 - 0x88140B08, // 0014 GETMBR R5 R5 K8 - 0x7C100200, // 0015 CALL R4 1 - 0xB8160600, // 0016 GETNGBL R5 K3 - 0x88140B05, // 0017 GETMBR R5 R5 K5 - 0xB81A0600, // 0018 GETNGBL R6 K3 - 0x88180D06, // 0019 GETMBR R6 R6 K6 - 0x30140A06, // 001A OR R5 R5 R6 - 0x7C080600, // 001B CALL R2 3 - 0x4C080000, // 001C LDNIL R2 - 0x20080202, // 001D NE R2 R1 R2 - 0x780A0020, // 001E JMPF R2 #0040 - 0x8C080309, // 001F GETMET R2 R1 K9 - 0x7C080200, // 0020 CALL R2 1 - 0x8C0C030A, // 0021 GETMET R3 R1 K10 - 0xB8160600, // 0022 GETNGBL R5 K3 - 0x88140B05, // 0023 GETMBR R5 R5 K5 - 0xB81A0600, // 0024 GETNGBL R6 K3 - 0x88180D06, // 0025 GETMBR R6 R6 K6 - 0x30140A06, // 0026 OR R5 R5 R6 - 0x7C0C0400, // 0027 CALL R3 2 - 0x8C10010B, // 0028 GETMET R4 R0 K11 - 0x5C180400, // 0029 MOVE R6 R2 - 0x7C100400, // 002A CALL R4 2 - 0x54120003, // 002B LDINT R4 4 - 0x08100404, // 002C MUL R4 R2 R4 - 0x0C10090C, // 002D DIV R4 R4 K12 - 0x8C14010D, // 002E GETMET R5 R0 K13 - 0x5C1C0800, // 002F MOVE R7 R4 - 0x7C140400, // 0030 CALL R5 2 - 0x8C14010E, // 0031 GETMET R5 R0 K14 - 0x8C1C030F, // 0032 GETMET R7 R1 K15 - 0x7C1C0200, // 0033 CALL R7 1 - 0x041C0E04, // 0034 SUB R7 R7 R4 - 0x041C0E03, // 0035 SUB R7 R7 R3 - 0x7C140400, // 0036 CALL R5 2 - 0x8C140310, // 0037 GETMET R5 R1 K16 - 0x001C0604, // 0038 ADD R7 R3 R4 - 0x001C0F11, // 0039 ADD R7 R7 K17 - 0xB8220600, // 003A GETNGBL R8 K3 - 0x88201105, // 003B GETMBR R8 R8 K5 - 0xB8260600, // 003C GETNGBL R9 K3 - 0x88241306, // 003D GETMBR R9 R9 K6 - 0x30201009, // 003E OR R8 R8 R9 - 0x7C140600, // 003F CALL R5 3 - 0x80000000, // 0040 RET 0 + 0x8C100903, // 0008 GETMET R4 R4 K3 + 0xB81A0400, // 0009 GETNGBL R6 K2 + 0x88180D04, // 000A GETMBR R6 R6 K4 + 0x7C100400, // 000B CALL R4 2 + 0xB8160400, // 000C GETNGBL R5 K2 + 0x88140B05, // 000D GETMBR R5 R5 K5 + 0xB81A0400, // 000E GETNGBL R6 K2 + 0x88180D06, // 000F GETMBR R6 R6 K6 + 0x30140A06, // 0010 OR R5 R5 R6 + 0x7C080600, // 0011 CALL R2 3 + 0x8C080107, // 0012 GETMET R2 R0 K7 + 0xB8120400, // 0013 GETNGBL R4 K2 + 0x8C100903, // 0014 GETMET R4 R4 K3 + 0xB81A0400, // 0015 GETNGBL R6 K2 + 0x88180D08, // 0016 GETMBR R6 R6 K8 + 0x7C100400, // 0017 CALL R4 2 + 0xB8160400, // 0018 GETNGBL R5 K2 + 0x88140B05, // 0019 GETMBR R5 R5 K5 + 0xB81A0400, // 001A GETNGBL R6 K2 + 0x88180D06, // 001B GETMBR R6 R6 K6 + 0x30140A06, // 001C OR R5 R5 R6 + 0x7C080600, // 001D CALL R2 3 + 0x4C080000, // 001E LDNIL R2 + 0x20080202, // 001F NE R2 R1 R2 + 0x780A0020, // 0020 JMPF R2 #0042 + 0x8C080309, // 0021 GETMET R2 R1 K9 + 0x7C080200, // 0022 CALL R2 1 + 0x8C0C030A, // 0023 GETMET R3 R1 K10 + 0xB8160400, // 0024 GETNGBL R5 K2 + 0x88140B05, // 0025 GETMBR R5 R5 K5 + 0xB81A0400, // 0026 GETNGBL R6 K2 + 0x88180D06, // 0027 GETMBR R6 R6 K6 + 0x30140A06, // 0028 OR R5 R5 R6 + 0x7C0C0400, // 0029 CALL R3 2 + 0x8C10010B, // 002A GETMET R4 R0 K11 + 0x5C180400, // 002B MOVE R6 R2 + 0x7C100400, // 002C CALL R4 2 + 0x54120003, // 002D LDINT R4 4 + 0x08100404, // 002E MUL R4 R2 R4 + 0x0C10090C, // 002F DIV R4 R4 K12 + 0x8C14010D, // 0030 GETMET R5 R0 K13 + 0x5C1C0800, // 0031 MOVE R7 R4 + 0x7C140400, // 0032 CALL R5 2 + 0x8C14010E, // 0033 GETMET R5 R0 K14 + 0x8C1C030F, // 0034 GETMET R7 R1 K15 + 0x7C1C0200, // 0035 CALL R7 1 + 0x041C0E04, // 0036 SUB R7 R7 R4 + 0x041C0E03, // 0037 SUB R7 R7 R3 + 0x7C140400, // 0038 CALL R5 2 + 0x8C140310, // 0039 GETMET R5 R1 K16 + 0x001C0604, // 003A ADD R7 R3 R4 + 0x001C0F11, // 003B ADD R7 R7 K17 + 0xB8220400, // 003C GETNGBL R8 K2 + 0x88201105, // 003D GETMBR R8 R8 K5 + 0xB8260400, // 003E GETNGBL R9 K2 + 0x88241306, // 003F GETMBR R9 R9 K6 + 0x30201009, // 0040 OR R8 R8 R9 + 0x7C140600, // 0041 CALL R5 3 + 0x80000000, // 0042 RET 0 }) ) ); diff --git a/lib/libesp32/Berry/default/be_lvgl_wifi_bars_icon_lib.c b/lib/libesp32/Berry/default/be_lvgl_wifi_bars_icon_lib.c index e9738f746..8912af6a6 100644 --- a/lib/libesp32/Berry/default/be_lvgl_wifi_bars_icon_lib.c +++ b/lib/libesp32/Berry/default/be_lvgl_wifi_bars_icon_lib.c @@ -23,8 +23,8 @@ be_local_closure(init, /* name */ ( &(const bvalue[17]) { /* constants */ /* K0 */ be_nested_string("init", 380752755, 4), /* K1 */ be_nested_string("set_style_line_color", -629728320, 20), - /* K2 */ be_nested_string("lv_color", 1419148319, 8), - /* K3 */ be_nested_string("lv", 1529997255, 2), + /* K2 */ be_nested_string("lv", 1529997255, 2), + /* K3 */ be_nested_string("color", 1031692888, 5), /* K4 */ be_nested_string("COLOR_WHITE", -1758096026, 11), /* K5 */ be_nested_string("PART_MAIN", -1821475788, 9), /* K6 */ be_nested_string("STATE_DEFAULT", 712406428, 13), @@ -41,7 +41,7 @@ be_local_closure(init, /* name */ }), (be_nested_const_str("init", 380752755, 4)), (be_nested_const_str("input", -103256197, 5)), - ( &(const binstruction[62]) { /* code */ + ( &(const binstruction[64]) { /* code */ 0x60080003, // 0000 GETGBL R2 G3 0x5C0C0000, // 0001 MOVE R3 R0 0x7C080200, // 0002 CALL R2 1 @@ -50,60 +50,62 @@ be_local_closure(init, /* name */ 0x7C080400, // 0005 CALL R2 2 0x8C080101, // 0006 GETMET R2 R0 K1 0xB8120400, // 0007 GETNGBL R4 K2 - 0xB8160600, // 0008 GETNGBL R5 K3 - 0x88140B04, // 0009 GETMBR R5 R5 K4 - 0x7C100200, // 000A CALL R4 1 - 0xB8160600, // 000B GETNGBL R5 K3 - 0x88140B05, // 000C GETMBR R5 R5 K5 - 0xB81A0600, // 000D GETNGBL R6 K3 - 0x88180D06, // 000E GETMBR R6 R6 K6 - 0x30140A06, // 000F OR R5 R5 R6 - 0x7C080600, // 0010 CALL R2 3 - 0x8C080107, // 0011 GETMET R2 R0 K7 - 0xB8120400, // 0012 GETNGBL R4 K2 - 0xB8160600, // 0013 GETNGBL R5 K3 - 0x88140B08, // 0014 GETMBR R5 R5 K8 - 0x7C100200, // 0015 CALL R4 1 - 0xB8160600, // 0016 GETNGBL R5 K3 - 0x88140B05, // 0017 GETMBR R5 R5 K5 - 0xB81A0600, // 0018 GETNGBL R6 K3 - 0x88180D06, // 0019 GETMBR R6 R6 K6 - 0x30140A06, // 001A OR R5 R5 R6 - 0x7C080600, // 001B CALL R2 3 - 0x4C080000, // 001C LDNIL R2 - 0x20080202, // 001D NE R2 R1 R2 - 0x780A001D, // 001E JMPF R2 #003D - 0x8C080309, // 001F GETMET R2 R1 K9 - 0x7C080200, // 0020 CALL R2 1 - 0x8C0C030A, // 0021 GETMET R3 R1 K10 - 0xB8160600, // 0022 GETNGBL R5 K3 - 0x88140B05, // 0023 GETMBR R5 R5 K5 - 0xB81A0600, // 0024 GETNGBL R6 K3 - 0x88180D06, // 0025 GETMBR R6 R6 K6 - 0x30140A06, // 0026 OR R5 R5 R6 - 0x7C0C0400, // 0027 CALL R3 2 - 0x8C10010B, // 0028 GETMET R4 R0 K11 - 0x5C180400, // 0029 MOVE R6 R2 - 0x7C100400, // 002A CALL R4 2 - 0x8C10010C, // 002B GETMET R4 R0 K12 - 0x5C180400, // 002C MOVE R6 R2 - 0x7C100400, // 002D CALL R4 2 - 0x8C10010D, // 002E GETMET R4 R0 K13 - 0x8C18030E, // 002F GETMET R6 R1 K14 - 0x7C180200, // 0030 CALL R6 1 - 0x04180C02, // 0031 SUB R6 R6 R2 - 0x04180C03, // 0032 SUB R6 R6 R3 - 0x7C100400, // 0033 CALL R4 2 - 0x8C10030F, // 0034 GETMET R4 R1 K15 - 0x00180602, // 0035 ADD R6 R3 R2 - 0x00180D10, // 0036 ADD R6 R6 K16 - 0xB81E0600, // 0037 GETNGBL R7 K3 - 0x881C0F05, // 0038 GETMBR R7 R7 K5 - 0xB8220600, // 0039 GETNGBL R8 K3 - 0x88201106, // 003A GETMBR R8 R8 K6 - 0x301C0E08, // 003B OR R7 R7 R8 - 0x7C100600, // 003C CALL R4 3 - 0x80000000, // 003D RET 0 + 0x8C100903, // 0008 GETMET R4 R4 K3 + 0xB81A0400, // 0009 GETNGBL R6 K2 + 0x88180D04, // 000A GETMBR R6 R6 K4 + 0x7C100400, // 000B CALL R4 2 + 0xB8160400, // 000C GETNGBL R5 K2 + 0x88140B05, // 000D GETMBR R5 R5 K5 + 0xB81A0400, // 000E GETNGBL R6 K2 + 0x88180D06, // 000F GETMBR R6 R6 K6 + 0x30140A06, // 0010 OR R5 R5 R6 + 0x7C080600, // 0011 CALL R2 3 + 0x8C080107, // 0012 GETMET R2 R0 K7 + 0xB8120400, // 0013 GETNGBL R4 K2 + 0x8C100903, // 0014 GETMET R4 R4 K3 + 0xB81A0400, // 0015 GETNGBL R6 K2 + 0x88180D08, // 0016 GETMBR R6 R6 K8 + 0x7C100400, // 0017 CALL R4 2 + 0xB8160400, // 0018 GETNGBL R5 K2 + 0x88140B05, // 0019 GETMBR R5 R5 K5 + 0xB81A0400, // 001A GETNGBL R6 K2 + 0x88180D06, // 001B GETMBR R6 R6 K6 + 0x30140A06, // 001C OR R5 R5 R6 + 0x7C080600, // 001D CALL R2 3 + 0x4C080000, // 001E LDNIL R2 + 0x20080202, // 001F NE R2 R1 R2 + 0x780A001D, // 0020 JMPF R2 #003F + 0x8C080309, // 0021 GETMET R2 R1 K9 + 0x7C080200, // 0022 CALL R2 1 + 0x8C0C030A, // 0023 GETMET R3 R1 K10 + 0xB8160400, // 0024 GETNGBL R5 K2 + 0x88140B05, // 0025 GETMBR R5 R5 K5 + 0xB81A0400, // 0026 GETNGBL R6 K2 + 0x88180D06, // 0027 GETMBR R6 R6 K6 + 0x30140A06, // 0028 OR R5 R5 R6 + 0x7C0C0400, // 0029 CALL R3 2 + 0x8C10010B, // 002A GETMET R4 R0 K11 + 0x5C180400, // 002B MOVE R6 R2 + 0x7C100400, // 002C CALL R4 2 + 0x8C10010C, // 002D GETMET R4 R0 K12 + 0x5C180400, // 002E MOVE R6 R2 + 0x7C100400, // 002F CALL R4 2 + 0x8C10010D, // 0030 GETMET R4 R0 K13 + 0x8C18030E, // 0031 GETMET R6 R1 K14 + 0x7C180200, // 0032 CALL R6 1 + 0x04180C02, // 0033 SUB R6 R6 R2 + 0x04180C03, // 0034 SUB R6 R6 R3 + 0x7C100400, // 0035 CALL R4 2 + 0x8C10030F, // 0036 GETMET R4 R1 K15 + 0x00180602, // 0037 ADD R6 R3 R2 + 0x00180D10, // 0038 ADD R6 R6 K16 + 0xB81E0400, // 0039 GETNGBL R7 K2 + 0x881C0F05, // 003A GETMBR R7 R7 K5 + 0xB8220400, // 003B GETNGBL R8 K2 + 0x88201106, // 003C GETMBR R8 R8 K6 + 0x301C0E08, // 003D OR R7 R7 R8 + 0x7C100600, // 003E CALL R4 3 + 0x80000000, // 003F RET 0 }) ) ); diff --git a/lib/libesp32/Berry/default/be_modtab.c b/lib/libesp32/Berry/default/be_modtab.c index aa795dbff..d9bce33d9 100644 --- a/lib/libesp32/Berry/default/be_modtab.c +++ b/lib/libesp32/Berry/default/be_modtab.c @@ -32,7 +32,7 @@ be_extern_native_module(webserver); be_extern_native_module(flash); be_extern_native_module(path); #ifdef USE_LVGL -be_extern_native_module(lvgl); +be_extern_native_module(lv); #endif // USE_LVGL /* user-defined modules declare start */ @@ -88,7 +88,7 @@ BERRY_LOCAL const bntvmodule* const be_module_table[] = { #endif #ifdef USE_LVGL - &be_native_module(lvgl), + &be_native_module(lv), #endif // USE_LVGL #ifdef USE_ENERGY_SENSOR &be_native_module(energy), @@ -124,8 +124,8 @@ extern void be_load_driver_audio_lib(bvm *vm); #endif #ifdef USE_LVGL -extern void be_load_lvgl_color_lib(bvm *vm); -extern void be_load_lvgl_font_lib(bvm *vm); +extern void be_load_lv_color_class(bvm *vm); +extern void be_load_lv_font_class(bvm *vm); extern void be_load_lv_all_lib(bvm *vm); extern void be_load_ctypes_lvgl_definitions_lib(bvm *vm); extern void be_load_LVGL_glob_class(bvm *vm); @@ -176,8 +176,8 @@ BERRY_API void be_load_custom_libs(bvm *vm) #endif #ifdef USE_LVGL // LVGL - be_load_lvgl_color_lib(vm); - be_load_lvgl_font_lib(vm); + be_load_lv_color_class(vm); + be_load_lv_font_class(vm); be_load_lv_all_lib(vm); be_load_ctypes_lvgl_definitions_lib(vm); diff --git a/lib/libesp32/Berry/default/embedded/lv_clock_icon.be b/lib/libesp32/Berry/default/embedded/lv_clock_icon.be index 9dde54e40..917d38d00 100644 --- a/lib/libesp32/Berry/default/embedded/lv_clock_icon.be +++ b/lib/libesp32/Berry/default/embedded/lv_clock_icon.be @@ -2,7 +2,7 @@ - --# -class lv_clock_icon: lv_label +class lv_clock_icon: lv.label var hour, minute, sec def init(parent, copy) @@ -22,7 +22,7 @@ class lv_clock_icon: lv_label self.set_x(parent.get_width() - w - pad_right - 3) parent.set_style_pad_right(pad_right + w + 6, lv.PART_MAIN | lv.STATE_DEFAULT) - self.set_style_bg_color(lv_color(lv.COLOR_BLACK), lv.PART_MAIN | lv.STATE_DEFAULT) + self.set_style_bg_color(lv.color(lv.COLOR_BLACK), lv.PART_MAIN | lv.STATE_DEFAULT) end tasmota.add_driver(self) diff --git a/lib/libesp32/Berry/default/embedded/lv_signal_arcs.be b/lib/libesp32/Berry/default/embedded/lv_signal_arcs.be index 1170035d4..7dd924e90 100644 --- a/lib/libesp32/Berry/default/embedded/lv_signal_arcs.be +++ b/lib/libesp32/Berry/default/embedded/lv_signal_arcs.be @@ -2,7 +2,7 @@ - --# -class lv_signal_arcs : lv_obj +class lv_signal_arcs : lv.obj var percentage # value to display, range 0..100 var p1, p2, area, line_dsc # instances of objects kept to avoid re-instanciating at each call @@ -12,10 +12,10 @@ class lv_signal_arcs : lv_obj # own values self.percentage = 100 # pre-allocate buffers - self.p1 = lv_point() - self.p2 = lv_point() - self.area = lv_area() - self.line_dsc = lv_draw_line_dsc() + self.p1 = lv.point() + self.p2 = lv.point() + self.area = lv.area() + self.line_dsc = lv.draw_line_dsc() end def widget_event(cl, event) @@ -35,14 +35,14 @@ class lv_signal_arcs : lv_obj #print("inter_bar", inter_bar, "bar", bar, "bar_offset", bar_offset) if code == lv.EVENT_DRAW_MAIN - var clip_area = lv_area(event.param) + var clip_area = lv.area(event.param) # get coordinates of object self.get_coords(self.area) var x_ofs = self.area.x1 var y_ofs = self.area.y1 - lv.draw_line_dsc_init(self.line_dsc) # initialize lv_draw_line_dsc structure + lv.draw_line_dsc_init(self.line_dsc) # initialize lv.draw_line_dsc structure self.init_draw_line_dsc(lv.PART_MAIN, self.line_dsc) # copy the current values self.line_dsc.round_start = 1 @@ -118,8 +118,8 @@ end class lv_wifi_arcs_icon: lv_wifi_arcs def init(parent) super(self).init(parent) - self.set_style_line_color(lv_color(lv.COLOR_WHITE), lv.PART_MAIN | lv.STATE_DEFAULT) - self.set_style_bg_color(lv_color(lv.COLOR_BLACK), lv.PART_MAIN | lv.STATE_DEFAULT) + self.set_style_line_color(lv.color(lv.COLOR_WHITE), lv.PART_MAIN | lv.STATE_DEFAULT) + self.set_style_bg_color(lv.color(lv.COLOR_BLACK), lv.PART_MAIN | lv.STATE_DEFAULT) if parent != nil var parent_height = parent.get_height() var pad_right = parent.get_style_pad_right(lv.PART_MAIN | lv.STATE_DEFAULT) diff --git a/lib/libesp32/Berry/default/embedded/lv_signal_bars.be b/lib/libesp32/Berry/default/embedded/lv_signal_bars.be index acce47f93..f548457b9 100644 --- a/lib/libesp32/Berry/default/embedded/lv_signal_bars.be +++ b/lib/libesp32/Berry/default/embedded/lv_signal_bars.be @@ -2,7 +2,7 @@ - --# -class lv_signal_bars : lv_obj +class lv_signal_bars : lv.obj var percentage # value to display, range 0..100 var p1, p2, area, line_dsc # instances of objects kept to avoid re-instanciating at each call @@ -12,10 +12,10 @@ class lv_signal_bars : lv_obj # own values self.percentage = 100 # pre-allocate buffers - self.p1 = lv_point() - self.p2 = lv_point() - self.area = lv_area() - self.line_dsc = lv_draw_line_dsc() + self.p1 = lv.point() + self.p2 = lv.point() + self.area = lv.area() + self.line_dsc = lv.draw_line_dsc() end def widget_event(cl, event) @@ -33,7 +33,7 @@ class lv_signal_bars : lv_obj var bar_offset = bar / 2 if code == lv.EVENT_DRAW_MAIN - var clip_area = lv_area(event.param) + var clip_area = lv.area(event.param) # get coordinates of object self.get_coords(self.area) @@ -104,8 +104,8 @@ end class lv_wifi_bars_icon: lv_wifi_bars def init(parent) super(self).init(parent) - self.set_style_line_color(lv_color(lv.COLOR_WHITE), lv.PART_MAIN | lv.STATE_DEFAULT) - self.set_style_bg_color(lv_color(lv.COLOR_BLACK), lv.PART_MAIN | lv.STATE_DEFAULT) + self.set_style_line_color(lv.color(lv.COLOR_WHITE), lv.PART_MAIN | lv.STATE_DEFAULT) + self.set_style_bg_color(lv.color(lv.COLOR_BLACK), lv.PART_MAIN | lv.STATE_DEFAULT) if parent != nil var parent_height = parent.get_height() var pad_right = parent.get_style_pad_right(lv.PART_MAIN | lv.STATE_DEFAULT) diff --git a/lib/libesp32/Berry/default/embedded/lvgl_glob.be b/lib/libesp32/Berry/default/embedded/lvgl_glob.be index ebc5b21b0..a85b42d93 100644 --- a/lib/libesp32/Berry/default/embedded/lvgl_glob.be +++ b/lib/libesp32/Berry/default/embedded/lvgl_glob.be @@ -4,9 +4,9 @@ #- this limits the globals to a single value '_lvgl' -# class LVGL_glob # all variables are lazily initialized to reduce the memory pressure. Until they are used, they consume zero memory - var cb_obj # map between a native C pointer (as int) and the corresponding lv_* berry object, also helps marking the objects as non-gc-able + var cb_obj # map between a native C pointer (as int) and the corresponding lv.lv_* berry object, also helps marking the objects as non-gc-able var cb_event_closure # mapping for event closures per LVGL native pointer (int) - var event_cb # native callback for lv_event + var event_cb # native callback for lv.lv_event #- below are native callbacks mapped to a closure to a method of this instance -# var null_cb # cb called if type is not supported @@ -20,7 +20,7 @@ class LVGL_glob #- this is the fallback callback, if the event is unknown or unsupported -# static cb_do_nothing = def() print("LVG: call to unsupported callback") end - #- register an lv_* object in the mapping -# + #- register an lv.lv_* object in the mapping -# def register_obj(obj) if self.cb_obj == nil self.cb_obj = {} end var native_ptr = int(obj._p) @@ -36,7 +36,7 @@ class LVGL_glob def lvgl_event_dispatch(event_ptr) import introspect - var event = lv_event(introspect.toptr(event_ptr)) + var event = lv.lv_event(introspect.toptr(event_ptr)) var target = event.target var f = self.cb_event_closure[target] @@ -65,7 +65,7 @@ class LVGL_glob def widget_ctor_impl(cl_ptr, obj_ptr) import introspect - var cl = lv_obj_class(cl_ptr) + var cl = lv.lv_obj_class(cl_ptr) var obj = self.get_object_from_ptr(obj_ptr) if self.cb_obj.find(obj) obj = self.cb_obj[obj] end # print("widget_ctor_impl", cl, obj) @@ -75,7 +75,7 @@ class LVGL_glob end def widget_dtor_impl(cl_ptr, obj_ptr) import introspect - var cl = lv_obj_class(cl_ptr) + var cl = lv.lv_obj_class(cl_ptr) var obj = self.get_object_from_ptr(obj_ptr) # print("widget_dtor_impl", cl, obj) if type(obj) == 'instance' && introspect.get(obj, 'widget_destructor') @@ -84,8 +84,8 @@ class LVGL_glob end def widget_event_impl(cl_ptr, e_ptr) import introspect - var cl = lv_obj_class(cl_ptr) - var event = lv_event(e_ptr) + var cl = lv.lv_obj_class(cl_ptr) + var event = lv.lv_event(e_ptr) var obj_ptr = event.target var obj = self.get_object_from_ptr(int(obj_ptr)) if type(obj) == 'instance' && introspect.get(obj, 'widget_event') @@ -101,8 +101,8 @@ class LVGL_glob if self.widget_event_cb == nil self.widget_event_cb = tasmota.gen_cb(/ cl, e -> self.widget_event_impl(cl, e)) end if self.widget_struct_default == nil - self.widget_struct_default = lv_obj_class(lv_obj._class).copy() - self.widget_struct_default.base_class = lv_obj._class # by default, inherit from base class `lv_obj`, this can be overriden + self.widget_struct_default = lv.lv_obj_class(lv.lv_obj._class).copy() + self.widget_struct_default.base_class = lv.lv_obj._class # by default, inherit from base class `lv_obj`, this can be overriden self.widget_struct_default.constructor_cb = self.widget_ctor_cb # set the berry cb dispatchers self.widget_struct_default.destructor_cb = self.widget_dtor_cb self.widget_struct_default.event_cb = self.widget_event_cb @@ -116,11 +116,11 @@ class LVGL_glob end #- initialize a custom widget -# - #- arg must be a subclass of lv_obj -# + #- arg must be a subclass of lv.lv_obj -# def create_custom_widget(obj, parent) import introspect - if !isinstance(obj, lv_obj) raise "value_error", "arg must be a subclass of lv_obj" end + if !isinstance(obj, lv.lv_obj) raise "value_error", "arg must be a subclass of lv_obj" end if self.widget_struct_by_class == nil self.widget_struct_by_class = {} end var obj_classname = classname(obj) @@ -150,7 +150,7 @@ end _lvgl = LVGL_glob() -# class lv_custom_widget : lv_obj +# class lv_custom_widget : lv.lv_obj # # static widget_width_def # # static widget_height_def # # static widget_editable @@ -165,10 +165,10 @@ _lvgl = LVGL_glob() # # own values # self.percentage = 100 # # pre-allocate buffers -# self.p1 = lv_point() -# self.p2 = lv_point() -# self.area = lv_area() -# self.line_dsc = lv_draw_line_dsc() +# self.p1 = lv.lv_point() +# self.p2 = lv.lv_point() +# self.area = lv.lv_area() +# self.line_dsc = lv.lv_draw_line_dsc() # end # # def widget_constructor(cl) @@ -194,7 +194,7 @@ _lvgl = LVGL_glob() # var code = event.code # if code == lv.EVENT_DRAW_MAIN -# var clip_area = lv_area(event.param) +# var clip_area = lv.lv_area(event.param) # print("widget_event DRAW", clip_area.tomap()) # # lv.event_send(self, lv.EVENT_DRAW_MAIN, clip_area) @@ -203,7 +203,7 @@ _lvgl = LVGL_glob() # var x_ofs = self.area.x1 # var y_ofs = self.area.y1 -# lv.draw_line_dsc_init(self.line_dsc) # initialize lv_draw_line_dsc structure +# lv.draw_line_dsc_init(self.line_dsc) # initialize lv.lv_draw_line_dsc structure # self.init_draw_line_dsc(lv.PART_MAIN, self.line_dsc) # self.line_dsc.round_start = 1 @@ -252,6 +252,6 @@ _lvgl = LVGL_glob() # scr = lv.scr_act() # default screean object # f20 = lv.montserrat_font(20) # load embedded Montserrat 20 -# scr.set_style_bg_color(lv_color(0x0000A0), lv.PART_MAIN | lv.STATE_DEFAULT) +# scr.set_style_bg_color(lv.lv_color(0x0000A0), lv.PART_MAIN | lv.STATE_DEFAULT) -# w = lv_custom_widget(scr) +# w = lv_custom_widget(scr) \ No newline at end of file diff --git a/lib/libesp32/Berry/generate/be_const_strtab.h b/lib/libesp32/Berry/generate/be_const_strtab.h index 301b70fad..d978ad37b 100644 --- a/lib/libesp32/Berry/generate/be_const_strtab.h +++ b/lib/libesp32/Berry/generate/be_const_strtab.h @@ -1,692 +1,595 @@ -extern const bcstring be_const_str_CC1101_GDO2; -extern const bcstring be_const_str_SYMBOL_NEXT; -extern const bcstring be_const_str_ZIGBEE_RST; -extern const bcstring be_const_str_SYMBOL_POWER; -extern const bcstring be_const_str_dump; -extern const bcstring be_const_str_dot_w; -extern const bcstring be_const_str_HX711_DAT; -extern const bcstring be_const_str_SPI_MISO; -extern const bcstring be_const_str_dot_p1; -extern const bcstring be_const_str_DEEPSLEEP; -extern const bcstring be_const_str_TX2X_TXD_BLACK; -extern const bcstring be_const_str_ADC_INPUT; -extern const bcstring be_const_str_compile; -extern const bcstring be_const_str_ceil; -extern const bcstring be_const_str_nil; -extern const bcstring be_const_str_opt_call; -extern const bcstring be_const_str__begin_transmission; -extern const bcstring be_const_str_write_bit; -extern const bcstring be_const_str_ADC_JOY; -extern const bcstring be_const_str_SYMBOL_BATTERY_2; -extern const bcstring be_const_str_while; -extern const bcstring be_const_str_pow; -extern const bcstring be_const_str_WEBCAM_PWDN; -extern const bcstring be_const_str_add_cmd; -extern const bcstring be_const_str_fromstring; -extern const bcstring be_const_str_yield; -extern const bcstring be_const_str_tomap; -extern const bcstring be_const_str_SM2135_DAT; -extern const bcstring be_const_str_pin_used; -extern const bcstring be_const_str_ETH_PHY_MDIO; -extern const bcstring be_const_str_isrunning; -extern const bcstring be_const_str_HX711_SCK; -extern const bcstring be_const_str_SDM72_TX; -extern const bcstring be_const_str_lv_roller; -extern const bcstring be_const_str_I2S_IN_CLK; -extern const bcstring be_const_str_SERIAL_8N1; -extern const bcstring be_const_str_geti; -extern const bcstring be_const_str_CHANGE; -extern const bcstring be_const_str_MP3_DFR562; -extern const bcstring be_const_str_SWT1; -extern const bcstring be_const_str_add_header; -extern const bcstring be_const_str_SYMBOL_MINUS; -extern const bcstring be_const_str_get_switch; -extern const bcstring be_const_str_rad; -extern const bcstring be_const_str_event; -extern const bcstring be_const_str_PROJECTOR_CTRL_RX; -extern const bcstring be_const_str_SDM72_RX; -extern const bcstring be_const_str_IRSEND; -extern const bcstring be_const_str_content_stop; -extern const bcstring be_const_str_SYMBOL_BELL; -extern const bcstring be_const_str_push; -extern const bcstring be_const_str_SERIAL_7O1; -extern const bcstring be_const_str_serial; -extern const bcstring be_const_str_continue; -extern const bcstring be_const_str_SYMBOL_TRASH; -extern const bcstring be_const_str_PZEM017_RX; -extern const bcstring be_const_str_SERIAL_7E2; +extern const bcstring be_const_str_OUTPUT_LO; extern const bcstring be_const_str_SM16716_SEL; -extern const bcstring be_const_str_WIEGAND_D0; -extern const bcstring be_const_str_WINDMETER_SPEED; -extern const bcstring be_const_str_Wire; -extern const bcstring be_const_str__global_def; -extern const bcstring be_const_str_CC1101_GDO0; -extern const bcstring be_const_str_name; -extern const bcstring be_const_str_HRE_DATA; -extern const bcstring be_const_str_LE01MR_RX; -extern const bcstring be_const_str_copy; -extern const bcstring be_const_str_set_auth; -extern const bcstring be_const_str_map; -extern const bcstring be_const_str_resp_cmnd; -extern const bcstring be_const_str_content_button; -extern const bcstring be_const_str_TM1638STB; -extern const bcstring be_const_str_time_reached; -extern const bcstring be_const_str_traceback; -extern const bcstring be_const_str_if; -extern const bcstring be_const_str_ZIGBEE_RX; -extern const bcstring be_const_str_SERIAL_5N2; -extern const bcstring be_const_str_ctypes_bytes_dyn; -extern const bcstring be_const_str_stop; -extern const bcstring be_const_str_SSD1351_DC; -extern const bcstring be_const_str_classname; -extern const bcstring be_const_str_search; -extern const bcstring be_const_str_DDS2382_TX; -extern const bcstring be_const_str_TM1638DIO; -extern const bcstring be_const_str_tolower; -extern const bcstring be_const_str_arg_name; -extern const bcstring be_const_str_resp_cmnd_str; -extern const bcstring be_const_str_tob64; -extern const bcstring be_const_str_SYMBOL_CHARGE; -extern const bcstring be_const_str_OUTPUT_HI; -extern const bcstring be_const_str_arg_size; -extern const bcstring be_const_str_reset; -extern const bcstring be_const_str_opt_add; -extern const bcstring be_const_str_resolvecmnd; -extern const bcstring be_const_str_HRE_CLOCK; -extern const bcstring be_const_str_WEBCAM_DATA; -extern const bcstring be_const_str_bus; -extern const bcstring be_const_str_lv_dropdown; -extern const bcstring be_const_str_SERIAL_5O1; -extern const bcstring be_const_str_ROT1B; -extern const bcstring be_const_str___upper__; -extern const bcstring be_const_str_SERIAL_6N2; -extern const bcstring be_const_str_TUYA_RX; -extern const bcstring be_const_str_digital_write; -extern const bcstring be_const_str_SYMBOL_COPY; -extern const bcstring be_const_str_WEBCAM_XCLK; -extern const bcstring be_const_str___lower__; -extern const bcstring be_const_str_rand; -extern const bcstring be_const_str_for; -extern const bcstring be_const_str_assert; -extern const bcstring be_const_str_lv_label; -extern const bcstring be_const_str_SYMBOL_PREV; -extern const bcstring be_const_str_wire1; -extern const bcstring be_const_str_NRG_SEL; -extern const bcstring be_const_str_SYMBOL_FILE; -extern const bcstring be_const_str_eth; -extern const bcstring be_const_str_REL1; -extern const bcstring be_const_str_KEY1_INV_PD; -extern const bcstring be_const_str_SPI_CLK; -extern const bcstring be_const_str_wire; -extern const bcstring be_const_str_PROJECTOR_CTRL_TX; -extern const bcstring be_const_str__read; -extern const bcstring be_const_str_abs; -extern const bcstring be_const_str_PULLUP; -extern const bcstring be_const_str_SERIAL_6E2; -extern const bcstring be_const_str_KEY1_INV; -extern const bcstring be_const_str_lv_switch; -extern const bcstring be_const_str_PMS5003_TX; -extern const bcstring be_const_str_WEBCAM_PSRCS; -extern const bcstring be_const_str_imin; -extern const bcstring be_const_str_WEBCAM_VSYNC; -extern const bcstring be_const_str_start; -extern const bcstring be_const_str_LED1_INV; -extern const bcstring be_const_str_opt_eq; -extern const bcstring be_const_str_import; -extern const bcstring be_const_str_KEY1_INV_NP; -extern const bcstring be_const_str_SPI_DC; -extern const bcstring be_const_str_floor; -extern const bcstring be_const_str_CNTR1_NP; -extern const bcstring be_const_str_VL53L0X_XSHUT1; -extern const bcstring be_const_str_MAX7219DIN; -extern const bcstring be_const_str_SYMBOL_KEYBOARD; -extern const bcstring be_const_str_SYMBOL_NEW_LINE; -extern const bcstring be_const_str_BACKLIGHT; -extern const bcstring be_const_str_lv_checkbox; -extern const bcstring be_const_str_else; -extern const bcstring be_const_str_reverse_gamma10; -extern const bcstring be_const_str_SSPI_MAX31865_CS1; -extern const bcstring be_const_str_WEBCAM_RESET; -extern const bcstring be_const_str_add; -extern const bcstring be_const_str_dot_len; -extern const bcstring be_const_str__available; -extern const bcstring be_const_str__timers; -extern const bcstring be_const_str_SSPI_MOSI; -extern const bcstring be_const_str_SYMBOL_BATTERY_EMPTY; -extern const bcstring be_const_str_SYMBOL_USB; -extern const bcstring be_const_str_CSE7761_RX; -extern const bcstring be_const_str_MAX7219CS; -extern const bcstring be_const_str_A4988_MS1; -extern const bcstring be_const_str_insert; -extern const bcstring be_const_str_str; -extern const bcstring be_const_str_I2C_SCL; -extern const bcstring be_const_str_ctypes_bytes; -extern const bcstring be_const_str_SYMBOL_DIRECTORY; -extern const bcstring be_const_str_lv_style; -extern const bcstring be_const_str_SM16716_DAT; -extern const bcstring be_const_str_SYMBOL_IMAGE; -extern const bcstring be_const_str_TCP_RX; -extern const bcstring be_const_str_setitem; -extern const bcstring be_const_str__cmd; -extern const bcstring be_const_str_RDM6300_RX; -extern const bcstring be_const_str_SERIAL_8E2; -extern const bcstring be_const_str_RISING; -extern const bcstring be_const_str_delay; -extern const bcstring be_const_str_get_string; -extern const bcstring be_const_str_getbits; -extern const bcstring be_const_str_loop; -extern const bcstring be_const_str_KEY1_PD; -extern const bcstring be_const_str_OLED_RESET; -extern const bcstring be_const_str_OPEN_DRAIN; -extern const bcstring be_const_str_target_search; -extern const bcstring be_const_str_CNTR1; -extern const bcstring be_const_str_OUTPUT; -extern const bcstring be_const_str__drivers; -extern const bcstring be_const_str_SYMBOL_CALL; -extern const bcstring be_const_str_SYMBOL_REFRESH; -extern const bcstring be_const_str_WEBCAM_PSCLK; -extern const bcstring be_const_str_IRRECV; -extern const bcstring be_const_str__cb; -extern const bcstring be_const_str_set_light; -extern const bcstring be_const_str_I2S_OUT_DATA; -extern const bcstring be_const_str_MIEL_HVAC_TX; -extern const bcstring be_const_str_SYMBOL_CUT; -extern const bcstring be_const_str_size; -extern const bcstring be_const_str_SYMBOL_LIST; -extern const bcstring be_const_str_TFMINIPLUS_RX; -extern const bcstring be_const_str__def; -extern const bcstring be_const_str_lv_slider; -extern const bcstring be_const_str_int; -extern const bcstring be_const_str_except; -extern const bcstring be_const_str_AudioGeneratorMP3; -extern const bcstring be_const_str_MHZ_TXD; -extern const bcstring be_const_str_web_send; -extern const bcstring be_const_str_SYMBOL_OK; -extern const bcstring be_const_str_TASMOTACLIENT_TXD; extern const bcstring be_const_str_memory; -extern const bcstring be_const_str_TELEINFO_ENABLE; -extern const bcstring be_const_str_remove_cmd; -extern const bcstring be_const_str_AudioFileSource; -extern const bcstring be_const_str_TASMOTACLIENT_RXD; -extern const bcstring be_const_str___iterator__; -extern const bcstring be_const_str__ccmd; -extern const bcstring be_const_str_INPUT_PULLUP; -extern const bcstring be_const_str_SERIAL_5E2; +extern const bcstring be_const_str_public_key; +extern const bcstring be_const_str_; +extern const bcstring be_const_str___upper__; +extern const bcstring be_const_str_EPAPER42_CS; +extern const bcstring be_const_str_ETH_PHY_MDC; +extern const bcstring be_const_str_I2S_OUT_SLCT; +extern const bcstring be_const_str_GPS_TX; +extern const bcstring be_const_str_PULLDOWN; +extern const bcstring be_const_str_SERIAL_8E1; +extern const bcstring be_const_str__get_cb; +extern const bcstring be_const_str_MHZ_RXD; +extern const bcstring be_const_str__rules; +extern const bcstring be_const_str__buffer; +extern const bcstring be_const_str_SERIAL_8E2; +extern const bcstring be_const_str_TM1637DIO; +extern const bcstring be_const_str_AudioGeneratorMP3; +extern const bcstring be_const_str_find_key_i; +extern const bcstring be_const_str_insert; +extern const bcstring be_const_str_tanh; +extern const bcstring be_const_str_SAIR_RX; +extern const bcstring be_const_str_TCP_RX; +extern const bcstring be_const_str_ADC_BUTTON_INV; +extern const bcstring be_const_str_AES_GCM; +extern const bcstring be_const_str_I2C_Driver; +extern const bcstring be_const_str_CSE7766_TX; +extern const bcstring be_const_str_NONE; +extern const bcstring be_const_str_get_power; +extern const bcstring be_const_str_read_bytes; +extern const bcstring be_const_str_addr; +extern const bcstring be_const_str_break; +extern const bcstring be_const_str_reverse; +extern const bcstring be_const_str_select; extern const bcstring be_const_str_tag; -extern const bcstring be_const_str_HLW_CF; -extern const bcstring be_const_str_KEY1_NP; -extern const bcstring be_const_str_P9813_CLK; -extern const bcstring be_const_str_REL1_INV; -extern const bcstring be_const_str_depower; +extern const bcstring be_const_str_IEM3000_TX; +extern const bcstring be_const_str_SR04_ECHO; +extern const bcstring be_const_str_ceil; +extern const bcstring be_const_str_sin; +extern const bcstring be_const_str_traceback; +extern const bcstring be_const_str_elif; +extern const bcstring be_const_str_ROT1A; +extern const bcstring be_const_str_LED1_INV; +extern const bcstring be_const_str_SERIAL_8N1; +extern const bcstring be_const_str_SM16716_CLK; +extern const bcstring be_const_str_PZEM004_RX; +extern const bcstring be_const_str_SERIAL_8N2; +extern const bcstring be_const_str_TM1638CLK; +extern const bcstring be_const_str_clear; +extern const bcstring be_const_str_opt_eq; +extern const bcstring be_const_str_KEY1_TC; +extern const bcstring be_const_str_ROT1B; +extern const bcstring be_const_str__cmd; +extern const bcstring be_const_str_lower; +extern const bcstring be_const_str_tan; +extern const bcstring be_const_str_MD5; +extern const bcstring be_const_str_SDM72_TX; +extern const bcstring be_const_str_SSPI_MISO; +extern const bcstring be_const_str_remove_timer; +extern const bcstring be_const_str_PMS5003_RX; +extern const bcstring be_const_str_WEBCAM_PSCLK; +extern const bcstring be_const_str_try; +extern const bcstring be_const_str_last_modified; +extern const bcstring be_const_str_on; +extern const bcstring be_const_str_TM1638STB; +extern const bcstring be_const_str_get_string; +extern const bcstring be_const_str_OneWire; +extern const bcstring be_const_str_PN532_TXD; +extern const bcstring be_const_str_SPI_MOSI; +extern const bcstring be_const_str_PULLUP; +extern const bcstring be_const_str_resp_cmnd_error; +extern const bcstring be_const_str_TX2X_TXD_BLACK; +extern const bcstring be_const_str_exp; +extern const bcstring be_const_str_add_cmd; +extern const bcstring be_const_str_arg_size; +extern const bcstring be_const_str_skip; +extern const bcstring be_const_str_EPD_DATA; +extern const bcstring be_const_str_I2S_OUT_DATA; +extern const bcstring be_const_str_log; +extern const bcstring be_const_str_WEBCAM_XCLK; +extern const bcstring be_const_str_exec_cmd; +extern const bcstring be_const_str_floor; +extern const bcstring be_const_str_DDS2382_TX; +extern const bcstring be_const_str_state; +extern const bcstring be_const_str_has; +extern const bcstring be_const_str_KEY1_INV_NP; +extern const bcstring be_const_str_arg; +extern const bcstring be_const_str_HPMA_TX; +extern const bcstring be_const_str_print; +extern const bcstring be_const_str_run_deferred; +extern const bcstring be_const_str_KEY1_PD; +extern const bcstring be_const_str_OUTPUT_OPEN_DRAIN; +extern const bcstring be_const_str_name; +extern const bcstring be_const_str_write; +extern const bcstring be_const_str_write_bytes; +extern const bcstring be_const_str_IBEACON_TX; +extern const bcstring be_const_str_SBR_TX; +extern const bcstring be_const_str_eth; +extern const bcstring be_const_str_EC_C25519; +extern const bcstring be_const_str_SDM72_RX; +extern const bcstring be_const_str_SERIAL_5E1; +extern const bcstring be_const_str_SERIAL_5E2; +extern const bcstring be_const_str_end; +extern const bcstring be_const_str_DSB_OUT; +extern const bcstring be_const_str_bus; +extern const bcstring be_const_str_content_flush; +extern const bcstring be_const_str_ADC_BUTTON; extern const bcstring be_const_str_item; -extern const bcstring be_const_str_SERIAL_6O1; +extern const bcstring be_const_str_seti; +extern const bcstring be_const_str_issubclass; +extern const bcstring be_const_str_AudioFileSourceFS; +extern const bcstring be_const_str_REL1; +extern const bcstring be_const_str_serial; +extern const bcstring be_const_str_copy; +extern const bcstring be_const_str_hex; +extern const bcstring be_const_str_isrunning; +extern const bcstring be_const_str_NRG_SEL_INV; +extern const bcstring be_const_str_SSD1351_DC; +extern const bcstring be_const_str__global_addr; +extern const bcstring be_const_str_CSE7761_TX; +extern const bcstring be_const_str_INPUT; +extern const bcstring be_const_str_list; +extern const bcstring be_const_str_ZIGBEE_RX; +extern const bcstring be_const_str_dot_p; +extern const bcstring be_const_str_P9813_CLK; +extern const bcstring be_const_str_load; +extern const bcstring be_const_str_HX711_DAT; +extern const bcstring be_const_str_HX711_SCK; +extern const bcstring be_const_str_bytes; +extern const bcstring be_const_str_chars_in_string; +extern const bcstring be_const_str_set_timeouts; +extern const bcstring be_const_str_RXD; +extern const bcstring be_const_str_TM1637CLK; +extern const bcstring be_const_str_opt_add; +extern const bcstring be_const_str_AS608_TX; +extern const bcstring be_const_str_detect; +extern const bcstring be_const_str_pi; +extern const bcstring be_const_str_LE01MR_TX; +extern const bcstring be_const_str_dot_w; +extern const bcstring be_const_str_except; +extern const bcstring be_const_str_A4988_STP; +extern const bcstring be_const_str_ADC_JOY; +extern const bcstring be_const_str_SSD1351_CS; +extern const bcstring be_const_str_get_light; +extern const bcstring be_const_str_log10; +extern const bcstring be_const_str_tomap; +extern const bcstring be_const_str_stop; +extern const bcstring be_const_str_remove_cmd; +extern const bcstring be_const_str_WEBCAM_PWDN; +extern const bcstring be_const_str_WEBCAM_HSD; +extern const bcstring be_const_str_reset; +extern const bcstring be_const_str_A4988_MS1; +extern const bcstring be_const_str_ZEROCROSS; +extern const bcstring be_const_str_rad; +extern const bcstring be_const_str_BOILER_OT_RX; +extern const bcstring be_const_str_ZIGBEE_RST; +extern const bcstring be_const_str_fromstring; +extern const bcstring be_const_str_iter; +extern const bcstring be_const_str_loop; +extern const bcstring be_const_str_target_search; extern const bcstring be_const_str_AudioOutput; extern const bcstring be_const_str_number; -extern const bcstring be_const_str_select; -extern const bcstring be_const_str_CSE7766_RX; -extern const bcstring be_const_str_clear; -extern const bcstring be_const_str_fromb64; -extern const bcstring be_const_str_iter; -extern const bcstring be_const_str_montserrat_font; -extern const bcstring be_const_str_init; -extern const bcstring be_const_str_; -extern const bcstring be_const_str_BS814_CLK; -extern const bcstring be_const_str_MGC3130_RESET; -extern const bcstring be_const_str_log; -extern const bcstring be_const_str_read24; -extern const bcstring be_const_str_try; -extern const bcstring be_const_str_I2S_OUT_SLCT; -extern const bcstring be_const_str_def; -extern const bcstring be_const_str_I2C_Driver; -extern const bcstring be_const_str_LE01MR_TX; -extern const bcstring be_const_str_MAX31855DO; -extern const bcstring be_const_str_set_power; -extern const bcstring be_const_str_available; -extern const bcstring be_const_str_seti; -extern const bcstring be_const_str_OPTION_A; -extern const bcstring be_const_str_SOLAXX1_TX; -extern const bcstring be_const_str_SYMBOL_GPS; -extern const bcstring be_const_str_exp; -extern const bcstring be_const_str_last_modified; -extern const bcstring be_const_str_HRXL_RX; -extern const bcstring be_const_str_ILI9341_CS; -extern const bcstring be_const_str_true; -extern const bcstring be_const_str_MHZ_RXD; -extern const bcstring be_const_str_SSD1351_CS; -extern const bcstring be_const_str_SYMBOL_MUTE; -extern const bcstring be_const_str_read; -extern const bcstring be_const_str_gen_cb; -extern const bcstring be_const_str_deinit; -extern const bcstring be_const_str_AudioGeneratorWAV; -extern const bcstring be_const_str_RC522_RST; -extern const bcstring be_const_str_IBEACON_RX; -extern const bcstring be_const_str_SYMBOL_HOME; -extern const bcstring be_const_str_SYMBOL_PLAY; -extern const bcstring be_const_str__rules; -extern const bcstring be_const_str_CSE7766_TX; -extern const bcstring be_const_str_ETH_PHY_MDC; -extern const bcstring be_const_str_PULLDOWN; -extern const bcstring be_const_str_SERIAL_7E1; -extern const bcstring be_const_str_screenshot; -extern const bcstring be_const_str_SR04_ECHO; -extern const bcstring be_const_str_save; -extern const bcstring be_const_str_ADC_RANGE; -extern const bcstring be_const_str_ROT1A_NP; -extern const bcstring be_const_str_read_bytes; -extern const bcstring be_const_str_EPAPER29_CS; -extern const bcstring be_const_str_ILI9341_DC; -extern const bcstring be_const_str_input; -extern const bcstring be_const_str_load_font; -extern const bcstring be_const_str_log10; -extern const bcstring be_const_str_DDSU666_RX; -extern const bcstring be_const_str_call; -extern const bcstring be_const_str_I2C_SDA; -extern const bcstring be_const_str_SYMBOL_PAUSE; -extern const bcstring be_const_str_calldepth; -extern const bcstring be_const_str_do; -extern const bcstring be_const_str_HPMA_RX; -extern const bcstring be_const_str_MIEL_HVAC_RX; -extern const bcstring be_const_str_exists; -extern const bcstring be_const_str_finish; -extern const bcstring be_const_str_I2S_IN_SLCT; -extern const bcstring be_const_str_MAX31855CS; -extern const bcstring be_const_str_SYMBOL_CLOSE; -extern const bcstring be_const_str_arg; -extern const bcstring be_const_str_HALLEFFECT; -extern const bcstring be_const_str_SYMBOL_RIGHT; -extern const bcstring be_const_str_DHT11_OUT; -extern const bcstring be_const_str_lv_arc; -extern const bcstring be_const_str_lv_btnmatrix; -extern const bcstring be_const_str_lv_textarea; -extern const bcstring be_const_str_web_send_decimal; -extern const bcstring be_const_str_TASMOTACLIENT_RST_INV; -extern const bcstring be_const_str_reset_search; -extern const bcstring be_const_str_SBR_RX; -extern const bcstring be_const_str_SYMBOL_BATTERY_3; -extern const bcstring be_const_str_close; -extern const bcstring be_const_str_strftime; -extern const bcstring be_const_str_super; -extern const bcstring be_const_str_tan; -extern const bcstring be_const_str_time_str; -extern const bcstring be_const_str_byte; -extern const bcstring be_const_str_check_privileged_access; -extern const bcstring be_const_str_AudioOutputI2S; -extern const bcstring be_const_str_FALLING; -extern const bcstring be_const_str__request_from; -extern const bcstring be_const_str_resize; -extern const bcstring be_const_str_ADC_BUTTON; -extern const bcstring be_const_str__global_addr; -extern const bcstring be_const_str_gc; -extern const bcstring be_const_str_toupper; -extern const bcstring be_const_str_SYMBOL_VOLUME_MID; -extern const bcstring be_const_str_format; -extern const bcstring be_const_str_dot_size; -extern const bcstring be_const_str_PN532_TXD; -extern const bcstring be_const_str_SERIAL_8N2; -extern const bcstring be_const_str_SYMBOL_SETTINGS; -extern const bcstring be_const_str_detect; -extern const bcstring be_const_str_nan; -extern const bcstring be_const_str_set_timeouts; -extern const bcstring be_const_str_EC_C25519; -extern const bcstring be_const_str_SERIAL_6N1; -extern const bcstring be_const_str_SPI_CS; -extern const bcstring be_const_str_PN532_RXD; -extern const bcstring be_const_str_SERIAL_7N2; -extern const bcstring be_const_str_content_send_style; -extern const bcstring be_const_str_SERIAL_8O2; -extern const bcstring be_const_str_SM16716_CLK; -extern const bcstring be_const_str_ADC_PH; -extern const bcstring be_const_str_SSPI_DC; -extern const bcstring be_const_str_TCP_TX; -extern const bcstring be_const_str_cosh; -extern const bcstring be_const_str_exec_cmd; -extern const bcstring be_const_str_wifi; -extern const bcstring be_const_str_SDM120_TX; -extern const bcstring be_const_str_collect; -extern const bcstring be_const_str_read32; -extern const bcstring be_const_str_break; -extern const bcstring be_const_str_find_op; -extern const bcstring be_const_str_lv_meter; -extern const bcstring be_const_str_response_append; -extern const bcstring be_const_str_TFMINIPLUS_TX; -extern const bcstring be_const_str__p; -extern const bcstring be_const_str_setbits; -extern const bcstring be_const_str_A4988_DIR; -extern const bcstring be_const_str_NRF24_DC; -extern const bcstring be_const_str_read13; -extern const bcstring be_const_str_remove_driver; -extern const bcstring be_const_str_SERIAL_7O2; -extern const bcstring be_const_str_SWT1_NP; -extern const bcstring be_const_str_SYMBOL_SD_CARD; -extern const bcstring be_const_str_SYMBOL_BATTERY_FULL; -extern const bcstring be_const_str_pin_mode; -extern const bcstring be_const_str_IEM3000_RX; -extern const bcstring be_const_str_SHELLY_DIMMER_BOOT0; -extern const bcstring be_const_str_SYMBOL_UP; -extern const bcstring be_const_str_TELEINFO_RX; -extern const bcstring be_const_str_keys; -extern const bcstring be_const_str_SYMBOL_UPLOAD; -extern const bcstring be_const_str_WEBCAM_SIOC; -extern const bcstring be_const_str_SHELLY_DIMMER_RST_INV; -extern const bcstring be_const_str_type; -extern const bcstring be_const_str_AZ_TXD; -extern const bcstring be_const_str_TXD; -extern const bcstring be_const_str_opt_neq; -extern const bcstring be_const_str_SYMBOL_BACKSPACE; -extern const bcstring be_const_str_BOILER_OT_RX; -extern const bcstring be_const_str_NRF24_CS; -extern const bcstring be_const_str_update; -extern const bcstring be_const_str_class; -extern const bcstring be_const_str_SI7021; -extern const bcstring be_const_str_find_key_i; -extern const bcstring be_const_str_dot_p2; -extern const bcstring be_const_str_pi; -extern const bcstring be_const_str_sinh; -extern const bcstring be_const_str_SDS0X1_TX; -extern const bcstring be_const_str_AZ_RXD; -extern const bcstring be_const_str_isnan; -extern const bcstring be_const_str_DYP_RX; -extern const bcstring be_const_str_SSPI_CS; -extern const bcstring be_const_str_AS608_RX; -extern const bcstring be_const_str_LEDLNK; -extern const bcstring be_const_str_SWT1_PD; -extern const bcstring be_const_str_SYMBOL_BATTERY_1; -extern const bcstring be_const_str_allocated; -extern const bcstring be_const_str_has_arg; -extern const bcstring be_const_str_opt_connect; -extern const bcstring be_const_str__end_transmission; -extern const bcstring be_const_str_split; -extern const bcstring be_const_str_P9813_DAT; -extern const bcstring be_const_str_chars_in_string; -extern const bcstring be_const_str_open; -extern const bcstring be_const_str_write8; -extern const bcstring be_const_str_DI; -extern const bcstring be_const_str_shared_key; -extern const bcstring be_const_str_POST; -extern const bcstring be_const_str_setmember; -extern const bcstring be_const_str_IBEACON_TX; -extern const bcstring be_const_str_SYMBOL_SHUFFLE; -extern const bcstring be_const_str_time_dump; -extern const bcstring be_const_str_false; -extern const bcstring be_const_str_A4988_STP; -extern const bcstring be_const_str_WEBCAM_HSD; -extern const bcstring be_const_str_cmd; -extern const bcstring be_const_str_toint; -extern const bcstring be_const_str_content_flush; -extern const bcstring be_const_str_gamma8; -extern const bcstring be_const_str_list; -extern const bcstring be_const_str_remove_timer; -extern const bcstring be_const_str_redirect; -extern const bcstring be_const_str_BS814_DAT; -extern const bcstring be_const_str_OUTPUT_LO; -extern const bcstring be_const_str_add_rule; -extern const bcstring be_const_str_get_option; -extern const bcstring be_const_str_wire2; -extern const bcstring be_const_str_lv_color; -extern const bcstring be_const_str_SYMBOL_LEFT; -extern const bcstring be_const_str_acos; -extern const bcstring be_const_str_lower; -extern const bcstring be_const_str_module; -extern const bcstring be_const_str_dac_voltage; -extern const bcstring be_const_str_FTC532; -extern const bcstring be_const_str_SDCARD_CS; -extern const bcstring be_const_str_lv_led; -extern const bcstring be_const_str_millis; -extern const bcstring be_const_str_seg7_font; -extern const bcstring be_const_str_write; -extern const bcstring be_const_str_ST7789_DC; -extern const bcstring be_const_str_SYMBOL_DOWN; -extern const bcstring be_const_str_WIEGAND_D1; -extern const bcstring be_const_str_SERIAL_6E1; -extern const bcstring be_const_str_flush; -extern const bcstring be_const_str_return; -extern const bcstring be_const_str_ARIRFSEL; -extern const bcstring be_const_str_resp_cmnd_error; -extern const bcstring be_const_str_cos; -extern const bcstring be_const_str_resp_cmnd_done; -extern const bcstring be_const_str_LEDLNK_INV; -extern const bcstring be_const_str_RC522_CS; -extern const bcstring be_const_str_SAIR_TX; extern const bcstring be_const_str_scan; -extern const bcstring be_const_str_SYMBOL_BULLET; -extern const bcstring be_const_str_decrypt; -extern const bcstring be_const_str_GET; -extern const bcstring be_const_str_SOLAXX1_RX; -extern const bcstring be_const_str_WE517_RX; -extern const bcstring be_const_str_WEBCAM_HREF; -extern const bcstring be_const_str_skip; -extern const bcstring be_const_str_KEY1; -extern const bcstring be_const_str_imax; -extern const bcstring be_const_str_EPD_DATA; -extern const bcstring be_const_str_classof; -extern const bcstring be_const_str_SYMBOL_WIFI; -extern const bcstring be_const_str_WS2812; -extern const bcstring be_const_str_get_size; -extern const bcstring be_const_str_SPI_MOSI; -extern const bcstring be_const_str_lv_bar; -extern const bcstring be_const_str_lv_line; -extern const bcstring be_const_str_lv_obj; -extern const bcstring be_const_str_lv_spinbox; -extern const bcstring be_const_str_add_driver; -extern const bcstring be_const_str_I2S_OUT_CLK; -extern const bcstring be_const_str_SYMBOL_STOP; -extern const bcstring be_const_str_SYMBOL_DUMMY; -extern const bcstring be_const_str_SERIAL_6O2; -extern const bcstring be_const_str_members; -extern const bcstring be_const_str_remove; -extern const bcstring be_const_str_I2S_IN_DATA; -extern const bcstring be_const_str_try_rule; -extern const bcstring be_const_str_sin; -extern const bcstring be_const_str_DAC; -extern const bcstring be_const_str_MD5; -extern const bcstring be_const_str_atan2; -extern const bcstring be_const_str_lv_font; -extern const bcstring be_const_str_ARIRFRCV; -extern const bcstring be_const_str_BL0940_RX; -extern const bcstring be_const_str_SSPI_SCLK; -extern const bcstring be_const_str_global; -extern const bcstring be_const_str_load; -extern const bcstring be_const_str_DDSU666_TX; -extern const bcstring be_const_str_PWM1_INV; -extern const bcstring be_const_str_begin; -extern const bcstring be_const_str_RFRECV; -extern const bcstring be_const_str_RFSEND; -extern const bcstring be_const_str_GPS_RX; -extern const bcstring be_const_str_MCP39F5_TX; -extern const bcstring be_const_str_SYMBOL_EJECT; -extern const bcstring be_const_str_publish_result; -extern const bcstring be_const_str_SDM120_RX; -extern const bcstring be_const_str_remove_rule; -extern const bcstring be_const_str_set_timer; -extern const bcstring be_const_str_HPMA_TX; -extern const bcstring be_const_str_on; -extern const bcstring be_const_str_RF_SENSOR; -extern const bcstring be_const_str__class; -extern const bcstring be_const_str_get; -extern const bcstring be_const_str_has; -extern const bcstring be_const_str_lv_table; -extern const bcstring be_const_str_SM2135_CLK; -extern const bcstring be_const_str_A4988_ENA; -extern const bcstring be_const_str_HJL_CF; -extern const bcstring be_const_str_SYMBOL_EYE_CLOSE; -extern const bcstring be_const_str__get_cb; -extern const bcstring be_const_str_get_power; -extern const bcstring be_const_str_DHT22; -extern const bcstring be_const_str_isinstance; -extern const bcstring be_const_str_top; -extern const bcstring be_const_str_SBR_TX; -extern const bcstring be_const_str_SDS0X1_RX; -extern const bcstring be_const_str_INPUT_PULLDOWN; -extern const bcstring be_const_str_SYMBOL_EYE_OPEN; -extern const bcstring be_const_str_TM1637DIO; -extern const bcstring be_const_str__ptr; -extern const bcstring be_const_str_lv_msgbox; -extern const bcstring be_const_str_var; -extern const bcstring be_const_str_SYMBOL_BLUETOOTH; -extern const bcstring be_const_str_WEBCAM_SIOD; -extern const bcstring be_const_str_find; -extern const bcstring be_const_str_elif; -extern const bcstring be_const_str_SYMBOL_VIDEO; -extern const bcstring be_const_str_asstring; -extern const bcstring be_const_str_gamma10; -extern const bcstring be_const_str_scale_uint; -extern const bcstring be_const_str_raise; -extern const bcstring be_const_str_i2c_enabled; -extern const bcstring be_const_str_ADC_LIGHT; -extern const bcstring be_const_str_HM10_TX; -extern const bcstring be_const_str_INPUT; -extern const bcstring be_const_str_SYMBOL_DRIVE; -extern const bcstring be_const_str_EXS_ENABLE; -extern const bcstring be_const_str_SSPI_MISO; -extern const bcstring be_const_str_dot_p; -extern const bcstring be_const_str_content_start; -extern const bcstring be_const_str_asin; -extern const bcstring be_const_str_encrypt; -extern const bcstring be_const_str_ADE7953_IRQ; -extern const bcstring be_const_str_set; -extern const bcstring be_const_str_Tasmota; -extern const bcstring be_const_str_ETH_PHY_POWER; -extern const bcstring be_const_str_NEOPOOL_TX; -extern const bcstring be_const_str_NONE; -extern const bcstring be_const_str_cb_dispatch; -extern const bcstring be_const_str_DCKI; -extern const bcstring be_const_str_SERIAL_5N1; -extern const bcstring be_const_str_SYMBOL_SAVE; -extern const bcstring be_const_str_pin; -extern const bcstring be_const_str_OUTPUT_OPEN_DRAIN; -extern const bcstring be_const_str_SYMBOL_WARNING; -extern const bcstring be_const_str_webclient; -extern const bcstring be_const_str_TM1637CLK; -extern const bcstring be_const_str_exec_rules; -extern const bcstring be_const_str_load_freetype_font; -extern const bcstring be_const_str_range; -extern const bcstring be_const_str_upper; -extern const bcstring be_const_str_lv_btn; -extern const bcstring be_const_str_IEM3000_TX; -extern const bcstring be_const_str_PMS5003_RX; -extern const bcstring be_const_str_ZEROCROSS; -extern const bcstring be_const_str_state; -extern const bcstring be_const_str_print; -extern const bcstring be_const_str_AudioGenerator; -extern const bcstring be_const_str_SYMBOL_PLUS; -extern const bcstring be_const_str_lv_img; -extern const bcstring be_const_str_write_bytes; -extern const bcstring be_const_str_SSD1331_CS; -extern const bcstring be_const_str_addr; -extern const bcstring be_const_str_sqrt; -extern const bcstring be_const_str_SERIAL_5O2; -extern const bcstring be_const_str_ROT1A; -extern const bcstring be_const_str_deg; -extern const bcstring be_const_str_lv_colorwheel; -extern const bcstring be_const_str_XPT2046_CS; -extern const bcstring be_const_str_read8; -extern const bcstring be_const_str_BOILER_OT_TX; -extern const bcstring be_const_str_SR04_TRIG; -extern const bcstring be_const_str_DHT11; -extern const bcstring be_const_str_PZEM004_RX; -extern const bcstring be_const_str_content_send; -extern const bcstring be_const_str_wire_scan; -extern const bcstring be_const_str_TM1638CLK; -extern const bcstring be_const_str_ZIGBEE_TX; -extern const bcstring be_const_str_SAIR_RX; -extern const bcstring be_const_str_srand; -extern const bcstring be_const_str_INTERRUPT; -extern const bcstring be_const_str_set_useragent; -extern const bcstring be_const_str__write; -extern const bcstring be_const_str_bytes; -extern const bcstring be_const_str_SYMBOL_PASTE; -extern const bcstring be_const_str_char; -extern const bcstring be_const_str_OneWire; -extern const bcstring be_const_str_get_free_heap; -extern const bcstring be_const_str_count; -extern const bcstring be_const_str_toptr; -extern const bcstring be_const_str_DSB_OUT; -extern const bcstring be_const_str_ROT1B_NP; -extern const bcstring be_const_str_reduce; -extern const bcstring be_const_str_resp_cmnd_failed; -extern const bcstring be_const_str_AES_GCM; -extern const bcstring be_const_str_GPS_TX; -extern const bcstring be_const_str_ILI9488_CS; -extern const bcstring be_const_str_MAX7219CLK; -extern const bcstring be_const_str_SSD1331_DC; -extern const bcstring be_const_str_attrdump; -extern const bcstring be_const_str_TUYA_TX; -extern const bcstring be_const_str_SYMBOL_AUDIO; -extern const bcstring be_const_str_run_deferred; -extern const bcstring be_const_str_LMT01; -extern const bcstring be_const_str_WE517_TX; -extern const bcstring be_const_str_static; -extern const bcstring be_const_str_digital_read; -extern const bcstring be_const_str_as; -extern const bcstring be_const_str_BUZZER_INV; -extern const bcstring be_const_str_LOW; -extern const bcstring be_const_str_PZEM016_RX; -extern const bcstring be_const_str_ADC_BUTTON_INV; -extern const bcstring be_const_str_BUZZER; -extern const bcstring be_const_str_MGC3130_XFER; -extern const bcstring be_const_str_member; -extern const bcstring be_const_str_reverse; -extern const bcstring be_const_str_rtc; -extern const bcstring be_const_str_ELECTRIQ_MOODL_TX; -extern const bcstring be_const_str_HM10_RX; -extern const bcstring be_const_str_SYMBOL_EDIT; -extern const bcstring be_const_str_lv_canvas; -extern const bcstring be_const_str_TASMOTACLIENT_RST; -extern const bcstring be_const_str_ST7789_CS; -extern const bcstring be_const_str_lv_indev; -extern const bcstring be_const_str_publish; -extern const bcstring be_const_str_SERIAL_5E1; -extern const bcstring be_const_str_pop; -extern const bcstring be_const_str_public_key; -extern const bcstring be_const_str_register_button_encoder; -extern const bcstring be_const_str_tostring; -extern const bcstring be_const_str_ADC_CT_POWER; -extern const bcstring be_const_str_NEOPOOL_RX; -extern const bcstring be_const_str_fromptr; -extern const bcstring be_const_str_lv_group; -extern const bcstring be_const_str_lv_imgbtn; -extern const bcstring be_const_str_ADC_TEMP; -extern const bcstring be_const_str_MAX31855CLK; -extern const bcstring be_const_str_setrange; -extern const bcstring be_const_str_tanh; -extern const bcstring be_const_str_SYMBOL_LOOP; -extern const bcstring be_const_str_SYMBOL_VOLUME_MAX; -extern const bcstring be_const_str_AS3935; -extern const bcstring be_const_str_LED1; -extern const bcstring be_const_str_SERIAL_7N1; -extern const bcstring be_const_str_codedump; -extern const bcstring be_const_str_DDS2382_RX; extern const bcstring be_const_str_NRG_CF1; -extern const bcstring be_const_str_SENSOR_END; -extern const bcstring be_const_str_SERIAL_8O1; -extern const bcstring be_const_str_RA8876_CS; -extern const bcstring be_const_str_AS608_TX; -extern const bcstring be_const_str_KEY1_TC; -extern const bcstring be_const_str_NRG_SEL_INV; -extern const bcstring be_const_str_RXD; +extern const bcstring be_const_str_try_rule; +extern const bcstring be_const_str_WEBCAM_DATA; +extern const bcstring be_const_str_remove; +extern const bcstring be_const_str_NEOPOOL_TX; +extern const bcstring be_const_str_cosh; +extern const bcstring be_const_str_encrypt; +extern const bcstring be_const_str_get_switch; +extern const bcstring be_const_str_KEY1_NP; +extern const bcstring be_const_str_SM16716_DAT; +extern const bcstring be_const_str_SPI_CS; +extern const bcstring be_const_str__read; +extern const bcstring be_const_str_SR04_TRIG; +extern const bcstring be_const_str_deinit; +extern const bcstring be_const_str_tostring; +extern const bcstring be_const_str_TASMOTACLIENT_RXD; +extern const bcstring be_const_str_Tasmota; +extern const bcstring be_const_str_while; +extern const bcstring be_const_str_DYP_RX; +extern const bcstring be_const_str_DDSU666_RX; +extern const bcstring be_const_str_PROJECTOR_CTRL_RX; +extern const bcstring be_const_str_collect; +extern const bcstring be_const_str_init; +extern const bcstring be_const_str_reset_search; +extern const bcstring be_const_str_sinh; +extern const bcstring be_const_str_split; +extern const bcstring be_const_str_ADC_INPUT; +extern const bcstring be_const_str_ETH_PHY_MDIO; +extern const bcstring be_const_str_ILI9341_DC; +extern const bcstring be_const_str_write8; +extern const bcstring be_const_str_INPUT_PULLDOWN; +extern const bcstring be_const_str_LOW; extern const bcstring be_const_str_SDM630_RX; -extern const bcstring be_const_str_atan; -extern const bcstring be_const_str_erase; -extern const bcstring be_const_str_lv_chart; -extern const bcstring be_const_str_EPAPER42_CS; -extern const bcstring be_const_str_HIGH; -extern const bcstring be_const_str_SERIAL_8E1; -extern const bcstring be_const_str_get_light; -extern const bcstring be_const_str_real; -extern const bcstring be_const_str_concat; -extern const bcstring be_const_str__buffer; -extern const bcstring be_const_str_DSB; -extern const bcstring be_const_str_PZEM0XX_TX; -extern const bcstring be_const_str_issubclass; -extern const bcstring be_const_str_SDM630_TX; -extern const bcstring be_const_str_SYMBOL_DOWNLOAD; -extern const bcstring be_const_str_hex; -extern const bcstring be_const_str_read12; -extern const bcstring be_const_str_url_encode; -extern const bcstring be_const_str_end; -extern const bcstring be_const_str_PWM1; -extern const bcstring be_const_str_CSE7761_TX; -extern const bcstring be_const_str_MCP39F5_RST; -extern const bcstring be_const_str_MCP39F5_RX; -extern const bcstring be_const_str_AudioFileSourceFS; +extern const bcstring be_const_str_SPI_DC; +extern const bcstring be_const_str_format; +extern const bcstring be_const_str_cmd; +extern const bcstring be_const_str_AudioOutputI2S; +extern const bcstring be_const_str_write_bit; +extern const bcstring be_const_str_digital_write; +extern const bcstring be_const_str_open; +extern const bcstring be_const_str_set_light; +extern const bcstring be_const_str_KEY1_INV_PD; +extern const bcstring be_const_str_TFMINIPLUS_RX; +extern const bcstring be_const_str_set_timer; +extern const bcstring be_const_str_OUTPUT; +extern const bcstring be_const_str_P9813_DAT; +extern const bcstring be_const_str_attrdump; +extern const bcstring be_const_str_members; +extern const bcstring be_const_str_range; +extern const bcstring be_const_str_time_str; +extern const bcstring be_const_str_SDCARD_CS; +extern const bcstring be_const_str_SI7021; +extern const bcstring be_const_str_POST; +extern const bcstring be_const_str_flush; +extern const bcstring be_const_str_pin_mode; +extern const bcstring be_const_str_pop; +extern const bcstring be_const_str_web_send_decimal; +extern const bcstring be_const_str___iterator__; +extern const bcstring be_const_str_IEM3000_RX; +extern const bcstring be_const_str_SSPI_SCLK; extern const bcstring be_const_str_WEBCAM_PCLK; +extern const bcstring be_const_str_pin; +extern const bcstring be_const_str_SDM120_RX; +extern const bcstring be_const_str_ADC_PH; +extern const bcstring be_const_str_RA8876_CS; +extern const bcstring be_const_str_begin; +extern const bcstring be_const_str_GET; +extern const bcstring be_const_str_pow; +extern const bcstring be_const_str_CNTR1_NP; +extern const bcstring be_const_str_add_header; +extern const bcstring be_const_str_classof; +extern const bcstring be_const_str_KEY1; +extern const bcstring be_const_str_SDS0X1_RX; +extern const bcstring be_const_str_SERIAL_7O1; +extern const bcstring be_const_str_A4988_ENA; +extern const bcstring be_const_str_SERIAL_7O2; +extern const bcstring be_const_str_SM2135_CLK; +extern const bcstring be_const_str_ETH_PHY_POWER; +extern const bcstring be_const_str_toptr; +extern const bcstring be_const_str_wire; +extern const bcstring be_const_str_def; +extern const bcstring be_const_str_RFRECV; +extern const bcstring be_const_str_deg; +extern const bcstring be_const_str_as; +extern const bcstring be_const_str_yield; +extern const bcstring be_const_str_SDM630_TX; +extern const bcstring be_const_str_redirect; +extern const bcstring be_const_str_NEOPOOL_RX; +extern const bcstring be_const_str_OPTION_A; +extern const bcstring be_const_str_wire_scan; +extern const bcstring be_const_str_read32; +extern const bcstring be_const_str_shared_key; +extern const bcstring be_const_str_SAIR_TX; +extern const bcstring be_const_str_read13; +extern const bcstring be_const_str_DSB; +extern const bcstring be_const_str_PN532_RXD; +extern const bcstring be_const_str_finish; +extern const bcstring be_const_str_nil; +extern const bcstring be_const_str_add_driver; +extern const bcstring be_const_str_content_button; +extern const bcstring be_const_str_gen_cb; +extern const bcstring be_const_str_get; +extern const bcstring be_const_str_opt_call; +extern const bcstring be_const_str_compile; +extern const bcstring be_const_str_toupper; +extern const bcstring be_const_str_get_option; +extern const bcstring be_const_str_class; +extern const bcstring be_const_str_PROJECTOR_CTRL_TX; +extern const bcstring be_const_str_PWM1; +extern const bcstring be_const_str_find_op; +extern const bcstring be_const_str_KEY1_INV; +extern const bcstring be_const_str_OLED_RESET; +extern const bcstring be_const_str_SERIAL_6E2; +extern const bcstring be_const_str_dot_size; +extern const bcstring be_const_str_SERIAL_6E1; +extern const bcstring be_const_str_XPT2046_CS; +extern const bcstring be_const_str_dot_len; +extern const bcstring be_const_str_SERIAL_6N2; +extern const bcstring be_const_str___lower__; +extern const bcstring be_const_str_AZ_TXD; +extern const bcstring be_const_str_HALLEFFECT; +extern const bcstring be_const_str_SERIAL_6N1; +extern const bcstring be_const_str__write; +extern const bcstring be_const_str_input; +extern const bcstring be_const_str_geti; +extern const bcstring be_const_str_SBR_RX; +extern const bcstring be_const_str_I2C_SDA; +extern const bcstring be_const_str_INTERRUPT; +extern const bcstring be_const_str_WEBCAM_HREF; +extern const bcstring be_const_str_rand; +extern const bcstring be_const_str_opt_neq; +extern const bcstring be_const_str_DAC; +extern const bcstring be_const_str_EXS_ENABLE; +extern const bcstring be_const_str_acos; +extern const bcstring be_const_str_srand; +extern const bcstring be_const_str_check_privileged_access; +extern const bcstring be_const_str_delay; +extern const bcstring be_const_str_SWT1_NP; +extern const bcstring be_const_str__ccmd; +extern const bcstring be_const_str_abs; +extern const bcstring be_const_str_call; +extern const bcstring be_const_str_ADC_TEMP; +extern const bcstring be_const_str__end_transmission; +extern const bcstring be_const_str_AS3935; +extern const bcstring be_const_str_get_size; +extern const bcstring be_const_str_RC522_CS; +extern const bcstring be_const_str_WS2812; +extern const bcstring be_const_str_count; +extern const bcstring be_const_str_digital_read; +extern const bcstring be_const_str_opt_connect; +extern const bcstring be_const_str_cb_dispatch; +extern const bcstring be_const_str_strftime; +extern const bcstring be_const_str_PZEM0XX_TX; +extern const bcstring be_const_str_SOLAXX1_RX; +extern const bcstring be_const_str_byte; +extern const bcstring be_const_str_content_send; +extern const bcstring be_const_str_ctypes_bytes_dyn; +extern const bcstring be_const_str_asstring; +extern const bcstring be_const_str_SDM120_TX; +extern const bcstring be_const_str_ADC_LIGHT; +extern const bcstring be_const_str_DDS2382_RX; +extern const bcstring be_const_str_DI; +extern const bcstring be_const_str_ZIGBEE_TX; +extern const bcstring be_const_str_imin; +extern const bcstring be_const_str_push; +extern const bcstring be_const_str_HM10_TX; +extern const bcstring be_const_str_fromptr; +extern const bcstring be_const_str_BACKLIGHT; +extern const bcstring be_const_str_WEBCAM_PSRCS; +extern const bcstring be_const_str_LE01MR_RX; +extern const bcstring be_const_str_MP3_DFR562; +extern const bcstring be_const_str_arg_name; +extern const bcstring be_const_str_dump; +extern const bcstring be_const_str_AudioGenerator; +extern const bcstring be_const_str_if; +extern const bcstring be_const_str_CSE7766_RX; +extern const bcstring be_const_str_IBEACON_RX; +extern const bcstring be_const_str_depower; +extern const bcstring be_const_str_get_free_heap; +extern const bcstring be_const_str_millis; +extern const bcstring be_const_str_module; +extern const bcstring be_const_str_I2S_IN_SLCT; +extern const bcstring be_const_str_SHELLY_DIMMER_BOOT0; +extern const bcstring be_const_str_WEBCAM_VSYNC; +extern const bcstring be_const_str_nan; +extern const bcstring be_const_str_MAX7219DIN; +extern const bcstring be_const_str_resize; +extern const bcstring be_const_str_resp_cmnd_done; +extern const bcstring be_const_str__ptr; +extern const bcstring be_const_str_exec_rules; +extern const bcstring be_const_str_setitem; +extern const bcstring be_const_str_AudioGeneratorWAV; +extern const bcstring be_const_str_OUTPUT_HI; +extern const bcstring be_const_str_reverse_gamma10; +extern const bcstring be_const_str_TUYA_RX; +extern const bcstring be_const_str_ARIRFRCV; +extern const bcstring be_const_str_CSE7761_RX; +extern const bcstring be_const_str_resp_cmnd; +extern const bcstring be_const_str_AudioFileSource; +extern const bcstring be_const_str_MIEL_HVAC_TX; +extern const bcstring be_const_str_SERIAL_5O2; +extern const bcstring be_const_str_publish; +extern const bcstring be_const_str_ILI9488_CS; +extern const bcstring be_const_str_LEDLNK; +extern const bcstring be_const_str_MAX31855CLK; +extern const bcstring be_const_str_SSPI_MOSI; +extern const bcstring be_const_str_TASMOTACLIENT_RST_INV; +extern const bcstring be_const_str_read8; +extern const bcstring be_const_str_MCP39F5_RST; +extern const bcstring be_const_str_TM1638DIO; +extern const bcstring be_const_str_read12; +extern const bcstring be_const_str_DHT22; +extern const bcstring be_const_str_SERIAL_5O1; +extern const bcstring be_const_str_upper; +extern const bcstring be_const_str_I2S_IN_DATA; +extern const bcstring be_const_str_WEBCAM_RESET; +extern const bcstring be_const_str_WIEGAND_D1; +extern const bcstring be_const_str_A4988_DIR; +extern const bcstring be_const_str_WIEGAND_D0; +extern const bcstring be_const_str_I2S_IN_CLK; +extern const bcstring be_const_str_MIEL_HVAC_RX; +extern const bcstring be_const_str_BUZZER_INV; +extern const bcstring be_const_str_gamma10; +extern const bcstring be_const_str_dot_p2; +extern const bcstring be_const_str_getbits; +extern const bcstring be_const_str_dot_p1; +extern const bcstring be_const_str_I2C_SCL; +extern const bcstring be_const_str_RF_SENSOR; +extern const bcstring be_const_str_PZEM016_RX; +extern const bcstring be_const_str_response_append; +extern const bcstring be_const_str_DCKI; +extern const bcstring be_const_str_MAX31855DO; +extern const bcstring be_const_str_global; +extern const bcstring be_const_str_set_useragent; +extern const bcstring be_const_str_ILI9341_CS; +extern const bcstring be_const_str_atan; +extern const bcstring be_const_str_fromb64; +extern const bcstring be_const_str_BS814_DAT; +extern const bcstring be_const_str_I2S_OUT_CLK; +extern const bcstring be_const_str_SERIAL_8O2; +extern const bcstring be_const_str_member; +extern const bcstring be_const_str_set_power; +extern const bcstring be_const_str_wire1; +extern const bcstring be_const_str_BS814_CLK; +extern const bcstring be_const_str_PZEM017_RX; +extern const bcstring be_const_str_SERIAL_8O1; +extern const bcstring be_const_str_isinstance; +extern const bcstring be_const_str_wire2; +extern const bcstring be_const_str_false; +extern const bcstring be_const_str_SENSOR_END; +extern const bcstring be_const_str_ST7789_DC; +extern const bcstring be_const_str_Wire; +extern const bcstring be_const_str_resp_cmnd_str; +extern const bcstring be_const_str_else; +extern const bcstring be_const_str_for; +extern const bcstring be_const_str_TASMOTACLIENT_RST; +extern const bcstring be_const_str_assert; +extern const bcstring be_const_str_publish_result; +extern const bcstring be_const_str_MCP39F5_TX; +extern const bcstring be_const_str__drivers; +extern const bcstring be_const_str_gc; +extern const bcstring be_const_str_set; +extern const bcstring be_const_str_SPI_MISO; +extern const bcstring be_const_str_calldepth; +extern const bcstring be_const_str_raise; +extern const bcstring be_const_str_NRF24_CS; +extern const bcstring be_const_str_PMS5003_TX; +extern const bcstring be_const_str_SERIAL_7E2; +extern const bcstring be_const_str_INPUT_PULLUP; +extern const bcstring be_const_str_SERIAL_7E1; +extern const bcstring be_const_str_exists; +extern const bcstring be_const_str_ADE7953_IRQ; +extern const bcstring be_const_str_ST7789_CS; +extern const bcstring be_const_str__begin_transmission; +extern const bcstring be_const_str_DEEPSLEEP; +extern const bcstring be_const_str_GPS_RX; +extern const bcstring be_const_str_HM10_RX; +extern const bcstring be_const_str_MAX7219CS; +extern const bcstring be_const_str_isnan; +extern const bcstring be_const_str_web_send; +extern const bcstring be_const_str_WE517_TX; +extern const bcstring be_const_str_content_start; +extern const bcstring be_const_str_SSD1331_CS; +extern const bcstring be_const_str_codedump; +extern const bcstring be_const_str__global_def; +extern const bcstring be_const_str_FALLING; +extern const bcstring be_const_str_classname; +extern const bcstring be_const_str_cos; +extern const bcstring be_const_str_save; +extern const bcstring be_const_str_CC1101_GDO0; +extern const bcstring be_const_str_LEDLNK_INV; +extern const bcstring be_const_str_AS608_RX; +extern const bcstring be_const_str_HPMA_RX; +extern const bcstring be_const_str_gamma8; +extern const bcstring be_const_str_top; +extern const bcstring be_const_str_CC1101_GDO2; +extern const bcstring be_const_str_CHANGE; +extern const bcstring be_const_str_MAX31855CS; +extern const bcstring be_const_str_keys; +extern const bcstring be_const_str_pin_used; +extern const bcstring be_const_str_SERIAL_7N2; +extern const bcstring be_const_str_i2c_enabled; +extern const bcstring be_const_str_IRRECV; +extern const bcstring be_const_str_SERIAL_7N1; +extern const bcstring be_const_str_WINDMETER_SPEED; +extern const bcstring be_const_str_event; +extern const bcstring be_const_str_DHT11_OUT; +extern const bcstring be_const_str_ROT1B_NP; +extern const bcstring be_const_str_erase; +extern const bcstring be_const_str_do; +extern const bcstring be_const_str_NRF24_DC; +extern const bcstring be_const_str_RC522_RST; +extern const bcstring be_const_str_concat; +extern const bcstring be_const_str_read; +extern const bcstring be_const_str_sqrt; +extern const bcstring be_const_str_HRE_DATA; +extern const bcstring be_const_str_MGC3130_RESET; +extern const bcstring be_const_str_add_rule; +extern const bcstring be_const_str_read24; +extern const bcstring be_const_str_scale_uint; +extern const bcstring be_const_str_wifi; +extern const bcstring be_const_str_MGC3130_XFER; +extern const bcstring be_const_str_PWM1_INV; +extern const bcstring be_const_str_SSPI_DC; +extern const bcstring be_const_str_dac_voltage; +extern const bcstring be_const_str_ARIRFSEL; +extern const bcstring be_const_str_REL1_INV; +extern const bcstring be_const_str_ROT1A_NP; +extern const bcstring be_const_str_char; +extern const bcstring be_const_str_MAX7219CLK; +extern const bcstring be_const_str_RDM6300_RX; +extern const bcstring be_const_str_setrange; +extern const bcstring be_const_str_AZ_RXD; +extern const bcstring be_const_str_LMT01; +extern const bcstring be_const_str_atan2; +extern const bcstring be_const_str_real; +extern const bcstring be_const_str_setbits; +extern const bcstring be_const_str_SPI_CLK; +extern const bcstring be_const_str_has_arg; +extern const bcstring be_const_str_BL0940_RX; +extern const bcstring be_const_str_MCP39F5_RX; +extern const bcstring be_const_str_SHELLY_DIMMER_RST_INV; +extern const bcstring be_const_str_time_dump; +extern const bcstring be_const_str_tob64; +extern const bcstring be_const_str_static; +extern const bcstring be_const_str_SM2135_DAT; +extern const bcstring be_const_str_MHZ_TXD; +extern const bcstring be_const_str_CNTR1; +extern const bcstring be_const_str_SERIAL_6O1; +extern const bcstring be_const_str_decrypt; +extern const bcstring be_const_str_IRSEND; +extern const bcstring be_const_str_SERIAL_5N1; +extern const bcstring be_const_str_set_auth; +extern const bcstring be_const_str_SDS0X1_TX; +extern const bcstring be_const_str_SERIAL_6O2; +extern const bcstring be_const_str_VL53L0X_XSHUT1; +extern const bcstring be_const_str_size; +extern const bcstring be_const_str_update; +extern const bcstring be_const_str_RFSEND; +extern const bcstring be_const_str_RISING; +extern const bcstring be_const_str_SERIAL_5N2; +extern const bcstring be_const_str_type; +extern const bcstring be_const_str_ADC_RANGE; +extern const bcstring be_const_str__cb; +extern const bcstring be_const_str_setmember; +extern const bcstring be_const_str_NRG_SEL; +extern const bcstring be_const_str_WE517_RX; +extern const bcstring be_const_str_SSD1331_DC; +extern const bcstring be_const_str_HRXL_RX; +extern const bcstring be_const_str_TCP_TX; +extern const bcstring be_const_str_content_send_style; +extern const bcstring be_const_str_map; +extern const bcstring be_const_str_allocated; +extern const bcstring be_const_str_asin; +extern const bcstring be_const_str_int; +extern const bcstring be_const_str_var; +extern const bcstring be_const_str_HJL_CF; +extern const bcstring be_const_str_SOLAXX1_TX; +extern const bcstring be_const_str_SSPI_MAX31865_CS1; +extern const bcstring be_const_str_webclient; +extern const bcstring be_const_str_resolvecmnd; +extern const bcstring be_const_str_return; +extern const bcstring be_const_str_str; +extern const bcstring be_const_str_import; +extern const bcstring be_const_str__available; +extern const bcstring be_const_str_TELEINFO_RX; +extern const bcstring be_const_str_imax; +extern const bcstring be_const_str_BUZZER; +extern const bcstring be_const_str_SWT1; +extern const bcstring be_const_str_ADC_CT_POWER; +extern const bcstring be_const_str_BOILER_OT_TX; +extern const bcstring be_const_str_SWT1_PD; +extern const bcstring be_const_str_WEBCAM_SIOC; +extern const bcstring be_const_str_close; +extern const bcstring be_const_str_true; +extern const bcstring be_const_str_available; +extern const bcstring be_const_str_HIGH; +extern const bcstring be_const_str_remove_driver; +extern const bcstring be_const_str_ELECTRIQ_MOODL_TX; +extern const bcstring be_const_str_LED1; +extern const bcstring be_const_str_TELEINFO_ENABLE; +extern const bcstring be_const_str_OPEN_DRAIN; +extern const bcstring be_const_str_WEBCAM_SIOD; +extern const bcstring be_const_str__timers; +extern const bcstring be_const_str_TXD; +extern const bcstring be_const_str_find; +extern const bcstring be_const_str_resp_cmnd_failed; +extern const bcstring be_const_str_SSPI_CS; +extern const bcstring be_const_str_TFMINIPLUS_TX; +extern const bcstring be_const_str_ctypes_bytes; +extern const bcstring be_const_str_FTC532; +extern const bcstring be_const_str_HLW_CF; +extern const bcstring be_const_str_TASMOTACLIENT_TXD; +extern const bcstring be_const_str__request_from; +extern const bcstring be_const_str_add; +extern const bcstring be_const_str_super; +extern const bcstring be_const_str_TUYA_TX; +extern const bcstring be_const_str_EPAPER29_CS; +extern const bcstring be_const_str_HRE_CLOCK; +extern const bcstring be_const_str_search; +extern const bcstring be_const_str_continue; +extern const bcstring be_const_str_DHT11; +extern const bcstring be_const_str_reduce; +extern const bcstring be_const_str_time_reached; +extern const bcstring be_const_str_url_encode; +extern const bcstring be_const_str_DDSU666_TX; +extern const bcstring be_const_str_rtc; +extern const bcstring be_const_str_content_stop; +extern const bcstring be_const_str_remove_rule; +extern const bcstring be_const_str__def; +extern const bcstring be_const_str_tolower; diff --git a/lib/libesp32/Berry/generate/be_const_strtab_def.h b/lib/libesp32/Berry/generate/be_const_strtab_def.h index 559e728c2..9874e757f 100644 --- a/lib/libesp32/Berry/generate/be_const_strtab_def.h +++ b/lib/libesp32/Berry/generate/be_const_strtab_def.h @@ -1,1036 +1,890 @@ -be_define_const_str(CC1101_GDO2, "CC1101_GDO2", 974166265u, 0, 11, &be_const_str_SYMBOL_NEXT); -be_define_const_str(SYMBOL_NEXT, "SYMBOL_NEXT", 1102844455u, 0, 11, NULL); -be_define_const_str(ZIGBEE_RST, "ZIGBEE_RST", 721588661u, 0, 10, NULL); -be_define_const_str(SYMBOL_POWER, "SYMBOL_POWER", 1125993627u, 0, 12, NULL); -be_define_const_str(dump, "dump", 3663001223u, 0, 4, NULL); -be_define_const_str(dot_w, ".w", 1255414514u, 0, 2, NULL); -be_define_const_str(HX711_DAT, "HX711_DAT", 2935118250u, 0, 9, &be_const_str_SPI_MISO); -be_define_const_str(SPI_MISO, "SPI_MISO", 150818010u, 0, 8, NULL); -be_define_const_str(dot_p1, ".p1", 249175686u, 0, 3, &be_const_str_DEEPSLEEP); -be_define_const_str(DEEPSLEEP, "DEEPSLEEP", 189922226u, 0, 9, &be_const_str_TX2X_TXD_BLACK); -be_define_const_str(TX2X_TXD_BLACK, "TX2X_TXD_BLACK", 956526176u, 0, 14, NULL); -be_define_const_str(ADC_INPUT, "ADC_INPUT", 2207556878u, 0, 9, &be_const_str_compile); -be_define_const_str(compile, "compile", 1000265118u, 0, 7, NULL); -be_define_const_str(ceil, "ceil", 1659167240u, 0, 4, &be_const_str_nil); -be_define_const_str(nil, "nil", 228849900u, 63, 3, NULL); -be_define_const_str(opt_call, "()", 685372826u, 0, 2, &be_const_str__begin_transmission); -be_define_const_str(_begin_transmission, "_begin_transmission", 2779461176u, 0, 19, &be_const_str_write_bit); -be_define_const_str(write_bit, "write_bit", 2660990436u, 0, 9, NULL); -be_define_const_str(ADC_JOY, "ADC_JOY", 1116943612u, 0, 7, &be_const_str_SYMBOL_BATTERY_2); -be_define_const_str(SYMBOL_BATTERY_2, "SYMBOL_BATTERY_2", 645813682u, 0, 16, &be_const_str_while); -be_define_const_str(while, "while", 231090382u, 53, 5, NULL); -be_define_const_str(pow, "pow", 1479764693u, 0, 3, NULL); -be_define_const_str(WEBCAM_PWDN, "WEBCAM_PWDN", 2219597454u, 0, 11, &be_const_str_add_cmd); -be_define_const_str(add_cmd, "add_cmd", 3361630879u, 0, 7, &be_const_str_fromstring); -be_define_const_str(fromstring, "fromstring", 610302344u, 0, 10, &be_const_str_yield); -be_define_const_str(yield, "yield", 1821831854u, 0, 5, NULL); -be_define_const_str(tomap, "tomap", 612167626u, 0, 5, NULL); -be_define_const_str(SM2135_DAT, "SM2135_DAT", 2882726942u, 0, 10, &be_const_str_pin_used); -be_define_const_str(pin_used, "pin_used", 4033854612u, 0, 8, NULL); -be_define_const_str(ETH_PHY_MDIO, "ETH_PHY_MDIO", 3261871568u, 0, 12, &be_const_str_isrunning); -be_define_const_str(isrunning, "isrunning", 1688182268u, 0, 9, NULL); -be_define_const_str(HX711_SCK, "HX711_SCK", 3785979404u, 0, 9, &be_const_str_SDM72_TX); -be_define_const_str(SDM72_TX, "SDM72_TX", 2042143269u, 0, 8, &be_const_str_lv_roller); -be_define_const_str(lv_roller, "lv_roller", 661902064u, 0, 9, NULL); -be_define_const_str(I2S_IN_CLK, "I2S_IN_CLK", 2996930120u, 0, 10, &be_const_str_SERIAL_8N1); -be_define_const_str(SERIAL_8N1, "SERIAL_8N1", 2369297235u, 0, 10, &be_const_str_geti); -be_define_const_str(geti, "geti", 2381006490u, 0, 4, NULL); -be_define_const_str(CHANGE, "CHANGE", 4280911421u, 0, 6, NULL); -be_define_const_str(MP3_DFR562, "MP3_DFR562", 2859952977u, 0, 10, &be_const_str_SWT1); -be_define_const_str(SWT1, "SWT1", 805224112u, 0, 4, &be_const_str_add_header); -be_define_const_str(add_header, "add_header", 927130612u, 0, 10, NULL); -be_define_const_str(SYMBOL_MINUS, "SYMBOL_MINUS", 1806749158u, 0, 12, &be_const_str_get_switch); -be_define_const_str(get_switch, "get_switch", 164821028u, 0, 10, &be_const_str_rad); -be_define_const_str(rad, "rad", 1358899048u, 0, 3, NULL); -be_define_const_str(event, "event", 4264611999u, 0, 5, NULL); -be_define_const_str(PROJECTOR_CTRL_RX, "PROJECTOR_CTRL_RX", 1542762460u, 0, 17, &be_const_str_SDM72_RX); -be_define_const_str(SDM72_RX, "SDM72_RX", 766750035u, 0, 8, NULL); -be_define_const_str(IRSEND, "IRSEND", 184848336u, 0, 6, &be_const_str_content_stop); -be_define_const_str(content_stop, "content_stop", 658554751u, 0, 12, NULL); -be_define_const_str(SYMBOL_BELL, "SYMBOL_BELL", 1736196487u, 0, 11, &be_const_str_push); -be_define_const_str(push, "push", 2272264157u, 0, 4, NULL); -be_define_const_str(SERIAL_7O1, "SERIAL_7O1", 1823802675u, 0, 10, &be_const_str_serial); -be_define_const_str(serial, "serial", 3687697785u, 0, 6, &be_const_str_continue); -be_define_const_str(continue, "continue", 2977070660u, 59, 8, NULL); -be_define_const_str(SYMBOL_TRASH, "SYMBOL_TRASH", 3169100368u, 0, 12, NULL); -be_define_const_str(PZEM017_RX, "PZEM017_RX", 3227495894u, 0, 10, &be_const_str_SERIAL_7E2); -be_define_const_str(SERIAL_7E2, "SERIAL_7E2", 97385204u, 0, 10, &be_const_str_SM16716_SEL); -be_define_const_str(SM16716_SEL, "SM16716_SEL", 142377379u, 0, 11, &be_const_str_WIEGAND_D0); -be_define_const_str(WIEGAND_D0, "WIEGAND_D0", 4192335759u, 0, 10, &be_const_str_WINDMETER_SPEED); -be_define_const_str(WINDMETER_SPEED, "WINDMETER_SPEED", 1980822204u, 0, 15, NULL); -be_define_const_str(Wire, "Wire", 1938276536u, 0, 4, &be_const_str__global_def); -be_define_const_str(_global_def, "_global_def", 646007001u, 0, 11, NULL); -be_define_const_str(CC1101_GDO0, "CC1101_GDO0", 940611027u, 0, 11, &be_const_str_name); -be_define_const_str(name, "name", 2369371622u, 0, 4, NULL); -be_define_const_str(HRE_DATA, "HRE_DATA", 1820377643u, 0, 8, NULL); -be_define_const_str(LE01MR_RX, "LE01MR_RX", 1521590809u, 0, 9, &be_const_str_copy); -be_define_const_str(copy, "copy", 3848464964u, 0, 4, NULL); -be_define_const_str(set_auth, "set_auth", 1057170930u, 0, 8, NULL); -be_define_const_str(map, "map", 3751997361u, 0, 3, &be_const_str_resp_cmnd); -be_define_const_str(resp_cmnd, "resp_cmnd", 2869459626u, 0, 9, NULL); -be_define_const_str(content_button, "content_button", 1956476087u, 0, 14, NULL); -be_define_const_str(TM1638STB, "TM1638STB", 823674593u, 0, 9, &be_const_str_time_reached); -be_define_const_str(time_reached, "time_reached", 2075136773u, 0, 12, NULL); -be_define_const_str(traceback, "traceback", 3385188109u, 0, 9, &be_const_str_if); -be_define_const_str(if, "if", 959999494u, 50, 2, NULL); -be_define_const_str(ZIGBEE_RX, "ZIGBEE_RX", 93215470u, 0, 9, NULL); -be_define_const_str(SERIAL_5N2, "SERIAL_5N2", 3363364537u, 0, 10, &be_const_str_ctypes_bytes_dyn); -be_define_const_str(ctypes_bytes_dyn, "ctypes_bytes_dyn", 915205307u, 0, 16, &be_const_str_stop); -be_define_const_str(stop, "stop", 3411225317u, 0, 4, NULL); -be_define_const_str(SSD1351_DC, "SSD1351_DC", 84950353u, 0, 10, &be_const_str_classname); -be_define_const_str(classname, "classname", 1998589948u, 0, 9, &be_const_str_search); -be_define_const_str(search, "search", 2150836393u, 0, 6, NULL); -be_define_const_str(DDS2382_TX, "DDS2382_TX", 1438117864u, 0, 10, &be_const_str_TM1638DIO); -be_define_const_str(TM1638DIO, "TM1638DIO", 1408212414u, 0, 9, &be_const_str_tolower); -be_define_const_str(tolower, "tolower", 1042520049u, 0, 7, NULL); -be_define_const_str(arg_name, "arg_name", 1345046155u, 0, 8, &be_const_str_resp_cmnd_str); -be_define_const_str(resp_cmnd_str, "resp_cmnd_str", 737845590u, 0, 13, &be_const_str_tob64); -be_define_const_str(tob64, "tob64", 373777640u, 0, 5, NULL); -be_define_const_str(SYMBOL_CHARGE, "SYMBOL_CHARGE", 2106391946u, 0, 13, NULL); -be_define_const_str(OUTPUT_HI, "OUTPUT_HI", 3153592902u, 0, 9, &be_const_str_arg_size); -be_define_const_str(arg_size, "arg_size", 3310243257u, 0, 8, &be_const_str_reset); -be_define_const_str(reset, "reset", 1695364032u, 0, 5, NULL); -be_define_const_str(opt_add, "+", 772578730u, 0, 1, &be_const_str_resolvecmnd); -be_define_const_str(resolvecmnd, "resolvecmnd", 993361485u, 0, 11, NULL); -be_define_const_str(HRE_CLOCK, "HRE_CLOCK", 2870559111u, 0, 9, &be_const_str_WEBCAM_DATA); -be_define_const_str(WEBCAM_DATA, "WEBCAM_DATA", 1476954421u, 0, 11, &be_const_str_bus); -be_define_const_str(bus, "bus", 1607822841u, 0, 3, &be_const_str_lv_dropdown); -be_define_const_str(lv_dropdown, "lv_dropdown", 2797165301u, 0, 11, NULL); -be_define_const_str(SERIAL_5O1, "SERIAL_5O1", 3782657917u, 0, 10, NULL); -be_define_const_str(ROT1B, "ROT1B", 809932573u, 0, 5, &be_const_str___upper__); +be_define_const_str(OUTPUT_LO, "OUTPUT_LO", 3724620328u, 0, 9, NULL); +be_define_const_str(SM16716_SEL, "SM16716_SEL", 142377379u, 0, 11, NULL); +be_define_const_str(memory, "memory", 2229924270u, 0, 6, &be_const_str_public_key); +be_define_const_str(public_key, "public_key", 4169142980u, 0, 10, NULL); +be_define_const_str(, "", 2166136261u, 0, 0, &be_const_str___upper__); be_define_const_str(__upper__, "__upper__", 3612202883u, 0, 9, NULL); -be_define_const_str(SERIAL_6N2, "SERIAL_6N2", 148562844u, 0, 10, &be_const_str_TUYA_RX); -be_define_const_str(TUYA_RX, "TUYA_RX", 1609397679u, 0, 7, &be_const_str_digital_write); -be_define_const_str(digital_write, "digital_write", 3435877979u, 0, 13, NULL); -be_define_const_str(SYMBOL_COPY, "SYMBOL_COPY", 4193681815u, 0, 11, &be_const_str_WEBCAM_XCLK); -be_define_const_str(WEBCAM_XCLK, "WEBCAM_XCLK", 536207425u, 0, 11, &be_const_str___lower__); -be_define_const_str(__lower__, "__lower__", 123855590u, 0, 9, &be_const_str_rand); -be_define_const_str(rand, "rand", 2711325910u, 0, 4, &be_const_str_for); -be_define_const_str(for, "for", 2901640080u, 54, 3, NULL); -be_define_const_str(assert, "assert", 2774883451u, 0, 6, &be_const_str_lv_label); -be_define_const_str(lv_label, "lv_label", 4199664246u, 0, 8, NULL); -be_define_const_str(SYMBOL_PREV, "SYMBOL_PREV", 2952615023u, 0, 11, NULL); -be_define_const_str(wire1, "wire1", 3212721419u, 0, 5, NULL); -be_define_const_str(NRG_SEL, "NRG_SEL", 1771358125u, 0, 7, &be_const_str_SYMBOL_FILE); -be_define_const_str(SYMBOL_FILE, "SYMBOL_FILE", 237085260u, 0, 11, NULL); -be_define_const_str(eth, "eth", 2191266556u, 0, 3, NULL); -be_define_const_str(REL1, "REL1", 3142397887u, 0, 4, NULL); -be_define_const_str(KEY1_INV_PD, "KEY1_INV_PD", 3828014584u, 0, 11, &be_const_str_SPI_CLK); -be_define_const_str(SPI_CLK, "SPI_CLK", 3943233814u, 0, 7, &be_const_str_wire); -be_define_const_str(wire, "wire", 4082753944u, 0, 4, NULL); -be_define_const_str(PROJECTOR_CTRL_TX, "PROJECTOR_CTRL_TX", 535811130u, 0, 17, &be_const_str__read); -be_define_const_str(_read, "_read", 346717030u, 0, 5, &be_const_str_abs); -be_define_const_str(abs, "abs", 709362235u, 0, 3, NULL); -be_define_const_str(PULLUP, "PULLUP", 3417628531u, 0, 6, NULL); -be_define_const_str(SERIAL_6E2, "SERIAL_6E2", 317471867u, 0, 10, NULL); -be_define_const_str(KEY1_INV, "KEY1_INV", 263542563u, 0, 8, &be_const_str_lv_switch); -be_define_const_str(lv_switch, "lv_switch", 3407171508u, 0, 9, NULL); -be_define_const_str(PMS5003_TX, "PMS5003_TX", 3868169364u, 0, 10, &be_const_str_WEBCAM_PSRCS); -be_define_const_str(WEBCAM_PSRCS, "WEBCAM_PSRCS", 624464864u, 0, 12, &be_const_str_imin); -be_define_const_str(imin, "imin", 2714127864u, 0, 4, NULL); -be_define_const_str(WEBCAM_VSYNC, "WEBCAM_VSYNC", 4032882166u, 0, 12, &be_const_str_start); -be_define_const_str(start, "start", 1697318111u, 0, 5, NULL); -be_define_const_str(LED1_INV, "LED1_INV", 2112045097u, 0, 8, NULL); -be_define_const_str(opt_eq, "==", 2431966415u, 0, 2, &be_const_str_import); -be_define_const_str(import, "import", 288002260u, 66, 6, NULL); -be_define_const_str(KEY1_INV_NP, "KEY1_INV_NP", 3160558586u, 0, 11, &be_const_str_SPI_DC); -be_define_const_str(SPI_DC, "SPI_DC", 553259951u, 0, 6, &be_const_str_floor); -be_define_const_str(floor, "floor", 3102149661u, 0, 5, NULL); -be_define_const_str(CNTR1_NP, "CNTR1_NP", 4288381648u, 0, 8, &be_const_str_VL53L0X_XSHUT1); -be_define_const_str(VL53L0X_XSHUT1, "VL53L0X_XSHUT1", 2341134183u, 0, 14, NULL); -be_define_const_str(MAX7219DIN, "MAX7219DIN", 380687049u, 0, 10, &be_const_str_SYMBOL_KEYBOARD); -be_define_const_str(SYMBOL_KEYBOARD, "SYMBOL_KEYBOARD", 1621492879u, 0, 15, NULL); -be_define_const_str(SYMBOL_NEW_LINE, "SYMBOL_NEW_LINE", 2014334315u, 0, 15, NULL); -be_define_const_str(BACKLIGHT, "BACKLIGHT", 3147761926u, 0, 9, &be_const_str_lv_checkbox); -be_define_const_str(lv_checkbox, "lv_checkbox", 7454841u, 0, 11, &be_const_str_else); -be_define_const_str(else, "else", 3183434736u, 52, 4, NULL); -be_define_const_str(reverse_gamma10, "reverse_gamma10", 739112262u, 0, 15, NULL); -be_define_const_str(SSPI_MAX31865_CS1, "SSPI_MAX31865_CS1", 1256578724u, 0, 17, NULL); -be_define_const_str(WEBCAM_RESET, "WEBCAM_RESET", 2171221520u, 0, 12, &be_const_str_add); -be_define_const_str(add, "add", 993596020u, 0, 3, NULL); -be_define_const_str(dot_len, ".len", 850842136u, 0, 4, &be_const_str__available); -be_define_const_str(_available, "_available", 1306196581u, 0, 10, &be_const_str__timers); -be_define_const_str(_timers, "_timers", 2600100916u, 0, 7, NULL); -be_define_const_str(SSPI_MOSI, "SSPI_MOSI", 3745917497u, 0, 9, &be_const_str_SYMBOL_BATTERY_EMPTY); -be_define_const_str(SYMBOL_BATTERY_EMPTY, "SYMBOL_BATTERY_EMPTY", 3945064277u, 0, 20, &be_const_str_SYMBOL_USB); -be_define_const_str(SYMBOL_USB, "SYMBOL_USB", 1962656552u, 0, 10, NULL); -be_define_const_str(CSE7761_RX, "CSE7761_RX", 65423248u, 0, 10, NULL); -be_define_const_str(MAX7219CS, "MAX7219CS", 2593198244u, 0, 9, NULL); -be_define_const_str(A4988_MS1, "A4988_MS1", 1729976611u, 0, 9, &be_const_str_insert); -be_define_const_str(insert, "insert", 3332609576u, 0, 6, NULL); -be_define_const_str(str, "str", 3259748752u, 0, 3, NULL); -be_define_const_str(I2C_SCL, "I2C_SCL", 164217098u, 0, 7, &be_const_str_ctypes_bytes); -be_define_const_str(ctypes_bytes, "ctypes_bytes", 3879019703u, 0, 12, NULL); -be_define_const_str(SYMBOL_DIRECTORY, "SYMBOL_DIRECTORY", 1886053449u, 0, 16, &be_const_str_lv_style); -be_define_const_str(lv_style, "lv_style", 4151611549u, 0, 8, NULL); -be_define_const_str(SM16716_DAT, "SM16716_DAT", 1905621806u, 0, 11, &be_const_str_SYMBOL_IMAGE); -be_define_const_str(SYMBOL_IMAGE, "SYMBOL_IMAGE", 815601151u, 0, 12, &be_const_str_TCP_RX); -be_define_const_str(TCP_RX, "TCP_RX", 3904354751u, 0, 6, &be_const_str_setitem); -be_define_const_str(setitem, "setitem", 1554834596u, 0, 7, NULL); -be_define_const_str(_cmd, "_cmd", 3419822142u, 0, 4, NULL); -be_define_const_str(RDM6300_RX, "RDM6300_RX", 1522345628u, 0, 10, &be_const_str_SERIAL_8E2); -be_define_const_str(SERIAL_8E2, "SERIAL_8E2", 2421454473u, 0, 10, NULL); -be_define_const_str(RISING, "RISING", 1256404539u, 0, 6, &be_const_str_delay); -be_define_const_str(delay, "delay", 1322381784u, 0, 5, &be_const_str_get_string); -be_define_const_str(get_string, "get_string", 4195847969u, 0, 10, &be_const_str_getbits); -be_define_const_str(getbits, "getbits", 3094168979u, 0, 7, &be_const_str_loop); -be_define_const_str(loop, "loop", 3723446379u, 0, 4, NULL); -be_define_const_str(KEY1_PD, "KEY1_PD", 3934075620u, 0, 7, &be_const_str_OLED_RESET); -be_define_const_str(OLED_RESET, "OLED_RESET", 4048987655u, 0, 10, NULL); -be_define_const_str(OPEN_DRAIN, "OPEN_DRAIN", 677872608u, 0, 10, &be_const_str_target_search); -be_define_const_str(target_search, "target_search", 1947846553u, 0, 13, NULL); -be_define_const_str(CNTR1, "CNTR1", 510376965u, 0, 5, &be_const_str_OUTPUT); -be_define_const_str(OUTPUT, "OUTPUT", 1469629700u, 0, 6, &be_const_str__drivers); -be_define_const_str(_drivers, "_drivers", 3260328985u, 0, 8, NULL); -be_define_const_str(SYMBOL_CALL, "SYMBOL_CALL", 1444504366u, 0, 11, &be_const_str_SYMBOL_REFRESH); -be_define_const_str(SYMBOL_REFRESH, "SYMBOL_REFRESH", 1266229761u, 0, 14, &be_const_str_WEBCAM_PSCLK); -be_define_const_str(WEBCAM_PSCLK, "WEBCAM_PSCLK", 3150007456u, 0, 12, NULL); -be_define_const_str(IRRECV, "IRRECV", 1743648982u, 0, 6, &be_const_str__cb); -be_define_const_str(_cb, "_cb", 4043300367u, 0, 3, &be_const_str_set_light); -be_define_const_str(set_light, "set_light", 3176076152u, 0, 9, NULL); -be_define_const_str(I2S_OUT_DATA, "I2S_OUT_DATA", 1176288293u, 0, 12, NULL); -be_define_const_str(MIEL_HVAC_TX, "MIEL_HVAC_TX", 567403014u, 0, 12, &be_const_str_SYMBOL_CUT); -be_define_const_str(SYMBOL_CUT, "SYMBOL_CUT", 3455112394u, 0, 10, &be_const_str_size); -be_define_const_str(size, "size", 597743964u, 0, 4, NULL); -be_define_const_str(SYMBOL_LIST, "SYMBOL_LIST", 70793990u, 0, 11, &be_const_str_TFMINIPLUS_RX); -be_define_const_str(TFMINIPLUS_RX, "TFMINIPLUS_RX", 1522203935u, 0, 13, NULL); -be_define_const_str(_def, "_def", 1985022181u, 0, 4, &be_const_str_lv_slider); -be_define_const_str(lv_slider, "lv_slider", 2274180781u, 0, 9, NULL); -be_define_const_str(int, "int", 2515107422u, 0, 3, &be_const_str_except); -be_define_const_str(except, "except", 950914032u, 69, 6, NULL); -be_define_const_str(AudioGeneratorMP3, "AudioGeneratorMP3", 2199818488u, 0, 17, &be_const_str_MHZ_TXD); -be_define_const_str(MHZ_TXD, "MHZ_TXD", 3310158233u, 0, 7, &be_const_str_web_send); -be_define_const_str(web_send, "web_send", 2989941448u, 0, 8, NULL); -be_define_const_str(SYMBOL_OK, "SYMBOL_OK", 4033162940u, 0, 9, &be_const_str_TASMOTACLIENT_TXD); -be_define_const_str(TASMOTACLIENT_TXD, "TASMOTACLIENT_TXD", 1386193940u, 0, 17, &be_const_str_memory); -be_define_const_str(memory, "memory", 2229924270u, 0, 6, NULL); -be_define_const_str(TELEINFO_ENABLE, "TELEINFO_ENABLE", 1600974501u, 0, 15, NULL); -be_define_const_str(remove_cmd, "remove_cmd", 3832315702u, 0, 10, NULL); -be_define_const_str(AudioFileSource, "AudioFileSource", 2959980058u, 0, 15, &be_const_str_TASMOTACLIENT_RXD); -be_define_const_str(TASMOTACLIENT_RXD, "TASMOTACLIENT_RXD", 72868318u, 0, 17, &be_const_str___iterator__); -be_define_const_str(__iterator__, "__iterator__", 3884039703u, 0, 12, &be_const_str__ccmd); -be_define_const_str(_ccmd, "_ccmd", 2163421413u, 0, 5, NULL); -be_define_const_str(INPUT_PULLUP, "INPUT_PULLUP", 2912931654u, 0, 12, &be_const_str_SERIAL_5E2); -be_define_const_str(SERIAL_5E2, "SERIAL_5E2", 1180552854u, 0, 10, &be_const_str_tag); -be_define_const_str(tag, "tag", 2516003219u, 0, 3, NULL); -be_define_const_str(HLW_CF, "HLW_CF", 3982619486u, 0, 6, &be_const_str_KEY1_NP); -be_define_const_str(KEY1_NP, "KEY1_NP", 709918726u, 0, 7, &be_const_str_P9813_CLK); -be_define_const_str(P9813_CLK, "P9813_CLK", 2455391001u, 0, 9, &be_const_str_REL1_INV); -be_define_const_str(REL1_INV, "REL1_INV", 3733155371u, 0, 8, &be_const_str_depower); -be_define_const_str(depower, "depower", 3563819571u, 0, 7, &be_const_str_item); -be_define_const_str(item, "item", 2671260646u, 0, 4, NULL); -be_define_const_str(SERIAL_6O1, "SERIAL_6O1", 266153272u, 0, 10, NULL); -be_define_const_str(AudioOutput, "AudioOutput", 3257792048u, 0, 11, &be_const_str_number); -be_define_const_str(number, "number", 467038368u, 0, 6, &be_const_str_select); -be_define_const_str(select, "select", 297952813u, 0, 6, NULL); -be_define_const_str(CSE7766_RX, "CSE7766_RX", 1546766819u, 0, 10, &be_const_str_clear); -be_define_const_str(clear, "clear", 1550717474u, 0, 5, &be_const_str_fromb64); -be_define_const_str(fromb64, "fromb64", 2717019639u, 0, 7, &be_const_str_iter); -be_define_const_str(iter, "iter", 3124256359u, 0, 4, &be_const_str_montserrat_font); -be_define_const_str(montserrat_font, "montserrat_font", 1819065874u, 0, 15, NULL); -be_define_const_str(init, "init", 380752755u, 0, 4, NULL); -be_define_const_str(, "", 2166136261u, 0, 0, &be_const_str_BS814_CLK); -be_define_const_str(BS814_CLK, "BS814_CLK", 3002713336u, 0, 9, &be_const_str_MGC3130_RESET); -be_define_const_str(MGC3130_RESET, "MGC3130_RESET", 405013121u, 0, 13, &be_const_str_log); -be_define_const_str(log, "log", 1062293841u, 0, 3, &be_const_str_read24); -be_define_const_str(read24, "read24", 1808533811u, 0, 6, &be_const_str_try); -be_define_const_str(try, "try", 2887626766u, 68, 3, NULL); -be_define_const_str(I2S_OUT_SLCT, "I2S_OUT_SLCT", 4037293837u, 0, 12, &be_const_str_def); -be_define_const_str(def, "def", 3310976652u, 55, 3, NULL); -be_define_const_str(I2C_Driver, "I2C_Driver", 1714501658u, 0, 10, &be_const_str_LE01MR_TX); -be_define_const_str(LE01MR_TX, "LE01MR_TX", 1589687023u, 0, 9, &be_const_str_MAX31855DO); -be_define_const_str(MAX31855DO, "MAX31855DO", 552730368u, 0, 10, &be_const_str_set_power); -be_define_const_str(set_power, "set_power", 549820893u, 0, 9, NULL); -be_define_const_str(available, "available", 1727918744u, 0, 9, &be_const_str_seti); -be_define_const_str(seti, "seti", 1500556254u, 0, 4, NULL); -be_define_const_str(OPTION_A, "OPTION_A", 1133299440u, 0, 8, &be_const_str_SOLAXX1_TX); -be_define_const_str(SOLAXX1_TX, "SOLAXX1_TX", 903770840u, 0, 10, &be_const_str_SYMBOL_GPS); -be_define_const_str(SYMBOL_GPS, "SYMBOL_GPS", 3044165570u, 0, 10, &be_const_str_exp); -be_define_const_str(exp, "exp", 1923516200u, 0, 3, &be_const_str_last_modified); -be_define_const_str(last_modified, "last_modified", 772177145u, 0, 13, NULL); -be_define_const_str(HRXL_RX, "HRXL_RX", 92702006u, 0, 7, &be_const_str_ILI9341_CS); -be_define_const_str(ILI9341_CS, "ILI9341_CS", 3519318851u, 0, 10, &be_const_str_true); -be_define_const_str(true, "true", 1303515621u, 61, 4, NULL); -be_define_const_str(MHZ_RXD, "MHZ_RXD", 328619727u, 0, 7, &be_const_str_SSD1351_CS); -be_define_const_str(SSD1351_CS, "SSD1351_CS", 488746042u, 0, 10, NULL); -be_define_const_str(SYMBOL_MUTE, "SYMBOL_MUTE", 563116043u, 0, 11, NULL); -be_define_const_str(read, "read", 3470762949u, 0, 4, NULL); -be_define_const_str(gen_cb, "gen_cb", 3245227551u, 0, 6, NULL); -be_define_const_str(deinit, "deinit", 2345559592u, 0, 6, NULL); -be_define_const_str(AudioGeneratorWAV, "AudioGeneratorWAV", 2746509368u, 0, 17, &be_const_str_RC522_RST); -be_define_const_str(RC522_RST, "RC522_RST", 720511443u, 0, 9, NULL); -be_define_const_str(IBEACON_RX, "IBEACON_RX", 2466155575u, 0, 10, &be_const_str_SYMBOL_HOME); -be_define_const_str(SYMBOL_HOME, "SYMBOL_HOME", 730845525u, 0, 11, &be_const_str_SYMBOL_PLAY); -be_define_const_str(SYMBOL_PLAY, "SYMBOL_PLAY", 1750902100u, 0, 11, &be_const_str__rules); +be_define_const_str(EPAPER42_CS, "EPAPER42_CS", 3274717451u, 0, 11, &be_const_str_ETH_PHY_MDC); +be_define_const_str(ETH_PHY_MDC, "ETH_PHY_MDC", 1519379581u, 0, 11, &be_const_str_I2S_OUT_SLCT); +be_define_const_str(I2S_OUT_SLCT, "I2S_OUT_SLCT", 4037293837u, 0, 12, NULL); +be_define_const_str(GPS_TX, "GPS_TX", 4228740808u, 0, 6, &be_const_str_PULLDOWN); +be_define_const_str(PULLDOWN, "PULLDOWN", 1853074086u, 0, 8, &be_const_str_SERIAL_8E1); +be_define_const_str(SERIAL_8E1, "SERIAL_8E1", 2371121616u, 0, 10, &be_const_str__get_cb); +be_define_const_str(_get_cb, "_get_cb", 1448849122u, 0, 7, NULL); +be_define_const_str(MHZ_RXD, "MHZ_RXD", 328619727u, 0, 7, &be_const_str__rules); be_define_const_str(_rules, "_rules", 4266217105u, 0, 6, NULL); -be_define_const_str(CSE7766_TX, "CSE7766_TX", 674624821u, 0, 10, &be_const_str_ETH_PHY_MDC); -be_define_const_str(ETH_PHY_MDC, "ETH_PHY_MDC", 1519379581u, 0, 11, &be_const_str_PULLDOWN); -be_define_const_str(PULLDOWN, "PULLDOWN", 1853074086u, 0, 8, &be_const_str_SERIAL_7E1); -be_define_const_str(SERIAL_7E1, "SERIAL_7E1", 147718061u, 0, 10, &be_const_str_screenshot); -be_define_const_str(screenshot, "screenshot", 3894592561u, 0, 10, NULL); -be_define_const_str(SR04_ECHO, "SR04_ECHO", 1906909592u, 0, 9, &be_const_str_save); -be_define_const_str(save, "save", 3439296072u, 0, 4, NULL); -be_define_const_str(ADC_RANGE, "ADC_RANGE", 3467329543u, 0, 9, &be_const_str_ROT1A_NP); -be_define_const_str(ROT1A_NP, "ROT1A_NP", 2322706903u, 0, 8, &be_const_str_read_bytes); -be_define_const_str(read_bytes, "read_bytes", 3576733173u, 0, 10, NULL); -be_define_const_str(EPAPER29_CS, "EPAPER29_CS", 3916373594u, 0, 11, &be_const_str_ILI9341_DC); -be_define_const_str(ILI9341_DC, "ILI9341_DC", 28838624u, 0, 10, &be_const_str_input); -be_define_const_str(input, "input", 4191711099u, 0, 5, &be_const_str_load_font); -be_define_const_str(load_font, "load_font", 1875840019u, 0, 9, NULL); -be_define_const_str(log10, "log10", 2346846000u, 0, 5, NULL); -be_define_const_str(DDSU666_RX, "DDSU666_RX", 1812507936u, 0, 10, &be_const_str_call); -be_define_const_str(call, "call", 3018949801u, 0, 4, NULL); -be_define_const_str(I2C_SDA, "I2C_SDA", 1052592262u, 0, 7, &be_const_str_SYMBOL_PAUSE); -be_define_const_str(SYMBOL_PAUSE, "SYMBOL_PAUSE", 641998172u, 0, 12, &be_const_str_calldepth); -be_define_const_str(calldepth, "calldepth", 3122364302u, 0, 9, &be_const_str_do); -be_define_const_str(do, "do", 1646057492u, 65, 2, NULL); -be_define_const_str(HPMA_RX, "HPMA_RX", 3462528998u, 0, 7, &be_const_str_MIEL_HVAC_RX); -be_define_const_str(MIEL_HVAC_RX, "MIEL_HVAC_RX", 3720609648u, 0, 12, &be_const_str_exists); -be_define_const_str(exists, "exists", 1002329533u, 0, 6, &be_const_str_finish); -be_define_const_str(finish, "finish", 1494643858u, 0, 6, NULL); -be_define_const_str(I2S_IN_SLCT, "I2S_IN_SLCT", 706051516u, 0, 11, &be_const_str_MAX31855CS); -be_define_const_str(MAX31855CS, "MAX31855CS", 753620511u, 0, 10, &be_const_str_SYMBOL_CLOSE); -be_define_const_str(SYMBOL_CLOSE, "SYMBOL_CLOSE", 2654402806u, 0, 12, &be_const_str_arg); -be_define_const_str(arg, "arg", 1047474471u, 0, 3, NULL); -be_define_const_str(HALLEFFECT, "HALLEFFECT", 3334305407u, 0, 10, NULL); -be_define_const_str(SYMBOL_RIGHT, "SYMBOL_RIGHT", 2984010648u, 0, 12, NULL); -be_define_const_str(DHT11_OUT, "DHT11_OUT", 1645300734u, 0, 9, &be_const_str_lv_arc); -be_define_const_str(lv_arc, "lv_arc", 4170125384u, 0, 6, &be_const_str_lv_btnmatrix); -be_define_const_str(lv_btnmatrix, "lv_btnmatrix", 626248489u, 0, 12, &be_const_str_lv_textarea); -be_define_const_str(lv_textarea, "lv_textarea", 2864635074u, 0, 11, &be_const_str_web_send_decimal); -be_define_const_str(web_send_decimal, "web_send_decimal", 1407210204u, 0, 16, NULL); -be_define_const_str(TASMOTACLIENT_RST_INV, "TASMOTACLIENT_RST_INV", 2601785365u, 0, 21, &be_const_str_reset_search); -be_define_const_str(reset_search, "reset_search", 1350414305u, 0, 12, NULL); -be_define_const_str(SBR_RX, "SBR_RX", 3350999801u, 0, 6, &be_const_str_SYMBOL_BATTERY_3); -be_define_const_str(SYMBOL_BATTERY_3, "SYMBOL_BATTERY_3", 662591301u, 0, 16, &be_const_str_close); -be_define_const_str(close, "close", 667630371u, 0, 5, &be_const_str_strftime); -be_define_const_str(strftime, "strftime", 187738851u, 0, 8, &be_const_str_super); -be_define_const_str(super, "super", 4152230356u, 0, 5, NULL); -be_define_const_str(tan, "tan", 2633446552u, 0, 3, &be_const_str_time_str); -be_define_const_str(time_str, "time_str", 2613827612u, 0, 8, NULL); -be_define_const_str(byte, "byte", 1683620383u, 0, 4, &be_const_str_check_privileged_access); -be_define_const_str(check_privileged_access, "check_privileged_access", 3692933968u, 0, 23, NULL); -be_define_const_str(AudioOutputI2S, "AudioOutputI2S", 638031784u, 0, 14, &be_const_str_FALLING); -be_define_const_str(FALLING, "FALLING", 2851701064u, 0, 7, &be_const_str__request_from); -be_define_const_str(_request_from, "_request_from", 3965148604u, 0, 13, &be_const_str_resize); -be_define_const_str(resize, "resize", 3514612129u, 0, 6, NULL); -be_define_const_str(ADC_BUTTON, "ADC_BUTTON", 3393454690u, 0, 10, NULL); -be_define_const_str(_global_addr, "_global_addr", 533766721u, 0, 12, &be_const_str_gc); -be_define_const_str(gc, "gc", 1042313471u, 0, 2, &be_const_str_toupper); -be_define_const_str(toupper, "toupper", 3691983576u, 0, 7, NULL); -be_define_const_str(SYMBOL_VOLUME_MID, "SYMBOL_VOLUME_MID", 158835057u, 0, 17, &be_const_str_format); -be_define_const_str(format, "format", 3114108242u, 0, 6, NULL); -be_define_const_str(dot_size, ".size", 1965188224u, 0, 5, &be_const_str_PN532_TXD); -be_define_const_str(PN532_TXD, "PN532_TXD", 3093418644u, 0, 9, &be_const_str_SERIAL_8N2); -be_define_const_str(SERIAL_8N2, "SERIAL_8N2", 2386074854u, 0, 10, NULL); -be_define_const_str(SYMBOL_SETTINGS, "SYMBOL_SETTINGS", 339656335u, 0, 15, &be_const_str_detect); -be_define_const_str(detect, "detect", 8884370u, 0, 6, &be_const_str_nan); -be_define_const_str(nan, "nan", 797905850u, 0, 3, &be_const_str_set_timeouts); -be_define_const_str(set_timeouts, "set_timeouts", 3732850900u, 0, 12, NULL); -be_define_const_str(EC_C25519, "EC_C25519", 95492591u, 0, 9, &be_const_str_SERIAL_6N1); -be_define_const_str(SERIAL_6N1, "SERIAL_6N1", 198895701u, 0, 10, &be_const_str_SPI_CS); -be_define_const_str(SPI_CS, "SPI_CS", 553701236u, 0, 6, NULL); -be_define_const_str(PN532_RXD, "PN532_RXD", 1780093022u, 0, 9, &be_const_str_SERIAL_7N2); -be_define_const_str(SERIAL_7N2, "SERIAL_7N2", 1874282627u, 0, 10, &be_const_str_content_send_style); -be_define_const_str(content_send_style, "content_send_style", 1087907647u, 0, 18, NULL); -be_define_const_str(SERIAL_8O2, "SERIAL_8O2", 272345123u, 0, 10, &be_const_str_SM16716_CLK); -be_define_const_str(SM16716_CLK, "SM16716_CLK", 3037641483u, 0, 11, NULL); -be_define_const_str(ADC_PH, "ADC_PH", 3820290594u, 0, 6, &be_const_str_SSPI_DC); -be_define_const_str(SSPI_DC, "SSPI_DC", 1782271864u, 0, 7, &be_const_str_TCP_TX); -be_define_const_str(TCP_TX, "TCP_TX", 2762594089u, 0, 6, &be_const_str_cosh); -be_define_const_str(cosh, "cosh", 4099687964u, 0, 4, &be_const_str_exec_cmd); -be_define_const_str(exec_cmd, "exec_cmd", 493567399u, 0, 8, &be_const_str_wifi); -be_define_const_str(wifi, "wifi", 120087624u, 0, 4, NULL); -be_define_const_str(SDM120_TX, "SDM120_TX", 2509332415u, 0, 9, &be_const_str_collect); -be_define_const_str(collect, "collect", 2399039025u, 0, 7, &be_const_str_read32); -be_define_const_str(read32, "read32", 1741276240u, 0, 6, &be_const_str_break); -be_define_const_str(break, "break", 3378807160u, 58, 5, NULL); -be_define_const_str(find_op, "find_op", 3766713376u, 0, 7, &be_const_str_lv_meter); -be_define_const_str(lv_meter, "lv_meter", 2603676121u, 0, 8, &be_const_str_response_append); -be_define_const_str(response_append, "response_append", 450346371u, 0, 15, NULL); -be_define_const_str(TFMINIPLUS_TX, "TFMINIPLUS_TX", 2527875337u, 0, 13, &be_const_str__p); -be_define_const_str(_p, "_p", 1594591802u, 0, 2, &be_const_str_setbits); -be_define_const_str(setbits, "setbits", 2762408167u, 0, 7, NULL); -be_define_const_str(A4988_DIR, "A4988_DIR", 2223595843u, 0, 9, &be_const_str_NRF24_DC); -be_define_const_str(NRF24_DC, "NRF24_DC", 688921313u, 0, 8, &be_const_str_read13); -be_define_const_str(read13, "read13", 12887293u, 0, 6, &be_const_str_remove_driver); -be_define_const_str(remove_driver, "remove_driver", 1030243768u, 0, 13, NULL); -be_define_const_str(SERIAL_7O2, "SERIAL_7O2", 1840580294u, 0, 10, &be_const_str_SWT1_NP); -be_define_const_str(SWT1_NP, "SWT1_NP", 4033043739u, 0, 7, &be_const_str_SYMBOL_SD_CARD); -be_define_const_str(SYMBOL_SD_CARD, "SYMBOL_SD_CARD", 2542376484u, 0, 14, NULL); -be_define_const_str(SYMBOL_BATTERY_FULL, "SYMBOL_BATTERY_FULL", 2638935545u, 0, 19, &be_const_str_pin_mode); -be_define_const_str(pin_mode, "pin_mode", 3258314030u, 0, 8, NULL); -be_define_const_str(IEM3000_RX, "IEM3000_RX", 1117811096u, 0, 10, &be_const_str_SHELLY_DIMMER_BOOT0); -be_define_const_str(SHELLY_DIMMER_BOOT0, "SHELLY_DIMMER_BOOT0", 2948777716u, 0, 19, &be_const_str_SYMBOL_UP); -be_define_const_str(SYMBOL_UP, "SYMBOL_UP", 3886401511u, 0, 9, &be_const_str_TELEINFO_RX); -be_define_const_str(TELEINFO_RX, "TELEINFO_RX", 1195717356u, 0, 11, &be_const_str_keys); -be_define_const_str(keys, "keys", 4182378701u, 0, 4, NULL); -be_define_const_str(SYMBOL_UPLOAD, "SYMBOL_UPLOAD", 3293679647u, 0, 13, &be_const_str_WEBCAM_SIOC); -be_define_const_str(WEBCAM_SIOC, "WEBCAM_SIOC", 218815147u, 0, 11, NULL); -be_define_const_str(SHELLY_DIMMER_RST_INV, "SHELLY_DIMMER_RST_INV", 2366759773u, 0, 21, &be_const_str_type); -be_define_const_str(type, "type", 1361572173u, 0, 4, NULL); -be_define_const_str(AZ_TXD, "AZ_TXD", 850268709u, 0, 6, &be_const_str_TXD); -be_define_const_str(TXD, "TXD", 3614562079u, 0, 3, NULL); -be_define_const_str(opt_neq, "!=", 2428715011u, 0, 2, &be_const_str_SYMBOL_BACKSPACE); -be_define_const_str(SYMBOL_BACKSPACE, "SYMBOL_BACKSPACE", 1997168681u, 0, 16, NULL); -be_define_const_str(BOILER_OT_RX, "BOILER_OT_RX", 603647409u, 0, 12, &be_const_str_NRF24_CS); -be_define_const_str(NRF24_CS, "NRF24_CS", 555833194u, 0, 8, &be_const_str_update); -be_define_const_str(update, "update", 672109684u, 0, 6, &be_const_str_class); -be_define_const_str(class, "class", 2872970239u, 57, 5, NULL); -be_define_const_str(SI7021, "SI7021", 864377911u, 0, 6, &be_const_str_find_key_i); -be_define_const_str(find_key_i, "find_key_i", 850136726u, 0, 10, NULL); -be_define_const_str(dot_p2, ".p2", 232398067u, 0, 3, &be_const_str_pi); -be_define_const_str(pi, "pi", 1213090802u, 0, 2, &be_const_str_sinh); -be_define_const_str(sinh, "sinh", 282220607u, 0, 4, NULL); -be_define_const_str(SDS0X1_TX, "SDS0X1_TX", 165045983u, 0, 9, NULL); -be_define_const_str(AZ_RXD, "AZ_RXD", 699914019u, 0, 6, &be_const_str_isnan); -be_define_const_str(isnan, "isnan", 2981347434u, 0, 5, NULL); -be_define_const_str(DYP_RX, "DYP_RX", 2122310285u, 0, 6, &be_const_str_SSPI_CS); -be_define_const_str(SSPI_CS, "SSPI_CS", 977784795u, 0, 7, NULL); -be_define_const_str(AS608_RX, "AS608_RX", 4275502016u, 0, 8, &be_const_str_LEDLNK); -be_define_const_str(LEDLNK, "LEDLNK", 2862810701u, 0, 6, NULL); -be_define_const_str(SWT1_PD, "SWT1_PD", 4166278953u, 0, 7, &be_const_str_SYMBOL_BATTERY_1); -be_define_const_str(SYMBOL_BATTERY_1, "SYMBOL_BATTERY_1", 629036063u, 0, 16, &be_const_str_allocated); -be_define_const_str(allocated, "allocated", 429986098u, 0, 9, &be_const_str_has_arg); -be_define_const_str(has_arg, "has_arg", 424878688u, 0, 7, NULL); -be_define_const_str(opt_connect, "..", 2748622605u, 0, 2, &be_const_str__end_transmission); -be_define_const_str(_end_transmission, "_end_transmission", 3237480400u, 0, 17, NULL); -be_define_const_str(split, "split", 2276994531u, 0, 5, NULL); -be_define_const_str(P9813_DAT, "P9813_DAT", 778577052u, 0, 9, &be_const_str_chars_in_string); -be_define_const_str(chars_in_string, "chars_in_string", 3148785132u, 0, 15, &be_const_str_open); -be_define_const_str(open, "open", 3546203337u, 0, 4, &be_const_str_write8); -be_define_const_str(write8, "write8", 3133991532u, 0, 6, NULL); -be_define_const_str(DI, "DI", 1070498734u, 0, 2, &be_const_str_shared_key); -be_define_const_str(shared_key, "shared_key", 2200833624u, 0, 10, NULL); -be_define_const_str(POST, "POST", 1929554311u, 0, 4, &be_const_str_setmember); -be_define_const_str(setmember, "setmember", 1432909441u, 0, 9, NULL); -be_define_const_str(IBEACON_TX, "IBEACON_TX", 3471826977u, 0, 10, &be_const_str_SYMBOL_SHUFFLE); -be_define_const_str(SYMBOL_SHUFFLE, "SYMBOL_SHUFFLE", 1123310147u, 0, 14, &be_const_str_time_dump); -be_define_const_str(time_dump, "time_dump", 3330410747u, 0, 9, NULL); -be_define_const_str(false, "false", 184981848u, 62, 5, NULL); -be_define_const_str(A4988_STP, "A4988_STP", 1622172049u, 0, 9, &be_const_str_WEBCAM_HSD); -be_define_const_str(WEBCAM_HSD, "WEBCAM_HSD", 2648502504u, 0, 10, &be_const_str_cmd); -be_define_const_str(cmd, "cmd", 4136785899u, 0, 3, &be_const_str_toint); -be_define_const_str(toint, "toint", 3613182909u, 0, 5, NULL); -be_define_const_str(content_flush, "content_flush", 214922475u, 0, 13, &be_const_str_gamma8); -be_define_const_str(gamma8, "gamma8", 3802843830u, 0, 6, &be_const_str_list); -be_define_const_str(list, "list", 217798785u, 0, 4, &be_const_str_remove_timer); -be_define_const_str(remove_timer, "remove_timer", 4141472215u, 0, 12, NULL); -be_define_const_str(redirect, "redirect", 389758641u, 0, 8, NULL); -be_define_const_str(BS814_DAT, "BS814_DAT", 3620403837u, 0, 9, NULL); -be_define_const_str(OUTPUT_LO, "OUTPUT_LO", 3724620328u, 0, 9, &be_const_str_add_rule); -be_define_const_str(add_rule, "add_rule", 596540743u, 0, 8, &be_const_str_get_option); -be_define_const_str(get_option, "get_option", 2123730033u, 0, 10, &be_const_str_wire2); -be_define_const_str(wire2, "wire2", 3229499038u, 0, 5, NULL); -be_define_const_str(lv_color, "lv_color", 1419148319u, 0, 8, NULL); -be_define_const_str(SYMBOL_LEFT, "SYMBOL_LEFT", 1563517575u, 0, 11, &be_const_str_acos); -be_define_const_str(acos, "acos", 1006755615u, 0, 4, &be_const_str_lower); -be_define_const_str(lower, "lower", 3038577850u, 0, 5, &be_const_str_module); -be_define_const_str(module, "module", 3617558685u, 0, 6, NULL); -be_define_const_str(dac_voltage, "dac_voltage", 1552257222u, 0, 11, NULL); -be_define_const_str(FTC532, "FTC532", 3182343438u, 0, 6, &be_const_str_SDCARD_CS); -be_define_const_str(SDCARD_CS, "SDCARD_CS", 3348952003u, 0, 9, &be_const_str_lv_led); -be_define_const_str(lv_led, "lv_led", 3192184733u, 0, 6, &be_const_str_millis); -be_define_const_str(millis, "millis", 1214679063u, 0, 6, NULL); -be_define_const_str(seg7_font, "seg7_font", 4099690689u, 0, 9, &be_const_str_write); -be_define_const_str(write, "write", 3190202204u, 0, 5, NULL); -be_define_const_str(ST7789_DC, "ST7789_DC", 2533509745u, 0, 9, &be_const_str_SYMBOL_DOWN); -be_define_const_str(SYMBOL_DOWN, "SYMBOL_DOWN", 1107513570u, 0, 11, &be_const_str_WIEGAND_D1); -be_define_const_str(WIEGAND_D1, "WIEGAND_D1", 4175558140u, 0, 10, NULL); -be_define_const_str(SERIAL_6E1, "SERIAL_6E1", 334249486u, 0, 10, NULL); -be_define_const_str(flush, "flush", 3002334877u, 0, 5, &be_const_str_return); -be_define_const_str(return, "return", 2246981567u, 60, 6, NULL); -be_define_const_str(ARIRFSEL, "ARIRFSEL", 233874443u, 0, 8, &be_const_str_resp_cmnd_error); -be_define_const_str(resp_cmnd_error, "resp_cmnd_error", 2404088863u, 0, 15, NULL); -be_define_const_str(cos, "cos", 4220379804u, 0, 3, NULL); -be_define_const_str(resp_cmnd_done, "resp_cmnd_done", 2601874875u, 0, 14, NULL); -be_define_const_str(LEDLNK_INV, "LEDLNK_INV", 3559015101u, 0, 10, &be_const_str_RC522_CS); -be_define_const_str(RC522_CS, "RC522_CS", 2639619996u, 0, 8, &be_const_str_SAIR_TX); -be_define_const_str(SAIR_TX, "SAIR_TX", 268017311u, 0, 7, &be_const_str_scan); -be_define_const_str(scan, "scan", 3974641896u, 0, 4, NULL); -be_define_const_str(SYMBOL_BULLET, "SYMBOL_BULLET", 587181862u, 0, 13, NULL); -be_define_const_str(decrypt, "decrypt", 2886974618u, 0, 7, NULL); -be_define_const_str(GET, "GET", 2531704439u, 0, 3, &be_const_str_SOLAXX1_RX); -be_define_const_str(SOLAXX1_RX, "SOLAXX1_RX", 971867054u, 0, 10, &be_const_str_WE517_RX); -be_define_const_str(WE517_RX, "WE517_RX", 4096577879u, 0, 8, &be_const_str_WEBCAM_HREF); -be_define_const_str(WEBCAM_HREF, "WEBCAM_HREF", 3161890024u, 0, 11, &be_const_str_skip); -be_define_const_str(skip, "skip", 1097563074u, 0, 4, NULL); -be_define_const_str(KEY1, "KEY1", 6715975u, 0, 4, &be_const_str_imax); -be_define_const_str(imax, "imax", 3084515410u, 0, 4, NULL); -be_define_const_str(EPD_DATA, "EPD_DATA", 3799141097u, 0, 8, &be_const_str_classof); -be_define_const_str(classof, "classof", 1796577762u, 0, 7, NULL); -be_define_const_str(SYMBOL_WIFI, "SYMBOL_WIFI", 682141303u, 0, 11, &be_const_str_WS2812); -be_define_const_str(WS2812, "WS2812", 3539741218u, 0, 6, &be_const_str_get_size); -be_define_const_str(get_size, "get_size", 2803644713u, 0, 8, NULL); -be_define_const_str(SPI_MOSI, "SPI_MOSI", 2494218614u, 0, 8, &be_const_str_lv_bar); -be_define_const_str(lv_bar, "lv_bar", 1582673229u, 0, 6, &be_const_str_lv_line); -be_define_const_str(lv_line, "lv_line", 2692732914u, 0, 7, &be_const_str_lv_obj); -be_define_const_str(lv_obj, "lv_obj", 4257833149u, 0, 6, &be_const_str_lv_spinbox); -be_define_const_str(lv_spinbox, "lv_spinbox", 2666096729u, 0, 10, NULL); -be_define_const_str(add_driver, "add_driver", 1654458371u, 0, 10, NULL); -be_define_const_str(I2S_OUT_CLK, "I2S_OUT_CLK", 2580200387u, 0, 11, &be_const_str_SYMBOL_STOP); -be_define_const_str(SYMBOL_STOP, "SYMBOL_STOP", 2836505202u, 0, 11, NULL); -be_define_const_str(SYMBOL_DUMMY, "SYMBOL_DUMMY", 3621732138u, 0, 12, NULL); -be_define_const_str(SERIAL_6O2, "SERIAL_6O2", 316486129u, 0, 10, &be_const_str_members); -be_define_const_str(members, "members", 937576464u, 0, 7, &be_const_str_remove); -be_define_const_str(remove, "remove", 3683784189u, 0, 6, NULL); -be_define_const_str(I2S_IN_DATA, "I2S_IN_DATA", 4125971460u, 0, 11, &be_const_str_try_rule); -be_define_const_str(try_rule, "try_rule", 1986449405u, 0, 8, NULL); -be_define_const_str(sin, "sin", 3761252941u, 0, 3, NULL); -be_define_const_str(DAC, "DAC", 788912847u, 0, 3, &be_const_str_MD5); -be_define_const_str(MD5, "MD5", 1935726387u, 0, 3, NULL); -be_define_const_str(atan2, "atan2", 3173440503u, 0, 5, &be_const_str_lv_font); -be_define_const_str(lv_font, "lv_font", 1550958453u, 0, 7, NULL); -be_define_const_str(ARIRFRCV, "ARIRFRCV", 1120816444u, 0, 8, &be_const_str_BL0940_RX); -be_define_const_str(BL0940_RX, "BL0940_RX", 2908993179u, 0, 9, &be_const_str_SSPI_SCLK); -be_define_const_str(SSPI_SCLK, "SSPI_SCLK", 136688954u, 0, 9, &be_const_str_global); -be_define_const_str(global, "global", 503252654u, 0, 6, &be_const_str_load); -be_define_const_str(load, "load", 3859241449u, 0, 4, NULL); -be_define_const_str(DDSU666_TX, "DDSU666_TX", 1880604150u, 0, 10, &be_const_str_PWM1_INV); -be_define_const_str(PWM1_INV, "PWM1_INV", 3939021030u, 0, 8, &be_const_str_begin); -be_define_const_str(begin, "begin", 1748273790u, 0, 5, NULL); -be_define_const_str(RFRECV, "RFRECV", 354742801u, 0, 6, &be_const_str_RFSEND); -be_define_const_str(RFSEND, "RFSEND", 1862630731u, 0, 6, NULL); -be_define_const_str(GPS_RX, "GPS_RX", 1075637342u, 0, 6, &be_const_str_MCP39F5_TX); -be_define_const_str(MCP39F5_TX, "MCP39F5_TX", 1332322047u, 0, 10, &be_const_str_SYMBOL_EJECT); -be_define_const_str(SYMBOL_EJECT, "SYMBOL_EJECT", 873760647u, 0, 12, &be_const_str_publish_result); -be_define_const_str(publish_result, "publish_result", 2013351252u, 0, 14, NULL); -be_define_const_str(SDM120_RX, "SDM120_RX", 1367571753u, 0, 9, &be_const_str_remove_rule); -be_define_const_str(remove_rule, "remove_rule", 3456211328u, 0, 11, &be_const_str_set_timer); -be_define_const_str(set_timer, "set_timer", 2135414533u, 0, 9, NULL); -be_define_const_str(HPMA_TX, "HPMA_TX", 173233104u, 0, 7, &be_const_str_on); -be_define_const_str(on, "on", 1630810064u, 0, 2, NULL); -be_define_const_str(RF_SENSOR, "RF_SENSOR", 2289628100u, 0, 9, &be_const_str__class); -be_define_const_str(_class, "_class", 2732146350u, 0, 6, &be_const_str_get); -be_define_const_str(get, "get", 1410115415u, 0, 3, &be_const_str_has); -be_define_const_str(has, "has", 3988721635u, 0, 3, &be_const_str_lv_table); -be_define_const_str(lv_table, "lv_table", 1675691020u, 0, 8, NULL); -be_define_const_str(SM2135_CLK, "SM2135_CLK", 2383410011u, 0, 10, NULL); -be_define_const_str(A4988_ENA, "A4988_ENA", 1517502682u, 0, 9, &be_const_str_HJL_CF); -be_define_const_str(HJL_CF, "HJL_CF", 786158487u, 0, 6, &be_const_str_SYMBOL_EYE_CLOSE); -be_define_const_str(SYMBOL_EYE_CLOSE, "SYMBOL_EYE_CLOSE", 404721792u, 0, 16, &be_const_str__get_cb); -be_define_const_str(_get_cb, "_get_cb", 1448849122u, 0, 7, &be_const_str_get_power); -be_define_const_str(get_power, "get_power", 3009799377u, 0, 9, NULL); -be_define_const_str(DHT22, "DHT22", 215937903u, 0, 5, &be_const_str_isinstance); -be_define_const_str(isinstance, "isinstance", 3669352738u, 0, 10, &be_const_str_top); -be_define_const_str(top, "top", 2802900028u, 0, 3, NULL); -be_define_const_str(SBR_TX, "SBR_TX", 3419096015u, 0, 6, &be_const_str_SDS0X1_RX); -be_define_const_str(SDS0X1_RX, "SDS0X1_RX", 1170717385u, 0, 9, NULL); -be_define_const_str(INPUT_PULLDOWN, "INPUT_PULLDOWN", 1172232591u, 0, 14, &be_const_str_SYMBOL_EYE_OPEN); -be_define_const_str(SYMBOL_EYE_OPEN, "SYMBOL_EYE_OPEN", 3449311676u, 0, 15, &be_const_str_TM1637DIO); -be_define_const_str(TM1637DIO, "TM1637DIO", 1574659381u, 0, 9, &be_const_str__ptr); -be_define_const_str(_ptr, "_ptr", 306235816u, 0, 4, &be_const_str_lv_msgbox); -be_define_const_str(lv_msgbox, "lv_msgbox", 689085206u, 0, 9, &be_const_str_var); -be_define_const_str(var, "var", 2317739966u, 64, 3, NULL); -be_define_const_str(SYMBOL_BLUETOOTH, "SYMBOL_BLUETOOTH", 679376572u, 0, 16, &be_const_str_WEBCAM_SIOD); -be_define_const_str(WEBCAM_SIOD, "WEBCAM_SIOD", 302703242u, 0, 11, &be_const_str_find); -be_define_const_str(find, "find", 3186656602u, 0, 4, &be_const_str_elif); -be_define_const_str(elif, "elif", 3232090307u, 51, 4, NULL); -be_define_const_str(SYMBOL_VIDEO, "SYMBOL_VIDEO", 789726913u, 0, 12, &be_const_str_asstring); -be_define_const_str(asstring, "asstring", 1298225088u, 0, 8, &be_const_str_gamma10); -be_define_const_str(gamma10, "gamma10", 3472052483u, 0, 7, NULL); -be_define_const_str(scale_uint, "scale_uint", 3090811094u, 0, 10, NULL); -be_define_const_str(raise, "raise", 1593437475u, 70, 5, NULL); -be_define_const_str(i2c_enabled, "i2c_enabled", 218388101u, 0, 11, NULL); -be_define_const_str(ADC_LIGHT, "ADC_LIGHT", 3982461502u, 0, 9, &be_const_str_HM10_TX); -be_define_const_str(HM10_TX, "HM10_TX", 1522037252u, 0, 7, &be_const_str_INPUT); -be_define_const_str(INPUT, "INPUT", 1638025307u, 0, 5, &be_const_str_SYMBOL_DRIVE); -be_define_const_str(SYMBOL_DRIVE, "SYMBOL_DRIVE", 567203502u, 0, 12, NULL); -be_define_const_str(EXS_ENABLE, "EXS_ENABLE", 1896914313u, 0, 10, &be_const_str_SSPI_MISO); -be_define_const_str(SSPI_MISO, "SSPI_MISO", 2485347173u, 0, 9, NULL); -be_define_const_str(dot_p, ".p", 1171526419u, 0, 2, &be_const_str_content_start); -be_define_const_str(content_start, "content_start", 2937509069u, 0, 13, NULL); -be_define_const_str(asin, "asin", 4272848550u, 0, 4, &be_const_str_encrypt); -be_define_const_str(encrypt, "encrypt", 2194327650u, 0, 7, NULL); -be_define_const_str(ADE7953_IRQ, "ADE7953_IRQ", 2329185922u, 0, 11, &be_const_str_set); -be_define_const_str(set, "set", 3324446467u, 0, 3, NULL); -be_define_const_str(Tasmota, "Tasmota", 4047617668u, 0, 7, NULL); -be_define_const_str(ETH_PHY_POWER, "ETH_PHY_POWER", 487529454u, 0, 13, &be_const_str_NEOPOOL_TX); -be_define_const_str(NEOPOOL_TX, "NEOPOOL_TX", 2924925804u, 0, 10, &be_const_str_NONE); -be_define_const_str(NONE, "NONE", 1932136219u, 0, 4, &be_const_str_cb_dispatch); -be_define_const_str(cb_dispatch, "cb_dispatch", 1741510499u, 0, 11, NULL); -be_define_const_str(DCKI, "DCKI", 3846847480u, 0, 4, &be_const_str_SERIAL_5N1); -be_define_const_str(SERIAL_5N1, "SERIAL_5N1", 3313031680u, 0, 10, &be_const_str_SYMBOL_SAVE); -be_define_const_str(SYMBOL_SAVE, "SYMBOL_SAVE", 2439821015u, 0, 11, &be_const_str_pin); -be_define_const_str(pin, "pin", 1866532500u, 0, 3, NULL); -be_define_const_str(OUTPUT_OPEN_DRAIN, "OUTPUT_OPEN_DRAIN", 2147249436u, 0, 17, &be_const_str_SYMBOL_WARNING); -be_define_const_str(SYMBOL_WARNING, "SYMBOL_WARNING", 4119913686u, 0, 14, &be_const_str_webclient); -be_define_const_str(webclient, "webclient", 4076389146u, 0, 9, NULL); -be_define_const_str(TM1637CLK, "TM1637CLK", 2797300857u, 0, 9, &be_const_str_exec_rules); -be_define_const_str(exec_rules, "exec_rules", 1445221092u, 0, 10, &be_const_str_load_freetype_font); -be_define_const_str(load_freetype_font, "load_freetype_font", 2368447592u, 0, 18, &be_const_str_range); -be_define_const_str(range, "range", 4208725202u, 0, 5, &be_const_str_upper); -be_define_const_str(upper, "upper", 176974407u, 0, 5, NULL); -be_define_const_str(lv_btn, "lv_btn", 1612829968u, 0, 6, NULL); -be_define_const_str(IEM3000_TX, "IEM3000_TX", 1185907310u, 0, 10, &be_const_str_PMS5003_RX); -be_define_const_str(PMS5003_RX, "PMS5003_RX", 3934985650u, 0, 10, &be_const_str_ZEROCROSS); -be_define_const_str(ZEROCROSS, "ZEROCROSS", 1747596785u, 0, 9, &be_const_str_state); -be_define_const_str(state, "state", 2016490230u, 0, 5, NULL); -be_define_const_str(print, "print", 372738696u, 0, 5, NULL); -be_define_const_str(AudioGenerator, "AudioGenerator", 1839297342u, 0, 14, &be_const_str_SYMBOL_PLUS); -be_define_const_str(SYMBOL_PLUS, "SYMBOL_PLUS", 2860093262u, 0, 11, &be_const_str_lv_img); -be_define_const_str(lv_img, "lv_img", 2474052327u, 0, 6, &be_const_str_write_bytes); -be_define_const_str(write_bytes, "write_bytes", 1227543792u, 0, 11, NULL); -be_define_const_str(SSD1331_CS, "SSD1331_CS", 4191047928u, 0, 10, &be_const_str_addr); -be_define_const_str(addr, "addr", 1087856498u, 0, 4, NULL); -be_define_const_str(sqrt, "sqrt", 2112764879u, 0, 4, NULL); -be_define_const_str(SERIAL_5O2, "SERIAL_5O2", 3732325060u, 0, 10, NULL); -be_define_const_str(ROT1A, "ROT1A", 759599716u, 0, 5, &be_const_str_deg); -be_define_const_str(deg, "deg", 3327754271u, 0, 3, &be_const_str_lv_colorwheel); -be_define_const_str(lv_colorwheel, "lv_colorwheel", 1107232566u, 0, 13, NULL); -be_define_const_str(XPT2046_CS, "XPT2046_CS", 4049231042u, 0, 10, &be_const_str_read8); -be_define_const_str(read8, "read8", 2802788167u, 0, 5, NULL); -be_define_const_str(BOILER_OT_TX, "BOILER_OT_TX", 671743623u, 0, 12, &be_const_str_SR04_TRIG); -be_define_const_str(SR04_TRIG, "SR04_TRIG", 68671263u, 0, 9, NULL); -be_define_const_str(DHT11, "DHT11", 367083569u, 0, 5, &be_const_str_PZEM004_RX); -be_define_const_str(PZEM004_RX, "PZEM004_RX", 3411153194u, 0, 10, &be_const_str_content_send); -be_define_const_str(content_send, "content_send", 1673733649u, 0, 12, NULL); -be_define_const_str(wire_scan, "wire_scan", 2671275880u, 0, 9, NULL); -be_define_const_str(TM1638CLK, "TM1638CLK", 3045182446u, 0, 9, &be_const_str_ZIGBEE_TX); -be_define_const_str(ZIGBEE_TX, "ZIGBEE_TX", 25119256u, 0, 9, NULL); -be_define_const_str(SAIR_RX, "SAIR_RX", 1273688713u, 0, 7, &be_const_str_srand); -be_define_const_str(srand, "srand", 465518633u, 0, 5, NULL); -be_define_const_str(INTERRUPT, "INTERRUPT", 3809502704u, 0, 9, &be_const_str_set_useragent); -be_define_const_str(set_useragent, "set_useragent", 612237244u, 0, 13, NULL); -be_define_const_str(_write, "_write", 2215462825u, 0, 6, &be_const_str_bytes); -be_define_const_str(bytes, "bytes", 1706151940u, 0, 5, NULL); -be_define_const_str(SYMBOL_PASTE, "SYMBOL_PASTE", 2281577421u, 0, 12, &be_const_str_char); -be_define_const_str(char, "char", 2823553821u, 0, 4, NULL); -be_define_const_str(OneWire, "OneWire", 2298990722u, 0, 7, &be_const_str_get_free_heap); -be_define_const_str(get_free_heap, "get_free_heap", 625069757u, 0, 13, NULL); -be_define_const_str(count, "count", 967958004u, 0, 5, &be_const_str_toptr); -be_define_const_str(toptr, "toptr", 3379847454u, 0, 5, NULL); -be_define_const_str(DSB_OUT, "DSB_OUT", 732335085u, 0, 7, NULL); -be_define_const_str(ROT1B_NP, "ROT1B_NP", 3710079736u, 0, 8, &be_const_str_reduce); -be_define_const_str(reduce, "reduce", 2002030311u, 0, 6, NULL); -be_define_const_str(resp_cmnd_failed, "resp_cmnd_failed", 2136281562u, 0, 16, NULL); -be_define_const_str(AES_GCM, "AES_GCM", 3832208678u, 0, 7, &be_const_str_GPS_TX); -be_define_const_str(GPS_TX, "GPS_TX", 4228740808u, 0, 6, &be_const_str_ILI9488_CS); -be_define_const_str(ILI9488_CS, "ILI9488_CS", 2363112073u, 0, 10, &be_const_str_MAX7219CLK); -be_define_const_str(MAX7219CLK, "MAX7219CLK", 963568838u, 0, 10, NULL); -be_define_const_str(SSD1331_DC, "SSD1331_DC", 3386560859u, 0, 10, &be_const_str_attrdump); -be_define_const_str(attrdump, "attrdump", 1521571304u, 0, 8, NULL); -be_define_const_str(TUYA_TX, "TUYA_TX", 1541301465u, 0, 7, NULL); -be_define_const_str(SYMBOL_AUDIO, "SYMBOL_AUDIO", 3056537956u, 0, 12, &be_const_str_run_deferred); -be_define_const_str(run_deferred, "run_deferred", 371594696u, 0, 12, NULL); -be_define_const_str(LMT01, "LMT01", 2490623797u, 0, 5, &be_const_str_WE517_TX); -be_define_const_str(WE517_TX, "WE517_TX", 2954817217u, 0, 8, &be_const_str_static); -be_define_const_str(static, "static", 3532702267u, 71, 6, NULL); -be_define_const_str(digital_read, "digital_read", 3585496928u, 0, 12, NULL); -be_define_const_str(as, "as", 1579491469u, 67, 2, NULL); -be_define_const_str(BUZZER_INV, "BUZZER_INV", 3274564335u, 0, 10, &be_const_str_LOW); -be_define_const_str(LOW, "LOW", 3526092385u, 0, 3, &be_const_str_PZEM016_RX); -be_define_const_str(PZEM016_RX, "PZEM016_RX", 1004012055u, 0, 10, NULL); -be_define_const_str(ADC_BUTTON_INV, "ADC_BUTTON_INV", 2027625326u, 0, 14, &be_const_str_BUZZER); -be_define_const_str(BUZZER, "BUZZER", 1550039611u, 0, 6, &be_const_str_MGC3130_XFER); -be_define_const_str(MGC3130_XFER, "MGC3130_XFER", 4178219131u, 0, 12, &be_const_str_member); -be_define_const_str(member, "member", 719708611u, 0, 6, &be_const_str_reverse); -be_define_const_str(reverse, "reverse", 558918661u, 0, 7, &be_const_str_rtc); -be_define_const_str(rtc, "rtc", 1070575216u, 0, 3, NULL); -be_define_const_str(ELECTRIQ_MOODL_TX, "ELECTRIQ_MOODL_TX", 31009247u, 0, 17, &be_const_str_HM10_RX); -be_define_const_str(HM10_RX, "HM10_RX", 515085922u, 0, 7, &be_const_str_SYMBOL_EDIT); -be_define_const_str(SYMBOL_EDIT, "SYMBOL_EDIT", 1396182822u, 0, 11, &be_const_str_lv_canvas); -be_define_const_str(lv_canvas, "lv_canvas", 142865412u, 0, 9, NULL); -be_define_const_str(TASMOTACLIENT_RST, "TASMOTACLIENT_RST", 3326196213u, 0, 17, NULL); -be_define_const_str(ST7789_CS, "ST7789_CS", 2937305434u, 0, 9, &be_const_str_lv_indev); -be_define_const_str(lv_indev, "lv_indev", 225602374u, 0, 8, &be_const_str_publish); -be_define_const_str(publish, "publish", 264247304u, 0, 7, NULL); -be_define_const_str(SERIAL_5E1, "SERIAL_5E1", 1163775235u, 0, 10, &be_const_str_pop); -be_define_const_str(pop, "pop", 1362321360u, 0, 3, &be_const_str_public_key); -be_define_const_str(public_key, "public_key", 4169142980u, 0, 10, &be_const_str_register_button_encoder); -be_define_const_str(register_button_encoder, "register_button_encoder", 2811301550u, 0, 23, &be_const_str_tostring); -be_define_const_str(tostring, "tostring", 2299708645u, 0, 8, NULL); -be_define_const_str(ADC_CT_POWER, "ADC_CT_POWER", 3382284599u, 0, 12, &be_const_str_NEOPOOL_RX); -be_define_const_str(NEOPOOL_RX, "NEOPOOL_RX", 1917974474u, 0, 10, &be_const_str_fromptr); -be_define_const_str(fromptr, "fromptr", 666189689u, 0, 7, &be_const_str_lv_group); -be_define_const_str(lv_group, "lv_group", 3852039019u, 0, 8, &be_const_str_lv_imgbtn); -be_define_const_str(lv_imgbtn, "lv_imgbtn", 2402844429u, 0, 9, NULL); -be_define_const_str(ADC_TEMP, "ADC_TEMP", 3771053440u, 0, 8, NULL); -be_define_const_str(MAX31855CLK, "MAX31855CLK", 715977727u, 0, 11, &be_const_str_setrange); -be_define_const_str(setrange, "setrange", 3794019032u, 0, 8, &be_const_str_tanh); -be_define_const_str(tanh, "tanh", 153638352u, 0, 4, NULL); -be_define_const_str(SYMBOL_LOOP, "SYMBOL_LOOP", 2762053208u, 0, 11, &be_const_str_SYMBOL_VOLUME_MAX); -be_define_const_str(SYMBOL_VOLUME_MAX, "SYMBOL_VOLUME_MAX", 3582646093u, 0, 17, NULL); -be_define_const_str(AS3935, "AS3935", 603621745u, 0, 6, &be_const_str_LED1); -be_define_const_str(LED1, "LED1", 21005825u, 0, 4, NULL); -be_define_const_str(SERIAL_7N1, "SERIAL_7N1", 1891060246u, 0, 10, &be_const_str_codedump); -be_define_const_str(codedump, "codedump", 1786337906u, 0, 8, NULL); -be_define_const_str(DDS2382_RX, "DDS2382_RX", 432446462u, 0, 10, &be_const_str_NRG_CF1); -be_define_const_str(NRG_CF1, "NRG_CF1", 3292534757u, 0, 7, &be_const_str_SENSOR_END); -be_define_const_str(SENSOR_END, "SENSOR_END", 3512542657u, 0, 10, &be_const_str_SERIAL_8O1); -be_define_const_str(SERIAL_8O1, "SERIAL_8O1", 289122742u, 0, 10, NULL); -be_define_const_str(RA8876_CS, "RA8876_CS", 2529944108u, 0, 9, NULL); -be_define_const_str(AS608_TX, "AS608_TX", 48630934u, 0, 8, &be_const_str_KEY1_TC); -be_define_const_str(KEY1_TC, "KEY1_TC", 25685109u, 0, 7, &be_const_str_NRG_SEL_INV); -be_define_const_str(NRG_SEL_INV, "NRG_SEL_INV", 3567431069u, 0, 11, &be_const_str_RXD); -be_define_const_str(RXD, "RXD", 2311579049u, 0, 3, &be_const_str_SDM630_RX); -be_define_const_str(SDM630_RX, "SDM630_RX", 1971606309u, 0, 9, &be_const_str_atan); -be_define_const_str(atan, "atan", 108579519u, 0, 4, &be_const_str_erase); -be_define_const_str(erase, "erase", 1010949589u, 0, 5, &be_const_str_lv_chart); -be_define_const_str(lv_chart, "lv_chart", 2652494144u, 0, 8, NULL); -be_define_const_str(EPAPER42_CS, "EPAPER42_CS", 3274717451u, 0, 11, &be_const_str_HIGH); -be_define_const_str(HIGH, "HIGH", 2066738941u, 0, 4, &be_const_str_SERIAL_8E1); -be_define_const_str(SERIAL_8E1, "SERIAL_8E1", 2371121616u, 0, 10, &be_const_str_get_light); -be_define_const_str(get_light, "get_light", 381930476u, 0, 9, &be_const_str_real); -be_define_const_str(real, "real", 3604983901u, 0, 4, NULL); -be_define_const_str(concat, "concat", 4124019837u, 0, 6, NULL); be_define_const_str(_buffer, "_buffer", 2044888568u, 0, 7, NULL); -be_define_const_str(DSB, "DSB", 98073254u, 0, 3, &be_const_str_PZEM0XX_TX); -be_define_const_str(PZEM0XX_TX, "PZEM0XX_TX", 944775704u, 0, 10, &be_const_str_issubclass); -be_define_const_str(issubclass, "issubclass", 4078395519u, 0, 10, NULL); -be_define_const_str(SDM630_TX, "SDM630_TX", 696213075u, 0, 9, &be_const_str_SYMBOL_DOWNLOAD); -be_define_const_str(SYMBOL_DOWNLOAD, "SYMBOL_DOWNLOAD", 2607324090u, 0, 15, &be_const_str_hex); -be_define_const_str(hex, "hex", 4273249610u, 0, 3, &be_const_str_read12); -be_define_const_str(read12, "read12", 4291076970u, 0, 6, &be_const_str_url_encode); -be_define_const_str(url_encode, "url_encode", 528392145u, 0, 10, &be_const_str_end); +be_define_const_str(SERIAL_8E2, "SERIAL_8E2", 2421454473u, 0, 10, &be_const_str_TM1637DIO); +be_define_const_str(TM1637DIO, "TM1637DIO", 1574659381u, 0, 9, NULL); +be_define_const_str(AudioGeneratorMP3, "AudioGeneratorMP3", 2199818488u, 0, 17, &be_const_str_find_key_i); +be_define_const_str(find_key_i, "find_key_i", 850136726u, 0, 10, &be_const_str_insert); +be_define_const_str(insert, "insert", 3332609576u, 0, 6, &be_const_str_tanh); +be_define_const_str(tanh, "tanh", 153638352u, 0, 4, NULL); +be_define_const_str(SAIR_RX, "SAIR_RX", 1273688713u, 0, 7, &be_const_str_TCP_RX); +be_define_const_str(TCP_RX, "TCP_RX", 3904354751u, 0, 6, NULL); +be_define_const_str(ADC_BUTTON_INV, "ADC_BUTTON_INV", 2027625326u, 0, 14, &be_const_str_AES_GCM); +be_define_const_str(AES_GCM, "AES_GCM", 3832208678u, 0, 7, &be_const_str_I2C_Driver); +be_define_const_str(I2C_Driver, "I2C_Driver", 1714501658u, 0, 10, NULL); +be_define_const_str(CSE7766_TX, "CSE7766_TX", 674624821u, 0, 10, &be_const_str_NONE); +be_define_const_str(NONE, "NONE", 1932136219u, 0, 4, &be_const_str_get_power); +be_define_const_str(get_power, "get_power", 3009799377u, 0, 9, &be_const_str_read_bytes); +be_define_const_str(read_bytes, "read_bytes", 3576733173u, 0, 10, NULL); +be_define_const_str(addr, "addr", 1087856498u, 0, 4, &be_const_str_break); +be_define_const_str(break, "break", 3378807160u, 58, 5, NULL); +be_define_const_str(reverse, "reverse", 558918661u, 0, 7, &be_const_str_select); +be_define_const_str(select, "select", 297952813u, 0, 6, &be_const_str_tag); +be_define_const_str(tag, "tag", 2516003219u, 0, 3, NULL); +be_define_const_str(IEM3000_TX, "IEM3000_TX", 1185907310u, 0, 10, &be_const_str_SR04_ECHO); +be_define_const_str(SR04_ECHO, "SR04_ECHO", 1906909592u, 0, 9, &be_const_str_ceil); +be_define_const_str(ceil, "ceil", 1659167240u, 0, 4, NULL); +be_define_const_str(sin, "sin", 3761252941u, 0, 3, &be_const_str_traceback); +be_define_const_str(traceback, "traceback", 3385188109u, 0, 9, &be_const_str_elif); +be_define_const_str(elif, "elif", 3232090307u, 51, 4, NULL); +be_define_const_str(ROT1A, "ROT1A", 759599716u, 0, 5, NULL); +be_define_const_str(LED1_INV, "LED1_INV", 2112045097u, 0, 8, &be_const_str_SERIAL_8N1); +be_define_const_str(SERIAL_8N1, "SERIAL_8N1", 2369297235u, 0, 10, &be_const_str_SM16716_CLK); +be_define_const_str(SM16716_CLK, "SM16716_CLK", 3037641483u, 0, 11, NULL); +be_define_const_str(PZEM004_RX, "PZEM004_RX", 3411153194u, 0, 10, &be_const_str_SERIAL_8N2); +be_define_const_str(SERIAL_8N2, "SERIAL_8N2", 2386074854u, 0, 10, &be_const_str_TM1638CLK); +be_define_const_str(TM1638CLK, "TM1638CLK", 3045182446u, 0, 9, &be_const_str_clear); +be_define_const_str(clear, "clear", 1550717474u, 0, 5, NULL); +be_define_const_str(opt_eq, "==", 2431966415u, 0, 2, &be_const_str_KEY1_TC); +be_define_const_str(KEY1_TC, "KEY1_TC", 25685109u, 0, 7, &be_const_str_ROT1B); +be_define_const_str(ROT1B, "ROT1B", 809932573u, 0, 5, NULL); +be_define_const_str(_cmd, "_cmd", 3419822142u, 0, 4, &be_const_str_lower); +be_define_const_str(lower, "lower", 3038577850u, 0, 5, &be_const_str_tan); +be_define_const_str(tan, "tan", 2633446552u, 0, 3, NULL); +be_define_const_str(MD5, "MD5", 1935726387u, 0, 3, &be_const_str_SDM72_TX); +be_define_const_str(SDM72_TX, "SDM72_TX", 2042143269u, 0, 8, &be_const_str_SSPI_MISO); +be_define_const_str(SSPI_MISO, "SSPI_MISO", 2485347173u, 0, 9, &be_const_str_remove_timer); +be_define_const_str(remove_timer, "remove_timer", 4141472215u, 0, 12, NULL); +be_define_const_str(PMS5003_RX, "PMS5003_RX", 3934985650u, 0, 10, &be_const_str_WEBCAM_PSCLK); +be_define_const_str(WEBCAM_PSCLK, "WEBCAM_PSCLK", 3150007456u, 0, 12, &be_const_str_try); +be_define_const_str(try, "try", 2887626766u, 68, 3, NULL); +be_define_const_str(last_modified, "last_modified", 772177145u, 0, 13, NULL); +be_define_const_str(on, "on", 1630810064u, 0, 2, NULL); +be_define_const_str(TM1638STB, "TM1638STB", 823674593u, 0, 9, &be_const_str_get_string); +be_define_const_str(get_string, "get_string", 4195847969u, 0, 10, NULL); +be_define_const_str(OneWire, "OneWire", 2298990722u, 0, 7, NULL); +be_define_const_str(PN532_TXD, "PN532_TXD", 3093418644u, 0, 9, &be_const_str_SPI_MOSI); +be_define_const_str(SPI_MOSI, "SPI_MOSI", 2494218614u, 0, 8, NULL); +be_define_const_str(PULLUP, "PULLUP", 3417628531u, 0, 6, NULL); +be_define_const_str(resp_cmnd_error, "resp_cmnd_error", 2404088863u, 0, 15, NULL); +be_define_const_str(TX2X_TXD_BLACK, "TX2X_TXD_BLACK", 956526176u, 0, 14, &be_const_str_exp); +be_define_const_str(exp, "exp", 1923516200u, 0, 3, NULL); +be_define_const_str(add_cmd, "add_cmd", 3361630879u, 0, 7, &be_const_str_arg_size); +be_define_const_str(arg_size, "arg_size", 3310243257u, 0, 8, NULL); +be_define_const_str(skip, "skip", 1097563074u, 0, 4, NULL); +be_define_const_str(EPD_DATA, "EPD_DATA", 3799141097u, 0, 8, &be_const_str_I2S_OUT_DATA); +be_define_const_str(I2S_OUT_DATA, "I2S_OUT_DATA", 1176288293u, 0, 12, &be_const_str_log); +be_define_const_str(log, "log", 1062293841u, 0, 3, NULL); +be_define_const_str(WEBCAM_XCLK, "WEBCAM_XCLK", 536207425u, 0, 11, &be_const_str_exec_cmd); +be_define_const_str(exec_cmd, "exec_cmd", 493567399u, 0, 8, &be_const_str_floor); +be_define_const_str(floor, "floor", 3102149661u, 0, 5, NULL); +be_define_const_str(DDS2382_TX, "DDS2382_TX", 1438117864u, 0, 10, &be_const_str_state); +be_define_const_str(state, "state", 2016490230u, 0, 5, NULL); +be_define_const_str(has, "has", 3988721635u, 0, 3, NULL); +be_define_const_str(KEY1_INV_NP, "KEY1_INV_NP", 3160558586u, 0, 11, NULL); +be_define_const_str(arg, "arg", 1047474471u, 0, 3, NULL); +be_define_const_str(HPMA_TX, "HPMA_TX", 173233104u, 0, 7, &be_const_str_print); +be_define_const_str(print, "print", 372738696u, 0, 5, &be_const_str_run_deferred); +be_define_const_str(run_deferred, "run_deferred", 371594696u, 0, 12, NULL); +be_define_const_str(KEY1_PD, "KEY1_PD", 3934075620u, 0, 7, &be_const_str_OUTPUT_OPEN_DRAIN); +be_define_const_str(OUTPUT_OPEN_DRAIN, "OUTPUT_OPEN_DRAIN", 2147249436u, 0, 17, &be_const_str_name); +be_define_const_str(name, "name", 2369371622u, 0, 4, &be_const_str_write); +be_define_const_str(write, "write", 3190202204u, 0, 5, &be_const_str_write_bytes); +be_define_const_str(write_bytes, "write_bytes", 1227543792u, 0, 11, NULL); +be_define_const_str(IBEACON_TX, "IBEACON_TX", 3471826977u, 0, 10, NULL); +be_define_const_str(SBR_TX, "SBR_TX", 3419096015u, 0, 6, NULL); +be_define_const_str(eth, "eth", 2191266556u, 0, 3, NULL); +be_define_const_str(EC_C25519, "EC_C25519", 95492591u, 0, 9, &be_const_str_SDM72_RX); +be_define_const_str(SDM72_RX, "SDM72_RX", 766750035u, 0, 8, &be_const_str_SERIAL_5E1); +be_define_const_str(SERIAL_5E1, "SERIAL_5E1", 1163775235u, 0, 10, NULL); +be_define_const_str(SERIAL_5E2, "SERIAL_5E2", 1180552854u, 0, 10, &be_const_str_end); be_define_const_str(end, "end", 1787721130u, 56, 3, NULL); -be_define_const_str(PWM1, "PWM1", 1353352426u, 0, 4, NULL); -be_define_const_str(CSE7761_TX, "CSE7761_TX", 3354719142u, 0, 10, &be_const_str_MCP39F5_RST); -be_define_const_str(MCP39F5_RST, "MCP39F5_RST", 3657125652u, 0, 11, &be_const_str_MCP39F5_RX); -be_define_const_str(MCP39F5_RX, "MCP39F5_RX", 190458217u, 0, 10, NULL); -be_define_const_str(AudioFileSourceFS, "AudioFileSourceFS", 1839147653u, 0, 17, NULL); +be_define_const_str(DSB_OUT, "DSB_OUT", 732335085u, 0, 7, &be_const_str_bus); +be_define_const_str(bus, "bus", 1607822841u, 0, 3, &be_const_str_content_flush); +be_define_const_str(content_flush, "content_flush", 214922475u, 0, 13, NULL); +be_define_const_str(ADC_BUTTON, "ADC_BUTTON", 3393454690u, 0, 10, &be_const_str_item); +be_define_const_str(item, "item", 2671260646u, 0, 4, &be_const_str_seti); +be_define_const_str(seti, "seti", 1500556254u, 0, 4, NULL); +be_define_const_str(issubclass, "issubclass", 4078395519u, 0, 10, NULL); +be_define_const_str(AudioFileSourceFS, "AudioFileSourceFS", 1839147653u, 0, 17, &be_const_str_REL1); +be_define_const_str(REL1, "REL1", 3142397887u, 0, 4, &be_const_str_serial); +be_define_const_str(serial, "serial", 3687697785u, 0, 6, NULL); +be_define_const_str(copy, "copy", 3848464964u, 0, 4, &be_const_str_hex); +be_define_const_str(hex, "hex", 4273249610u, 0, 3, &be_const_str_isrunning); +be_define_const_str(isrunning, "isrunning", 1688182268u, 0, 9, NULL); +be_define_const_str(NRG_SEL_INV, "NRG_SEL_INV", 3567431069u, 0, 11, &be_const_str_SSD1351_DC); +be_define_const_str(SSD1351_DC, "SSD1351_DC", 84950353u, 0, 10, &be_const_str__global_addr); +be_define_const_str(_global_addr, "_global_addr", 533766721u, 0, 12, NULL); +be_define_const_str(CSE7761_TX, "CSE7761_TX", 3354719142u, 0, 10, NULL); +be_define_const_str(INPUT, "INPUT", 1638025307u, 0, 5, &be_const_str_list); +be_define_const_str(list, "list", 217798785u, 0, 4, NULL); +be_define_const_str(ZIGBEE_RX, "ZIGBEE_RX", 93215470u, 0, 9, NULL); +be_define_const_str(dot_p, ".p", 1171526419u, 0, 2, &be_const_str_P9813_CLK); +be_define_const_str(P9813_CLK, "P9813_CLK", 2455391001u, 0, 9, &be_const_str_load); +be_define_const_str(load, "load", 3859241449u, 0, 4, NULL); +be_define_const_str(HX711_DAT, "HX711_DAT", 2935118250u, 0, 9, &be_const_str_HX711_SCK); +be_define_const_str(HX711_SCK, "HX711_SCK", 3785979404u, 0, 9, &be_const_str_bytes); +be_define_const_str(bytes, "bytes", 1706151940u, 0, 5, &be_const_str_chars_in_string); +be_define_const_str(chars_in_string, "chars_in_string", 3148785132u, 0, 15, &be_const_str_set_timeouts); +be_define_const_str(set_timeouts, "set_timeouts", 3732850900u, 0, 12, NULL); +be_define_const_str(RXD, "RXD", 2311579049u, 0, 3, &be_const_str_TM1637CLK); +be_define_const_str(TM1637CLK, "TM1637CLK", 2797300857u, 0, 9, NULL); +be_define_const_str(opt_add, "+", 772578730u, 0, 1, &be_const_str_AS608_TX); +be_define_const_str(AS608_TX, "AS608_TX", 48630934u, 0, 8, &be_const_str_detect); +be_define_const_str(detect, "detect", 8884370u, 0, 6, &be_const_str_pi); +be_define_const_str(pi, "pi", 1213090802u, 0, 2, NULL); +be_define_const_str(LE01MR_TX, "LE01MR_TX", 1589687023u, 0, 9, NULL); +be_define_const_str(dot_w, ".w", 1255414514u, 0, 2, &be_const_str_except); +be_define_const_str(except, "except", 950914032u, 69, 6, NULL); +be_define_const_str(A4988_STP, "A4988_STP", 1622172049u, 0, 9, NULL); +be_define_const_str(ADC_JOY, "ADC_JOY", 1116943612u, 0, 7, &be_const_str_SSD1351_CS); +be_define_const_str(SSD1351_CS, "SSD1351_CS", 488746042u, 0, 10, &be_const_str_get_light); +be_define_const_str(get_light, "get_light", 381930476u, 0, 9, &be_const_str_log10); +be_define_const_str(log10, "log10", 2346846000u, 0, 5, &be_const_str_tomap); +be_define_const_str(tomap, "tomap", 612167626u, 0, 5, NULL); +be_define_const_str(stop, "stop", 3411225317u, 0, 4, NULL); +be_define_const_str(remove_cmd, "remove_cmd", 3832315702u, 0, 10, NULL); +be_define_const_str(WEBCAM_PWDN, "WEBCAM_PWDN", 2219597454u, 0, 11, NULL); +be_define_const_str(WEBCAM_HSD, "WEBCAM_HSD", 2648502504u, 0, 10, &be_const_str_reset); +be_define_const_str(reset, "reset", 1695364032u, 0, 5, NULL); +be_define_const_str(A4988_MS1, "A4988_MS1", 1729976611u, 0, 9, &be_const_str_ZEROCROSS); +be_define_const_str(ZEROCROSS, "ZEROCROSS", 1747596785u, 0, 9, NULL); +be_define_const_str(rad, "rad", 1358899048u, 0, 3, NULL); +be_define_const_str(BOILER_OT_RX, "BOILER_OT_RX", 603647409u, 0, 12, &be_const_str_ZIGBEE_RST); +be_define_const_str(ZIGBEE_RST, "ZIGBEE_RST", 721588661u, 0, 10, NULL); +be_define_const_str(fromstring, "fromstring", 610302344u, 0, 10, NULL); +be_define_const_str(iter, "iter", 3124256359u, 0, 4, &be_const_str_loop); +be_define_const_str(loop, "loop", 3723446379u, 0, 4, &be_const_str_target_search); +be_define_const_str(target_search, "target_search", 1947846553u, 0, 13, NULL); +be_define_const_str(AudioOutput, "AudioOutput", 3257792048u, 0, 11, &be_const_str_number); +be_define_const_str(number, "number", 467038368u, 0, 6, &be_const_str_scan); +be_define_const_str(scan, "scan", 3974641896u, 0, 4, NULL); +be_define_const_str(NRG_CF1, "NRG_CF1", 3292534757u, 0, 7, &be_const_str_try_rule); +be_define_const_str(try_rule, "try_rule", 1986449405u, 0, 8, NULL); +be_define_const_str(WEBCAM_DATA, "WEBCAM_DATA", 1476954421u, 0, 11, &be_const_str_remove); +be_define_const_str(remove, "remove", 3683784189u, 0, 6, NULL); +be_define_const_str(NEOPOOL_TX, "NEOPOOL_TX", 2924925804u, 0, 10, &be_const_str_cosh); +be_define_const_str(cosh, "cosh", 4099687964u, 0, 4, &be_const_str_encrypt); +be_define_const_str(encrypt, "encrypt", 2194327650u, 0, 7, &be_const_str_get_switch); +be_define_const_str(get_switch, "get_switch", 164821028u, 0, 10, NULL); +be_define_const_str(KEY1_NP, "KEY1_NP", 709918726u, 0, 7, &be_const_str_SM16716_DAT); +be_define_const_str(SM16716_DAT, "SM16716_DAT", 1905621806u, 0, 11, &be_const_str_SPI_CS); +be_define_const_str(SPI_CS, "SPI_CS", 553701236u, 0, 6, &be_const_str__read); +be_define_const_str(_read, "_read", 346717030u, 0, 5, NULL); +be_define_const_str(SR04_TRIG, "SR04_TRIG", 68671263u, 0, 9, NULL); +be_define_const_str(deinit, "deinit", 2345559592u, 0, 6, NULL); +be_define_const_str(tostring, "tostring", 2299708645u, 0, 8, NULL); +be_define_const_str(TASMOTACLIENT_RXD, "TASMOTACLIENT_RXD", 72868318u, 0, 17, &be_const_str_Tasmota); +be_define_const_str(Tasmota, "Tasmota", 4047617668u, 0, 7, &be_const_str_while); +be_define_const_str(while, "while", 231090382u, 53, 5, NULL); +be_define_const_str(DYP_RX, "DYP_RX", 2122310285u, 0, 6, NULL); +be_define_const_str(DDSU666_RX, "DDSU666_RX", 1812507936u, 0, 10, &be_const_str_PROJECTOR_CTRL_RX); +be_define_const_str(PROJECTOR_CTRL_RX, "PROJECTOR_CTRL_RX", 1542762460u, 0, 17, NULL); +be_define_const_str(collect, "collect", 2399039025u, 0, 7, &be_const_str_init); +be_define_const_str(init, "init", 380752755u, 0, 4, &be_const_str_reset_search); +be_define_const_str(reset_search, "reset_search", 1350414305u, 0, 12, &be_const_str_sinh); +be_define_const_str(sinh, "sinh", 282220607u, 0, 4, &be_const_str_split); +be_define_const_str(split, "split", 2276994531u, 0, 5, NULL); +be_define_const_str(ADC_INPUT, "ADC_INPUT", 2207556878u, 0, 9, &be_const_str_ETH_PHY_MDIO); +be_define_const_str(ETH_PHY_MDIO, "ETH_PHY_MDIO", 3261871568u, 0, 12, NULL); +be_define_const_str(ILI9341_DC, "ILI9341_DC", 28838624u, 0, 10, &be_const_str_write8); +be_define_const_str(write8, "write8", 3133991532u, 0, 6, NULL); +be_define_const_str(INPUT_PULLDOWN, "INPUT_PULLDOWN", 1172232591u, 0, 14, &be_const_str_LOW); +be_define_const_str(LOW, "LOW", 3526092385u, 0, 3, &be_const_str_SDM630_RX); +be_define_const_str(SDM630_RX, "SDM630_RX", 1971606309u, 0, 9, &be_const_str_SPI_DC); +be_define_const_str(SPI_DC, "SPI_DC", 553259951u, 0, 6, NULL); +be_define_const_str(format, "format", 3114108242u, 0, 6, NULL); +be_define_const_str(cmd, "cmd", 4136785899u, 0, 3, NULL); +be_define_const_str(AudioOutputI2S, "AudioOutputI2S", 638031784u, 0, 14, &be_const_str_write_bit); +be_define_const_str(write_bit, "write_bit", 2660990436u, 0, 9, NULL); +be_define_const_str(digital_write, "digital_write", 3435877979u, 0, 13, &be_const_str_open); +be_define_const_str(open, "open", 3546203337u, 0, 4, NULL); +be_define_const_str(set_light, "set_light", 3176076152u, 0, 9, NULL); +be_define_const_str(KEY1_INV_PD, "KEY1_INV_PD", 3828014584u, 0, 11, NULL); +be_define_const_str(TFMINIPLUS_RX, "TFMINIPLUS_RX", 1522203935u, 0, 13, &be_const_str_set_timer); +be_define_const_str(set_timer, "set_timer", 2135414533u, 0, 9, NULL); +be_define_const_str(OUTPUT, "OUTPUT", 1469629700u, 0, 6, &be_const_str_P9813_DAT); +be_define_const_str(P9813_DAT, "P9813_DAT", 778577052u, 0, 9, &be_const_str_attrdump); +be_define_const_str(attrdump, "attrdump", 1521571304u, 0, 8, &be_const_str_members); +be_define_const_str(members, "members", 937576464u, 0, 7, &be_const_str_range); +be_define_const_str(range, "range", 4208725202u, 0, 5, &be_const_str_time_str); +be_define_const_str(time_str, "time_str", 2613827612u, 0, 8, NULL); +be_define_const_str(SDCARD_CS, "SDCARD_CS", 3348952003u, 0, 9, &be_const_str_SI7021); +be_define_const_str(SI7021, "SI7021", 864377911u, 0, 6, NULL); +be_define_const_str(POST, "POST", 1929554311u, 0, 4, &be_const_str_flush); +be_define_const_str(flush, "flush", 3002334877u, 0, 5, NULL); +be_define_const_str(pin_mode, "pin_mode", 3258314030u, 0, 8, &be_const_str_pop); +be_define_const_str(pop, "pop", 1362321360u, 0, 3, &be_const_str_web_send_decimal); +be_define_const_str(web_send_decimal, "web_send_decimal", 1407210204u, 0, 16, NULL); +be_define_const_str(__iterator__, "__iterator__", 3884039703u, 0, 12, NULL); +be_define_const_str(IEM3000_RX, "IEM3000_RX", 1117811096u, 0, 10, &be_const_str_SSPI_SCLK); +be_define_const_str(SSPI_SCLK, "SSPI_SCLK", 136688954u, 0, 9, NULL); be_define_const_str(WEBCAM_PCLK, "WEBCAM_PCLK", 3813770649u, 0, 11, NULL); +be_define_const_str(pin, "pin", 1866532500u, 0, 3, NULL); +be_define_const_str(SDM120_RX, "SDM120_RX", 1367571753u, 0, 9, NULL); +be_define_const_str(ADC_PH, "ADC_PH", 3820290594u, 0, 6, &be_const_str_RA8876_CS); +be_define_const_str(RA8876_CS, "RA8876_CS", 2529944108u, 0, 9, &be_const_str_begin); +be_define_const_str(begin, "begin", 1748273790u, 0, 5, NULL); +be_define_const_str(GET, "GET", 2531704439u, 0, 3, &be_const_str_pow); +be_define_const_str(pow, "pow", 1479764693u, 0, 3, NULL); +be_define_const_str(CNTR1_NP, "CNTR1_NP", 4288381648u, 0, 8, &be_const_str_add_header); +be_define_const_str(add_header, "add_header", 927130612u, 0, 10, &be_const_str_classof); +be_define_const_str(classof, "classof", 1796577762u, 0, 7, NULL); +be_define_const_str(KEY1, "KEY1", 6715975u, 0, 4, &be_const_str_SDS0X1_RX); +be_define_const_str(SDS0X1_RX, "SDS0X1_RX", 1170717385u, 0, 9, &be_const_str_SERIAL_7O1); +be_define_const_str(SERIAL_7O1, "SERIAL_7O1", 1823802675u, 0, 10, NULL); +be_define_const_str(A4988_ENA, "A4988_ENA", 1517502682u, 0, 9, &be_const_str_SERIAL_7O2); +be_define_const_str(SERIAL_7O2, "SERIAL_7O2", 1840580294u, 0, 10, NULL); +be_define_const_str(SM2135_CLK, "SM2135_CLK", 2383410011u, 0, 10, NULL); +be_define_const_str(ETH_PHY_POWER, "ETH_PHY_POWER", 487529454u, 0, 13, &be_const_str_toptr); +be_define_const_str(toptr, "toptr", 3379847454u, 0, 5, &be_const_str_wire); +be_define_const_str(wire, "wire", 4082753944u, 0, 4, &be_const_str_def); +be_define_const_str(def, "def", 3310976652u, 55, 3, NULL); +be_define_const_str(RFRECV, "RFRECV", 354742801u, 0, 6, &be_const_str_deg); +be_define_const_str(deg, "deg", 3327754271u, 0, 3, &be_const_str_as); +be_define_const_str(as, "as", 1579491469u, 67, 2, NULL); +be_define_const_str(yield, "yield", 1821831854u, 0, 5, NULL); +be_define_const_str(SDM630_TX, "SDM630_TX", 696213075u, 0, 9, &be_const_str_redirect); +be_define_const_str(redirect, "redirect", 389758641u, 0, 8, NULL); +be_define_const_str(NEOPOOL_RX, "NEOPOOL_RX", 1917974474u, 0, 10, &be_const_str_OPTION_A); +be_define_const_str(OPTION_A, "OPTION_A", 1133299440u, 0, 8, &be_const_str_wire_scan); +be_define_const_str(wire_scan, "wire_scan", 2671275880u, 0, 9, NULL); +be_define_const_str(read32, "read32", 1741276240u, 0, 6, &be_const_str_shared_key); +be_define_const_str(shared_key, "shared_key", 2200833624u, 0, 10, NULL); +be_define_const_str(SAIR_TX, "SAIR_TX", 268017311u, 0, 7, &be_const_str_read13); +be_define_const_str(read13, "read13", 12887293u, 0, 6, NULL); +be_define_const_str(DSB, "DSB", 98073254u, 0, 3, &be_const_str_PN532_RXD); +be_define_const_str(PN532_RXD, "PN532_RXD", 1780093022u, 0, 9, &be_const_str_finish); +be_define_const_str(finish, "finish", 1494643858u, 0, 6, &be_const_str_nil); +be_define_const_str(nil, "nil", 228849900u, 63, 3, NULL); +be_define_const_str(add_driver, "add_driver", 1654458371u, 0, 10, &be_const_str_content_button); +be_define_const_str(content_button, "content_button", 1956476087u, 0, 14, &be_const_str_gen_cb); +be_define_const_str(gen_cb, "gen_cb", 3245227551u, 0, 6, &be_const_str_get); +be_define_const_str(get, "get", 1410115415u, 0, 3, NULL); +be_define_const_str(opt_call, "()", 685372826u, 0, 2, &be_const_str_compile); +be_define_const_str(compile, "compile", 1000265118u, 0, 7, &be_const_str_toupper); +be_define_const_str(toupper, "toupper", 3691983576u, 0, 7, NULL); +be_define_const_str(get_option, "get_option", 2123730033u, 0, 10, &be_const_str_class); +be_define_const_str(class, "class", 2872970239u, 57, 5, NULL); +be_define_const_str(PROJECTOR_CTRL_TX, "PROJECTOR_CTRL_TX", 535811130u, 0, 17, &be_const_str_PWM1); +be_define_const_str(PWM1, "PWM1", 1353352426u, 0, 4, &be_const_str_find_op); +be_define_const_str(find_op, "find_op", 3766713376u, 0, 7, NULL); +be_define_const_str(KEY1_INV, "KEY1_INV", 263542563u, 0, 8, &be_const_str_OLED_RESET); +be_define_const_str(OLED_RESET, "OLED_RESET", 4048987655u, 0, 10, &be_const_str_SERIAL_6E2); +be_define_const_str(SERIAL_6E2, "SERIAL_6E2", 317471867u, 0, 10, NULL); +be_define_const_str(dot_size, ".size", 1965188224u, 0, 5, &be_const_str_SERIAL_6E1); +be_define_const_str(SERIAL_6E1, "SERIAL_6E1", 334249486u, 0, 10, &be_const_str_XPT2046_CS); +be_define_const_str(XPT2046_CS, "XPT2046_CS", 4049231042u, 0, 10, NULL); +be_define_const_str(dot_len, ".len", 850842136u, 0, 4, &be_const_str_SERIAL_6N2); +be_define_const_str(SERIAL_6N2, "SERIAL_6N2", 148562844u, 0, 10, &be_const_str___lower__); +be_define_const_str(__lower__, "__lower__", 123855590u, 0, 9, NULL); +be_define_const_str(AZ_TXD, "AZ_TXD", 850268709u, 0, 6, &be_const_str_HALLEFFECT); +be_define_const_str(HALLEFFECT, "HALLEFFECT", 3334305407u, 0, 10, &be_const_str_SERIAL_6N1); +be_define_const_str(SERIAL_6N1, "SERIAL_6N1", 198895701u, 0, 10, &be_const_str__write); +be_define_const_str(_write, "_write", 2215462825u, 0, 6, &be_const_str_input); +be_define_const_str(input, "input", 4191711099u, 0, 5, NULL); +be_define_const_str(geti, "geti", 2381006490u, 0, 4, NULL); +be_define_const_str(SBR_RX, "SBR_RX", 3350999801u, 0, 6, NULL); +be_define_const_str(I2C_SDA, "I2C_SDA", 1052592262u, 0, 7, &be_const_str_INTERRUPT); +be_define_const_str(INTERRUPT, "INTERRUPT", 3809502704u, 0, 9, &be_const_str_WEBCAM_HREF); +be_define_const_str(WEBCAM_HREF, "WEBCAM_HREF", 3161890024u, 0, 11, &be_const_str_rand); +be_define_const_str(rand, "rand", 2711325910u, 0, 4, NULL); +be_define_const_str(opt_neq, "!=", 2428715011u, 0, 2, &be_const_str_DAC); +be_define_const_str(DAC, "DAC", 788912847u, 0, 3, &be_const_str_EXS_ENABLE); +be_define_const_str(EXS_ENABLE, "EXS_ENABLE", 1896914313u, 0, 10, &be_const_str_acos); +be_define_const_str(acos, "acos", 1006755615u, 0, 4, &be_const_str_srand); +be_define_const_str(srand, "srand", 465518633u, 0, 5, NULL); +be_define_const_str(check_privileged_access, "check_privileged_access", 3692933968u, 0, 23, &be_const_str_delay); +be_define_const_str(delay, "delay", 1322381784u, 0, 5, NULL); +be_define_const_str(SWT1_NP, "SWT1_NP", 4033043739u, 0, 7, &be_const_str__ccmd); +be_define_const_str(_ccmd, "_ccmd", 2163421413u, 0, 5, &be_const_str_abs); +be_define_const_str(abs, "abs", 709362235u, 0, 3, &be_const_str_call); +be_define_const_str(call, "call", 3018949801u, 0, 4, NULL); +be_define_const_str(ADC_TEMP, "ADC_TEMP", 3771053440u, 0, 8, &be_const_str__end_transmission); +be_define_const_str(_end_transmission, "_end_transmission", 3237480400u, 0, 17, NULL); +be_define_const_str(AS3935, "AS3935", 603621745u, 0, 6, &be_const_str_get_size); +be_define_const_str(get_size, "get_size", 2803644713u, 0, 8, NULL); +be_define_const_str(RC522_CS, "RC522_CS", 2639619996u, 0, 8, &be_const_str_WS2812); +be_define_const_str(WS2812, "WS2812", 3539741218u, 0, 6, &be_const_str_count); +be_define_const_str(count, "count", 967958004u, 0, 5, &be_const_str_digital_read); +be_define_const_str(digital_read, "digital_read", 3585496928u, 0, 12, NULL); +be_define_const_str(opt_connect, "..", 2748622605u, 0, 2, &be_const_str_cb_dispatch); +be_define_const_str(cb_dispatch, "cb_dispatch", 1741510499u, 0, 11, &be_const_str_strftime); +be_define_const_str(strftime, "strftime", 187738851u, 0, 8, NULL); +be_define_const_str(PZEM0XX_TX, "PZEM0XX_TX", 944775704u, 0, 10, &be_const_str_SOLAXX1_RX); +be_define_const_str(SOLAXX1_RX, "SOLAXX1_RX", 971867054u, 0, 10, NULL); +be_define_const_str(byte, "byte", 1683620383u, 0, 4, &be_const_str_content_send); +be_define_const_str(content_send, "content_send", 1673733649u, 0, 12, &be_const_str_ctypes_bytes_dyn); +be_define_const_str(ctypes_bytes_dyn, "ctypes_bytes_dyn", 915205307u, 0, 16, NULL); +be_define_const_str(asstring, "asstring", 1298225088u, 0, 8, NULL); +be_define_const_str(SDM120_TX, "SDM120_TX", 2509332415u, 0, 9, NULL); +be_define_const_str(ADC_LIGHT, "ADC_LIGHT", 3982461502u, 0, 9, &be_const_str_DDS2382_RX); +be_define_const_str(DDS2382_RX, "DDS2382_RX", 432446462u, 0, 10, &be_const_str_DI); +be_define_const_str(DI, "DI", 1070498734u, 0, 2, &be_const_str_ZIGBEE_TX); +be_define_const_str(ZIGBEE_TX, "ZIGBEE_TX", 25119256u, 0, 9, &be_const_str_imin); +be_define_const_str(imin, "imin", 2714127864u, 0, 4, NULL); +be_define_const_str(push, "push", 2272264157u, 0, 4, NULL); +be_define_const_str(HM10_TX, "HM10_TX", 1522037252u, 0, 7, NULL); +be_define_const_str(fromptr, "fromptr", 666189689u, 0, 7, NULL); +be_define_const_str(BACKLIGHT, "BACKLIGHT", 3147761926u, 0, 9, &be_const_str_WEBCAM_PSRCS); +be_define_const_str(WEBCAM_PSRCS, "WEBCAM_PSRCS", 624464864u, 0, 12, NULL); +be_define_const_str(LE01MR_RX, "LE01MR_RX", 1521590809u, 0, 9, &be_const_str_MP3_DFR562); +be_define_const_str(MP3_DFR562, "MP3_DFR562", 2859952977u, 0, 10, &be_const_str_arg_name); +be_define_const_str(arg_name, "arg_name", 1345046155u, 0, 8, &be_const_str_dump); +be_define_const_str(dump, "dump", 3663001223u, 0, 4, NULL); +be_define_const_str(AudioGenerator, "AudioGenerator", 1839297342u, 0, 14, &be_const_str_if); +be_define_const_str(if, "if", 959999494u, 50, 2, NULL); +be_define_const_str(CSE7766_RX, "CSE7766_RX", 1546766819u, 0, 10, &be_const_str_IBEACON_RX); +be_define_const_str(IBEACON_RX, "IBEACON_RX", 2466155575u, 0, 10, &be_const_str_depower); +be_define_const_str(depower, "depower", 3563819571u, 0, 7, &be_const_str_get_free_heap); +be_define_const_str(get_free_heap, "get_free_heap", 625069757u, 0, 13, &be_const_str_millis); +be_define_const_str(millis, "millis", 1214679063u, 0, 6, &be_const_str_module); +be_define_const_str(module, "module", 3617558685u, 0, 6, NULL); +be_define_const_str(I2S_IN_SLCT, "I2S_IN_SLCT", 706051516u, 0, 11, &be_const_str_SHELLY_DIMMER_BOOT0); +be_define_const_str(SHELLY_DIMMER_BOOT0, "SHELLY_DIMMER_BOOT0", 2948777716u, 0, 19, &be_const_str_WEBCAM_VSYNC); +be_define_const_str(WEBCAM_VSYNC, "WEBCAM_VSYNC", 4032882166u, 0, 12, &be_const_str_nan); +be_define_const_str(nan, "nan", 797905850u, 0, 3, NULL); +be_define_const_str(MAX7219DIN, "MAX7219DIN", 380687049u, 0, 10, &be_const_str_resize); +be_define_const_str(resize, "resize", 3514612129u, 0, 6, &be_const_str_resp_cmnd_done); +be_define_const_str(resp_cmnd_done, "resp_cmnd_done", 2601874875u, 0, 14, NULL); +be_define_const_str(_ptr, "_ptr", 306235816u, 0, 4, &be_const_str_exec_rules); +be_define_const_str(exec_rules, "exec_rules", 1445221092u, 0, 10, &be_const_str_setitem); +be_define_const_str(setitem, "setitem", 1554834596u, 0, 7, NULL); +be_define_const_str(AudioGeneratorWAV, "AudioGeneratorWAV", 2746509368u, 0, 17, &be_const_str_OUTPUT_HI); +be_define_const_str(OUTPUT_HI, "OUTPUT_HI", 3153592902u, 0, 9, &be_const_str_reverse_gamma10); +be_define_const_str(reverse_gamma10, "reverse_gamma10", 739112262u, 0, 15, NULL); +be_define_const_str(TUYA_RX, "TUYA_RX", 1609397679u, 0, 7, NULL); +be_define_const_str(ARIRFRCV, "ARIRFRCV", 1120816444u, 0, 8, &be_const_str_CSE7761_RX); +be_define_const_str(CSE7761_RX, "CSE7761_RX", 65423248u, 0, 10, &be_const_str_resp_cmnd); +be_define_const_str(resp_cmnd, "resp_cmnd", 2869459626u, 0, 9, NULL); +be_define_const_str(AudioFileSource, "AudioFileSource", 2959980058u, 0, 15, &be_const_str_MIEL_HVAC_TX); +be_define_const_str(MIEL_HVAC_TX, "MIEL_HVAC_TX", 567403014u, 0, 12, &be_const_str_SERIAL_5O2); +be_define_const_str(SERIAL_5O2, "SERIAL_5O2", 3732325060u, 0, 10, &be_const_str_publish); +be_define_const_str(publish, "publish", 264247304u, 0, 7, NULL); +be_define_const_str(ILI9488_CS, "ILI9488_CS", 2363112073u, 0, 10, &be_const_str_LEDLNK); +be_define_const_str(LEDLNK, "LEDLNK", 2862810701u, 0, 6, &be_const_str_MAX31855CLK); +be_define_const_str(MAX31855CLK, "MAX31855CLK", 715977727u, 0, 11, &be_const_str_SSPI_MOSI); +be_define_const_str(SSPI_MOSI, "SSPI_MOSI", 3745917497u, 0, 9, &be_const_str_TASMOTACLIENT_RST_INV); +be_define_const_str(TASMOTACLIENT_RST_INV, "TASMOTACLIENT_RST_INV", 2601785365u, 0, 21, &be_const_str_read8); +be_define_const_str(read8, "read8", 2802788167u, 0, 5, NULL); +be_define_const_str(MCP39F5_RST, "MCP39F5_RST", 3657125652u, 0, 11, &be_const_str_TM1638DIO); +be_define_const_str(TM1638DIO, "TM1638DIO", 1408212414u, 0, 9, &be_const_str_read12); +be_define_const_str(read12, "read12", 4291076970u, 0, 6, NULL); +be_define_const_str(DHT22, "DHT22", 215937903u, 0, 5, &be_const_str_SERIAL_5O1); +be_define_const_str(SERIAL_5O1, "SERIAL_5O1", 3782657917u, 0, 10, &be_const_str_upper); +be_define_const_str(upper, "upper", 176974407u, 0, 5, NULL); +be_define_const_str(I2S_IN_DATA, "I2S_IN_DATA", 4125971460u, 0, 11, &be_const_str_WEBCAM_RESET); +be_define_const_str(WEBCAM_RESET, "WEBCAM_RESET", 2171221520u, 0, 12, &be_const_str_WIEGAND_D1); +be_define_const_str(WIEGAND_D1, "WIEGAND_D1", 4175558140u, 0, 10, NULL); +be_define_const_str(A4988_DIR, "A4988_DIR", 2223595843u, 0, 9, &be_const_str_WIEGAND_D0); +be_define_const_str(WIEGAND_D0, "WIEGAND_D0", 4192335759u, 0, 10, NULL); +be_define_const_str(I2S_IN_CLK, "I2S_IN_CLK", 2996930120u, 0, 10, &be_const_str_MIEL_HVAC_RX); +be_define_const_str(MIEL_HVAC_RX, "MIEL_HVAC_RX", 3720609648u, 0, 12, NULL); +be_define_const_str(BUZZER_INV, "BUZZER_INV", 3274564335u, 0, 10, &be_const_str_gamma10); +be_define_const_str(gamma10, "gamma10", 3472052483u, 0, 7, NULL); +be_define_const_str(dot_p2, ".p2", 232398067u, 0, 3, &be_const_str_getbits); +be_define_const_str(getbits, "getbits", 3094168979u, 0, 7, NULL); +be_define_const_str(dot_p1, ".p1", 249175686u, 0, 3, &be_const_str_I2C_SCL); +be_define_const_str(I2C_SCL, "I2C_SCL", 164217098u, 0, 7, &be_const_str_RF_SENSOR); +be_define_const_str(RF_SENSOR, "RF_SENSOR", 2289628100u, 0, 9, NULL); +be_define_const_str(PZEM016_RX, "PZEM016_RX", 1004012055u, 0, 10, &be_const_str_response_append); +be_define_const_str(response_append, "response_append", 450346371u, 0, 15, NULL); +be_define_const_str(DCKI, "DCKI", 3846847480u, 0, 4, &be_const_str_MAX31855DO); +be_define_const_str(MAX31855DO, "MAX31855DO", 552730368u, 0, 10, &be_const_str_global); +be_define_const_str(global, "global", 503252654u, 0, 6, &be_const_str_set_useragent); +be_define_const_str(set_useragent, "set_useragent", 612237244u, 0, 13, NULL); +be_define_const_str(ILI9341_CS, "ILI9341_CS", 3519318851u, 0, 10, &be_const_str_atan); +be_define_const_str(atan, "atan", 108579519u, 0, 4, &be_const_str_fromb64); +be_define_const_str(fromb64, "fromb64", 2717019639u, 0, 7, NULL); +be_define_const_str(BS814_DAT, "BS814_DAT", 3620403837u, 0, 9, &be_const_str_I2S_OUT_CLK); +be_define_const_str(I2S_OUT_CLK, "I2S_OUT_CLK", 2580200387u, 0, 11, &be_const_str_SERIAL_8O2); +be_define_const_str(SERIAL_8O2, "SERIAL_8O2", 272345123u, 0, 10, &be_const_str_member); +be_define_const_str(member, "member", 719708611u, 0, 6, &be_const_str_set_power); +be_define_const_str(set_power, "set_power", 549820893u, 0, 9, &be_const_str_wire1); +be_define_const_str(wire1, "wire1", 3212721419u, 0, 5, NULL); +be_define_const_str(BS814_CLK, "BS814_CLK", 3002713336u, 0, 9, &be_const_str_PZEM017_RX); +be_define_const_str(PZEM017_RX, "PZEM017_RX", 3227495894u, 0, 10, &be_const_str_SERIAL_8O1); +be_define_const_str(SERIAL_8O1, "SERIAL_8O1", 289122742u, 0, 10, &be_const_str_isinstance); +be_define_const_str(isinstance, "isinstance", 3669352738u, 0, 10, &be_const_str_wire2); +be_define_const_str(wire2, "wire2", 3229499038u, 0, 5, &be_const_str_false); +be_define_const_str(false, "false", 184981848u, 62, 5, NULL); +be_define_const_str(SENSOR_END, "SENSOR_END", 3512542657u, 0, 10, &be_const_str_ST7789_DC); +be_define_const_str(ST7789_DC, "ST7789_DC", 2533509745u, 0, 9, NULL); +be_define_const_str(Wire, "Wire", 1938276536u, 0, 4, &be_const_str_resp_cmnd_str); +be_define_const_str(resp_cmnd_str, "resp_cmnd_str", 737845590u, 0, 13, &be_const_str_else); +be_define_const_str(else, "else", 3183434736u, 52, 4, &be_const_str_for); +be_define_const_str(for, "for", 2901640080u, 54, 3, NULL); +be_define_const_str(TASMOTACLIENT_RST, "TASMOTACLIENT_RST", 3326196213u, 0, 17, &be_const_str_assert); +be_define_const_str(assert, "assert", 2774883451u, 0, 6, NULL); +be_define_const_str(publish_result, "publish_result", 2013351252u, 0, 14, NULL); +be_define_const_str(MCP39F5_TX, "MCP39F5_TX", 1332322047u, 0, 10, &be_const_str__drivers); +be_define_const_str(_drivers, "_drivers", 3260328985u, 0, 8, &be_const_str_gc); +be_define_const_str(gc, "gc", 1042313471u, 0, 2, &be_const_str_set); +be_define_const_str(set, "set", 3324446467u, 0, 3, NULL); +be_define_const_str(SPI_MISO, "SPI_MISO", 150818010u, 0, 8, &be_const_str_calldepth); +be_define_const_str(calldepth, "calldepth", 3122364302u, 0, 9, NULL); +be_define_const_str(raise, "raise", 1593437475u, 70, 5, NULL); +be_define_const_str(NRF24_CS, "NRF24_CS", 555833194u, 0, 8, &be_const_str_PMS5003_TX); +be_define_const_str(PMS5003_TX, "PMS5003_TX", 3868169364u, 0, 10, &be_const_str_SERIAL_7E2); +be_define_const_str(SERIAL_7E2, "SERIAL_7E2", 97385204u, 0, 10, NULL); +be_define_const_str(INPUT_PULLUP, "INPUT_PULLUP", 2912931654u, 0, 12, NULL); +be_define_const_str(SERIAL_7E1, "SERIAL_7E1", 147718061u, 0, 10, &be_const_str_exists); +be_define_const_str(exists, "exists", 1002329533u, 0, 6, NULL); +be_define_const_str(ADE7953_IRQ, "ADE7953_IRQ", 2329185922u, 0, 11, &be_const_str_ST7789_CS); +be_define_const_str(ST7789_CS, "ST7789_CS", 2937305434u, 0, 9, &be_const_str__begin_transmission); +be_define_const_str(_begin_transmission, "_begin_transmission", 2779461176u, 0, 19, NULL); +be_define_const_str(DEEPSLEEP, "DEEPSLEEP", 189922226u, 0, 9, &be_const_str_GPS_RX); +be_define_const_str(GPS_RX, "GPS_RX", 1075637342u, 0, 6, &be_const_str_HM10_RX); +be_define_const_str(HM10_RX, "HM10_RX", 515085922u, 0, 7, &be_const_str_MAX7219CS); +be_define_const_str(MAX7219CS, "MAX7219CS", 2593198244u, 0, 9, &be_const_str_isnan); +be_define_const_str(isnan, "isnan", 2981347434u, 0, 5, &be_const_str_web_send); +be_define_const_str(web_send, "web_send", 2989941448u, 0, 8, NULL); +be_define_const_str(WE517_TX, "WE517_TX", 2954817217u, 0, 8, &be_const_str_content_start); +be_define_const_str(content_start, "content_start", 2937509069u, 0, 13, NULL); +be_define_const_str(SSD1331_CS, "SSD1331_CS", 4191047928u, 0, 10, &be_const_str_codedump); +be_define_const_str(codedump, "codedump", 1786337906u, 0, 8, NULL); +be_define_const_str(_global_def, "_global_def", 646007001u, 0, 11, NULL); +be_define_const_str(FALLING, "FALLING", 2851701064u, 0, 7, &be_const_str_classname); +be_define_const_str(classname, "classname", 1998589948u, 0, 9, &be_const_str_cos); +be_define_const_str(cos, "cos", 4220379804u, 0, 3, &be_const_str_save); +be_define_const_str(save, "save", 3439296072u, 0, 4, NULL); +be_define_const_str(CC1101_GDO0, "CC1101_GDO0", 940611027u, 0, 11, &be_const_str_LEDLNK_INV); +be_define_const_str(LEDLNK_INV, "LEDLNK_INV", 3559015101u, 0, 10, NULL); +be_define_const_str(AS608_RX, "AS608_RX", 4275502016u, 0, 8, &be_const_str_HPMA_RX); +be_define_const_str(HPMA_RX, "HPMA_RX", 3462528998u, 0, 7, &be_const_str_gamma8); +be_define_const_str(gamma8, "gamma8", 3802843830u, 0, 6, &be_const_str_top); +be_define_const_str(top, "top", 2802900028u, 0, 3, NULL); +be_define_const_str(CC1101_GDO2, "CC1101_GDO2", 974166265u, 0, 11, &be_const_str_CHANGE); +be_define_const_str(CHANGE, "CHANGE", 4280911421u, 0, 6, &be_const_str_MAX31855CS); +be_define_const_str(MAX31855CS, "MAX31855CS", 753620511u, 0, 10, &be_const_str_keys); +be_define_const_str(keys, "keys", 4182378701u, 0, 4, NULL); +be_define_const_str(pin_used, "pin_used", 4033854612u, 0, 8, NULL); +be_define_const_str(SERIAL_7N2, "SERIAL_7N2", 1874282627u, 0, 10, &be_const_str_i2c_enabled); +be_define_const_str(i2c_enabled, "i2c_enabled", 218388101u, 0, 11, NULL); +be_define_const_str(IRRECV, "IRRECV", 1743648982u, 0, 6, &be_const_str_SERIAL_7N1); +be_define_const_str(SERIAL_7N1, "SERIAL_7N1", 1891060246u, 0, 10, &be_const_str_WINDMETER_SPEED); +be_define_const_str(WINDMETER_SPEED, "WINDMETER_SPEED", 1980822204u, 0, 15, NULL); +be_define_const_str(event, "event", 4264611999u, 0, 5, NULL); +be_define_const_str(DHT11_OUT, "DHT11_OUT", 1645300734u, 0, 9, &be_const_str_ROT1B_NP); +be_define_const_str(ROT1B_NP, "ROT1B_NP", 3710079736u, 0, 8, NULL); +be_define_const_str(erase, "erase", 1010949589u, 0, 5, NULL); +be_define_const_str(do, "do", 1646057492u, 65, 2, NULL); +be_define_const_str(NRF24_DC, "NRF24_DC", 688921313u, 0, 8, &be_const_str_RC522_RST); +be_define_const_str(RC522_RST, "RC522_RST", 720511443u, 0, 9, &be_const_str_concat); +be_define_const_str(concat, "concat", 4124019837u, 0, 6, NULL); +be_define_const_str(read, "read", 3470762949u, 0, 4, &be_const_str_sqrt); +be_define_const_str(sqrt, "sqrt", 2112764879u, 0, 4, NULL); +be_define_const_str(HRE_DATA, "HRE_DATA", 1820377643u, 0, 8, &be_const_str_MGC3130_RESET); +be_define_const_str(MGC3130_RESET, "MGC3130_RESET", 405013121u, 0, 13, &be_const_str_add_rule); +be_define_const_str(add_rule, "add_rule", 596540743u, 0, 8, &be_const_str_read24); +be_define_const_str(read24, "read24", 1808533811u, 0, 6, NULL); +be_define_const_str(scale_uint, "scale_uint", 3090811094u, 0, 10, &be_const_str_wifi); +be_define_const_str(wifi, "wifi", 120087624u, 0, 4, NULL); +be_define_const_str(MGC3130_XFER, "MGC3130_XFER", 4178219131u, 0, 12, NULL); +be_define_const_str(PWM1_INV, "PWM1_INV", 3939021030u, 0, 8, &be_const_str_SSPI_DC); +be_define_const_str(SSPI_DC, "SSPI_DC", 1782271864u, 0, 7, &be_const_str_dac_voltage); +be_define_const_str(dac_voltage, "dac_voltage", 1552257222u, 0, 11, NULL); +be_define_const_str(ARIRFSEL, "ARIRFSEL", 233874443u, 0, 8, &be_const_str_REL1_INV); +be_define_const_str(REL1_INV, "REL1_INV", 3733155371u, 0, 8, &be_const_str_ROT1A_NP); +be_define_const_str(ROT1A_NP, "ROT1A_NP", 2322706903u, 0, 8, &be_const_str_char); +be_define_const_str(char, "char", 2823553821u, 0, 4, NULL); +be_define_const_str(MAX7219CLK, "MAX7219CLK", 963568838u, 0, 10, &be_const_str_RDM6300_RX); +be_define_const_str(RDM6300_RX, "RDM6300_RX", 1522345628u, 0, 10, &be_const_str_setrange); +be_define_const_str(setrange, "setrange", 3794019032u, 0, 8, NULL); +be_define_const_str(AZ_RXD, "AZ_RXD", 699914019u, 0, 6, &be_const_str_LMT01); +be_define_const_str(LMT01, "LMT01", 2490623797u, 0, 5, &be_const_str_atan2); +be_define_const_str(atan2, "atan2", 3173440503u, 0, 5, &be_const_str_real); +be_define_const_str(real, "real", 3604983901u, 0, 4, &be_const_str_setbits); +be_define_const_str(setbits, "setbits", 2762408167u, 0, 7, NULL); +be_define_const_str(SPI_CLK, "SPI_CLK", 3943233814u, 0, 7, &be_const_str_has_arg); +be_define_const_str(has_arg, "has_arg", 424878688u, 0, 7, NULL); +be_define_const_str(BL0940_RX, "BL0940_RX", 2908993179u, 0, 9, &be_const_str_MCP39F5_RX); +be_define_const_str(MCP39F5_RX, "MCP39F5_RX", 190458217u, 0, 10, &be_const_str_SHELLY_DIMMER_RST_INV); +be_define_const_str(SHELLY_DIMMER_RST_INV, "SHELLY_DIMMER_RST_INV", 2366759773u, 0, 21, &be_const_str_time_dump); +be_define_const_str(time_dump, "time_dump", 3330410747u, 0, 9, NULL); +be_define_const_str(tob64, "tob64", 373777640u, 0, 5, NULL); +be_define_const_str(static, "static", 3532702267u, 71, 6, NULL); +be_define_const_str(SM2135_DAT, "SM2135_DAT", 2882726942u, 0, 10, NULL); +be_define_const_str(MHZ_TXD, "MHZ_TXD", 3310158233u, 0, 7, NULL); +be_define_const_str(CNTR1, "CNTR1", 510376965u, 0, 5, NULL); +be_define_const_str(SERIAL_6O1, "SERIAL_6O1", 266153272u, 0, 10, &be_const_str_decrypt); +be_define_const_str(decrypt, "decrypt", 2886974618u, 0, 7, NULL); +be_define_const_str(IRSEND, "IRSEND", 184848336u, 0, 6, &be_const_str_SERIAL_5N1); +be_define_const_str(SERIAL_5N1, "SERIAL_5N1", 3313031680u, 0, 10, &be_const_str_set_auth); +be_define_const_str(set_auth, "set_auth", 1057170930u, 0, 8, NULL); +be_define_const_str(SDS0X1_TX, "SDS0X1_TX", 165045983u, 0, 9, &be_const_str_SERIAL_6O2); +be_define_const_str(SERIAL_6O2, "SERIAL_6O2", 316486129u, 0, 10, &be_const_str_VL53L0X_XSHUT1); +be_define_const_str(VL53L0X_XSHUT1, "VL53L0X_XSHUT1", 2341134183u, 0, 14, NULL); +be_define_const_str(size, "size", 597743964u, 0, 4, &be_const_str_update); +be_define_const_str(update, "update", 672109684u, 0, 6, NULL); +be_define_const_str(RFSEND, "RFSEND", 1862630731u, 0, 6, &be_const_str_RISING); +be_define_const_str(RISING, "RISING", 1256404539u, 0, 6, &be_const_str_SERIAL_5N2); +be_define_const_str(SERIAL_5N2, "SERIAL_5N2", 3363364537u, 0, 10, &be_const_str_type); +be_define_const_str(type, "type", 1361572173u, 0, 4, NULL); +be_define_const_str(ADC_RANGE, "ADC_RANGE", 3467329543u, 0, 9, &be_const_str__cb); +be_define_const_str(_cb, "_cb", 4043300367u, 0, 3, &be_const_str_setmember); +be_define_const_str(setmember, "setmember", 1432909441u, 0, 9, NULL); +be_define_const_str(NRG_SEL, "NRG_SEL", 1771358125u, 0, 7, &be_const_str_WE517_RX); +be_define_const_str(WE517_RX, "WE517_RX", 4096577879u, 0, 8, NULL); +be_define_const_str(SSD1331_DC, "SSD1331_DC", 3386560859u, 0, 10, NULL); +be_define_const_str(HRXL_RX, "HRXL_RX", 92702006u, 0, 7, NULL); +be_define_const_str(TCP_TX, "TCP_TX", 2762594089u, 0, 6, &be_const_str_content_send_style); +be_define_const_str(content_send_style, "content_send_style", 1087907647u, 0, 18, &be_const_str_map); +be_define_const_str(map, "map", 3751997361u, 0, 3, NULL); +be_define_const_str(allocated, "allocated", 429986098u, 0, 9, &be_const_str_asin); +be_define_const_str(asin, "asin", 4272848550u, 0, 4, &be_const_str_int); +be_define_const_str(int, "int", 2515107422u, 0, 3, &be_const_str_var); +be_define_const_str(var, "var", 2317739966u, 64, 3, NULL); +be_define_const_str(HJL_CF, "HJL_CF", 786158487u, 0, 6, NULL); +be_define_const_str(SOLAXX1_TX, "SOLAXX1_TX", 903770840u, 0, 10, &be_const_str_SSPI_MAX31865_CS1); +be_define_const_str(SSPI_MAX31865_CS1, "SSPI_MAX31865_CS1", 1256578724u, 0, 17, &be_const_str_webclient); +be_define_const_str(webclient, "webclient", 4076389146u, 0, 9, NULL); +be_define_const_str(resolvecmnd, "resolvecmnd", 993361485u, 0, 11, &be_const_str_return); +be_define_const_str(return, "return", 2246981567u, 60, 6, NULL); +be_define_const_str(str, "str", 3259748752u, 0, 3, &be_const_str_import); +be_define_const_str(import, "import", 288002260u, 66, 6, NULL); +be_define_const_str(_available, "_available", 1306196581u, 0, 10, NULL); +be_define_const_str(TELEINFO_RX, "TELEINFO_RX", 1195717356u, 0, 11, &be_const_str_imax); +be_define_const_str(imax, "imax", 3084515410u, 0, 4, NULL); +be_define_const_str(BUZZER, "BUZZER", 1550039611u, 0, 6, NULL); +be_define_const_str(SWT1, "SWT1", 805224112u, 0, 4, NULL); +be_define_const_str(ADC_CT_POWER, "ADC_CT_POWER", 3382284599u, 0, 12, &be_const_str_BOILER_OT_TX); +be_define_const_str(BOILER_OT_TX, "BOILER_OT_TX", 671743623u, 0, 12, &be_const_str_SWT1_PD); +be_define_const_str(SWT1_PD, "SWT1_PD", 4166278953u, 0, 7, &be_const_str_WEBCAM_SIOC); +be_define_const_str(WEBCAM_SIOC, "WEBCAM_SIOC", 218815147u, 0, 11, &be_const_str_close); +be_define_const_str(close, "close", 667630371u, 0, 5, &be_const_str_true); +be_define_const_str(true, "true", 1303515621u, 61, 4, NULL); +be_define_const_str(available, "available", 1727918744u, 0, 9, NULL); +be_define_const_str(HIGH, "HIGH", 2066738941u, 0, 4, NULL); +be_define_const_str(remove_driver, "remove_driver", 1030243768u, 0, 13, NULL); +be_define_const_str(ELECTRIQ_MOODL_TX, "ELECTRIQ_MOODL_TX", 31009247u, 0, 17, &be_const_str_LED1); +be_define_const_str(LED1, "LED1", 21005825u, 0, 4, &be_const_str_TELEINFO_ENABLE); +be_define_const_str(TELEINFO_ENABLE, "TELEINFO_ENABLE", 1600974501u, 0, 15, NULL); +be_define_const_str(OPEN_DRAIN, "OPEN_DRAIN", 677872608u, 0, 10, &be_const_str_WEBCAM_SIOD); +be_define_const_str(WEBCAM_SIOD, "WEBCAM_SIOD", 302703242u, 0, 11, &be_const_str__timers); +be_define_const_str(_timers, "_timers", 2600100916u, 0, 7, NULL); +be_define_const_str(TXD, "TXD", 3614562079u, 0, 3, NULL); +be_define_const_str(find, "find", 3186656602u, 0, 4, &be_const_str_resp_cmnd_failed); +be_define_const_str(resp_cmnd_failed, "resp_cmnd_failed", 2136281562u, 0, 16, NULL); +be_define_const_str(SSPI_CS, "SSPI_CS", 977784795u, 0, 7, &be_const_str_TFMINIPLUS_TX); +be_define_const_str(TFMINIPLUS_TX, "TFMINIPLUS_TX", 2527875337u, 0, 13, &be_const_str_ctypes_bytes); +be_define_const_str(ctypes_bytes, "ctypes_bytes", 3879019703u, 0, 12, NULL); +be_define_const_str(FTC532, "FTC532", 3182343438u, 0, 6, &be_const_str_HLW_CF); +be_define_const_str(HLW_CF, "HLW_CF", 3982619486u, 0, 6, &be_const_str_TASMOTACLIENT_TXD); +be_define_const_str(TASMOTACLIENT_TXD, "TASMOTACLIENT_TXD", 1386193940u, 0, 17, &be_const_str__request_from); +be_define_const_str(_request_from, "_request_from", 3965148604u, 0, 13, &be_const_str_add); +be_define_const_str(add, "add", 993596020u, 0, 3, &be_const_str_super); +be_define_const_str(super, "super", 4152230356u, 0, 5, NULL); +be_define_const_str(TUYA_TX, "TUYA_TX", 1541301465u, 0, 7, NULL); +be_define_const_str(EPAPER29_CS, "EPAPER29_CS", 3916373594u, 0, 11, NULL); +be_define_const_str(HRE_CLOCK, "HRE_CLOCK", 2870559111u, 0, 9, &be_const_str_search); +be_define_const_str(search, "search", 2150836393u, 0, 6, NULL); +be_define_const_str(continue, "continue", 2977070660u, 59, 8, NULL); +be_define_const_str(DHT11, "DHT11", 367083569u, 0, 5, &be_const_str_reduce); +be_define_const_str(reduce, "reduce", 2002030311u, 0, 6, &be_const_str_time_reached); +be_define_const_str(time_reached, "time_reached", 2075136773u, 0, 12, &be_const_str_url_encode); +be_define_const_str(url_encode, "url_encode", 528392145u, 0, 10, NULL); +be_define_const_str(DDSU666_TX, "DDSU666_TX", 1880604150u, 0, 10, &be_const_str_rtc); +be_define_const_str(rtc, "rtc", 1070575216u, 0, 3, NULL); +be_define_const_str(content_stop, "content_stop", 658554751u, 0, 12, NULL); +be_define_const_str(remove_rule, "remove_rule", 3456211328u, 0, 11, NULL); +be_define_const_str(_def, "_def", 1985022181u, 0, 4, &be_const_str_tolower); +be_define_const_str(tolower, "tolower", 1042520049u, 0, 7, NULL); static const bstring* const m_string_table[] = { - (const bstring *)&be_const_str_CC1101_GDO2, - (const bstring *)&be_const_str_ZIGBEE_RST, - (const bstring *)&be_const_str_SYMBOL_POWER, - (const bstring *)&be_const_str_dump, - (const bstring *)&be_const_str_dot_w, - (const bstring *)&be_const_str_HX711_DAT, - (const bstring *)&be_const_str_dot_p1, - NULL, - (const bstring *)&be_const_str_ADC_INPUT, - NULL, - (const bstring *)&be_const_str_ceil, - (const bstring *)&be_const_str_opt_call, - (const bstring *)&be_const_str_ADC_JOY, - (const bstring *)&be_const_str_pow, - (const bstring *)&be_const_str_WEBCAM_PWDN, - NULL, - (const bstring *)&be_const_str_tomap, - (const bstring *)&be_const_str_SM2135_DAT, - (const bstring *)&be_const_str_ETH_PHY_MDIO, - (const bstring *)&be_const_str_HX711_SCK, - (const bstring *)&be_const_str_I2S_IN_CLK, - (const bstring *)&be_const_str_CHANGE, - (const bstring *)&be_const_str_MP3_DFR562, - (const bstring *)&be_const_str_SYMBOL_MINUS, - (const bstring *)&be_const_str_event, - (const bstring *)&be_const_str_PROJECTOR_CTRL_RX, - (const bstring *)&be_const_str_IRSEND, - (const bstring *)&be_const_str_SYMBOL_BELL, - NULL, - NULL, - (const bstring *)&be_const_str_SERIAL_7O1, - NULL, - NULL, - (const bstring *)&be_const_str_SYMBOL_TRASH, - (const bstring *)&be_const_str_PZEM017_RX, - NULL, - (const bstring *)&be_const_str_Wire, - (const bstring *)&be_const_str_CC1101_GDO0, - (const bstring *)&be_const_str_HRE_DATA, - (const bstring *)&be_const_str_LE01MR_RX, - (const bstring *)&be_const_str_set_auth, - (const bstring *)&be_const_str_map, - (const bstring *)&be_const_str_content_button, - (const bstring *)&be_const_str_TM1638STB, - (const bstring *)&be_const_str_traceback, - (const bstring *)&be_const_str_ZIGBEE_RX, - NULL, - (const bstring *)&be_const_str_SERIAL_5N2, - (const bstring *)&be_const_str_SSD1351_DC, - (const bstring *)&be_const_str_DDS2382_TX, - (const bstring *)&be_const_str_arg_name, - (const bstring *)&be_const_str_SYMBOL_CHARGE, - (const bstring *)&be_const_str_OUTPUT_HI, - NULL, - NULL, - (const bstring *)&be_const_str_opt_add, - (const bstring *)&be_const_str_HRE_CLOCK, - (const bstring *)&be_const_str_SERIAL_5O1, - (const bstring *)&be_const_str_ROT1B, - (const bstring *)&be_const_str_SERIAL_6N2, - (const bstring *)&be_const_str_SYMBOL_COPY, - (const bstring *)&be_const_str_assert, - NULL, - (const bstring *)&be_const_str_SYMBOL_PREV, - (const bstring *)&be_const_str_wire1, - (const bstring *)&be_const_str_NRG_SEL, - (const bstring *)&be_const_str_eth, - (const bstring *)&be_const_str_REL1, - NULL, - (const bstring *)&be_const_str_KEY1_INV_PD, - (const bstring *)&be_const_str_PROJECTOR_CTRL_TX, - (const bstring *)&be_const_str_PULLUP, - (const bstring *)&be_const_str_SERIAL_6E2, - (const bstring *)&be_const_str_KEY1_INV, - (const bstring *)&be_const_str_PMS5003_TX, - NULL, - (const bstring *)&be_const_str_WEBCAM_VSYNC, - (const bstring *)&be_const_str_LED1_INV, - NULL, - NULL, - (const bstring *)&be_const_str_opt_eq, - (const bstring *)&be_const_str_KEY1_INV_NP, - NULL, - (const bstring *)&be_const_str_CNTR1_NP, - (const bstring *)&be_const_str_MAX7219DIN, - (const bstring *)&be_const_str_SYMBOL_NEW_LINE, - (const bstring *)&be_const_str_BACKLIGHT, - (const bstring *)&be_const_str_reverse_gamma10, - NULL, - (const bstring *)&be_const_str_SSPI_MAX31865_CS1, - (const bstring *)&be_const_str_WEBCAM_RESET, - (const bstring *)&be_const_str_dot_len, - (const bstring *)&be_const_str_SSPI_MOSI, - (const bstring *)&be_const_str_CSE7761_RX, - (const bstring *)&be_const_str_MAX7219CS, - NULL, - (const bstring *)&be_const_str_A4988_MS1, - (const bstring *)&be_const_str_str, - (const bstring *)&be_const_str_I2C_SCL, - (const bstring *)&be_const_str_SYMBOL_DIRECTORY, - NULL, - (const bstring *)&be_const_str_SM16716_DAT, - (const bstring *)&be_const_str__cmd, - (const bstring *)&be_const_str_RDM6300_RX, - (const bstring *)&be_const_str_RISING, - (const bstring *)&be_const_str_KEY1_PD, - NULL, - NULL, - (const bstring *)&be_const_str_OPEN_DRAIN, - NULL, - (const bstring *)&be_const_str_CNTR1, - (const bstring *)&be_const_str_SYMBOL_CALL, - (const bstring *)&be_const_str_IRRECV, - (const bstring *)&be_const_str_I2S_OUT_DATA, - (const bstring *)&be_const_str_MIEL_HVAC_TX, - (const bstring *)&be_const_str_SYMBOL_LIST, - (const bstring *)&be_const_str__def, - (const bstring *)&be_const_str_int, - (const bstring *)&be_const_str_AudioGeneratorMP3, - NULL, - (const bstring *)&be_const_str_SYMBOL_OK, - (const bstring *)&be_const_str_TELEINFO_ENABLE, - (const bstring *)&be_const_str_remove_cmd, - (const bstring *)&be_const_str_AudioFileSource, - (const bstring *)&be_const_str_INPUT_PULLUP, - NULL, - (const bstring *)&be_const_str_HLW_CF, - (const bstring *)&be_const_str_SERIAL_6O1, - (const bstring *)&be_const_str_AudioOutput, - (const bstring *)&be_const_str_CSE7766_RX, - (const bstring *)&be_const_str_init, - (const bstring *)&be_const_str_, - (const bstring *)&be_const_str_I2S_OUT_SLCT, - (const bstring *)&be_const_str_I2C_Driver, - (const bstring *)&be_const_str_available, - (const bstring *)&be_const_str_OPTION_A, - (const bstring *)&be_const_str_HRXL_RX, - (const bstring *)&be_const_str_MHZ_RXD, - (const bstring *)&be_const_str_SYMBOL_MUTE, - (const bstring *)&be_const_str_read, - NULL, - (const bstring *)&be_const_str_gen_cb, - (const bstring *)&be_const_str_deinit, - (const bstring *)&be_const_str_AudioGeneratorWAV, - NULL, - (const bstring *)&be_const_str_IBEACON_RX, - (const bstring *)&be_const_str_CSE7766_TX, - (const bstring *)&be_const_str_SR04_ECHO, - (const bstring *)&be_const_str_ADC_RANGE, - (const bstring *)&be_const_str_EPAPER29_CS, - (const bstring *)&be_const_str_log10, - (const bstring *)&be_const_str_DDSU666_RX, - (const bstring *)&be_const_str_I2C_SDA, - (const bstring *)&be_const_str_HPMA_RX, - NULL, - NULL, - (const bstring *)&be_const_str_I2S_IN_SLCT, - (const bstring *)&be_const_str_HALLEFFECT, - (const bstring *)&be_const_str_SYMBOL_RIGHT, - (const bstring *)&be_const_str_DHT11_OUT, - (const bstring *)&be_const_str_TASMOTACLIENT_RST_INV, - (const bstring *)&be_const_str_SBR_RX, - (const bstring *)&be_const_str_tan, - (const bstring *)&be_const_str_byte, - (const bstring *)&be_const_str_AudioOutputI2S, - (const bstring *)&be_const_str_ADC_BUTTON, - (const bstring *)&be_const_str__global_addr, - (const bstring *)&be_const_str_SYMBOL_VOLUME_MID, - NULL, - (const bstring *)&be_const_str_dot_size, - (const bstring *)&be_const_str_SYMBOL_SETTINGS, - (const bstring *)&be_const_str_EC_C25519, - (const bstring *)&be_const_str_PN532_RXD, - (const bstring *)&be_const_str_SERIAL_8O2, - (const bstring *)&be_const_str_ADC_PH, - (const bstring *)&be_const_str_SDM120_TX, - (const bstring *)&be_const_str_find_op, - (const bstring *)&be_const_str_TFMINIPLUS_TX, - (const bstring *)&be_const_str_A4988_DIR, - (const bstring *)&be_const_str_SERIAL_7O2, - (const bstring *)&be_const_str_SYMBOL_BATTERY_FULL, - (const bstring *)&be_const_str_IEM3000_RX, - (const bstring *)&be_const_str_SYMBOL_UPLOAD, - (const bstring *)&be_const_str_SHELLY_DIMMER_RST_INV, - (const bstring *)&be_const_str_AZ_TXD, - NULL, - (const bstring *)&be_const_str_opt_neq, - NULL, - NULL, - (const bstring *)&be_const_str_BOILER_OT_RX, - NULL, - (const bstring *)&be_const_str_SI7021, - (const bstring *)&be_const_str_dot_p2, - (const bstring *)&be_const_str_SDS0X1_TX, - (const bstring *)&be_const_str_AZ_RXD, - (const bstring *)&be_const_str_DYP_RX, - (const bstring *)&be_const_str_AS608_RX, - NULL, - (const bstring *)&be_const_str_SWT1_PD, - NULL, - (const bstring *)&be_const_str_opt_connect, - (const bstring *)&be_const_str_split, - (const bstring *)&be_const_str_P9813_DAT, - NULL, - (const bstring *)&be_const_str_DI, - NULL, - (const bstring *)&be_const_str_POST, - (const bstring *)&be_const_str_IBEACON_TX, - (const bstring *)&be_const_str_false, - (const bstring *)&be_const_str_A4988_STP, - (const bstring *)&be_const_str_content_flush, - (const bstring *)&be_const_str_redirect, - (const bstring *)&be_const_str_BS814_DAT, (const bstring *)&be_const_str_OUTPUT_LO, - (const bstring *)&be_const_str_lv_color, - (const bstring *)&be_const_str_SYMBOL_LEFT, - NULL, - (const bstring *)&be_const_str_dac_voltage, - (const bstring *)&be_const_str_FTC532, - (const bstring *)&be_const_str_seg7_font, - (const bstring *)&be_const_str_ST7789_DC, - (const bstring *)&be_const_str_SERIAL_6E1, - (const bstring *)&be_const_str_flush, - (const bstring *)&be_const_str_ARIRFSEL, - (const bstring *)&be_const_str_cos, - (const bstring *)&be_const_str_resp_cmnd_done, - (const bstring *)&be_const_str_LEDLNK_INV, - (const bstring *)&be_const_str_SYMBOL_BULLET, - (const bstring *)&be_const_str_decrypt, - (const bstring *)&be_const_str_GET, - (const bstring *)&be_const_str_KEY1, - NULL, - (const bstring *)&be_const_str_EPD_DATA, - (const bstring *)&be_const_str_SYMBOL_WIFI, - (const bstring *)&be_const_str_SPI_MOSI, - NULL, - (const bstring *)&be_const_str_add_driver, - (const bstring *)&be_const_str_I2S_OUT_CLK, - (const bstring *)&be_const_str_SYMBOL_DUMMY, - (const bstring *)&be_const_str_SERIAL_6O2, - (const bstring *)&be_const_str_I2S_IN_DATA, - (const bstring *)&be_const_str_sin, - (const bstring *)&be_const_str_DAC, - (const bstring *)&be_const_str_atan2, - (const bstring *)&be_const_str_ARIRFRCV, - (const bstring *)&be_const_str_DDSU666_TX, - (const bstring *)&be_const_str_RFRECV, - (const bstring *)&be_const_str_GPS_RX, - (const bstring *)&be_const_str_SDM120_RX, - (const bstring *)&be_const_str_HPMA_TX, - (const bstring *)&be_const_str_RF_SENSOR, - (const bstring *)&be_const_str_SM2135_CLK, - (const bstring *)&be_const_str_A4988_ENA, - (const bstring *)&be_const_str_DHT22, - NULL, - (const bstring *)&be_const_str_SBR_TX, - (const bstring *)&be_const_str_INPUT_PULLDOWN, - (const bstring *)&be_const_str_SYMBOL_BLUETOOTH, - (const bstring *)&be_const_str_SYMBOL_VIDEO, - (const bstring *)&be_const_str_scale_uint, - (const bstring *)&be_const_str_raise, - (const bstring *)&be_const_str_i2c_enabled, - (const bstring *)&be_const_str_ADC_LIGHT, - (const bstring *)&be_const_str_EXS_ENABLE, - (const bstring *)&be_const_str_dot_p, - (const bstring *)&be_const_str_asin, - NULL, - (const bstring *)&be_const_str_ADE7953_IRQ, - (const bstring *)&be_const_str_Tasmota, - (const bstring *)&be_const_str_ETH_PHY_POWER, - (const bstring *)&be_const_str_DCKI, - (const bstring *)&be_const_str_OUTPUT_OPEN_DRAIN, - (const bstring *)&be_const_str_TM1637CLK, - (const bstring *)&be_const_str_lv_btn, - NULL, - (const bstring *)&be_const_str_IEM3000_TX, - (const bstring *)&be_const_str_print, - (const bstring *)&be_const_str_AudioGenerator, - (const bstring *)&be_const_str_SSD1331_CS, - (const bstring *)&be_const_str_sqrt, - (const bstring *)&be_const_str_SERIAL_5O2, - (const bstring *)&be_const_str_ROT1A, - (const bstring *)&be_const_str_XPT2046_CS, - (const bstring *)&be_const_str_BOILER_OT_TX, - (const bstring *)&be_const_str_DHT11, - (const bstring *)&be_const_str_wire_scan, - (const bstring *)&be_const_str_TM1638CLK, - NULL, - (const bstring *)&be_const_str_SAIR_RX, - (const bstring *)&be_const_str_INTERRUPT, - (const bstring *)&be_const_str__write, - (const bstring *)&be_const_str_SYMBOL_PASTE, - (const bstring *)&be_const_str_OneWire, - NULL, - (const bstring *)&be_const_str_count, - (const bstring *)&be_const_str_DSB_OUT, - (const bstring *)&be_const_str_ROT1B_NP, - (const bstring *)&be_const_str_resp_cmnd_failed, - (const bstring *)&be_const_str_AES_GCM, - (const bstring *)&be_const_str_SSD1331_DC, - (const bstring *)&be_const_str_TUYA_TX, - (const bstring *)&be_const_str_SYMBOL_AUDIO, - (const bstring *)&be_const_str_LMT01, - (const bstring *)&be_const_str_digital_read, - (const bstring *)&be_const_str_as, - (const bstring *)&be_const_str_BUZZER_INV, - (const bstring *)&be_const_str_ADC_BUTTON_INV, - (const bstring *)&be_const_str_ELECTRIQ_MOODL_TX, - (const bstring *)&be_const_str_TASMOTACLIENT_RST, - (const bstring *)&be_const_str_ST7789_CS, - (const bstring *)&be_const_str_SERIAL_5E1, - NULL, - NULL, - NULL, - (const bstring *)&be_const_str_ADC_CT_POWER, - (const bstring *)&be_const_str_ADC_TEMP, - NULL, - (const bstring *)&be_const_str_MAX31855CLK, - (const bstring *)&be_const_str_SYMBOL_LOOP, - NULL, - (const bstring *)&be_const_str_AS3935, - (const bstring *)&be_const_str_SERIAL_7N1, - (const bstring *)&be_const_str_DDS2382_RX, - (const bstring *)&be_const_str_RA8876_CS, - (const bstring *)&be_const_str_AS608_TX, + (const bstring *)&be_const_str_SM16716_SEL, + (const bstring *)&be_const_str_memory, + (const bstring *)&be_const_str_, NULL, (const bstring *)&be_const_str_EPAPER42_CS, - (const bstring *)&be_const_str_concat, + (const bstring *)&be_const_str_GPS_TX, + (const bstring *)&be_const_str_MHZ_RXD, (const bstring *)&be_const_str__buffer, - (const bstring *)&be_const_str_DSB, - (const bstring *)&be_const_str_SDM630_TX, - (const bstring *)&be_const_str_PWM1, - (const bstring *)&be_const_str_CSE7761_TX, + (const bstring *)&be_const_str_SERIAL_8E2, + (const bstring *)&be_const_str_AudioGeneratorMP3, + (const bstring *)&be_const_str_SAIR_RX, + (const bstring *)&be_const_str_ADC_BUTTON_INV, + (const bstring *)&be_const_str_CSE7766_TX, + (const bstring *)&be_const_str_addr, + (const bstring *)&be_const_str_reverse, + (const bstring *)&be_const_str_IEM3000_TX, + (const bstring *)&be_const_str_sin, + (const bstring *)&be_const_str_ROT1A, + (const bstring *)&be_const_str_LED1_INV, + (const bstring *)&be_const_str_PZEM004_RX, + (const bstring *)&be_const_str_opt_eq, + (const bstring *)&be_const_str__cmd, + (const bstring *)&be_const_str_MD5, + (const bstring *)&be_const_str_PMS5003_RX, + (const bstring *)&be_const_str_last_modified, + (const bstring *)&be_const_str_on, + (const bstring *)&be_const_str_TM1638STB, + (const bstring *)&be_const_str_OneWire, + NULL, + (const bstring *)&be_const_str_PN532_TXD, + (const bstring *)&be_const_str_PULLUP, + NULL, + (const bstring *)&be_const_str_resp_cmnd_error, + (const bstring *)&be_const_str_TX2X_TXD_BLACK, + (const bstring *)&be_const_str_add_cmd, + (const bstring *)&be_const_str_skip, + (const bstring *)&be_const_str_EPD_DATA, + NULL, + (const bstring *)&be_const_str_WEBCAM_XCLK, + (const bstring *)&be_const_str_DDS2382_TX, + (const bstring *)&be_const_str_has, + (const bstring *)&be_const_str_KEY1_INV_NP, + (const bstring *)&be_const_str_arg, + (const bstring *)&be_const_str_HPMA_TX, + NULL, + (const bstring *)&be_const_str_KEY1_PD, + (const bstring *)&be_const_str_IBEACON_TX, + NULL, + (const bstring *)&be_const_str_SBR_TX, + (const bstring *)&be_const_str_eth, + (const bstring *)&be_const_str_EC_C25519, + (const bstring *)&be_const_str_SERIAL_5E2, + (const bstring *)&be_const_str_DSB_OUT, + (const bstring *)&be_const_str_ADC_BUTTON, + (const bstring *)&be_const_str_issubclass, + NULL, (const bstring *)&be_const_str_AudioFileSourceFS, - (const bstring *)&be_const_str_WEBCAM_PCLK + (const bstring *)&be_const_str_copy, + (const bstring *)&be_const_str_NRG_SEL_INV, + (const bstring *)&be_const_str_CSE7761_TX, + (const bstring *)&be_const_str_INPUT, + (const bstring *)&be_const_str_ZIGBEE_RX, + (const bstring *)&be_const_str_dot_p, + (const bstring *)&be_const_str_HX711_DAT, + (const bstring *)&be_const_str_RXD, + (const bstring *)&be_const_str_opt_add, + (const bstring *)&be_const_str_LE01MR_TX, + (const bstring *)&be_const_str_dot_w, + (const bstring *)&be_const_str_A4988_STP, + (const bstring *)&be_const_str_ADC_JOY, + (const bstring *)&be_const_str_stop, + (const bstring *)&be_const_str_remove_cmd, + NULL, + (const bstring *)&be_const_str_WEBCAM_PWDN, + NULL, + (const bstring *)&be_const_str_WEBCAM_HSD, + (const bstring *)&be_const_str_A4988_MS1, + (const bstring *)&be_const_str_rad, + (const bstring *)&be_const_str_BOILER_OT_RX, + (const bstring *)&be_const_str_fromstring, + (const bstring *)&be_const_str_iter, + (const bstring *)&be_const_str_AudioOutput, + (const bstring *)&be_const_str_NRG_CF1, + NULL, + (const bstring *)&be_const_str_WEBCAM_DATA, + (const bstring *)&be_const_str_NEOPOOL_TX, + NULL, + (const bstring *)&be_const_str_KEY1_NP, + (const bstring *)&be_const_str_SR04_TRIG, + (const bstring *)&be_const_str_deinit, + (const bstring *)&be_const_str_tostring, + NULL, + NULL, + (const bstring *)&be_const_str_TASMOTACLIENT_RXD, + (const bstring *)&be_const_str_DYP_RX, + (const bstring *)&be_const_str_DDSU666_RX, + (const bstring *)&be_const_str_collect, + (const bstring *)&be_const_str_ADC_INPUT, + NULL, + (const bstring *)&be_const_str_ILI9341_DC, + (const bstring *)&be_const_str_INPUT_PULLDOWN, + (const bstring *)&be_const_str_format, + (const bstring *)&be_const_str_cmd, + (const bstring *)&be_const_str_AudioOutputI2S, + (const bstring *)&be_const_str_digital_write, + (const bstring *)&be_const_str_set_light, + NULL, + (const bstring *)&be_const_str_KEY1_INV_PD, + (const bstring *)&be_const_str_TFMINIPLUS_RX, + (const bstring *)&be_const_str_OUTPUT, + (const bstring *)&be_const_str_SDCARD_CS, + NULL, + (const bstring *)&be_const_str_POST, + (const bstring *)&be_const_str_pin_mode, + (const bstring *)&be_const_str___iterator__, + (const bstring *)&be_const_str_IEM3000_RX, + (const bstring *)&be_const_str_WEBCAM_PCLK, + (const bstring *)&be_const_str_pin, + (const bstring *)&be_const_str_SDM120_RX, + (const bstring *)&be_const_str_ADC_PH, + (const bstring *)&be_const_str_GET, + (const bstring *)&be_const_str_CNTR1_NP, + (const bstring *)&be_const_str_KEY1, + (const bstring *)&be_const_str_A4988_ENA, + (const bstring *)&be_const_str_SM2135_CLK, + (const bstring *)&be_const_str_ETH_PHY_POWER, + (const bstring *)&be_const_str_RFRECV, + (const bstring *)&be_const_str_yield, + (const bstring *)&be_const_str_SDM630_TX, + (const bstring *)&be_const_str_NEOPOOL_RX, + NULL, + (const bstring *)&be_const_str_read32, + (const bstring *)&be_const_str_SAIR_TX, + NULL, + NULL, + (const bstring *)&be_const_str_DSB, + (const bstring *)&be_const_str_add_driver, + (const bstring *)&be_const_str_opt_call, + (const bstring *)&be_const_str_get_option, + (const bstring *)&be_const_str_PROJECTOR_CTRL_TX, + (const bstring *)&be_const_str_KEY1_INV, + (const bstring *)&be_const_str_dot_size, + NULL, + (const bstring *)&be_const_str_dot_len, + NULL, + NULL, + (const bstring *)&be_const_str_AZ_TXD, + (const bstring *)&be_const_str_geti, + (const bstring *)&be_const_str_SBR_RX, + (const bstring *)&be_const_str_I2C_SDA, + (const bstring *)&be_const_str_opt_neq, + (const bstring *)&be_const_str_check_privileged_access, + (const bstring *)&be_const_str_SWT1_NP, + (const bstring *)&be_const_str_ADC_TEMP, + (const bstring *)&be_const_str_AS3935, + (const bstring *)&be_const_str_RC522_CS, + (const bstring *)&be_const_str_opt_connect, + (const bstring *)&be_const_str_PZEM0XX_TX, + (const bstring *)&be_const_str_byte, + (const bstring *)&be_const_str_asstring, + (const bstring *)&be_const_str_SDM120_TX, + (const bstring *)&be_const_str_ADC_LIGHT, + (const bstring *)&be_const_str_push, + (const bstring *)&be_const_str_HM10_TX, + (const bstring *)&be_const_str_fromptr, + (const bstring *)&be_const_str_BACKLIGHT, + (const bstring *)&be_const_str_LE01MR_RX, + (const bstring *)&be_const_str_AudioGenerator, + (const bstring *)&be_const_str_CSE7766_RX, + (const bstring *)&be_const_str_I2S_IN_SLCT, + (const bstring *)&be_const_str_MAX7219DIN, + (const bstring *)&be_const_str__ptr, + NULL, + (const bstring *)&be_const_str_AudioGeneratorWAV, + (const bstring *)&be_const_str_TUYA_RX, + (const bstring *)&be_const_str_ARIRFRCV, + NULL, + (const bstring *)&be_const_str_AudioFileSource, + (const bstring *)&be_const_str_ILI9488_CS, + (const bstring *)&be_const_str_MCP39F5_RST, + (const bstring *)&be_const_str_DHT22, + (const bstring *)&be_const_str_I2S_IN_DATA, + (const bstring *)&be_const_str_A4988_DIR, + (const bstring *)&be_const_str_I2S_IN_CLK, + (const bstring *)&be_const_str_BUZZER_INV, + NULL, + (const bstring *)&be_const_str_dot_p2, + (const bstring *)&be_const_str_dot_p1, + (const bstring *)&be_const_str_PZEM016_RX, + (const bstring *)&be_const_str_DCKI, + (const bstring *)&be_const_str_ILI9341_CS, + NULL, + (const bstring *)&be_const_str_BS814_DAT, + (const bstring *)&be_const_str_BS814_CLK, + (const bstring *)&be_const_str_SENSOR_END, + (const bstring *)&be_const_str_Wire, + (const bstring *)&be_const_str_TASMOTACLIENT_RST, + (const bstring *)&be_const_str_publish_result, + (const bstring *)&be_const_str_MCP39F5_TX, + (const bstring *)&be_const_str_SPI_MISO, + (const bstring *)&be_const_str_raise, + (const bstring *)&be_const_str_NRF24_CS, + NULL, + (const bstring *)&be_const_str_INPUT_PULLUP, + (const bstring *)&be_const_str_SERIAL_7E1, + (const bstring *)&be_const_str_ADE7953_IRQ, + NULL, + (const bstring *)&be_const_str_DEEPSLEEP, + (const bstring *)&be_const_str_WE517_TX, + (const bstring *)&be_const_str_SSD1331_CS, + (const bstring *)&be_const_str__global_def, + (const bstring *)&be_const_str_FALLING, + (const bstring *)&be_const_str_CC1101_GDO0, + (const bstring *)&be_const_str_AS608_RX, + (const bstring *)&be_const_str_CC1101_GDO2, + (const bstring *)&be_const_str_pin_used, + (const bstring *)&be_const_str_SERIAL_7N2, + (const bstring *)&be_const_str_IRRECV, + (const bstring *)&be_const_str_event, + (const bstring *)&be_const_str_DHT11_OUT, + (const bstring *)&be_const_str_erase, + (const bstring *)&be_const_str_do, + (const bstring *)&be_const_str_NRF24_DC, + NULL, + (const bstring *)&be_const_str_read, + NULL, + (const bstring *)&be_const_str_HRE_DATA, + (const bstring *)&be_const_str_scale_uint, + (const bstring *)&be_const_str_MGC3130_XFER, + (const bstring *)&be_const_str_PWM1_INV, + (const bstring *)&be_const_str_ARIRFSEL, + (const bstring *)&be_const_str_MAX7219CLK, + (const bstring *)&be_const_str_AZ_RXD, + (const bstring *)&be_const_str_SPI_CLK, + (const bstring *)&be_const_str_BL0940_RX, + (const bstring *)&be_const_str_tob64, + (const bstring *)&be_const_str_static, + (const bstring *)&be_const_str_SM2135_DAT, + (const bstring *)&be_const_str_MHZ_TXD, + NULL, + (const bstring *)&be_const_str_CNTR1, + (const bstring *)&be_const_str_SERIAL_6O1, + NULL, + (const bstring *)&be_const_str_IRSEND, + (const bstring *)&be_const_str_SDS0X1_TX, + (const bstring *)&be_const_str_size, + (const bstring *)&be_const_str_RFSEND, + NULL, + (const bstring *)&be_const_str_ADC_RANGE, + NULL, + (const bstring *)&be_const_str_NRG_SEL, + NULL, + (const bstring *)&be_const_str_SSD1331_DC, + (const bstring *)&be_const_str_HRXL_RX, + (const bstring *)&be_const_str_TCP_TX, + (const bstring *)&be_const_str_allocated, + (const bstring *)&be_const_str_HJL_CF, + (const bstring *)&be_const_str_SOLAXX1_TX, + (const bstring *)&be_const_str_resolvecmnd, + (const bstring *)&be_const_str_str, + (const bstring *)&be_const_str__available, + (const bstring *)&be_const_str_TELEINFO_RX, + (const bstring *)&be_const_str_BUZZER, + (const bstring *)&be_const_str_SWT1, + (const bstring *)&be_const_str_ADC_CT_POWER, + (const bstring *)&be_const_str_available, + (const bstring *)&be_const_str_HIGH, + (const bstring *)&be_const_str_remove_driver, + (const bstring *)&be_const_str_ELECTRIQ_MOODL_TX, + (const bstring *)&be_const_str_OPEN_DRAIN, + (const bstring *)&be_const_str_TXD, + (const bstring *)&be_const_str_find, + (const bstring *)&be_const_str_SSPI_CS, + (const bstring *)&be_const_str_FTC532, + (const bstring *)&be_const_str_TUYA_TX, + (const bstring *)&be_const_str_EPAPER29_CS, + (const bstring *)&be_const_str_HRE_CLOCK, + (const bstring *)&be_const_str_continue, + NULL, + NULL, + (const bstring *)&be_const_str_DHT11, + (const bstring *)&be_const_str_DDSU666_TX, + (const bstring *)&be_const_str_content_stop, + (const bstring *)&be_const_str_remove_rule, + (const bstring *)&be_const_str__def }; static const struct bconststrtab m_const_string_table = { - .size = 335, - .count = 670, + .size = 286, + .count = 573, .table = m_string_table }; diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_arc.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_arc.h deleted file mode 100644 index f09506e53..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_arc.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_arc_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_arc_create) }, - { be_const_key(_class, -1), be_const_int(&lv_arc_class) }, -}; - -static be_define_const_map( - be_class_lv_arc_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_arc, - 1, - (bclass *)&be_class_lv_obj, - lv_arc -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_bar.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_bar.h deleted file mode 100644 index 76964a962..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_bar.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_bar_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_bar_create) }, - { be_const_key(_class, -1), be_const_int(&lv_bar_class) }, -}; - -static be_define_const_map( - be_class_lv_bar_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_bar, - 1, - (bclass *)&be_class_lv_obj, - lv_bar -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_btn.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_btn.h deleted file mode 100644 index b2ee1f2ad..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_btn.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_btn_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_btn_create) }, - { be_const_key(_class, -1), be_const_int(&lv_btn_class) }, -}; - -static be_define_const_map( - be_class_lv_btn_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_btn, - 1, - (bclass *)&be_class_lv_obj, - lv_btn -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_btnmatrix.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_btnmatrix.h deleted file mode 100644 index 10cd47c67..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_btnmatrix.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_btnmatrix_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_btnmatrix_create) }, - { be_const_key(_class, -1), be_const_int(&lv_btnmatrix_class) }, -}; - -static be_define_const_map( - be_class_lv_btnmatrix_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_btnmatrix, - 1, - (bclass *)&be_class_lv_obj, - lv_btnmatrix -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_canvas.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_canvas.h deleted file mode 100644 index ab1cd13f7..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_canvas.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_canvas_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_canvas_create) }, - { be_const_key(_class, -1), be_const_int(&lv_canvas_class) }, -}; - -static be_define_const_map( - be_class_lv_canvas_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_canvas, - 1, - (bclass *)&be_class_lv_obj, - lv_canvas -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_chart.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_chart.h deleted file mode 100644 index fbb9a5a35..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_chart.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_chart_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_chart_create) }, - { be_const_key(_class, -1), be_const_int(&lv_chart_class) }, -}; - -static be_define_const_map( - be_class_lv_chart_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_chart, - 1, - (bclass *)&be_class_lv_obj, - lv_chart -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_checkbox.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_checkbox.h deleted file mode 100644 index db6ef87c0..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_checkbox.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_checkbox_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_checkbox_create) }, - { be_const_key(_class, -1), be_const_int(&lv_checkbox_class) }, -}; - -static be_define_const_map( - be_class_lv_checkbox_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_checkbox, - 1, - (bclass *)&be_class_lv_obj, - lv_checkbox -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_color.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_color.h deleted file mode 100644 index 7eaaf4687..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_color.h +++ /dev/null @@ -1,20 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_color_map) { - { be_const_key(toint, -1), be_const_func(lco_toint) }, - { be_const_key(tostring, 0), be_const_func(lco_tostring) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, -1), be_const_func(lco_init) }, -}; - -static be_define_const_map( - be_class_lv_color_map, - 4 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_color, - 1, - NULL, - lv_color -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_colorwheel.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_colorwheel.h deleted file mode 100644 index ab8ca8e55..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_colorwheel.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_colorwheel_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_colorwheel_create) }, - { be_const_key(_class, -1), be_const_int(&lv_colorwheel_class) }, -}; - -static be_define_const_map( - be_class_lv_colorwheel_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_colorwheel, - 1, - (bclass *)&be_class_lv_obj, - lv_colorwheel -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_dropdown.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_dropdown.h deleted file mode 100644 index e54e7444b..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_dropdown.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_dropdown_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_dropdown_create) }, - { be_const_key(_class, -1), be_const_int(&lv_dropdown_class) }, -}; - -static be_define_const_map( - be_class_lv_dropdown_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_dropdown, - 1, - (bclass *)&be_class_lv_obj, - lv_dropdown -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_font.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_font.h deleted file mode 100644 index dcecfbacb..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_font.h +++ /dev/null @@ -1,19 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_font_map) { - { be_const_key(init, -1), be_const_func(lvbe_font_create) }, - { be_const_key(tostring, -1), be_const_func(lvx_tostring) }, - { be_const_key(_p, -1), be_const_var(0) }, -}; - -static be_define_const_map( - be_class_lv_font_map, - 3 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_font, - 1, - NULL, - lv_font -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_group.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_group.h deleted file mode 100644 index 2fc1565ef..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_group.h +++ /dev/null @@ -1,20 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_group_map) { - { be_const_key(init, -1), be_const_func(lvbe_group_create) }, - { be_const_key(tostring, -1), be_const_func(lvx_tostring) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(member, 0), be_const_func(lvx_member) }, -}; - -static be_define_const_map( - be_class_lv_group_map, - 4 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_group, - 1, - NULL, - lv_group -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_img.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_img.h deleted file mode 100644 index 9d045bff5..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_img.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_img_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_img_create) }, - { be_const_key(_class, -1), be_const_int(&lv_img_class) }, -}; - -static be_define_const_map( - be_class_lv_img_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_img, - 1, - (bclass *)&be_class_lv_obj, - lv_img -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_imgbtn.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_imgbtn.h deleted file mode 100644 index 5c503e9f7..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_imgbtn.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_imgbtn_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_imgbtn_create) }, - { be_const_key(_class, -1), be_const_int(&lv_imgbtn_class) }, -}; - -static be_define_const_map( - be_class_lv_imgbtn_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_imgbtn, - 1, - (bclass *)&be_class_lv_obj, - lv_imgbtn -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_indev.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_indev.h deleted file mode 100644 index e3cc68685..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_indev.h +++ /dev/null @@ -1,20 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_indev_map) { - { be_const_key(init, -1), be_const_func(lv0_init) }, - { be_const_key(tostring, -1), be_const_func(lvx_tostring) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(member, 0), be_const_func(lvx_member) }, -}; - -static be_define_const_map( - be_class_lv_indev_map, - 4 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_indev, - 1, - NULL, - lv_indev -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_label.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_label.h deleted file mode 100644 index 293667015..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_label.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_label_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_label_create) }, - { be_const_key(_class, -1), be_const_int(&lv_label_class) }, -}; - -static be_define_const_map( - be_class_lv_label_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_label, - 1, - (bclass *)&be_class_lv_obj, - lv_label -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_led.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_led.h deleted file mode 100644 index 4aec12410..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_led.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_led_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_led_create) }, - { be_const_key(_class, -1), be_const_int(&lv_led_class) }, -}; - -static be_define_const_map( - be_class_lv_led_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_led, - 1, - (bclass *)&be_class_lv_obj, - lv_led -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_line.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_line.h deleted file mode 100644 index 23d07c9d6..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_line.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_line_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_line_create) }, - { be_const_key(_class, -1), be_const_int(&lv_line_class) }, -}; - -static be_define_const_map( - be_class_lv_line_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_line, - 1, - (bclass *)&be_class_lv_obj, - lv_line -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_meter.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_meter.h deleted file mode 100644 index e013f2a04..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_meter.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_meter_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_meter_create) }, - { be_const_key(_class, -1), be_const_int(&lv_meter_class) }, -}; - -static be_define_const_map( - be_class_lv_meter_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_meter, - 1, - (bclass *)&be_class_lv_obj, - lv_meter -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_msgbox.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_msgbox.h deleted file mode 100644 index 26c557b78..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_msgbox.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_msgbox_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_msgbox_create) }, - { be_const_key(_class, -1), be_const_int(&lv_msgbox_class) }, -}; - -static be_define_const_map( - be_class_lv_msgbox_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_msgbox, - 1, - (bclass *)&be_class_lv_obj, - lv_msgbox -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_obj.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_obj.h deleted file mode 100644 index 71fe9af2b..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_obj.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_obj_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_obj_create) }, - { be_const_key(_class, -1), be_const_int(&lv_obj_class) }, -}; - -static be_define_const_map( - be_class_lv_obj_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_obj, - 1, - NULL, - lv_obj -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_roller.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_roller.h deleted file mode 100644 index feb05546e..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_roller.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_roller_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_roller_create) }, - { be_const_key(_class, -1), be_const_int(&lv_roller_class) }, -}; - -static be_define_const_map( - be_class_lv_roller_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_roller, - 1, - (bclass *)&be_class_lv_obj, - lv_roller -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_slider.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_slider.h deleted file mode 100644 index 84e65fe66..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_slider.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_slider_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_slider_create) }, - { be_const_key(_class, -1), be_const_int(&lv_slider_class) }, -}; - -static be_define_const_map( - be_class_lv_slider_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_slider, - 1, - (bclass *)&be_class_lv_obj, - lv_slider -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_spinbox.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_spinbox.h deleted file mode 100644 index f847eb1da..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_spinbox.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_spinbox_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_spinbox_create) }, - { be_const_key(_class, -1), be_const_int(&lv_spinbox_class) }, -}; - -static be_define_const_map( - be_class_lv_spinbox_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_spinbox, - 1, - (bclass *)&be_class_lv_obj, - lv_spinbox -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_style.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_style.h deleted file mode 100644 index 72b469a6b..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_style.h +++ /dev/null @@ -1,20 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_style_map) { - { be_const_key(init, -1), be_const_func(lvs_init) }, - { be_const_key(tostring, -1), be_const_func(lvs_tostring) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(member, 0), be_const_func(lvx_member) }, -}; - -static be_define_const_map( - be_class_lv_style_map, - 4 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_style, - 1, - NULL, - lv_style -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_switch.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_switch.h deleted file mode 100644 index c21de2f9d..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_switch.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_switch_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_switch_create) }, - { be_const_key(_class, -1), be_const_int(&lv_switch_class) }, -}; - -static be_define_const_map( - be_class_lv_switch_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_switch, - 1, - (bclass *)&be_class_lv_obj, - lv_switch -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_table.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_table.h deleted file mode 100644 index d69ab1791..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_table.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_table_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_table_create) }, - { be_const_key(_class, -1), be_const_int(&lv_table_class) }, -}; - -static be_define_const_map( - be_class_lv_table_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_table, - 1, - (bclass *)&be_class_lv_obj, - lv_table -); diff --git a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_textarea.h b/lib/libesp32/Berry/generate/be_fixed_be_class_lv_textarea.h deleted file mode 100644 index 1153745fc..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_be_class_lv_textarea.h +++ /dev/null @@ -1,21 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(be_class_lv_textarea_map) { - { be_const_key(tostring, 3), be_const_func(lvx_tostring) }, - { be_const_key(member, -1), be_const_func(lvx_member) }, - { be_const_key(_p, -1), be_const_var(0) }, - { be_const_key(init, 4), be_const_func(lvbe_textarea_create) }, - { be_const_key(_class, -1), be_const_int(&lv_textarea_class) }, -}; - -static be_define_const_map( - be_class_lv_textarea_map, - 5 -); - -BE_EXPORT_VARIABLE be_define_const_class( - be_class_lv_textarea, - 1, - (bclass *)&be_class_lv_obj, - lv_textarea -); diff --git a/lib/libesp32/Berry/generate/be_fixed_lvgl.h b/lib/libesp32/Berry/generate/be_fixed_lvgl.h deleted file mode 100644 index 67301520b..000000000 --- a/lib/libesp32/Berry/generate/be_fixed_lvgl.h +++ /dev/null @@ -1,83 +0,0 @@ -#include "be_constobj.h" - -static be_define_const_map_slots(m_liblvgl_map) { - { be_const_key(SYMBOL_NEXT, -1), be_const_str(&be_local_const_str_SYMBOL_NEXT) }, - { be_const_key(SYMBOL_GPS, -1), be_const_str(&be_local_const_str_SYMBOL_GPS) }, - { be_const_key(SYMBOL_POWER, 29), be_const_str(&be_local_const_str_SYMBOL_POWER) }, - { be_const_key(SYMBOL_WARNING, -1), be_const_str(&be_local_const_str_SYMBOL_WARNING) }, - { be_const_key(SYMBOL_MUTE, 43), be_const_str(&be_local_const_str_SYMBOL_MUTE) }, - { be_const_key(SYMBOL_UP, -1), be_const_str(&be_local_const_str_SYMBOL_UP) }, - { be_const_key(SYMBOL_SHUFFLE, -1), be_const_str(&be_local_const_str_SYMBOL_SHUFFLE) }, - { be_const_key(SYMBOL_BATTERY_3, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_3) }, - { be_const_key(SYMBOL_VOLUME_MAX, -1), be_const_str(&be_local_const_str_SYMBOL_VOLUME_MAX) }, - { be_const_key(SYMBOL_PLUS, 31), be_const_str(&be_local_const_str_SYMBOL_PLUS) }, - { be_const_key(SYMBOL_SETTINGS, -1), be_const_str(&be_local_const_str_SYMBOL_SETTINGS) }, - { be_const_key(SYMBOL_PLAY, 58), be_const_str(&be_local_const_str_SYMBOL_PLAY) }, - { be_const_key(screenshot, 59), be_const_func(lv0_screenshot) }, - { be_const_key(SYMBOL_UPLOAD, -1), be_const_str(&be_local_const_str_SYMBOL_UPLOAD) }, - { be_const_key(SYMBOL_LEFT, -1), be_const_str(&be_local_const_str_SYMBOL_LEFT) }, - { be_const_key(load_font, -1), be_const_func(lv0_load_font) }, - { be_const_key(SYMBOL_CALL, -1), be_const_str(&be_local_const_str_SYMBOL_CALL) }, - { be_const_key(SYMBOL_KEYBOARD, -1), be_const_str(&be_local_const_str_SYMBOL_KEYBOARD) }, - { be_const_key(SYMBOL_PAUSE, 40), be_const_str(&be_local_const_str_SYMBOL_PAUSE) }, - { be_const_key(SYMBOL_DOWN, -1), be_const_str(&be_local_const_str_SYMBOL_DOWN) }, - { be_const_key(SYMBOL_BATTERY_FULL, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_FULL) }, - { be_const_key(SYMBOL_BATTERY_EMPTY, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_EMPTY) }, - { be_const_key(SYMBOL_CLOSE, -1), be_const_str(&be_local_const_str_SYMBOL_CLOSE) }, - { be_const_key(SYMBOL_PASTE, 49), be_const_str(&be_local_const_str_SYMBOL_PASTE) }, - { be_const_key(SYMBOL_RIGHT, -1), be_const_str(&be_local_const_str_SYMBOL_RIGHT) }, - { be_const_key(SYMBOL_USB, 21), be_const_str(&be_local_const_str_SYMBOL_USB) }, - { be_const_key(SYMBOL_BULLET, -1), be_const_str(&be_local_const_str_SYMBOL_BULLET) }, - { be_const_key(SYMBOL_BELL, 7), be_const_str(&be_local_const_str_SYMBOL_BELL) }, - { be_const_key(SYMBOL_WIFI, -1), be_const_str(&be_local_const_str_SYMBOL_WIFI) }, - { be_const_key(SYMBOL_SAVE, -1), be_const_str(&be_local_const_str_SYMBOL_SAVE) }, - { be_const_key(SYMBOL_DOWNLOAD, -1), be_const_str(&be_local_const_str_SYMBOL_DOWNLOAD) }, - { be_const_key(start, -1), be_const_func(lv0_start) }, - { be_const_key(SYMBOL_DIRECTORY, 28), be_const_str(&be_local_const_str_SYMBOL_DIRECTORY) }, - { be_const_key(SYMBOL_TRASH, 35), be_const_str(&be_local_const_str_SYMBOL_TRASH) }, - { be_const_key(SYMBOL_IMAGE, -1), be_const_str(&be_local_const_str_SYMBOL_IMAGE) }, - { be_const_key(SYMBOL_VOLUME_MID, 54), be_const_str(&be_local_const_str_SYMBOL_VOLUME_MID) }, - { be_const_key(SYMBOL_STOP, 10), be_const_str(&be_local_const_str_SYMBOL_STOP) }, - { be_const_key(SYMBOL_DUMMY, -1), be_const_str(&be_local_const_str_SYMBOL_DUMMY) }, - { be_const_key(member, -1), be_const_func(lv0_member) }, - { be_const_key(SYMBOL_EDIT, -1), be_const_str(&be_local_const_str_SYMBOL_EDIT) }, - { be_const_key(seg7_font, 41), be_const_func(lv0_load_seg7_font) }, - { be_const_key(SYMBOL_NEW_LINE, -1), be_const_str(&be_local_const_str_SYMBOL_NEW_LINE) }, - { be_const_key(register_button_encoder, -1), be_const_func(lv0_register_button_encoder) }, - { be_const_key(load_freetype_font, -1), be_const_func(lv0_load_freetype_font) }, - { be_const_key(SYMBOL_REFRESH, 16), be_const_str(&be_local_const_str_SYMBOL_REFRESH) }, - { be_const_key(SYMBOL_SD_CARD, -1), be_const_str(&be_local_const_str_SYMBOL_SD_CARD) }, - { be_const_key(SYMBOL_EJECT, 20), be_const_str(&be_local_const_str_SYMBOL_EJECT) }, - { be_const_key(SYMBOL_CUT, 5), be_const_str(&be_local_const_str_SYMBOL_CUT) }, - { be_const_key(SYMBOL_LIST, 13), be_const_str(&be_local_const_str_SYMBOL_LIST) }, - { be_const_key(SYMBOL_MINUS, -1), be_const_str(&be_local_const_str_SYMBOL_MINUS) }, - { be_const_key(SYMBOL_LOOP, 8), be_const_str(&be_local_const_str_SYMBOL_LOOP) }, - { be_const_key(SYMBOL_EYE_CLOSE, 66), be_const_str(&be_local_const_str_SYMBOL_EYE_CLOSE) }, - { be_const_key(SYMBOL_BACKSPACE, -1), be_const_str(&be_local_const_str_SYMBOL_BACKSPACE) }, - { be_const_key(SYMBOL_OK, -1), be_const_str(&be_local_const_str_SYMBOL_OK) }, - { be_const_key(SYMBOL_AUDIO, -1), be_const_str(&be_local_const_str_SYMBOL_AUDIO) }, - { be_const_key(SYMBOL_EYE_OPEN, -1), be_const_str(&be_local_const_str_SYMBOL_EYE_OPEN) }, - { be_const_key(SYMBOL_BLUETOOTH, -1), be_const_str(&be_local_const_str_SYMBOL_BLUETOOTH) }, - { be_const_key(SYMBOL_VIDEO, -1), be_const_str(&be_local_const_str_SYMBOL_VIDEO) }, - { be_const_key(SYMBOL_HOME, -1), be_const_str(&be_local_const_str_SYMBOL_HOME) }, - { be_const_key(SYMBOL_BATTERY_2, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_2) }, - { be_const_key(SYMBOL_COPY, -1), be_const_str(&be_local_const_str_SYMBOL_COPY) }, - { be_const_key(SYMBOL_DRIVE, -1), be_const_str(&be_local_const_str_SYMBOL_DRIVE) }, - { be_const_key(montserrat_font, 30), be_const_func(lv0_load_montserrat_font) }, - { be_const_key(SYMBOL_PREV, -1), be_const_str(&be_local_const_str_SYMBOL_PREV) }, - { be_const_key(SYMBOL_BATTERY_1, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_1) }, - { be_const_key(SYMBOL_FILE, -1), be_const_str(&be_local_const_str_SYMBOL_FILE) }, - { be_const_key(SYMBOL_CHARGE, -1), be_const_str(&be_local_const_str_SYMBOL_CHARGE) }, -}; - -static be_define_const_map( - m_liblvgl_map, - 67 -); - -static be_define_const_module( - m_liblvgl, - "lvgl" -); - -BE_EXPORT_VARIABLE be_define_const_native_module(lvgl, NULL); diff --git a/lib/libesp32/Berry/include/be_ctypes.h b/lib/libesp32/Berry/include/be_ctypes.h index 4faa3e376..d0be5dd9d 100644 --- a/lib/libesp32/Berry/include/be_ctypes.h +++ b/lib/libesp32/Berry/include/be_ctypes.h @@ -80,4 +80,10 @@ static void ctypes_register_class(bvm *vm, const bclass * ctypes_class, const be (be_nested_const_str(_name, 0, sizeof(_name)-1)) \ ) +// list of simple classes, sorted +typedef struct be_ctypes_class_by_name_t { + const char * name; + const bclass * cl; +} be_ctypes_class_by_name_t; + #endif // __BE_CONSTOBJ_H__ diff --git a/lib/libesp32/Berry/include/be_lvgl.h b/lib/libesp32/Berry/include/be_lvgl.h index 8809bcf13..52b5edc2d 100644 --- a/lib/libesp32/Berry/include/be_lvgl.h +++ b/lib/libesp32/Berry/include/be_lvgl.h @@ -24,6 +24,7 @@ extern "C" { // list of classes and function tables typedef struct lvbe_call_c_classes_t { const char * name; + const bclass * cl; const lvbe_call_c_t * func_table; size_t size; } lvbe_call_c_classes_t; diff --git a/lib/libesp32/Berry/src/be_constobj.h b/lib/libesp32/Berry/src/be_constobj.h index 49f9c97b6..979f10756 100644 --- a/lib/libesp32/Berry/src/be_constobj.h +++ b/lib/libesp32/Berry/src/be_constobj.h @@ -157,6 +157,14 @@ const bntvmodule be_native_module(_module) = { \ .name = _cname \ } +/* defines needed for solidified modules */ +#define be_local_module(_c_name, _module_name, _map) \ + static const bmodule m_lib##_c_name = { \ + be_const_header(BE_MODULE), \ + .table = (bmap*)_map, \ + .info.name = _module_name \ +} + #define be_nested_map(_size, _slots) \ & (const bmap) { \ be_const_header(BE_MAP), \ diff --git a/lib/libesp32/Berry/src/be_debug.c b/lib/libesp32/Berry/src/be_debug.c index 8c36a1ec2..6184a32ef 100644 --- a/lib/libesp32/Berry/src/be_debug.c +++ b/lib/libesp32/Berry/src/be_debug.c @@ -178,11 +178,11 @@ static void sourceinfo(bproto *proto, binstruction *ip) be_writestring(str(proto->source)); be_writestring(buf); } else { - be_writestring(":"); + be_writestring(":"); } #else (void)proto; (void)ip; - be_writestring(":"); + be_writestring(":"); #endif } diff --git a/lib/libesp32/Berry/src/be_module.c b/lib/libesp32/Berry/src/be_module.c index b69eb35cb..c661528a1 100644 --- a/lib/libesp32/Berry/src/be_module.c +++ b/lib/libesp32/Berry/src/be_module.c @@ -285,6 +285,12 @@ int be_module_load(bvm *vm, bstring *path) return res; } +BERRY_API bbool be_getmodule(bvm *vm, const char *k) +{ + int res = be_module_load(vm, be_newstr(vm, k)); + return res == BE_OK; +} + bmodule* be_module_new(bvm *vm) { bgcobject *gco = be_gcnew(vm, BE_MODULE, bmodule); diff --git a/lib/libesp32/Berry/src/be_solidifylib.c b/lib/libesp32/Berry/src/be_solidifylib.c index 8e4447a9a..431765e37 100644 --- a/lib/libesp32/Berry/src/be_solidifylib.c +++ b/lib/libesp32/Berry/src/be_solidifylib.c @@ -33,7 +33,8 @@ be_writestring(__lbuf); \ } while (0) -static void m_solidify_bvalue(bvm *vm, bvalue * value) +// pass key name in case of class, or NULL if none +static void m_solidify_bvalue(bvm *vm, bvalue * value, const char *classname, const char *key) { int type = var_type(value); switch (type) { @@ -81,6 +82,12 @@ static void m_solidify_bvalue(bvm *vm, bvalue * value) case BE_CLASS: logfmt("be_const_class(be_class_%s)", str(((bclass*) var_toobj(value))->name)); break; + case BE_COMPTR: + logfmt("be_const_comptr(&be_ntv_%s_%s)", classname ? classname : "unknown", key ? key : "unknown"); + break; + case BE_NTVFUNC: + logfmt("be_const_func(be_ntv_%s_%s)", classname ? classname : "unknown", key ? key : "unknown"); + break; default: { char error[64]; @@ -150,7 +157,7 @@ static void m_solidify_proto(bvm *vm, bproto *pr, const char * func_name, int bu logfmt("%*s( &(const bvalue[%2d]) { /* constants */\n", indent, "", pr->nconst); for (int k = 0; k < pr->nconst; k++) { logfmt("%*s/* K%-3d */ ", indent, "", k); - m_solidify_bvalue(vm, &pr->ktab[k]); + m_solidify_bvalue(vm, &pr->ktab[k], NULL, NULL); logfmt(",\n"); } logfmt("%*s}),\n", indent, ""); @@ -262,7 +269,7 @@ static void m_solidify_subclass(bvm *vm, bclass *cl, int builtins) key_next = -1; /* more readable */ } logfmt(" { be_nested_key(\"%s\", %i, %zu, %i), ", str(node->key.v.s), be_strhash(node->key.v.s), len >= 255 ? 255 : len, key_next); - m_solidify_bvalue(vm, &node->value); + m_solidify_bvalue(vm, &node->value, class_name, str(node->key.v.s)); logfmt(" },\n"); } diff --git a/lib/libesp32/Berry/src/berry.h b/lib/libesp32/Berry/src/berry.h index 85553964b..f26081bde 100644 --- a/lib/libesp32/Berry/src/berry.h +++ b/lib/libesp32/Berry/src/berry.h @@ -514,6 +514,7 @@ BERRY_API bbool be_refcontains(bvm *vm, int index); BERRY_API void be_refpush(bvm *vm, int index); BERRY_API void be_refpop(bvm *vm); BERRY_API void be_stack_require(bvm *vm, int count); +BERRY_API bbool be_getmodule(bvm *vm, const char *k); /* relop operation APIs */ BERRY_API bbool be_iseq(bvm *vm); diff --git a/tasmota/berry/examples/watch_renaissance/autoexec.be b/tasmota/berry/examples/watch_renaissance/autoexec.be index 6acdc8860..c8aa48ca4 100644 --- a/tasmota/berry/examples/watch_renaissance/autoexec.be +++ b/tasmota/berry/examples/watch_renaissance/autoexec.be @@ -11,13 +11,13 @@ lv.start() scr = lv.scr_act() -scr.set_style_local_bg_color(lv.OBJ_PART_MAIN, lv.STATE_DEFAULT, lv_color(lv.COLOR_BLACK)) -ren_back = lv_img(scr) +scr.set_style_local_bg_color(lv.OBJ_PART_MAIN, lv.STATE_DEFAULT, lv.color(lv.COLOR_BLACK)) +ren_back = lv.img(scr) ren_back.set_src("A:/watch_ren_back_240.png") ren_back.align(0, lv.ALIGN_CENTER, 0, 0) -ren_day = lv_label(ren_back) -ren_day.set_style_local_text_color(lv.OBJ_PART_MAIN, lv.STATE_DEFAULT, lv_color(lv.COLOR_BLACK)) +ren_day = lv.label(ren_back) +ren_day.set_style_local_text_color(lv.OBJ_PART_MAIN, lv.STATE_DEFAULT, lv.color(lv.COLOR_BLACK)) ren_day.set_long_mode(lv.LABEL_LONG_CROP) ren_day.set_align(lv.LABEL_ALIGN_CENTER) ren_day.set_text("") @@ -25,14 +25,14 @@ ren_day.set_width(18) ren_day.set_height(16) ren_day.set_pos(184,112) -ren_hour = lv_img(ren_back) +ren_hour = lv.img(ren_back) ren_hour.set_src("A:/watch_ren_hour_240.png") ren_hour.set_pos(110,45) -ren_min = lv_img(ren_back) +ren_min = lv.img(ren_back) ren_min.set_src("A:/watch_ren_min_240.png") -ren_sec = lv_img(ren_back) +ren_sec = lv.img(ren_back) ren_sec.set_src("A:/watch_ren_sec_240.png") ren_sec.set_pos(110,10) diff --git a/tasmota/berry/lvgl_examples/buttons_demo.be b/tasmota/berry/lvgl_examples/buttons_demo.be index 722495664..090d26af2 100644 --- a/tasmota/berry/lvgl_examples/buttons_demo.be +++ b/tasmota/berry/lvgl_examples/buttons_demo.be @@ -9,17 +9,17 @@ f20 = lv.montserrat_font(20) # load embedded Montserrat 20 f28 = lv.montserrat_font(28) # load embedded Montserrat 28 #- Backgroun -# -scr.set_style_bg_color(lv_color(0x000066), lv.PART_MAIN | lv.STATE_DEFAULT) +scr.set_style_bg_color(lv.color(0x000066), lv.PART_MAIN | lv.STATE_DEFAULT) #- Upper state line -# -stat_line = lv_label(scr) +stat_line = lv.label(scr) if f20 != nil stat_line.set_style_text_font(f20, lv.PART_MAIN | lv.STATE_DEFAULT) end stat_line.set_long_mode(lv.LABEL_LONG_SCROLL) # auto scrolling if text does not fit stat_line.set_width(hres) stat_line.set_align(lv.TEXT_ALIGN_LEFT) # align text left -stat_line.set_style_bg_color(lv_color(0xD00000), lv.PART_MAIN | lv.STATE_DEFAULT) # background #000088 +stat_line.set_style_bg_color(lv.color(0xD00000), lv.PART_MAIN | lv.STATE_DEFAULT) # background #000088 stat_line.set_style_bg_opa(lv.OPA_COVER, lv.PART_MAIN | lv.STATE_DEFAULT) # 100% background opacity -stat_line.set_style_text_color(lv_color(0xFFFFFF), lv.PART_MAIN | lv.STATE_DEFAULT) # text color #FFFFFF +stat_line.set_style_text_color(lv.color(0xFFFFFF), lv.PART_MAIN | lv.STATE_DEFAULT) # text color #FFFFFF stat_line.set_text("Tasmota") stat_line.refr_size() # new in LVGL8 stat_line.refr_pos() # new in LVGL8 @@ -29,12 +29,12 @@ wifi_icon = lv_wifi_arcs_icon(stat_line) # the widget takes care of positioni clock_icon = lv_clock_icon(stat_line) #- create a style for the buttons -# -btn_style = lv_style() +btn_style = lv.style() btn_style.set_radius(10) # radius of rounded corners btn_style.set_bg_opa(lv.OPA_COVER) # 100% backgrond opacity if f28 != nil btn_style.set_text_font(f28) end # set font to Montserrat 28 -btn_style.set_text_color(lv_color(0x000000)) # text color black when not checked +btn_style.set_text_color(lv.color(0x000000)) # text color black when not checked #- register buttons -# var btns = [] # relay buttons are added to this list to match with Tasmota relays @@ -53,12 +53,12 @@ end #- you still need to re-position the button -# def create_btn_relay(label) var btn, btn_label - btn = lv_btn(scr) + btn = lv.btn(scr) btn.set_pos(30, 30) btn.set_size(hres - 60, 60) btn.add_style(btn_style, lv.PART_MAIN | lv.STATE_DEFAULT) # style of button btn.add_flag(lv.OBJ_FLAG_CHECKABLE) # enable toggle mode - btn_label = lv_label(btn) + btn_label = lv.label(btn) btn_label.center() btn_label.set_text(label) btn.add_event_cb(btn_clicked_cb, lv.EVENT_CLICKED, 0) # set callback to update Tasmota relays diff --git a/tasmota/berry/lvgl_examples/lvgl_demo.be b/tasmota/berry/lvgl_examples/lvgl_demo.be index 6a8c58e03..3aa1bc292 100644 --- a/tasmota/berry/lvgl_examples/lvgl_demo.be +++ b/tasmota/berry/lvgl_examples/lvgl_demo.be @@ -8,19 +8,19 @@ scr = lv.scr_act() # default screean object f20 = lv.montserrat_font(20) # load embedded Montserrat 20 #- Background with a gradient from black #000000 (bottom) to dark blue #0000A0 (top) -# -scr.set_style_bg_color(lv_color(0x0000A0), lv.PART_MAIN | lv.STATE_DEFAULT) -scr.set_style_bg_grad_color(lv_color(0x000000), lv.PART_MAIN | lv.STATE_DEFAULT) +scr.set_style_bg_color(lv.color(0x0000A0), lv.PART_MAIN | lv.STATE_DEFAULT) +scr.set_style_bg_grad_color(lv.color(0x000000), lv.PART_MAIN | lv.STATE_DEFAULT) scr.set_style_bg_grad_dir(lv.GRAD_DIR_VER, lv.PART_MAIN | lv.STATE_DEFAULT) #- Upper state line -# -stat_line = lv_label(scr) +stat_line = lv.label(scr) if f20 != nil stat_line.set_style_text_font(f20, lv.PART_MAIN | lv.STATE_DEFAULT) end stat_line.set_long_mode(lv.LABEL_LONG_SCROLL) # auto scrolling if text does not fit stat_line.set_width(hres) stat_line.set_align(lv.TEXT_ALIGN_LEFT) # align text left -stat_line.set_style_bg_color(lv_color(0xD00000), lv.PART_MAIN | lv.STATE_DEFAULT) # background #000088 +stat_line.set_style_bg_color(lv.color(0xD00000), lv.PART_MAIN | lv.STATE_DEFAULT) # background #000088 stat_line.set_style_bg_opa(lv.OPA_COVER, lv.PART_MAIN | lv.STATE_DEFAULT) # 100% background opacity -stat_line.set_style_text_color(lv_color(0xFFFFFF), lv.PART_MAIN | lv.STATE_DEFAULT) # text color #FFFFFF +stat_line.set_style_text_color(lv.color(0xFFFFFF), lv.PART_MAIN | lv.STATE_DEFAULT) # text color #FFFFFF stat_line.set_text("Tasmota") stat_line.refr_size() # new in LVGL8 stat_line.refr_pos() # new in LVGL8 @@ -30,36 +30,36 @@ wifi_icon = lv_wifi_arcs_icon(stat_line) # the widget takes care of positioni clock_icon = lv_clock_icon(stat_line) #- create a style for the buttons -# -btn_style = lv_style() +btn_style = lv.style() btn_style.set_radius(10) # radius of rounded corners btn_style.set_bg_opa(lv.OPA_COVER) # 100% backgrond opacity if f20 != nil btn_style.set_text_font(f20) end # set font to Montserrat 20 -btn_style.set_bg_color(lv_color(0x1fa3ec)) # background color #1FA3EC (Tasmota Blue) -btn_style.set_border_color(lv_color(0x0000FF)) # border color #0000FF -btn_style.set_text_color(lv_color(0xFFFFFF)) # text color white #FFFFFF +btn_style.set_bg_color(lv.color(0x1fa3ec)) # background color #1FA3EC (Tasmota Blue) +btn_style.set_border_color(lv.color(0x0000FF)) # border color #0000FF +btn_style.set_text_color(lv.color(0xFFFFFF)) # text color white #FFFFFF #- create buttons -# -prev_btn = lv_btn(scr) # create button with main screen as parent +prev_btn = lv.btn(scr) # create button with main screen as parent prev_btn.set_pos(20,vres-40) # position of button prev_btn.set_size(80, 30) # size of button prev_btn.add_style(btn_style, lv.PART_MAIN | lv.STATE_DEFAULT) # style of button -prev_label = lv_label(prev_btn) # create a label as sub-object +prev_label = lv.label(prev_btn) # create a label as sub-object prev_label.set_text("<") # set label text prev_label.center() -next_btn = lv_btn(scr) # right button +next_btn = lv.btn(scr) # right button next_btn.set_pos(220,vres-40) next_btn.set_size(80, 30) next_btn.add_style(btn_style, lv.PART_MAIN | lv.STATE_DEFAULT) -next_label = lv_label(next_btn) +next_label = lv.label(next_btn) next_label.set_text(">") next_label.center() -home_btn = lv_btn(scr) # center button +home_btn = lv.btn(scr) # center button home_btn.set_pos(120,vres-40) home_btn.set_size(80, 30) home_btn.add_style(btn_style, lv.PART_MAIN | lv.STATE_DEFAULT) -home_label = lv_label(home_btn) +home_label = lv.label(home_btn) home_label.set_text(lv.SYMBOL_OK) # set text as Home icon home_label.center() diff --git a/tasmota/berry/modules/ctypes.be b/tasmota/berry/modules/ctypes.be index 929e97ebc..6ed6226e8 100644 --- a/tasmota/berry/modules/ctypes.be +++ b/tasmota/berry/modules/ctypes.be @@ -234,6 +234,14 @@ ctypes.print_classes = def (module_name) print(string.format(" ctypes_register_class(vm, &be_class_%s, &be_%s);", elt, elt)) end print("}") + print() + print("be_ctypes_class_by_name_t be_ctypes_lvgl_classes[] = {") + for elt:global_classes + print(string.format(" { \"%s\", &be_class_%s },", elt, elt)) + end + print("};") + print("const size_t be_ctypes_lvgl_classes_size = sizeof(be_ctypes_lvgl_classes)/sizeof(be_ctypes_lvgl_classes[0]);") + print() print("/********************************************************************/") print() diff --git a/tasmota/lvgl_berry/be_lv_c_mapping.h b/tasmota/lvgl_berry/be_lv_c_mapping.h index 19beb5aae..c147f6a86 100644 --- a/tasmota/lvgl_berry/be_lv_c_mapping.h +++ b/tasmota/lvgl_berry/be_lv_c_mapping.h @@ -7,620 +7,628 @@ extern "C" { #endif - +#include "be_ctypes.h" /* `lv_style` methods */ const lvbe_call_c_t lv_style_func[] = { - { "set_align", (void*) &lv_style_set_align, "", "(lv_style)i" }, - { "set_anim_speed", (void*) &lv_style_set_anim_speed, "", "(lv_style)i" }, - { "set_anim_time", (void*) &lv_style_set_anim_time, "", "(lv_style)i" }, - { "set_arc_color", (void*) &lv_style_set_arc_color, "", "(lv_style)(lv_color)" }, - { "set_arc_color_filtered", (void*) &lv_style_set_arc_color_filtered, "", "(lv_style)(lv_color)" }, - { "set_arc_img_src", (void*) &lv_style_set_arc_img_src, "", "(lv_style)." }, - { "set_arc_opa", (void*) &lv_style_set_arc_opa, "", "(lv_style)i" }, - { "set_arc_rounded", (void*) &lv_style_set_arc_rounded, "", "(lv_style)i" }, - { "set_arc_width", (void*) &lv_style_set_arc_width, "", "(lv_style)i" }, - { "set_base_dir", (void*) &lv_style_set_base_dir, "", "(lv_style)i" }, - { "set_bg_color", (void*) &lv_style_set_bg_color, "", "(lv_style)(lv_color)" }, - { "set_bg_color_filtered", (void*) &lv_style_set_bg_color_filtered, "", "(lv_style)(lv_color)" }, - { "set_bg_grad_color", (void*) &lv_style_set_bg_grad_color, "", "(lv_style)(lv_color)" }, - { "set_bg_grad_color_filtered", (void*) &lv_style_set_bg_grad_color_filtered, "", "(lv_style)(lv_color)" }, - { "set_bg_grad_dir", (void*) &lv_style_set_bg_grad_dir, "", "(lv_style)i" }, - { "set_bg_grad_stop", (void*) &lv_style_set_bg_grad_stop, "", "(lv_style)i" }, - { "set_bg_img_opa", (void*) &lv_style_set_bg_img_opa, "", "(lv_style)i" }, - { "set_bg_img_recolor", (void*) &lv_style_set_bg_img_recolor, "", "(lv_style)(lv_color)" }, - { "set_bg_img_recolor_filtered", (void*) &lv_style_set_bg_img_recolor_filtered, "", "(lv_style)(lv_color)" }, - { "set_bg_img_recolor_opa", (void*) &lv_style_set_bg_img_recolor_opa, "", "(lv_style)i" }, - { "set_bg_img_src", (void*) &lv_style_set_bg_img_src, "", "(lv_style)." }, - { "set_bg_img_tiled", (void*) &lv_style_set_bg_img_tiled, "", "(lv_style)b" }, - { "set_bg_main_stop", (void*) &lv_style_set_bg_main_stop, "", "(lv_style)i" }, - { "set_bg_opa", (void*) &lv_style_set_bg_opa, "", "(lv_style)i" }, - { "set_blend_mode", (void*) &lv_style_set_blend_mode, "", "(lv_style)i" }, - { "set_border_color", (void*) &lv_style_set_border_color, "", "(lv_style)(lv_color)" }, - { "set_border_color_filtered", (void*) &lv_style_set_border_color_filtered, "", "(lv_style)(lv_color)" }, - { "set_border_opa", (void*) &lv_style_set_border_opa, "", "(lv_style)i" }, - { "set_border_post", (void*) &lv_style_set_border_post, "", "(lv_style)b" }, - { "set_border_side", (void*) &lv_style_set_border_side, "", "(lv_style)i" }, - { "set_border_width", (void*) &lv_style_set_border_width, "", "(lv_style)i" }, - { "set_clip_corner", (void*) &lv_style_set_clip_corner, "", "(lv_style)b" }, - { "set_color_filter_dsc", (void*) &lv_style_set_color_filter_dsc, "", "(lv_style)(lv_color_filter_dsc)" }, - { "set_color_filter_opa", (void*) &lv_style_set_color_filter_opa, "", "(lv_style)i" }, - { "set_height", (void*) &lv_style_set_height, "", "(lv_style)i" }, - { "set_img_opa", (void*) &lv_style_set_img_opa, "", "(lv_style)i" }, - { "set_img_recolor", (void*) &lv_style_set_img_recolor, "", "(lv_style)(lv_color)" }, - { "set_img_recolor_filtered", (void*) &lv_style_set_img_recolor_filtered, "", "(lv_style)(lv_color)" }, - { "set_img_recolor_opa", (void*) &lv_style_set_img_recolor_opa, "", "(lv_style)i" }, - { "set_layout", (void*) &lv_style_set_layout, "", "(lv_style)i" }, - { "set_line_color", (void*) &lv_style_set_line_color, "", "(lv_style)(lv_color)" }, - { "set_line_color_filtered", (void*) &lv_style_set_line_color_filtered, "", "(lv_style)(lv_color)" }, - { "set_line_dash_gap", (void*) &lv_style_set_line_dash_gap, "", "(lv_style)i" }, - { "set_line_dash_width", (void*) &lv_style_set_line_dash_width, "", "(lv_style)i" }, - { "set_line_opa", (void*) &lv_style_set_line_opa, "", "(lv_style)i" }, - { "set_line_rounded", (void*) &lv_style_set_line_rounded, "", "(lv_style)i" }, - { "set_line_width", (void*) &lv_style_set_line_width, "", "(lv_style)i" }, - { "set_max_height", (void*) &lv_style_set_max_height, "", "(lv_style)i" }, - { "set_max_width", (void*) &lv_style_set_max_width, "", "(lv_style)i" }, - { "set_min_height", (void*) &lv_style_set_min_height, "", "(lv_style)i" }, - { "set_min_width", (void*) &lv_style_set_min_width, "", "(lv_style)i" }, - { "set_opa", (void*) &lv_style_set_opa, "", "(lv_style)i" }, - { "set_outline_color", (void*) &lv_style_set_outline_color, "", "(lv_style)(lv_color)" }, - { "set_outline_color_filtered", (void*) &lv_style_set_outline_color_filtered, "", "(lv_style)(lv_color)" }, - { "set_outline_opa", (void*) &lv_style_set_outline_opa, "", "(lv_style)i" }, - { "set_outline_pad", (void*) &lv_style_set_outline_pad, "", "(lv_style)i" }, - { "set_outline_width", (void*) &lv_style_set_outline_width, "", "(lv_style)i" }, - { "set_pad_bottom", (void*) &lv_style_set_pad_bottom, "", "(lv_style)i" }, - { "set_pad_column", (void*) &lv_style_set_pad_column, "", "(lv_style)i" }, - { "set_pad_left", (void*) &lv_style_set_pad_left, "", "(lv_style)i" }, - { "set_pad_right", (void*) &lv_style_set_pad_right, "", "(lv_style)i" }, - { "set_pad_row", (void*) &lv_style_set_pad_row, "", "(lv_style)i" }, - { "set_pad_top", (void*) &lv_style_set_pad_top, "", "(lv_style)i" }, - { "set_radius", (void*) &lv_style_set_radius, "", "(lv_style)i" }, - { "set_shadow_color", (void*) &lv_style_set_shadow_color, "", "(lv_style)(lv_color)" }, - { "set_shadow_color_filtered", (void*) &lv_style_set_shadow_color_filtered, "", "(lv_style)(lv_color)" }, - { "set_shadow_ofs_x", (void*) &lv_style_set_shadow_ofs_x, "", "(lv_style)i" }, - { "set_shadow_ofs_y", (void*) &lv_style_set_shadow_ofs_y, "", "(lv_style)i" }, - { "set_shadow_opa", (void*) &lv_style_set_shadow_opa, "", "(lv_style)i" }, - { "set_shadow_spread", (void*) &lv_style_set_shadow_spread, "", "(lv_style)i" }, - { "set_shadow_width", (void*) &lv_style_set_shadow_width, "", "(lv_style)i" }, - { "set_text_align", (void*) &lv_style_set_text_align, "", "(lv_style)i" }, - { "set_text_color", (void*) &lv_style_set_text_color, "", "(lv_style)(lv_color)" }, - { "set_text_color_filtered", (void*) &lv_style_set_text_color_filtered, "", "(lv_style)(lv_color)" }, - { "set_text_decor", (void*) &lv_style_set_text_decor, "", "(lv_style)i" }, - { "set_text_font", (void*) &lv_style_set_text_font, "", "(lv_style)(lv_font)" }, - { "set_text_letter_space", (void*) &lv_style_set_text_letter_space, "", "(lv_style)i" }, - { "set_text_line_space", (void*) &lv_style_set_text_line_space, "", "(lv_style)i" }, - { "set_text_opa", (void*) &lv_style_set_text_opa, "", "(lv_style)i" }, - { "set_transform_angle", (void*) &lv_style_set_transform_angle, "", "(lv_style)i" }, - { "set_transform_height", (void*) &lv_style_set_transform_height, "", "(lv_style)i" }, - { "set_transform_width", (void*) &lv_style_set_transform_width, "", "(lv_style)i" }, - { "set_transform_zoom", (void*) &lv_style_set_transform_zoom, "", "(lv_style)i" }, - { "set_transition", (void*) &lv_style_set_transition, "", "(lv_style)(lv_style_transition_dsc)" }, - { "set_translate_x", (void*) &lv_style_set_translate_x, "", "(lv_style)i" }, - { "set_translate_y", (void*) &lv_style_set_translate_y, "", "(lv_style)i" }, - { "set_width", (void*) &lv_style_set_width, "", "(lv_style)i" }, - { "set_x", (void*) &lv_style_set_x, "", "(lv_style)i" }, - { "set_y", (void*) &lv_style_set_y, "", "(lv_style)i" }, + { "set_align", (void*) &lv_style_set_align, "", "(lv.lv_style)i" }, + { "set_anim_speed", (void*) &lv_style_set_anim_speed, "", "(lv.lv_style)i" }, + { "set_anim_time", (void*) &lv_style_set_anim_time, "", "(lv.lv_style)i" }, + { "set_arc_color", (void*) &lv_style_set_arc_color, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_arc_color_filtered", (void*) &lv_style_set_arc_color_filtered, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_arc_img_src", (void*) &lv_style_set_arc_img_src, "", "(lv.lv_style)." }, + { "set_arc_opa", (void*) &lv_style_set_arc_opa, "", "(lv.lv_style)i" }, + { "set_arc_rounded", (void*) &lv_style_set_arc_rounded, "", "(lv.lv_style)i" }, + { "set_arc_width", (void*) &lv_style_set_arc_width, "", "(lv.lv_style)i" }, + { "set_base_dir", (void*) &lv_style_set_base_dir, "", "(lv.lv_style)i" }, + { "set_bg_color", (void*) &lv_style_set_bg_color, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_bg_color_filtered", (void*) &lv_style_set_bg_color_filtered, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_bg_grad_color", (void*) &lv_style_set_bg_grad_color, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_bg_grad_color_filtered", (void*) &lv_style_set_bg_grad_color_filtered, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_bg_grad_dir", (void*) &lv_style_set_bg_grad_dir, "", "(lv.lv_style)i" }, + { "set_bg_grad_stop", (void*) &lv_style_set_bg_grad_stop, "", "(lv.lv_style)i" }, + { "set_bg_img_opa", (void*) &lv_style_set_bg_img_opa, "", "(lv.lv_style)i" }, + { "set_bg_img_recolor", (void*) &lv_style_set_bg_img_recolor, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_bg_img_recolor_filtered", (void*) &lv_style_set_bg_img_recolor_filtered, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_bg_img_recolor_opa", (void*) &lv_style_set_bg_img_recolor_opa, "", "(lv.lv_style)i" }, + { "set_bg_img_src", (void*) &lv_style_set_bg_img_src, "", "(lv.lv_style)." }, + { "set_bg_img_tiled", (void*) &lv_style_set_bg_img_tiled, "", "(lv.lv_style)b" }, + { "set_bg_main_stop", (void*) &lv_style_set_bg_main_stop, "", "(lv.lv_style)i" }, + { "set_bg_opa", (void*) &lv_style_set_bg_opa, "", "(lv.lv_style)i" }, + { "set_blend_mode", (void*) &lv_style_set_blend_mode, "", "(lv.lv_style)i" }, + { "set_border_color", (void*) &lv_style_set_border_color, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_border_color_filtered", (void*) &lv_style_set_border_color_filtered, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_border_opa", (void*) &lv_style_set_border_opa, "", "(lv.lv_style)i" }, + { "set_border_post", (void*) &lv_style_set_border_post, "", "(lv.lv_style)b" }, + { "set_border_side", (void*) &lv_style_set_border_side, "", "(lv.lv_style)i" }, + { "set_border_width", (void*) &lv_style_set_border_width, "", "(lv.lv_style)i" }, + { "set_clip_corner", (void*) &lv_style_set_clip_corner, "", "(lv.lv_style)b" }, + { "set_color_filter_dsc", (void*) &lv_style_set_color_filter_dsc, "", "(lv.lv_style)(lv.lv_color_filter_dsc)" }, + { "set_color_filter_opa", (void*) &lv_style_set_color_filter_opa, "", "(lv.lv_style)i" }, + { "set_height", (void*) &lv_style_set_height, "", "(lv.lv_style)i" }, + { "set_img_opa", (void*) &lv_style_set_img_opa, "", "(lv.lv_style)i" }, + { "set_img_recolor", (void*) &lv_style_set_img_recolor, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_img_recolor_filtered", (void*) &lv_style_set_img_recolor_filtered, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_img_recolor_opa", (void*) &lv_style_set_img_recolor_opa, "", "(lv.lv_style)i" }, + { "set_layout", (void*) &lv_style_set_layout, "", "(lv.lv_style)i" }, + { "set_line_color", (void*) &lv_style_set_line_color, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_line_color_filtered", (void*) &lv_style_set_line_color_filtered, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_line_dash_gap", (void*) &lv_style_set_line_dash_gap, "", "(lv.lv_style)i" }, + { "set_line_dash_width", (void*) &lv_style_set_line_dash_width, "", "(lv.lv_style)i" }, + { "set_line_opa", (void*) &lv_style_set_line_opa, "", "(lv.lv_style)i" }, + { "set_line_rounded", (void*) &lv_style_set_line_rounded, "", "(lv.lv_style)i" }, + { "set_line_width", (void*) &lv_style_set_line_width, "", "(lv.lv_style)i" }, + { "set_max_height", (void*) &lv_style_set_max_height, "", "(lv.lv_style)i" }, + { "set_max_width", (void*) &lv_style_set_max_width, "", "(lv.lv_style)i" }, + { "set_min_height", (void*) &lv_style_set_min_height, "", "(lv.lv_style)i" }, + { "set_min_width", (void*) &lv_style_set_min_width, "", "(lv.lv_style)i" }, + { "set_opa", (void*) &lv_style_set_opa, "", "(lv.lv_style)i" }, + { "set_outline_color", (void*) &lv_style_set_outline_color, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_outline_color_filtered", (void*) &lv_style_set_outline_color_filtered, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_outline_opa", (void*) &lv_style_set_outline_opa, "", "(lv.lv_style)i" }, + { "set_outline_pad", (void*) &lv_style_set_outline_pad, "", "(lv.lv_style)i" }, + { "set_outline_width", (void*) &lv_style_set_outline_width, "", "(lv.lv_style)i" }, + { "set_pad_bottom", (void*) &lv_style_set_pad_bottom, "", "(lv.lv_style)i" }, + { "set_pad_column", (void*) &lv_style_set_pad_column, "", "(lv.lv_style)i" }, + { "set_pad_left", (void*) &lv_style_set_pad_left, "", "(lv.lv_style)i" }, + { "set_pad_right", (void*) &lv_style_set_pad_right, "", "(lv.lv_style)i" }, + { "set_pad_row", (void*) &lv_style_set_pad_row, "", "(lv.lv_style)i" }, + { "set_pad_top", (void*) &lv_style_set_pad_top, "", "(lv.lv_style)i" }, + { "set_radius", (void*) &lv_style_set_radius, "", "(lv.lv_style)i" }, + { "set_shadow_color", (void*) &lv_style_set_shadow_color, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_shadow_color_filtered", (void*) &lv_style_set_shadow_color_filtered, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_shadow_ofs_x", (void*) &lv_style_set_shadow_ofs_x, "", "(lv.lv_style)i" }, + { "set_shadow_ofs_y", (void*) &lv_style_set_shadow_ofs_y, "", "(lv.lv_style)i" }, + { "set_shadow_opa", (void*) &lv_style_set_shadow_opa, "", "(lv.lv_style)i" }, + { "set_shadow_spread", (void*) &lv_style_set_shadow_spread, "", "(lv.lv_style)i" }, + { "set_shadow_width", (void*) &lv_style_set_shadow_width, "", "(lv.lv_style)i" }, + { "set_text_align", (void*) &lv_style_set_text_align, "", "(lv.lv_style)i" }, + { "set_text_color", (void*) &lv_style_set_text_color, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_text_color_filtered", (void*) &lv_style_set_text_color_filtered, "", "(lv.lv_style)(lv.lv_color)" }, + { "set_text_decor", (void*) &lv_style_set_text_decor, "", "(lv.lv_style)i" }, + { "set_text_font", (void*) &lv_style_set_text_font, "", "(lv.lv_style)(lv.lv_font)" }, + { "set_text_letter_space", (void*) &lv_style_set_text_letter_space, "", "(lv.lv_style)i" }, + { "set_text_line_space", (void*) &lv_style_set_text_line_space, "", "(lv.lv_style)i" }, + { "set_text_opa", (void*) &lv_style_set_text_opa, "", "(lv.lv_style)i" }, + { "set_transform_angle", (void*) &lv_style_set_transform_angle, "", "(lv.lv_style)i" }, + { "set_transform_height", (void*) &lv_style_set_transform_height, "", "(lv.lv_style)i" }, + { "set_transform_width", (void*) &lv_style_set_transform_width, "", "(lv.lv_style)i" }, + { "set_transform_zoom", (void*) &lv_style_set_transform_zoom, "", "(lv.lv_style)i" }, + { "set_transition", (void*) &lv_style_set_transition, "", "(lv.lv_style)(lv.lv_style_transition_dsc)" }, + { "set_translate_x", (void*) &lv_style_set_translate_x, "", "(lv.lv_style)i" }, + { "set_translate_y", (void*) &lv_style_set_translate_y, "", "(lv.lv_style)i" }, + { "set_width", (void*) &lv_style_set_width, "", "(lv.lv_style)i" }, + { "set_x", (void*) &lv_style_set_x, "", "(lv.lv_style)i" }, + { "set_y", (void*) &lv_style_set_y, "", "(lv.lv_style)i" }, +}; + +/* `lv_font` methods */ +const lvbe_call_c_t lv_font_func[] = { +}; + +/* `lv_color` methods */ +const lvbe_call_c_t lv_color_func[] = { }; /* `lv_img` methods */ #ifdef BE_LV_WIDGET_IMG const lvbe_call_c_t lv_img_func[] = { - { "get_angle", (void*) &lv_img_get_angle, "i", "(lv_obj)" }, - { "get_antialias", (void*) &lv_img_get_antialias, "b", "(lv_obj)" }, - { "get_offset_x", (void*) &lv_img_get_offset_x, "i", "(lv_obj)" }, - { "get_offset_y", (void*) &lv_img_get_offset_y, "i", "(lv_obj)" }, - { "get_pivot", (void*) &lv_img_get_pivot, "", "(lv_obj)(lv_point)" }, - { "get_src", (void*) &lv_img_get_src, ".", "(lv_obj)" }, - { "get_zoom", (void*) &lv_img_get_zoom, "i", "(lv_obj)" }, - { "set_angle", (void*) &lv_img_set_angle, "", "(lv_obj)i" }, - { "set_antialias", (void*) &lv_img_set_antialias, "", "(lv_obj)b" }, - { "set_offset_x", (void*) &lv_img_set_offset_x, "", "(lv_obj)i" }, - { "set_offset_y", (void*) &lv_img_set_offset_y, "", "(lv_obj)i" }, - { "set_pivot", (void*) &lv_img_set_pivot, "", "(lv_obj)ii" }, - { "set_src", (void*) &lv_img_set_src, "", "(lv_obj)." }, - { "set_tasmota_logo", (void*) &lv_img_set_tasmota_logo, "", "(lv_obj)" }, - { "set_zoom", (void*) &lv_img_set_zoom, "", "(lv_obj)i" }, + { "get_angle", (void*) &lv_img_get_angle, "i", "(lv.lv_obj)" }, + { "get_antialias", (void*) &lv_img_get_antialias, "b", "(lv.lv_obj)" }, + { "get_offset_x", (void*) &lv_img_get_offset_x, "i", "(lv.lv_obj)" }, + { "get_offset_y", (void*) &lv_img_get_offset_y, "i", "(lv.lv_obj)" }, + { "get_pivot", (void*) &lv_img_get_pivot, "", "(lv.lv_obj)(lv.lv_point)" }, + { "get_src", (void*) &lv_img_get_src, ".", "(lv.lv_obj)" }, + { "get_zoom", (void*) &lv_img_get_zoom, "i", "(lv.lv_obj)" }, + { "set_angle", (void*) &lv_img_set_angle, "", "(lv.lv_obj)i" }, + { "set_antialias", (void*) &lv_img_set_antialias, "", "(lv.lv_obj)b" }, + { "set_offset_x", (void*) &lv_img_set_offset_x, "", "(lv.lv_obj)i" }, + { "set_offset_y", (void*) &lv_img_set_offset_y, "", "(lv.lv_obj)i" }, + { "set_pivot", (void*) &lv_img_set_pivot, "", "(lv.lv_obj)ii" }, + { "set_src", (void*) &lv_img_set_src, "", "(lv.lv_obj)." }, + { "set_tasmota_logo", (void*) &lv_img_set_tasmota_logo, "", "(lv.lv_obj)" }, + { "set_zoom", (void*) &lv_img_set_zoom, "", "(lv.lv_obj)i" }, }; #endif // BE_LV_WIDGET_IMG /* `lv_obj` methods */ const lvbe_call_c_t lv_obj_func[] = { - { "add_event_cb", (void*) &lv_obj_add_event_cb, "i", "(lv_obj)^lv_event_cb^i." }, - { "add_flag", (void*) &lv_obj_add_flag, "", "(lv_obj)i" }, - { "add_state", (void*) &lv_obj_add_state, "", "(lv_obj)i" }, - { "add_style", (void*) &lv_obj_add_style, "", "(lv_obj)(lv_style)(lv_style_selector)" }, - { "align", (void*) &lv_obj_align, "", "(lv_obj)iii" }, - { "align_to", (void*) &lv_obj_align_to, "", "(lv_obj)(lv_obj)iii" }, - { "allocate_spec_attr", (void*) &lv_obj_allocate_spec_attr, "", "(lv_obj)" }, - { "area_is_visible", (void*) &lv_obj_area_is_visible, "b", "(lv_obj)(lv_area)" }, - { "calculate_ext_draw_size", (void*) &lv_obj_calculate_ext_draw_size, "i", "(lv_obj)i" }, - { "center", (void*) &lv_obj_center, "", "(lv_obj)" }, - { "check_type", (void*) &lv_obj_check_type, "b", "(lv_obj)(lv_obj_class)" }, - { "class_init_obj", (void*) &lv_obj_class_init_obj, "", "(lv_obj)" }, - { "clean", (void*) &lv_obj_clean, "", "(lv_obj)" }, - { "clear_flag", (void*) &lv_obj_clear_flag, "", "(lv_obj)i" }, - { "clear_state", (void*) &lv_obj_clear_state, "", "(lv_obj)i" }, - { "del", (void*) &lv_obj_del, "", "(lv_obj)" }, - { "del_async", (void*) &lv_obj_del_async, "", "(lv_obj)" }, - { "dpx", (void*) &lv_obj_dpx, "i", "(lv_obj)i" }, - { "fade_in", (void*) &lv_obj_fade_in, "", "(lv_obj)ii" }, - { "fade_out", (void*) &lv_obj_fade_out, "", "(lv_obj)ii" }, - { "get_child", (void*) &lv_obj_get_child, "lv_obj", "(lv_obj)i" }, - { "get_child_cnt", (void*) &lv_obj_get_child_cnt, "i", "(lv_obj)" }, - { "get_child_id", (void*) &lv_obj_get_child_id, "i", "(lv_obj)" }, - { "get_class", (void*) &lv_obj_get_class, "lv_obj_class", "(lv_obj)" }, - { "get_click_area", (void*) &lv_obj_get_click_area, "", "(lv_obj)(lv_area)" }, - { "get_content_coords", (void*) &lv_obj_get_content_coords, "", "(lv_obj)(lv_area)" }, - { "get_content_height", (void*) &lv_obj_get_content_height, "i", "(lv_obj)" }, - { "get_content_width", (void*) &lv_obj_get_content_width, "i", "(lv_obj)" }, - { "get_coords", (void*) &lv_obj_get_coords, "", "(lv_obj)(lv_area)" }, - { "get_group", (void*) &lv_obj_get_group, ".", "(lv_obj)" }, - { "get_height", (void*) &lv_obj_get_height, "i", "(lv_obj)" }, - { "get_local_style_prop", (void*) &lv_obj_get_local_style_prop, "i", "(lv_obj)(lv_style_prop)(lv_style_value)(lv_style_selector)" }, - { "get_parent", (void*) &lv_obj_get_parent, "lv_obj", "(lv_obj)" }, - { "get_screen", (void*) &lv_obj_get_screen, "lv_obj", "(lv_obj)" }, - { "get_scroll_bottom", (void*) &lv_obj_get_scroll_bottom, "i", "(lv_obj)" }, - { "get_scroll_dir", (void*) &lv_obj_get_scroll_dir, "i", "(lv_obj)" }, - { "get_scroll_end", (void*) &lv_obj_get_scroll_end, "", "(lv_obj)(lv_point)" }, - { "get_scroll_left", (void*) &lv_obj_get_scroll_left, "i", "(lv_obj)" }, - { "get_scroll_right", (void*) &lv_obj_get_scroll_right, "i", "(lv_obj)" }, - { "get_scroll_snap_x", (void*) &lv_obj_get_scroll_snap_x, "i", "(lv_obj)" }, - { "get_scroll_snap_y", (void*) &lv_obj_get_scroll_snap_y, "i", "(lv_obj)" }, - { "get_scroll_top", (void*) &lv_obj_get_scroll_top, "i", "(lv_obj)" }, - { "get_scroll_x", (void*) &lv_obj_get_scroll_x, "i", "(lv_obj)" }, - { "get_scroll_y", (void*) &lv_obj_get_scroll_y, "i", "(lv_obj)" }, - { "get_scrollbar_area", (void*) &lv_obj_get_scrollbar_area, "", "(lv_obj)(lv_area)(lv_area)" }, - { "get_scrollbar_mode", (void*) &lv_obj_get_scrollbar_mode, "i", "(lv_obj)" }, - { "get_self_height", (void*) &lv_obj_get_self_height, "i", "(lv_obj)" }, - { "get_self_width", (void*) &lv_obj_get_self_width, "i", "(lv_obj)" }, - { "get_state", (void*) &lv_obj_get_state, "i", "(lv_obj)" }, - { "get_style_align", (void*) &lv_obj_get_style_align, "i", "(lv_obj)i" }, - { "get_style_anim_speed", (void*) &lv_obj_get_style_anim_speed, "i", "(lv_obj)i" }, - { "get_style_anim_time", (void*) &lv_obj_get_style_anim_time, "i", "(lv_obj)i" }, - { "get_style_arc_color", (void*) &lv_obj_get_style_arc_color, "lv_color", "(lv_obj)i" }, - { "get_style_arc_color_filtered", (void*) &lv_obj_get_style_arc_color_filtered, "lv_color", "(lv_obj)i" }, - { "get_style_arc_img_src", (void*) &lv_obj_get_style_arc_img_src, ".", "(lv_obj)i" }, - { "get_style_arc_opa", (void*) &lv_obj_get_style_arc_opa, "i", "(lv_obj)i" }, - { "get_style_arc_rounded", (void*) &lv_obj_get_style_arc_rounded, "i", "(lv_obj)i" }, - { "get_style_arc_width", (void*) &lv_obj_get_style_arc_width, "i", "(lv_obj)i" }, - { "get_style_base_dir", (void*) &lv_obj_get_style_base_dir, "i", "(lv_obj)i" }, - { "get_style_bg_color", (void*) &lv_obj_get_style_bg_color, "lv_color", "(lv_obj)i" }, - { "get_style_bg_color_filtered", (void*) &lv_obj_get_style_bg_color_filtered, "lv_color", "(lv_obj)i" }, - { "get_style_bg_grad_color", (void*) &lv_obj_get_style_bg_grad_color, "lv_color", "(lv_obj)i" }, - { "get_style_bg_grad_color_filtered", (void*) &lv_obj_get_style_bg_grad_color_filtered, "lv_color", "(lv_obj)i" }, - { "get_style_bg_grad_dir", (void*) &lv_obj_get_style_bg_grad_dir, "i", "(lv_obj)i" }, - { "get_style_bg_grad_stop", (void*) &lv_obj_get_style_bg_grad_stop, "i", "(lv_obj)i" }, - { "get_style_bg_img_opa", (void*) &lv_obj_get_style_bg_img_opa, "i", "(lv_obj)i" }, - { "get_style_bg_img_recolor", (void*) &lv_obj_get_style_bg_img_recolor, "lv_color", "(lv_obj)i" }, - { "get_style_bg_img_recolor_filtered", (void*) &lv_obj_get_style_bg_img_recolor_filtered, "lv_color", "(lv_obj)i" }, - { "get_style_bg_img_recolor_opa", (void*) &lv_obj_get_style_bg_img_recolor_opa, "i", "(lv_obj)i" }, - { "get_style_bg_img_src", (void*) &lv_obj_get_style_bg_img_src, ".", "(lv_obj)i" }, - { "get_style_bg_img_tiled", (void*) &lv_obj_get_style_bg_img_tiled, "b", "(lv_obj)i" }, - { "get_style_bg_main_stop", (void*) &lv_obj_get_style_bg_main_stop, "i", "(lv_obj)i" }, - { "get_style_bg_opa", (void*) &lv_obj_get_style_bg_opa, "i", "(lv_obj)i" }, - { "get_style_blend_mode", (void*) &lv_obj_get_style_blend_mode, "i", "(lv_obj)i" }, - { "get_style_border_color", (void*) &lv_obj_get_style_border_color, "lv_color", "(lv_obj)i" }, - { "get_style_border_color_filtered", (void*) &lv_obj_get_style_border_color_filtered, "lv_color", "(lv_obj)i" }, - { "get_style_border_opa", (void*) &lv_obj_get_style_border_opa, "i", "(lv_obj)i" }, - { "get_style_border_post", (void*) &lv_obj_get_style_border_post, "b", "(lv_obj)i" }, - { "get_style_border_side", (void*) &lv_obj_get_style_border_side, "i", "(lv_obj)i" }, - { "get_style_border_width", (void*) &lv_obj_get_style_border_width, "i", "(lv_obj)i" }, - { "get_style_clip_corner", (void*) &lv_obj_get_style_clip_corner, "b", "(lv_obj)i" }, - { "get_style_color_filter_opa", (void*) &lv_obj_get_style_color_filter_opa, "i", "(lv_obj)i" }, - { "get_style_height", (void*) &lv_obj_get_style_height, "i", "(lv_obj)i" }, - { "get_style_img_opa", (void*) &lv_obj_get_style_img_opa, "i", "(lv_obj)i" }, - { "get_style_img_recolor", (void*) &lv_obj_get_style_img_recolor, "lv_color", "(lv_obj)i" }, - { "get_style_img_recolor_filtered", (void*) &lv_obj_get_style_img_recolor_filtered, "lv_color", "(lv_obj)i" }, - { "get_style_img_recolor_opa", (void*) &lv_obj_get_style_img_recolor_opa, "i", "(lv_obj)i" }, - { "get_style_layout", (void*) &lv_obj_get_style_layout, "i", "(lv_obj)i" }, - { "get_style_line_color", (void*) &lv_obj_get_style_line_color, "lv_color", "(lv_obj)i" }, - { "get_style_line_color_filtered", (void*) &lv_obj_get_style_line_color_filtered, "lv_color", "(lv_obj)i" }, - { "get_style_line_dash_gap", (void*) &lv_obj_get_style_line_dash_gap, "i", "(lv_obj)i" }, - { "get_style_line_dash_width", (void*) &lv_obj_get_style_line_dash_width, "i", "(lv_obj)i" }, - { "get_style_line_opa", (void*) &lv_obj_get_style_line_opa, "i", "(lv_obj)i" }, - { "get_style_line_rounded", (void*) &lv_obj_get_style_line_rounded, "i", "(lv_obj)i" }, - { "get_style_line_width", (void*) &lv_obj_get_style_line_width, "i", "(lv_obj)i" }, - { "get_style_max_height", (void*) &lv_obj_get_style_max_height, "i", "(lv_obj)i" }, - { "get_style_max_width", (void*) &lv_obj_get_style_max_width, "i", "(lv_obj)i" }, - { "get_style_min_height", (void*) &lv_obj_get_style_min_height, "i", "(lv_obj)i" }, - { "get_style_min_width", (void*) &lv_obj_get_style_min_width, "i", "(lv_obj)i" }, - { "get_style_opa", (void*) &lv_obj_get_style_opa, "i", "(lv_obj)i" }, - { "get_style_outline_color", (void*) &lv_obj_get_style_outline_color, "lv_color", "(lv_obj)i" }, - { "get_style_outline_color_filtered", (void*) &lv_obj_get_style_outline_color_filtered, "lv_color", "(lv_obj)i" }, - { "get_style_outline_opa", (void*) &lv_obj_get_style_outline_opa, "i", "(lv_obj)i" }, - { "get_style_outline_pad", (void*) &lv_obj_get_style_outline_pad, "i", "(lv_obj)i" }, - { "get_style_outline_width", (void*) &lv_obj_get_style_outline_width, "i", "(lv_obj)i" }, - { "get_style_pad_bottom", (void*) &lv_obj_get_style_pad_bottom, "i", "(lv_obj)i" }, - { "get_style_pad_column", (void*) &lv_obj_get_style_pad_column, "i", "(lv_obj)i" }, - { "get_style_pad_left", (void*) &lv_obj_get_style_pad_left, "i", "(lv_obj)i" }, - { "get_style_pad_right", (void*) &lv_obj_get_style_pad_right, "i", "(lv_obj)i" }, - { "get_style_pad_row", (void*) &lv_obj_get_style_pad_row, "i", "(lv_obj)i" }, - { "get_style_pad_top", (void*) &lv_obj_get_style_pad_top, "i", "(lv_obj)i" }, - { "get_style_prop", (void*) &lv_obj_get_style_prop, "i", "(lv_obj)i(lv_style_prop)" }, - { "get_style_radius", (void*) &lv_obj_get_style_radius, "i", "(lv_obj)i" }, - { "get_style_shadow_color", (void*) &lv_obj_get_style_shadow_color, "lv_color", "(lv_obj)i" }, - { "get_style_shadow_color_filtered", (void*) &lv_obj_get_style_shadow_color_filtered, "lv_color", "(lv_obj)i" }, - { "get_style_shadow_ofs_x", (void*) &lv_obj_get_style_shadow_ofs_x, "i", "(lv_obj)i" }, - { "get_style_shadow_ofs_y", (void*) &lv_obj_get_style_shadow_ofs_y, "i", "(lv_obj)i" }, - { "get_style_shadow_opa", (void*) &lv_obj_get_style_shadow_opa, "i", "(lv_obj)i" }, - { "get_style_shadow_spread", (void*) &lv_obj_get_style_shadow_spread, "i", "(lv_obj)i" }, - { "get_style_shadow_width", (void*) &lv_obj_get_style_shadow_width, "i", "(lv_obj)i" }, - { "get_style_text_align", (void*) &lv_obj_get_style_text_align, "i", "(lv_obj)i" }, - { "get_style_text_color", (void*) &lv_obj_get_style_text_color, "lv_color", "(lv_obj)i" }, - { "get_style_text_color_filtered", (void*) &lv_obj_get_style_text_color_filtered, "lv_color", "(lv_obj)i" }, - { "get_style_text_decor", (void*) &lv_obj_get_style_text_decor, "i", "(lv_obj)i" }, - { "get_style_text_font", (void*) &lv_obj_get_style_text_font, "lv_font", "(lv_obj)i" }, - { "get_style_text_letter_space", (void*) &lv_obj_get_style_text_letter_space, "i", "(lv_obj)i" }, - { "get_style_text_line_space", (void*) &lv_obj_get_style_text_line_space, "i", "(lv_obj)i" }, - { "get_style_text_opa", (void*) &lv_obj_get_style_text_opa, "i", "(lv_obj)i" }, - { "get_style_transform_angle", (void*) &lv_obj_get_style_transform_angle, "i", "(lv_obj)i" }, - { "get_style_transform_height", (void*) &lv_obj_get_style_transform_height, "i", "(lv_obj)i" }, - { "get_style_transform_width", (void*) &lv_obj_get_style_transform_width, "i", "(lv_obj)i" }, - { "get_style_transform_zoom", (void*) &lv_obj_get_style_transform_zoom, "i", "(lv_obj)i" }, - { "get_style_translate_x", (void*) &lv_obj_get_style_translate_x, "i", "(lv_obj)i" }, - { "get_style_translate_y", (void*) &lv_obj_get_style_translate_y, "i", "(lv_obj)i" }, - { "get_style_width", (void*) &lv_obj_get_style_width, "i", "(lv_obj)i" }, - { "get_style_x", (void*) &lv_obj_get_style_x, "i", "(lv_obj)i" }, - { "get_style_y", (void*) &lv_obj_get_style_y, "i", "(lv_obj)i" }, - { "get_user_data", (void*) &lv_obj_get_user_data, ".", "(lv_obj)" }, - { "get_width", (void*) &lv_obj_get_width, "i", "(lv_obj)" }, - { "get_x", (void*) &lv_obj_get_x, "i", "(lv_obj)" }, - { "get_x2", (void*) &lv_obj_get_x2, "i", "(lv_obj)" }, - { "get_y", (void*) &lv_obj_get_y, "i", "(lv_obj)" }, - { "get_y2", (void*) &lv_obj_get_y2, "i", "(lv_obj)" }, - { "has_class", (void*) &lv_obj_has_class, "b", "(lv_obj)(lv_obj_class)" }, - { "has_flag", (void*) &lv_obj_has_flag, "b", "(lv_obj)i" }, - { "has_flag_any", (void*) &lv_obj_has_flag_any, "b", "(lv_obj)i" }, - { "has_state", (void*) &lv_obj_has_state, "b", "(lv_obj)i" }, - { "hit_test", (void*) &lv_obj_hit_test, "b", "(lv_obj)(lv_point)" }, - { "init_draw_arc_dsc", (void*) &lv_obj_init_draw_arc_dsc, "", "(lv_obj)i(lv_draw_arc_dsc)" }, - { "init_draw_img_dsc", (void*) &lv_obj_init_draw_img_dsc, "", "(lv_obj)i(lv_draw_img_dsc)" }, - { "init_draw_label_dsc", (void*) &lv_obj_init_draw_label_dsc, "", "(lv_obj)i(lv_draw_label_dsc)" }, - { "init_draw_line_dsc", (void*) &lv_obj_init_draw_line_dsc, "", "(lv_obj)i(lv_draw_line_dsc)" }, - { "init_draw_rect_dsc", (void*) &lv_obj_init_draw_rect_dsc, "", "(lv_obj)i(lv_draw_rect_dsc)" }, - { "invalidate", (void*) &lv_obj_invalidate, "", "(lv_obj)" }, - { "invalidate_area", (void*) &lv_obj_invalidate_area, "", "(lv_obj)(lv_area)" }, - { "is_editable", (void*) &lv_obj_is_editable, "b", "(lv_obj)" }, - { "is_group_def", (void*) &lv_obj_is_group_def, "b", "(lv_obj)" }, - { "is_layout_positioned", (void*) &lv_obj_is_layout_positioned, "b", "(lv_obj)" }, - { "is_scrolling", (void*) &lv_obj_is_scrolling, "b", "(lv_obj)" }, - { "is_valid", (void*) &lv_obj_is_valid, "b", "(lv_obj)" }, - { "is_visible", (void*) &lv_obj_is_visible, "b", "(lv_obj)" }, - { "mark_layout_as_dirty", (void*) &lv_obj_mark_layout_as_dirty, "", "(lv_obj)" }, - { "move_background", (void*) &lv_obj_move_background, "", "(lv_obj)" }, - { "move_children_by", (void*) &lv_obj_move_children_by, "", "(lv_obj)iib" }, - { "move_foreground", (void*) &lv_obj_move_foreground, "", "(lv_obj)" }, - { "move_to", (void*) &lv_obj_move_to, "", "(lv_obj)ii" }, - { "readjust_scroll", (void*) &lv_obj_readjust_scroll, "", "(lv_obj)(lv_anim_enable)" }, - { "refr_pos", (void*) &lv_obj_refr_pos, "", "(lv_obj)" }, - { "refr_size", (void*) &lv_obj_refr_size, "b", "(lv_obj)" }, - { "refresh_ext_draw_size", (void*) &lv_obj_refresh_ext_draw_size, "", "(lv_obj)" }, - { "refresh_self_size", (void*) &lv_obj_refresh_self_size, "b", "(lv_obj)" }, - { "refresh_style", (void*) &lv_obj_refresh_style, "", "(lv_obj)i(lv_style_prop)" }, - { "remove_event_cb", (void*) &lv_obj_remove_event_cb, "b", "(lv_obj)^lv_event_cb^" }, - { "remove_event_dsc", (void*) &lv_obj_remove_event_dsc, "b", "(lv_obj)i" }, - { "remove_local_style_prop", (void*) &lv_obj_remove_local_style_prop, "b", "(lv_obj)(lv_style_prop)(lv_style_selector)" }, - { "remove_style", (void*) &lv_obj_remove_style, "", "(lv_obj)(lv_style)(lv_style_selector)" }, - { "remove_style_all", (void*) &lv_obj_remove_style_all, "", "(lv_obj)" }, - { "scroll_by", (void*) &lv_obj_scroll_by, "", "(lv_obj)ii(lv_anim_enable)" }, - { "scroll_to", (void*) &lv_obj_scroll_to, "", "(lv_obj)ii(lv_anim_enable)" }, - { "scroll_to_view", (void*) &lv_obj_scroll_to_view, "", "(lv_obj)(lv_anim_enable)" }, - { "scroll_to_view_recursive", (void*) &lv_obj_scroll_to_view_recursive, "", "(lv_obj)(lv_anim_enable)" }, - { "scroll_to_x", (void*) &lv_obj_scroll_to_x, "", "(lv_obj)i(lv_anim_enable)" }, - { "scroll_to_y", (void*) &lv_obj_scroll_to_y, "", "(lv_obj)i(lv_anim_enable)" }, - { "scrollbar_invalidate", (void*) &lv_obj_scrollbar_invalidate, "", "(lv_obj)" }, - { "set_align", (void*) &lv_obj_set_align, "", "(lv_obj)i" }, - { "set_content_height", (void*) &lv_obj_set_content_height, "", "(lv_obj)i" }, - { "set_content_width", (void*) &lv_obj_set_content_width, "", "(lv_obj)i" }, - { "set_ext_click_area", (void*) &lv_obj_set_ext_click_area, "", "(lv_obj)i" }, - { "set_height", (void*) &lv_obj_set_height, "", "(lv_obj)i" }, - { "set_layout", (void*) &lv_obj_set_layout, "", "(lv_obj)i" }, - { "set_local_style_prop", (void*) &lv_obj_set_local_style_prop, "", "(lv_obj)(lv_style_prop)i(lv_style_selector)" }, - { "set_parent", (void*) &lv_obj_set_parent, "", "(lv_obj)(lv_obj)" }, - { "set_pos", (void*) &lv_obj_set_pos, "", "(lv_obj)ii" }, - { "set_scroll_dir", (void*) &lv_obj_set_scroll_dir, "", "(lv_obj)i" }, - { "set_scroll_snap_x", (void*) &lv_obj_set_scroll_snap_x, "", "(lv_obj)i" }, - { "set_scroll_snap_y", (void*) &lv_obj_set_scroll_snap_y, "", "(lv_obj)i" }, - { "set_scrollbar_mode", (void*) &lv_obj_set_scrollbar_mode, "", "(lv_obj)i" }, - { "set_size", (void*) &lv_obj_set_size, "", "(lv_obj)ii" }, - { "set_style_align", (void*) &lv_obj_set_style_align, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_anim_speed", (void*) &lv_obj_set_style_anim_speed, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_anim_time", (void*) &lv_obj_set_style_anim_time, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_arc_color", (void*) &lv_obj_set_style_arc_color, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_arc_color_filtered", (void*) &lv_obj_set_style_arc_color_filtered, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_arc_img_src", (void*) &lv_obj_set_style_arc_img_src, "", "(lv_obj).(lv_style_selector)" }, - { "set_style_arc_opa", (void*) &lv_obj_set_style_arc_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_arc_rounded", (void*) &lv_obj_set_style_arc_rounded, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_arc_width", (void*) &lv_obj_set_style_arc_width, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_base_dir", (void*) &lv_obj_set_style_base_dir, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_bg_color", (void*) &lv_obj_set_style_bg_color, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_bg_color_filtered", (void*) &lv_obj_set_style_bg_color_filtered, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_bg_grad_color", (void*) &lv_obj_set_style_bg_grad_color, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_bg_grad_color_filtered", (void*) &lv_obj_set_style_bg_grad_color_filtered, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_bg_grad_dir", (void*) &lv_obj_set_style_bg_grad_dir, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_bg_grad_stop", (void*) &lv_obj_set_style_bg_grad_stop, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_bg_img_opa", (void*) &lv_obj_set_style_bg_img_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_bg_img_recolor", (void*) &lv_obj_set_style_bg_img_recolor, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_bg_img_recolor_filtered", (void*) &lv_obj_set_style_bg_img_recolor_filtered, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_bg_img_recolor_opa", (void*) &lv_obj_set_style_bg_img_recolor_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_bg_img_src", (void*) &lv_obj_set_style_bg_img_src, "", "(lv_obj).(lv_style_selector)" }, - { "set_style_bg_img_tiled", (void*) &lv_obj_set_style_bg_img_tiled, "", "(lv_obj)b(lv_style_selector)" }, - { "set_style_bg_main_stop", (void*) &lv_obj_set_style_bg_main_stop, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_bg_opa", (void*) &lv_obj_set_style_bg_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_blend_mode", (void*) &lv_obj_set_style_blend_mode, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_border_color", (void*) &lv_obj_set_style_border_color, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_border_color_filtered", (void*) &lv_obj_set_style_border_color_filtered, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_border_opa", (void*) &lv_obj_set_style_border_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_border_post", (void*) &lv_obj_set_style_border_post, "", "(lv_obj)b(lv_style_selector)" }, - { "set_style_border_side", (void*) &lv_obj_set_style_border_side, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_border_width", (void*) &lv_obj_set_style_border_width, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_clip_corner", (void*) &lv_obj_set_style_clip_corner, "", "(lv_obj)b(lv_style_selector)" }, - { "set_style_color_filter_dsc", (void*) &lv_obj_set_style_color_filter_dsc, "", "(lv_obj)(lv_color_filter_dsc)(lv_style_selector)" }, - { "set_style_color_filter_opa", (void*) &lv_obj_set_style_color_filter_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_height", (void*) &lv_obj_set_style_height, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_img_opa", (void*) &lv_obj_set_style_img_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_img_recolor", (void*) &lv_obj_set_style_img_recolor, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_img_recolor_filtered", (void*) &lv_obj_set_style_img_recolor_filtered, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_img_recolor_opa", (void*) &lv_obj_set_style_img_recolor_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_layout", (void*) &lv_obj_set_style_layout, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_line_color", (void*) &lv_obj_set_style_line_color, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_line_color_filtered", (void*) &lv_obj_set_style_line_color_filtered, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_line_dash_gap", (void*) &lv_obj_set_style_line_dash_gap, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_line_dash_width", (void*) &lv_obj_set_style_line_dash_width, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_line_opa", (void*) &lv_obj_set_style_line_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_line_rounded", (void*) &lv_obj_set_style_line_rounded, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_line_width", (void*) &lv_obj_set_style_line_width, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_max_height", (void*) &lv_obj_set_style_max_height, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_max_width", (void*) &lv_obj_set_style_max_width, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_min_height", (void*) &lv_obj_set_style_min_height, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_min_width", (void*) &lv_obj_set_style_min_width, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_opa", (void*) &lv_obj_set_style_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_outline_color", (void*) &lv_obj_set_style_outline_color, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_outline_color_filtered", (void*) &lv_obj_set_style_outline_color_filtered, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_outline_opa", (void*) &lv_obj_set_style_outline_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_outline_pad", (void*) &lv_obj_set_style_outline_pad, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_outline_width", (void*) &lv_obj_set_style_outline_width, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_pad_all", (void*) &lv_obj_set_style_pad_all, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_pad_bottom", (void*) &lv_obj_set_style_pad_bottom, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_pad_column", (void*) &lv_obj_set_style_pad_column, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_pad_gap", (void*) &lv_obj_set_style_pad_gap, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_pad_hor", (void*) &lv_obj_set_style_pad_hor, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_pad_left", (void*) &lv_obj_set_style_pad_left, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_pad_right", (void*) &lv_obj_set_style_pad_right, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_pad_row", (void*) &lv_obj_set_style_pad_row, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_pad_top", (void*) &lv_obj_set_style_pad_top, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_pad_ver", (void*) &lv_obj_set_style_pad_ver, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_radius", (void*) &lv_obj_set_style_radius, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_shadow_color", (void*) &lv_obj_set_style_shadow_color, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_shadow_color_filtered", (void*) &lv_obj_set_style_shadow_color_filtered, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_shadow_ofs_x", (void*) &lv_obj_set_style_shadow_ofs_x, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_shadow_ofs_y", (void*) &lv_obj_set_style_shadow_ofs_y, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_shadow_opa", (void*) &lv_obj_set_style_shadow_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_shadow_spread", (void*) &lv_obj_set_style_shadow_spread, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_shadow_width", (void*) &lv_obj_set_style_shadow_width, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_size", (void*) &lv_obj_set_style_size, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_text_align", (void*) &lv_obj_set_style_text_align, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_text_color", (void*) &lv_obj_set_style_text_color, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_text_color_filtered", (void*) &lv_obj_set_style_text_color_filtered, "", "(lv_obj)(lv_color)(lv_style_selector)" }, - { "set_style_text_decor", (void*) &lv_obj_set_style_text_decor, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_text_font", (void*) &lv_obj_set_style_text_font, "", "(lv_obj)(lv_font)(lv_style_selector)" }, - { "set_style_text_letter_space", (void*) &lv_obj_set_style_text_letter_space, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_text_line_space", (void*) &lv_obj_set_style_text_line_space, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_text_opa", (void*) &lv_obj_set_style_text_opa, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_transform_angle", (void*) &lv_obj_set_style_transform_angle, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_transform_height", (void*) &lv_obj_set_style_transform_height, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_transform_width", (void*) &lv_obj_set_style_transform_width, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_transform_zoom", (void*) &lv_obj_set_style_transform_zoom, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_transition", (void*) &lv_obj_set_style_transition, "", "(lv_obj)(lv_style_transition_dsc)(lv_style_selector)" }, - { "set_style_translate_x", (void*) &lv_obj_set_style_translate_x, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_translate_y", (void*) &lv_obj_set_style_translate_y, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_width", (void*) &lv_obj_set_style_width, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_x", (void*) &lv_obj_set_style_x, "", "(lv_obj)i(lv_style_selector)" }, - { "set_style_y", (void*) &lv_obj_set_style_y, "", "(lv_obj)i(lv_style_selector)" }, - { "set_user_data", (void*) &lv_obj_set_user_data, "", "(lv_obj)." }, - { "set_width", (void*) &lv_obj_set_width, "", "(lv_obj)i" }, - { "set_x", (void*) &lv_obj_set_x, "", "(lv_obj)i" }, - { "set_y", (void*) &lv_obj_set_y, "", "(lv_obj)i" }, - { "tree_walk", (void*) &lv_obj_tree_walk, "", "(lv_obj)^lv_obj_tree_walk_cb^." }, - { "update_layout", (void*) &lv_obj_update_layout, "", "(lv_obj)" }, - { "update_snap", (void*) &lv_obj_update_snap, "", "(lv_obj)(lv_anim_enable)" }, + { "add_event_cb", (void*) &lv_obj_add_event_cb, "i", "(lv.lv_obj)^lv_event_cb^i." }, + { "add_flag", (void*) &lv_obj_add_flag, "", "(lv.lv_obj)i" }, + { "add_state", (void*) &lv_obj_add_state, "", "(lv.lv_obj)i" }, + { "add_style", (void*) &lv_obj_add_style, "", "(lv.lv_obj)(lv.lv_style)(lv.lv_style_selector)" }, + { "align", (void*) &lv_obj_align, "", "(lv.lv_obj)iii" }, + { "align_to", (void*) &lv_obj_align_to, "", "(lv.lv_obj)(lv.lv_obj)iii" }, + { "allocate_spec_attr", (void*) &lv_obj_allocate_spec_attr, "", "(lv.lv_obj)" }, + { "area_is_visible", (void*) &lv_obj_area_is_visible, "b", "(lv.lv_obj)(lv.lv_area)" }, + { "calculate_ext_draw_size", (void*) &lv_obj_calculate_ext_draw_size, "i", "(lv.lv_obj)i" }, + { "center", (void*) &lv_obj_center, "", "(lv.lv_obj)" }, + { "check_type", (void*) &lv_obj_check_type, "b", "(lv.lv_obj)(lv.lv_obj_class)" }, + { "class_init_obj", (void*) &lv_obj_class_init_obj, "", "(lv.lv_obj)" }, + { "clean", (void*) &lv_obj_clean, "", "(lv.lv_obj)" }, + { "clear_flag", (void*) &lv_obj_clear_flag, "", "(lv.lv_obj)i" }, + { "clear_state", (void*) &lv_obj_clear_state, "", "(lv.lv_obj)i" }, + { "del", (void*) &lv_obj_del, "", "(lv.lv_obj)" }, + { "del_async", (void*) &lv_obj_del_async, "", "(lv.lv_obj)" }, + { "dpx", (void*) &lv_obj_dpx, "i", "(lv.lv_obj)i" }, + { "fade_in", (void*) &lv_obj_fade_in, "", "(lv.lv_obj)ii" }, + { "fade_out", (void*) &lv_obj_fade_out, "", "(lv.lv_obj)ii" }, + { "get_child", (void*) &lv_obj_get_child, "lv.lv_obj", "(lv.lv_obj)i" }, + { "get_child_cnt", (void*) &lv_obj_get_child_cnt, "i", "(lv.lv_obj)" }, + { "get_child_id", (void*) &lv_obj_get_child_id, "i", "(lv.lv_obj)" }, + { "get_class", (void*) &lv_obj_get_class, "lv.lv_obj_class", "(lv.lv_obj)" }, + { "get_click_area", (void*) &lv_obj_get_click_area, "", "(lv.lv_obj)(lv.lv_area)" }, + { "get_content_coords", (void*) &lv_obj_get_content_coords, "", "(lv.lv_obj)(lv.lv_area)" }, + { "get_content_height", (void*) &lv_obj_get_content_height, "i", "(lv.lv_obj)" }, + { "get_content_width", (void*) &lv_obj_get_content_width, "i", "(lv.lv_obj)" }, + { "get_coords", (void*) &lv_obj_get_coords, "", "(lv.lv_obj)(lv.lv_area)" }, + { "get_group", (void*) &lv_obj_get_group, ".", "(lv.lv_obj)" }, + { "get_height", (void*) &lv_obj_get_height, "i", "(lv.lv_obj)" }, + { "get_local_style_prop", (void*) &lv_obj_get_local_style_prop, "i", "(lv.lv_obj)(lv.lv_style_prop)(lv.lv_style_value)(lv.lv_style_selector)" }, + { "get_parent", (void*) &lv_obj_get_parent, "lv.lv_obj", "(lv.lv_obj)" }, + { "get_screen", (void*) &lv_obj_get_screen, "lv.lv_obj", "(lv.lv_obj)" }, + { "get_scroll_bottom", (void*) &lv_obj_get_scroll_bottom, "i", "(lv.lv_obj)" }, + { "get_scroll_dir", (void*) &lv_obj_get_scroll_dir, "i", "(lv.lv_obj)" }, + { "get_scroll_end", (void*) &lv_obj_get_scroll_end, "", "(lv.lv_obj)(lv.lv_point)" }, + { "get_scroll_left", (void*) &lv_obj_get_scroll_left, "i", "(lv.lv_obj)" }, + { "get_scroll_right", (void*) &lv_obj_get_scroll_right, "i", "(lv.lv_obj)" }, + { "get_scroll_snap_x", (void*) &lv_obj_get_scroll_snap_x, "i", "(lv.lv_obj)" }, + { "get_scroll_snap_y", (void*) &lv_obj_get_scroll_snap_y, "i", "(lv.lv_obj)" }, + { "get_scroll_top", (void*) &lv_obj_get_scroll_top, "i", "(lv.lv_obj)" }, + { "get_scroll_x", (void*) &lv_obj_get_scroll_x, "i", "(lv.lv_obj)" }, + { "get_scroll_y", (void*) &lv_obj_get_scroll_y, "i", "(lv.lv_obj)" }, + { "get_scrollbar_area", (void*) &lv_obj_get_scrollbar_area, "", "(lv.lv_obj)(lv.lv_area)(lv.lv_area)" }, + { "get_scrollbar_mode", (void*) &lv_obj_get_scrollbar_mode, "i", "(lv.lv_obj)" }, + { "get_self_height", (void*) &lv_obj_get_self_height, "i", "(lv.lv_obj)" }, + { "get_self_width", (void*) &lv_obj_get_self_width, "i", "(lv.lv_obj)" }, + { "get_state", (void*) &lv_obj_get_state, "i", "(lv.lv_obj)" }, + { "get_style_align", (void*) &lv_obj_get_style_align, "i", "(lv.lv_obj)i" }, + { "get_style_anim_speed", (void*) &lv_obj_get_style_anim_speed, "i", "(lv.lv_obj)i" }, + { "get_style_anim_time", (void*) &lv_obj_get_style_anim_time, "i", "(lv.lv_obj)i" }, + { "get_style_arc_color", (void*) &lv_obj_get_style_arc_color, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_arc_color_filtered", (void*) &lv_obj_get_style_arc_color_filtered, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_arc_img_src", (void*) &lv_obj_get_style_arc_img_src, ".", "(lv.lv_obj)i" }, + { "get_style_arc_opa", (void*) &lv_obj_get_style_arc_opa, "i", "(lv.lv_obj)i" }, + { "get_style_arc_rounded", (void*) &lv_obj_get_style_arc_rounded, "i", "(lv.lv_obj)i" }, + { "get_style_arc_width", (void*) &lv_obj_get_style_arc_width, "i", "(lv.lv_obj)i" }, + { "get_style_base_dir", (void*) &lv_obj_get_style_base_dir, "i", "(lv.lv_obj)i" }, + { "get_style_bg_color", (void*) &lv_obj_get_style_bg_color, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_bg_color_filtered", (void*) &lv_obj_get_style_bg_color_filtered, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_bg_grad_color", (void*) &lv_obj_get_style_bg_grad_color, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_bg_grad_color_filtered", (void*) &lv_obj_get_style_bg_grad_color_filtered, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_bg_grad_dir", (void*) &lv_obj_get_style_bg_grad_dir, "i", "(lv.lv_obj)i" }, + { "get_style_bg_grad_stop", (void*) &lv_obj_get_style_bg_grad_stop, "i", "(lv.lv_obj)i" }, + { "get_style_bg_img_opa", (void*) &lv_obj_get_style_bg_img_opa, "i", "(lv.lv_obj)i" }, + { "get_style_bg_img_recolor", (void*) &lv_obj_get_style_bg_img_recolor, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_bg_img_recolor_filtered", (void*) &lv_obj_get_style_bg_img_recolor_filtered, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_bg_img_recolor_opa", (void*) &lv_obj_get_style_bg_img_recolor_opa, "i", "(lv.lv_obj)i" }, + { "get_style_bg_img_src", (void*) &lv_obj_get_style_bg_img_src, ".", "(lv.lv_obj)i" }, + { "get_style_bg_img_tiled", (void*) &lv_obj_get_style_bg_img_tiled, "b", "(lv.lv_obj)i" }, + { "get_style_bg_main_stop", (void*) &lv_obj_get_style_bg_main_stop, "i", "(lv.lv_obj)i" }, + { "get_style_bg_opa", (void*) &lv_obj_get_style_bg_opa, "i", "(lv.lv_obj)i" }, + { "get_style_blend_mode", (void*) &lv_obj_get_style_blend_mode, "i", "(lv.lv_obj)i" }, + { "get_style_border_color", (void*) &lv_obj_get_style_border_color, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_border_color_filtered", (void*) &lv_obj_get_style_border_color_filtered, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_border_opa", (void*) &lv_obj_get_style_border_opa, "i", "(lv.lv_obj)i" }, + { "get_style_border_post", (void*) &lv_obj_get_style_border_post, "b", "(lv.lv_obj)i" }, + { "get_style_border_side", (void*) &lv_obj_get_style_border_side, "i", "(lv.lv_obj)i" }, + { "get_style_border_width", (void*) &lv_obj_get_style_border_width, "i", "(lv.lv_obj)i" }, + { "get_style_clip_corner", (void*) &lv_obj_get_style_clip_corner, "b", "(lv.lv_obj)i" }, + { "get_style_color_filter_opa", (void*) &lv_obj_get_style_color_filter_opa, "i", "(lv.lv_obj)i" }, + { "get_style_height", (void*) &lv_obj_get_style_height, "i", "(lv.lv_obj)i" }, + { "get_style_img_opa", (void*) &lv_obj_get_style_img_opa, "i", "(lv.lv_obj)i" }, + { "get_style_img_recolor", (void*) &lv_obj_get_style_img_recolor, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_img_recolor_filtered", (void*) &lv_obj_get_style_img_recolor_filtered, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_img_recolor_opa", (void*) &lv_obj_get_style_img_recolor_opa, "i", "(lv.lv_obj)i" }, + { "get_style_layout", (void*) &lv_obj_get_style_layout, "i", "(lv.lv_obj)i" }, + { "get_style_line_color", (void*) &lv_obj_get_style_line_color, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_line_color_filtered", (void*) &lv_obj_get_style_line_color_filtered, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_line_dash_gap", (void*) &lv_obj_get_style_line_dash_gap, "i", "(lv.lv_obj)i" }, + { "get_style_line_dash_width", (void*) &lv_obj_get_style_line_dash_width, "i", "(lv.lv_obj)i" }, + { "get_style_line_opa", (void*) &lv_obj_get_style_line_opa, "i", "(lv.lv_obj)i" }, + { "get_style_line_rounded", (void*) &lv_obj_get_style_line_rounded, "i", "(lv.lv_obj)i" }, + { "get_style_line_width", (void*) &lv_obj_get_style_line_width, "i", "(lv.lv_obj)i" }, + { "get_style_max_height", (void*) &lv_obj_get_style_max_height, "i", "(lv.lv_obj)i" }, + { "get_style_max_width", (void*) &lv_obj_get_style_max_width, "i", "(lv.lv_obj)i" }, + { "get_style_min_height", (void*) &lv_obj_get_style_min_height, "i", "(lv.lv_obj)i" }, + { "get_style_min_width", (void*) &lv_obj_get_style_min_width, "i", "(lv.lv_obj)i" }, + { "get_style_opa", (void*) &lv_obj_get_style_opa, "i", "(lv.lv_obj)i" }, + { "get_style_outline_color", (void*) &lv_obj_get_style_outline_color, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_outline_color_filtered", (void*) &lv_obj_get_style_outline_color_filtered, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_outline_opa", (void*) &lv_obj_get_style_outline_opa, "i", "(lv.lv_obj)i" }, + { "get_style_outline_pad", (void*) &lv_obj_get_style_outline_pad, "i", "(lv.lv_obj)i" }, + { "get_style_outline_width", (void*) &lv_obj_get_style_outline_width, "i", "(lv.lv_obj)i" }, + { "get_style_pad_bottom", (void*) &lv_obj_get_style_pad_bottom, "i", "(lv.lv_obj)i" }, + { "get_style_pad_column", (void*) &lv_obj_get_style_pad_column, "i", "(lv.lv_obj)i" }, + { "get_style_pad_left", (void*) &lv_obj_get_style_pad_left, "i", "(lv.lv_obj)i" }, + { "get_style_pad_right", (void*) &lv_obj_get_style_pad_right, "i", "(lv.lv_obj)i" }, + { "get_style_pad_row", (void*) &lv_obj_get_style_pad_row, "i", "(lv.lv_obj)i" }, + { "get_style_pad_top", (void*) &lv_obj_get_style_pad_top, "i", "(lv.lv_obj)i" }, + { "get_style_prop", (void*) &lv_obj_get_style_prop, "i", "(lv.lv_obj)i(lv.lv_style_prop)" }, + { "get_style_radius", (void*) &lv_obj_get_style_radius, "i", "(lv.lv_obj)i" }, + { "get_style_shadow_color", (void*) &lv_obj_get_style_shadow_color, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_shadow_color_filtered", (void*) &lv_obj_get_style_shadow_color_filtered, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_shadow_ofs_x", (void*) &lv_obj_get_style_shadow_ofs_x, "i", "(lv.lv_obj)i" }, + { "get_style_shadow_ofs_y", (void*) &lv_obj_get_style_shadow_ofs_y, "i", "(lv.lv_obj)i" }, + { "get_style_shadow_opa", (void*) &lv_obj_get_style_shadow_opa, "i", "(lv.lv_obj)i" }, + { "get_style_shadow_spread", (void*) &lv_obj_get_style_shadow_spread, "i", "(lv.lv_obj)i" }, + { "get_style_shadow_width", (void*) &lv_obj_get_style_shadow_width, "i", "(lv.lv_obj)i" }, + { "get_style_text_align", (void*) &lv_obj_get_style_text_align, "i", "(lv.lv_obj)i" }, + { "get_style_text_color", (void*) &lv_obj_get_style_text_color, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_text_color_filtered", (void*) &lv_obj_get_style_text_color_filtered, "lv.lv_color", "(lv.lv_obj)i" }, + { "get_style_text_decor", (void*) &lv_obj_get_style_text_decor, "i", "(lv.lv_obj)i" }, + { "get_style_text_font", (void*) &lv_obj_get_style_text_font, "lv.lv_font", "(lv.lv_obj)i" }, + { "get_style_text_letter_space", (void*) &lv_obj_get_style_text_letter_space, "i", "(lv.lv_obj)i" }, + { "get_style_text_line_space", (void*) &lv_obj_get_style_text_line_space, "i", "(lv.lv_obj)i" }, + { "get_style_text_opa", (void*) &lv_obj_get_style_text_opa, "i", "(lv.lv_obj)i" }, + { "get_style_transform_angle", (void*) &lv_obj_get_style_transform_angle, "i", "(lv.lv_obj)i" }, + { "get_style_transform_height", (void*) &lv_obj_get_style_transform_height, "i", "(lv.lv_obj)i" }, + { "get_style_transform_width", (void*) &lv_obj_get_style_transform_width, "i", "(lv.lv_obj)i" }, + { "get_style_transform_zoom", (void*) &lv_obj_get_style_transform_zoom, "i", "(lv.lv_obj)i" }, + { "get_style_translate_x", (void*) &lv_obj_get_style_translate_x, "i", "(lv.lv_obj)i" }, + { "get_style_translate_y", (void*) &lv_obj_get_style_translate_y, "i", "(lv.lv_obj)i" }, + { "get_style_width", (void*) &lv_obj_get_style_width, "i", "(lv.lv_obj)i" }, + { "get_style_x", (void*) &lv_obj_get_style_x, "i", "(lv.lv_obj)i" }, + { "get_style_y", (void*) &lv_obj_get_style_y, "i", "(lv.lv_obj)i" }, + { "get_user_data", (void*) &lv_obj_get_user_data, ".", "(lv.lv_obj)" }, + { "get_width", (void*) &lv_obj_get_width, "i", "(lv.lv_obj)" }, + { "get_x", (void*) &lv_obj_get_x, "i", "(lv.lv_obj)" }, + { "get_x2", (void*) &lv_obj_get_x2, "i", "(lv.lv_obj)" }, + { "get_y", (void*) &lv_obj_get_y, "i", "(lv.lv_obj)" }, + { "get_y2", (void*) &lv_obj_get_y2, "i", "(lv.lv_obj)" }, + { "has_class", (void*) &lv_obj_has_class, "b", "(lv.lv_obj)(lv.lv_obj_class)" }, + { "has_flag", (void*) &lv_obj_has_flag, "b", "(lv.lv_obj)i" }, + { "has_flag_any", (void*) &lv_obj_has_flag_any, "b", "(lv.lv_obj)i" }, + { "has_state", (void*) &lv_obj_has_state, "b", "(lv.lv_obj)i" }, + { "hit_test", (void*) &lv_obj_hit_test, "b", "(lv.lv_obj)(lv.lv_point)" }, + { "init_draw_arc_dsc", (void*) &lv_obj_init_draw_arc_dsc, "", "(lv.lv_obj)i(lv.lv_draw_arc_dsc)" }, + { "init_draw_img_dsc", (void*) &lv_obj_init_draw_img_dsc, "", "(lv.lv_obj)i(lv.lv_draw_img_dsc)" }, + { "init_draw_label_dsc", (void*) &lv_obj_init_draw_label_dsc, "", "(lv.lv_obj)i(lv.lv_draw_label_dsc)" }, + { "init_draw_line_dsc", (void*) &lv_obj_init_draw_line_dsc, "", "(lv.lv_obj)i(lv.lv_draw_line_dsc)" }, + { "init_draw_rect_dsc", (void*) &lv_obj_init_draw_rect_dsc, "", "(lv.lv_obj)i(lv.lv_draw_rect_dsc)" }, + { "invalidate", (void*) &lv_obj_invalidate, "", "(lv.lv_obj)" }, + { "invalidate_area", (void*) &lv_obj_invalidate_area, "", "(lv.lv_obj)(lv.lv_area)" }, + { "is_editable", (void*) &lv_obj_is_editable, "b", "(lv.lv_obj)" }, + { "is_group_def", (void*) &lv_obj_is_group_def, "b", "(lv.lv_obj)" }, + { "is_layout_positioned", (void*) &lv_obj_is_layout_positioned, "b", "(lv.lv_obj)" }, + { "is_scrolling", (void*) &lv_obj_is_scrolling, "b", "(lv.lv_obj)" }, + { "is_valid", (void*) &lv_obj_is_valid, "b", "(lv.lv_obj)" }, + { "is_visible", (void*) &lv_obj_is_visible, "b", "(lv.lv_obj)" }, + { "mark_layout_as_dirty", (void*) &lv_obj_mark_layout_as_dirty, "", "(lv.lv_obj)" }, + { "move_background", (void*) &lv_obj_move_background, "", "(lv.lv_obj)" }, + { "move_children_by", (void*) &lv_obj_move_children_by, "", "(lv.lv_obj)iib" }, + { "move_foreground", (void*) &lv_obj_move_foreground, "", "(lv.lv_obj)" }, + { "move_to", (void*) &lv_obj_move_to, "", "(lv.lv_obj)ii" }, + { "readjust_scroll", (void*) &lv_obj_readjust_scroll, "", "(lv.lv_obj)(lv.lv_anim_enable)" }, + { "refr_pos", (void*) &lv_obj_refr_pos, "", "(lv.lv_obj)" }, + { "refr_size", (void*) &lv_obj_refr_size, "b", "(lv.lv_obj)" }, + { "refresh_ext_draw_size", (void*) &lv_obj_refresh_ext_draw_size, "", "(lv.lv_obj)" }, + { "refresh_self_size", (void*) &lv_obj_refresh_self_size, "b", "(lv.lv_obj)" }, + { "refresh_style", (void*) &lv_obj_refresh_style, "", "(lv.lv_obj)i(lv.lv_style_prop)" }, + { "remove_event_cb", (void*) &lv_obj_remove_event_cb, "b", "(lv.lv_obj)^lv_event_cb^" }, + { "remove_event_dsc", (void*) &lv_obj_remove_event_dsc, "b", "(lv.lv_obj)i" }, + { "remove_local_style_prop", (void*) &lv_obj_remove_local_style_prop, "b", "(lv.lv_obj)(lv.lv_style_prop)(lv.lv_style_selector)" }, + { "remove_style", (void*) &lv_obj_remove_style, "", "(lv.lv_obj)(lv.lv_style)(lv.lv_style_selector)" }, + { "remove_style_all", (void*) &lv_obj_remove_style_all, "", "(lv.lv_obj)" }, + { "scroll_by", (void*) &lv_obj_scroll_by, "", "(lv.lv_obj)ii(lv.lv_anim_enable)" }, + { "scroll_to", (void*) &lv_obj_scroll_to, "", "(lv.lv_obj)ii(lv.lv_anim_enable)" }, + { "scroll_to_view", (void*) &lv_obj_scroll_to_view, "", "(lv.lv_obj)(lv.lv_anim_enable)" }, + { "scroll_to_view_recursive", (void*) &lv_obj_scroll_to_view_recursive, "", "(lv.lv_obj)(lv.lv_anim_enable)" }, + { "scroll_to_x", (void*) &lv_obj_scroll_to_x, "", "(lv.lv_obj)i(lv.lv_anim_enable)" }, + { "scroll_to_y", (void*) &lv_obj_scroll_to_y, "", "(lv.lv_obj)i(lv.lv_anim_enable)" }, + { "scrollbar_invalidate", (void*) &lv_obj_scrollbar_invalidate, "", "(lv.lv_obj)" }, + { "set_align", (void*) &lv_obj_set_align, "", "(lv.lv_obj)i" }, + { "set_content_height", (void*) &lv_obj_set_content_height, "", "(lv.lv_obj)i" }, + { "set_content_width", (void*) &lv_obj_set_content_width, "", "(lv.lv_obj)i" }, + { "set_ext_click_area", (void*) &lv_obj_set_ext_click_area, "", "(lv.lv_obj)i" }, + { "set_height", (void*) &lv_obj_set_height, "", "(lv.lv_obj)i" }, + { "set_layout", (void*) &lv_obj_set_layout, "", "(lv.lv_obj)i" }, + { "set_local_style_prop", (void*) &lv_obj_set_local_style_prop, "", "(lv.lv_obj)(lv.lv_style_prop)i(lv.lv_style_selector)" }, + { "set_parent", (void*) &lv_obj_set_parent, "", "(lv.lv_obj)(lv.lv_obj)" }, + { "set_pos", (void*) &lv_obj_set_pos, "", "(lv.lv_obj)ii" }, + { "set_scroll_dir", (void*) &lv_obj_set_scroll_dir, "", "(lv.lv_obj)i" }, + { "set_scroll_snap_x", (void*) &lv_obj_set_scroll_snap_x, "", "(lv.lv_obj)i" }, + { "set_scroll_snap_y", (void*) &lv_obj_set_scroll_snap_y, "", "(lv.lv_obj)i" }, + { "set_scrollbar_mode", (void*) &lv_obj_set_scrollbar_mode, "", "(lv.lv_obj)i" }, + { "set_size", (void*) &lv_obj_set_size, "", "(lv.lv_obj)ii" }, + { "set_style_align", (void*) &lv_obj_set_style_align, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_anim_speed", (void*) &lv_obj_set_style_anim_speed, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_anim_time", (void*) &lv_obj_set_style_anim_time, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_arc_color", (void*) &lv_obj_set_style_arc_color, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_arc_color_filtered", (void*) &lv_obj_set_style_arc_color_filtered, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_arc_img_src", (void*) &lv_obj_set_style_arc_img_src, "", "(lv.lv_obj).(lv.lv_style_selector)" }, + { "set_style_arc_opa", (void*) &lv_obj_set_style_arc_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_arc_rounded", (void*) &lv_obj_set_style_arc_rounded, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_arc_width", (void*) &lv_obj_set_style_arc_width, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_base_dir", (void*) &lv_obj_set_style_base_dir, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_bg_color", (void*) &lv_obj_set_style_bg_color, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_bg_color_filtered", (void*) &lv_obj_set_style_bg_color_filtered, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_bg_grad_color", (void*) &lv_obj_set_style_bg_grad_color, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_bg_grad_color_filtered", (void*) &lv_obj_set_style_bg_grad_color_filtered, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_bg_grad_dir", (void*) &lv_obj_set_style_bg_grad_dir, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_bg_grad_stop", (void*) &lv_obj_set_style_bg_grad_stop, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_bg_img_opa", (void*) &lv_obj_set_style_bg_img_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_bg_img_recolor", (void*) &lv_obj_set_style_bg_img_recolor, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_bg_img_recolor_filtered", (void*) &lv_obj_set_style_bg_img_recolor_filtered, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_bg_img_recolor_opa", (void*) &lv_obj_set_style_bg_img_recolor_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_bg_img_src", (void*) &lv_obj_set_style_bg_img_src, "", "(lv.lv_obj).(lv.lv_style_selector)" }, + { "set_style_bg_img_tiled", (void*) &lv_obj_set_style_bg_img_tiled, "", "(lv.lv_obj)b(lv.lv_style_selector)" }, + { "set_style_bg_main_stop", (void*) &lv_obj_set_style_bg_main_stop, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_bg_opa", (void*) &lv_obj_set_style_bg_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_blend_mode", (void*) &lv_obj_set_style_blend_mode, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_border_color", (void*) &lv_obj_set_style_border_color, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_border_color_filtered", (void*) &lv_obj_set_style_border_color_filtered, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_border_opa", (void*) &lv_obj_set_style_border_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_border_post", (void*) &lv_obj_set_style_border_post, "", "(lv.lv_obj)b(lv.lv_style_selector)" }, + { "set_style_border_side", (void*) &lv_obj_set_style_border_side, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_border_width", (void*) &lv_obj_set_style_border_width, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_clip_corner", (void*) &lv_obj_set_style_clip_corner, "", "(lv.lv_obj)b(lv.lv_style_selector)" }, + { "set_style_color_filter_dsc", (void*) &lv_obj_set_style_color_filter_dsc, "", "(lv.lv_obj)(lv.lv_color_filter_dsc)(lv.lv_style_selector)" }, + { "set_style_color_filter_opa", (void*) &lv_obj_set_style_color_filter_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_height", (void*) &lv_obj_set_style_height, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_img_opa", (void*) &lv_obj_set_style_img_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_img_recolor", (void*) &lv_obj_set_style_img_recolor, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_img_recolor_filtered", (void*) &lv_obj_set_style_img_recolor_filtered, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_img_recolor_opa", (void*) &lv_obj_set_style_img_recolor_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_layout", (void*) &lv_obj_set_style_layout, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_line_color", (void*) &lv_obj_set_style_line_color, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_line_color_filtered", (void*) &lv_obj_set_style_line_color_filtered, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_line_dash_gap", (void*) &lv_obj_set_style_line_dash_gap, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_line_dash_width", (void*) &lv_obj_set_style_line_dash_width, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_line_opa", (void*) &lv_obj_set_style_line_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_line_rounded", (void*) &lv_obj_set_style_line_rounded, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_line_width", (void*) &lv_obj_set_style_line_width, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_max_height", (void*) &lv_obj_set_style_max_height, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_max_width", (void*) &lv_obj_set_style_max_width, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_min_height", (void*) &lv_obj_set_style_min_height, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_min_width", (void*) &lv_obj_set_style_min_width, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_opa", (void*) &lv_obj_set_style_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_outline_color", (void*) &lv_obj_set_style_outline_color, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_outline_color_filtered", (void*) &lv_obj_set_style_outline_color_filtered, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_outline_opa", (void*) &lv_obj_set_style_outline_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_outline_pad", (void*) &lv_obj_set_style_outline_pad, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_outline_width", (void*) &lv_obj_set_style_outline_width, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_pad_all", (void*) &lv_obj_set_style_pad_all, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_pad_bottom", (void*) &lv_obj_set_style_pad_bottom, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_pad_column", (void*) &lv_obj_set_style_pad_column, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_pad_gap", (void*) &lv_obj_set_style_pad_gap, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_pad_hor", (void*) &lv_obj_set_style_pad_hor, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_pad_left", (void*) &lv_obj_set_style_pad_left, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_pad_right", (void*) &lv_obj_set_style_pad_right, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_pad_row", (void*) &lv_obj_set_style_pad_row, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_pad_top", (void*) &lv_obj_set_style_pad_top, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_pad_ver", (void*) &lv_obj_set_style_pad_ver, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_radius", (void*) &lv_obj_set_style_radius, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_shadow_color", (void*) &lv_obj_set_style_shadow_color, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_shadow_color_filtered", (void*) &lv_obj_set_style_shadow_color_filtered, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_shadow_ofs_x", (void*) &lv_obj_set_style_shadow_ofs_x, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_shadow_ofs_y", (void*) &lv_obj_set_style_shadow_ofs_y, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_shadow_opa", (void*) &lv_obj_set_style_shadow_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_shadow_spread", (void*) &lv_obj_set_style_shadow_spread, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_shadow_width", (void*) &lv_obj_set_style_shadow_width, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_size", (void*) &lv_obj_set_style_size, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_text_align", (void*) &lv_obj_set_style_text_align, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_text_color", (void*) &lv_obj_set_style_text_color, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_text_color_filtered", (void*) &lv_obj_set_style_text_color_filtered, "", "(lv.lv_obj)(lv.lv_color)(lv.lv_style_selector)" }, + { "set_style_text_decor", (void*) &lv_obj_set_style_text_decor, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_text_font", (void*) &lv_obj_set_style_text_font, "", "(lv.lv_obj)(lv.lv_font)(lv.lv_style_selector)" }, + { "set_style_text_letter_space", (void*) &lv_obj_set_style_text_letter_space, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_text_line_space", (void*) &lv_obj_set_style_text_line_space, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_text_opa", (void*) &lv_obj_set_style_text_opa, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_transform_angle", (void*) &lv_obj_set_style_transform_angle, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_transform_height", (void*) &lv_obj_set_style_transform_height, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_transform_width", (void*) &lv_obj_set_style_transform_width, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_transform_zoom", (void*) &lv_obj_set_style_transform_zoom, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_transition", (void*) &lv_obj_set_style_transition, "", "(lv.lv_obj)(lv.lv_style_transition_dsc)(lv.lv_style_selector)" }, + { "set_style_translate_x", (void*) &lv_obj_set_style_translate_x, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_translate_y", (void*) &lv_obj_set_style_translate_y, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_width", (void*) &lv_obj_set_style_width, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_x", (void*) &lv_obj_set_style_x, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_style_y", (void*) &lv_obj_set_style_y, "", "(lv.lv_obj)i(lv.lv_style_selector)" }, + { "set_user_data", (void*) &lv_obj_set_user_data, "", "(lv.lv_obj)." }, + { "set_width", (void*) &lv_obj_set_width, "", "(lv.lv_obj)i" }, + { "set_x", (void*) &lv_obj_set_x, "", "(lv.lv_obj)i" }, + { "set_y", (void*) &lv_obj_set_y, "", "(lv.lv_obj)i" }, + { "tree_walk", (void*) &lv_obj_tree_walk, "", "(lv.lv_obj)^lv_obj_tree_walk_cb^." }, + { "update_layout", (void*) &lv_obj_update_layout, "", "(lv.lv_obj)" }, + { "update_snap", (void*) &lv_obj_update_snap, "", "(lv.lv_obj)(lv.lv_anim_enable)" }, }; /* `lv_group` methods */ const lvbe_call_c_t lv_group_func[] = { - { "add_obj", (void*) &lv_group_add_obj, "", "(lv_group)(lv_obj)" }, - { "del", (void*) &lv_group_del, "", "(lv_group)" }, - { "focus_freeze", (void*) &lv_group_focus_freeze, "", "(lv_group)b" }, - { "focus_next", (void*) &lv_group_focus_next, "", "(lv_group)" }, - { "focus_obj", (void*) &lv_group_focus_obj, "", "(lv_obj)" }, - { "focus_prev", (void*) &lv_group_focus_prev, "", "(lv_group)" }, - { "get_editing", (void*) &lv_group_get_editing, "b", "(lv_group)" }, - { "get_focus_cb", (void*) &lv_group_get_focus_cb, "lv_group_focus_cb", "(lv_group)" }, - { "get_focused", (void*) &lv_group_get_focused, "lv_obj", "(lv_group)" }, - { "get_obj_count", (void*) &lv_group_get_obj_count, "i", "(lv_group)" }, - { "get_wrap", (void*) &lv_group_get_wrap, "b", "(lv_group)" }, - { "remove_all_objs", (void*) &lv_group_remove_all_objs, "", "(lv_group)" }, - { "remove_obj", (void*) &lv_group_remove_obj, "", "(lv_obj)" }, - { "send_data", (void*) &lv_group_send_data, "i", "(lv_group)i" }, - { "set_default", (void*) &lv_group_set_default, "", "(lv_group)" }, - { "set_editing", (void*) &lv_group_set_editing, "", "(lv_group)b" }, - { "set_focus_cb", (void*) &lv_group_set_focus_cb, "", "(lv_group)^lv_group_focus_cb^" }, - { "set_refocus_policy", (void*) &lv_group_set_refocus_policy, "", "(lv_group)(lv_group_refocus_policy)" }, - { "set_wrap", (void*) &lv_group_set_wrap, "", "(lv_group)b" }, + { "add_obj", (void*) &lv_group_add_obj, "", "(lv.lv_group)(lv.lv_obj)" }, + { "del", (void*) &lv_group_del, "", "(lv.lv_group)" }, + { "focus_freeze", (void*) &lv_group_focus_freeze, "", "(lv.lv_group)b" }, + { "focus_next", (void*) &lv_group_focus_next, "", "(lv.lv_group)" }, + { "focus_obj", (void*) &lv_group_focus_obj, "", "(lv.lv_obj)" }, + { "focus_prev", (void*) &lv_group_focus_prev, "", "(lv.lv_group)" }, + { "get_editing", (void*) &lv_group_get_editing, "b", "(lv.lv_group)" }, + { "get_focus_cb", (void*) &lv_group_get_focus_cb, "lv.lv_group_focus_cb", "(lv.lv_group)" }, + { "get_focused", (void*) &lv_group_get_focused, "lv.lv_obj", "(lv.lv_group)" }, + { "get_obj_count", (void*) &lv_group_get_obj_count, "i", "(lv.lv_group)" }, + { "get_wrap", (void*) &lv_group_get_wrap, "b", "(lv.lv_group)" }, + { "remove_all_objs", (void*) &lv_group_remove_all_objs, "", "(lv.lv_group)" }, + { "remove_obj", (void*) &lv_group_remove_obj, "", "(lv.lv_obj)" }, + { "send_data", (void*) &lv_group_send_data, "i", "(lv.lv_group)i" }, + { "set_default", (void*) &lv_group_set_default, "", "(lv.lv_group)" }, + { "set_editing", (void*) &lv_group_set_editing, "", "(lv.lv_group)b" }, + { "set_focus_cb", (void*) &lv_group_set_focus_cb, "", "(lv.lv_group)^lv_group_focus_cb^" }, + { "set_refocus_policy", (void*) &lv_group_set_refocus_policy, "", "(lv.lv_group)(lv.lv_group_refocus_policy)" }, + { "set_wrap", (void*) &lv_group_set_wrap, "", "(lv.lv_group)b" }, }; /* `lv_indev` methods */ const lvbe_call_c_t lv_indev_func[] = { - { "enable", (void*) &lv_indev_enable, "", "(lv_indev)b" }, - { "get_gesture_dir", (void*) &lv_indev_get_gesture_dir, "i", "(lv_indev)" }, - { "get_key", (void*) &lv_indev_get_key, "i", "(lv_indev)" }, - { "get_point", (void*) &lv_indev_get_point, "", "(lv_indev)(lv_point)" }, - { "get_scroll_dir", (void*) &lv_indev_get_scroll_dir, "i", "(lv_indev)" }, - { "get_scroll_obj", (void*) &lv_indev_get_scroll_obj, "lv_obj", "(lv_indev)" }, - { "get_type", (void*) &lv_indev_get_type, "i", "(lv_indev)" }, - { "get_vect", (void*) &lv_indev_get_vect, "", "(lv_indev)(lv_point)" }, - { "reset", (void*) &lv_indev_reset, "", "(lv_indev)(lv_obj)" }, - { "reset_long_press", (void*) &lv_indev_reset_long_press, "", "(lv_indev)" }, - { "search_obj", (void*) &lv_indev_search_obj, "lv_obj", "(lv_obj)(lv_point)" }, - { "set_button_points", (void*) &lv_indev_set_button_points, "", "(lv_indev)i" }, - { "set_cursor", (void*) &lv_indev_set_cursor, "", "(lv_indev)(lv_obj)" }, - { "set_group", (void*) &lv_indev_set_group, "", "(lv_indev)(lv_group)" }, - { "wait_release", (void*) &lv_indev_wait_release, "", "(lv_indev)" }, + { "enable", (void*) &lv_indev_enable, "", "(lv.lv_indev)b" }, + { "get_gesture_dir", (void*) &lv_indev_get_gesture_dir, "i", "(lv.lv_indev)" }, + { "get_key", (void*) &lv_indev_get_key, "i", "(lv.lv_indev)" }, + { "get_point", (void*) &lv_indev_get_point, "", "(lv.lv_indev)(lv.lv_point)" }, + { "get_scroll_dir", (void*) &lv_indev_get_scroll_dir, "i", "(lv.lv_indev)" }, + { "get_scroll_obj", (void*) &lv_indev_get_scroll_obj, "lv.lv_obj", "(lv.lv_indev)" }, + { "get_type", (void*) &lv_indev_get_type, "i", "(lv.lv_indev)" }, + { "get_vect", (void*) &lv_indev_get_vect, "", "(lv.lv_indev)(lv.lv_point)" }, + { "reset", (void*) &lv_indev_reset, "", "(lv.lv_indev)(lv.lv_obj)" }, + { "reset_long_press", (void*) &lv_indev_reset_long_press, "", "(lv.lv_indev)" }, + { "search_obj", (void*) &lv_indev_search_obj, "lv.lv_obj", "(lv.lv_obj)(lv.lv_point)" }, + { "set_button_points", (void*) &lv_indev_set_button_points, "", "(lv.lv_indev)i" }, + { "set_cursor", (void*) &lv_indev_set_cursor, "", "(lv.lv_indev)(lv.lv_obj)" }, + { "set_group", (void*) &lv_indev_set_group, "", "(lv.lv_indev)(lv.lv_group)" }, + { "wait_release", (void*) &lv_indev_wait_release, "", "(lv.lv_indev)" }, }; /* `lv_chart` methods */ #ifdef BE_LV_WIDGET_CHART const lvbe_call_c_t lv_chart_func[] = { - { "get_cursor_point", (void*) &lv_chart_get_cursor_point, "i", "(lv_obj)(lv_chart_cursor)" }, - { "get_point_count", (void*) &lv_chart_get_point_count, "i", "(lv_obj)" }, - { "get_point_pos_by_id", (void*) &lv_chart_get_point_pos_by_id, "", "(lv_obj)(lv_chart_series)i(lv_point)" }, - { "get_pressed_point", (void*) &lv_chart_get_pressed_point, "i", "(lv_obj)" }, - { "get_type", (void*) &lv_chart_get_type, "i", "(lv_obj)" }, - { "get_x_start_point", (void*) &lv_chart_get_x_start_point, "i", "(lv_obj)(lv_chart_series)" }, - { "get_zoom_x", (void*) &lv_chart_get_zoom_x, "i", "(lv_obj)" }, - { "get_zoom_y", (void*) &lv_chart_get_zoom_y, "i", "(lv_obj)" }, - { "hide_series", (void*) &lv_chart_hide_series, "", "(lv_obj)(lv_chart_series)b" }, - { "refresh", (void*) &lv_chart_refresh, "", "(lv_obj)" }, - { "remove_series", (void*) &lv_chart_remove_series, "", "(lv_obj)(lv_chart_series)" }, - { "set_all_value", (void*) &lv_chart_set_all_value, "", "(lv_obj)(lv_chart_series)i" }, - { "set_axis_tick", (void*) &lv_chart_set_axis_tick, "", "(lv_obj)iiiiibi" }, - { "set_cursor_point", (void*) &lv_chart_set_cursor_point, "", "(lv_obj)(lv_chart_cursor)(lv_chart_series)i" }, - { "set_cursor_pos", (void*) &lv_chart_set_cursor_pos, "", "(lv_obj)(lv_chart_cursor)(lv_point)" }, - { "set_div_line_count", (void*) &lv_chart_set_div_line_count, "", "(lv_obj)ii" }, - { "set_ext_x_array", (void*) &lv_chart_set_ext_x_array, "", "(lv_obj)(lv_chart_series)i" }, - { "set_ext_y_array", (void*) &lv_chart_set_ext_y_array, "", "(lv_obj)(lv_chart_series)i" }, - { "set_next_value", (void*) &lv_chart_set_next_value, "", "(lv_obj)(lv_chart_series)i" }, - { "set_next_value2", (void*) &lv_chart_set_next_value2, "", "(lv_obj)(lv_chart_series)ii" }, - { "set_point_count", (void*) &lv_chart_set_point_count, "", "(lv_obj)i" }, - { "set_range", (void*) &lv_chart_set_range, "", "(lv_obj)iii" }, - { "set_series_color", (void*) &lv_chart_set_series_color, "", "(lv_obj)(lv_chart_series)(lv_color)" }, - { "set_type", (void*) &lv_chart_set_type, "", "(lv_obj)i" }, - { "set_update_mode", (void*) &lv_chart_set_update_mode, "", "(lv_obj)(lv_chart_update_mode)" }, - { "set_value_by_id", (void*) &lv_chart_set_value_by_id, "", "(lv_obj)(lv_chart_series)ii" }, - { "set_value_by_id2", (void*) &lv_chart_set_value_by_id2, "", "(lv_obj)(lv_chart_series)iii" }, - { "set_x_start_point", (void*) &lv_chart_set_x_start_point, "", "(lv_obj)(lv_chart_series)i" }, - { "set_zoom_x", (void*) &lv_chart_set_zoom_x, "", "(lv_obj)i" }, - { "set_zoom_y", (void*) &lv_chart_set_zoom_y, "", "(lv_obj)i" }, + { "get_cursor_point", (void*) &lv_chart_get_cursor_point, "i", "(lv.lv_obj)(lv.lv_chart_cursor)" }, + { "get_point_count", (void*) &lv_chart_get_point_count, "i", "(lv.lv_obj)" }, + { "get_point_pos_by_id", (void*) &lv_chart_get_point_pos_by_id, "", "(lv.lv_obj)(lv.lv_chart_series)i(lv.lv_point)" }, + { "get_pressed_point", (void*) &lv_chart_get_pressed_point, "i", "(lv.lv_obj)" }, + { "get_type", (void*) &lv_chart_get_type, "i", "(lv.lv_obj)" }, + { "get_x_start_point", (void*) &lv_chart_get_x_start_point, "i", "(lv.lv_obj)(lv.lv_chart_series)" }, + { "get_zoom_x", (void*) &lv_chart_get_zoom_x, "i", "(lv.lv_obj)" }, + { "get_zoom_y", (void*) &lv_chart_get_zoom_y, "i", "(lv.lv_obj)" }, + { "hide_series", (void*) &lv_chart_hide_series, "", "(lv.lv_obj)(lv.lv_chart_series)b" }, + { "refresh", (void*) &lv_chart_refresh, "", "(lv.lv_obj)" }, + { "remove_series", (void*) &lv_chart_remove_series, "", "(lv.lv_obj)(lv.lv_chart_series)" }, + { "set_all_value", (void*) &lv_chart_set_all_value, "", "(lv.lv_obj)(lv.lv_chart_series)i" }, + { "set_axis_tick", (void*) &lv_chart_set_axis_tick, "", "(lv.lv_obj)iiiiibi" }, + { "set_cursor_point", (void*) &lv_chart_set_cursor_point, "", "(lv.lv_obj)(lv.lv_chart_cursor)(lv.lv_chart_series)i" }, + { "set_cursor_pos", (void*) &lv_chart_set_cursor_pos, "", "(lv.lv_obj)(lv.lv_chart_cursor)(lv.lv_point)" }, + { "set_div_line_count", (void*) &lv_chart_set_div_line_count, "", "(lv.lv_obj)ii" }, + { "set_ext_x_array", (void*) &lv_chart_set_ext_x_array, "", "(lv.lv_obj)(lv.lv_chart_series)i" }, + { "set_ext_y_array", (void*) &lv_chart_set_ext_y_array, "", "(lv.lv_obj)(lv.lv_chart_series)i" }, + { "set_next_value", (void*) &lv_chart_set_next_value, "", "(lv.lv_obj)(lv.lv_chart_series)i" }, + { "set_next_value2", (void*) &lv_chart_set_next_value2, "", "(lv.lv_obj)(lv.lv_chart_series)ii" }, + { "set_point_count", (void*) &lv_chart_set_point_count, "", "(lv.lv_obj)i" }, + { "set_range", (void*) &lv_chart_set_range, "", "(lv.lv_obj)iii" }, + { "set_series_color", (void*) &lv_chart_set_series_color, "", "(lv.lv_obj)(lv.lv_chart_series)(lv.lv_color)" }, + { "set_type", (void*) &lv_chart_set_type, "", "(lv.lv_obj)i" }, + { "set_update_mode", (void*) &lv_chart_set_update_mode, "", "(lv.lv_obj)(lv.lv_chart_update_mode)" }, + { "set_value_by_id", (void*) &lv_chart_set_value_by_id, "", "(lv.lv_obj)(lv.lv_chart_series)ii" }, + { "set_value_by_id2", (void*) &lv_chart_set_value_by_id2, "", "(lv.lv_obj)(lv.lv_chart_series)iii" }, + { "set_x_start_point", (void*) &lv_chart_set_x_start_point, "", "(lv.lv_obj)(lv.lv_chart_series)i" }, + { "set_zoom_x", (void*) &lv_chart_set_zoom_x, "", "(lv.lv_obj)i" }, + { "set_zoom_y", (void*) &lv_chart_set_zoom_y, "", "(lv.lv_obj)i" }, }; #endif // BE_LV_WIDGET_CHART /* `lv_colorwheel` methods */ #ifdef BE_LV_WIDGET_COLORWHEEL const lvbe_call_c_t lv_colorwheel_func[] = { - { "get_color_mode", (void*) &lv_colorwheel_get_color_mode, "i", "(lv_obj)" }, - { "get_color_mode_fixed", (void*) &lv_colorwheel_get_color_mode_fixed, "b", "(lv_obj)" }, - { "get_hsv", (void*) &lv_colorwheel_get_hsv, "i", "(lv_obj)" }, - { "get_rgb", (void*) &lv_colorwheel_get_rgb, "lv_color", "(lv_obj)" }, - { "set_hsv", (void*) &lv_colorwheel_set_hsv, "b", "(lv_obj)i" }, - { "set_mode", (void*) &lv_colorwheel_set_mode, "", "(lv_obj)i" }, - { "set_mode_fixed", (void*) &lv_colorwheel_set_mode_fixed, "", "(lv_obj)b" }, - { "set_rgb", (void*) &lv_colorwheel_set_rgb, "b", "(lv_obj)(lv_color)" }, + { "get_color_mode", (void*) &lv_colorwheel_get_color_mode, "i", "(lv.lv_obj)" }, + { "get_color_mode_fixed", (void*) &lv_colorwheel_get_color_mode_fixed, "b", "(lv.lv_obj)" }, + { "get_hsv", (void*) &lv_colorwheel_get_hsv, "i", "(lv.lv_obj)" }, + { "get_rgb", (void*) &lv_colorwheel_get_rgb, "lv.lv_color", "(lv.lv_obj)" }, + { "set_hsv", (void*) &lv_colorwheel_set_hsv, "b", "(lv.lv_obj)i" }, + { "set_mode", (void*) &lv_colorwheel_set_mode, "", "(lv.lv_obj)i" }, + { "set_mode_fixed", (void*) &lv_colorwheel_set_mode_fixed, "", "(lv.lv_obj)b" }, + { "set_rgb", (void*) &lv_colorwheel_set_rgb, "b", "(lv.lv_obj)(lv.lv_color)" }, }; #endif // BE_LV_WIDGET_COLORWHEEL /* `lv_imgbtn` methods */ #ifdef BE_LV_WIDGET_IMGBTN const lvbe_call_c_t lv_imgbtn_func[] = { - { "set_src", (void*) &lv_imgbtn_set_src, "", "(lv_obj)(lv_imgbtn_state)..." }, + { "set_src", (void*) &lv_imgbtn_set_src, "", "(lv.lv_obj)(lv.lv_imgbtn_state)..." }, }; #endif // BE_LV_WIDGET_IMGBTN /* `lv_led` methods */ #ifdef BE_LV_WIDGET_LED const lvbe_call_c_t lv_led_func[] = { - { "get_brightness", (void*) &lv_led_get_brightness, "i", "(lv_obj)" }, - { "off", (void*) &lv_led_off, "", "(lv_obj)" }, - { "on", (void*) &lv_led_on, "", "(lv_obj)" }, - { "set_brightness", (void*) &lv_led_set_brightness, "", "(lv_obj)i" }, - { "set_color", (void*) &lv_led_set_color, "", "(lv_obj)(lv_color)" }, - { "toggle", (void*) &lv_led_toggle, "", "(lv_obj)" }, + { "get_brightness", (void*) &lv_led_get_brightness, "i", "(lv.lv_obj)" }, + { "off", (void*) &lv_led_off, "", "(lv.lv_obj)" }, + { "on", (void*) &lv_led_on, "", "(lv.lv_obj)" }, + { "set_brightness", (void*) &lv_led_set_brightness, "", "(lv.lv_obj)i" }, + { "set_color", (void*) &lv_led_set_color, "", "(lv.lv_obj)(lv.lv_color)" }, + { "toggle", (void*) &lv_led_toggle, "", "(lv.lv_obj)" }, }; #endif // BE_LV_WIDGET_LED /* `lv_meter` methods */ #ifdef BE_LV_WIDGET_METER const lvbe_call_c_t lv_meter_func[] = { - { "add_arc", (void*) &lv_meter_add_arc, "lv_meter_indicator", "(lv_obj)(lv_meter_scale)i(lv_color)i" }, - { "add_needle_img", (void*) &lv_meter_add_needle_img, "lv_meter_indicator", "(lv_obj)(lv_meter_scale).ii" }, - { "add_needle_line", (void*) &lv_meter_add_needle_line, "lv_meter_indicator", "(lv_obj)(lv_meter_scale)i(lv_color)i" }, - { "add_scale", (void*) &lv_meter_add_scale, "lv_meter_scale", "(lv_obj)" }, - { "add_scale_lines", (void*) &lv_meter_add_scale_lines, "lv_meter_indicator", "(lv_obj)(lv_meter_scale)(lv_color)(lv_color)bi" }, - { "set_indicator_end_value", (void*) &lv_meter_set_indicator_end_value, "", "(lv_obj)(lv_meter_indicator)i" }, - { "set_indicator_start_value", (void*) &lv_meter_set_indicator_start_value, "", "(lv_obj)(lv_meter_indicator)i" }, - { "set_indicator_value", (void*) &lv_meter_set_indicator_value, "", "(lv_obj)(lv_meter_indicator)i" }, - { "set_scale_major_ticks", (void*) &lv_meter_set_scale_major_ticks, "", "(lv_obj)(lv_meter_scale)iii(lv_color)i" }, - { "set_scale_range", (void*) &lv_meter_set_scale_range, "", "(lv_obj)(lv_meter_scale)iiii" }, - { "set_scale_ticks", (void*) &lv_meter_set_scale_ticks, "", "(lv_obj)(lv_meter_scale)iii(lv_color)" }, + { "add_arc", (void*) &lv_meter_add_arc, "lv.lv_meter_indicator", "(lv.lv_obj)(lv.lv_meter_scale)i(lv.lv_color)i" }, + { "add_needle_img", (void*) &lv_meter_add_needle_img, "lv.lv_meter_indicator", "(lv.lv_obj)(lv.lv_meter_scale).ii" }, + { "add_needle_line", (void*) &lv_meter_add_needle_line, "lv.lv_meter_indicator", "(lv.lv_obj)(lv.lv_meter_scale)i(lv.lv_color)i" }, + { "add_scale", (void*) &lv_meter_add_scale, "lv.lv_meter_scale", "(lv.lv_obj)" }, + { "add_scale_lines", (void*) &lv_meter_add_scale_lines, "lv.lv_meter_indicator", "(lv.lv_obj)(lv.lv_meter_scale)(lv.lv_color)(lv.lv_color)bi" }, + { "set_indicator_end_value", (void*) &lv_meter_set_indicator_end_value, "", "(lv.lv_obj)(lv.lv_meter_indicator)i" }, + { "set_indicator_start_value", (void*) &lv_meter_set_indicator_start_value, "", "(lv.lv_obj)(lv.lv_meter_indicator)i" }, + { "set_indicator_value", (void*) &lv_meter_set_indicator_value, "", "(lv.lv_obj)(lv.lv_meter_indicator)i" }, + { "set_scale_major_ticks", (void*) &lv_meter_set_scale_major_ticks, "", "(lv.lv_obj)(lv.lv_meter_scale)iii(lv.lv_color)i" }, + { "set_scale_range", (void*) &lv_meter_set_scale_range, "", "(lv.lv_obj)(lv.lv_meter_scale)iiii" }, + { "set_scale_ticks", (void*) &lv_meter_set_scale_ticks, "", "(lv.lv_obj)(lv.lv_meter_scale)iii(lv.lv_color)" }, }; #endif // BE_LV_WIDGET_METER /* `lv_msgbox` methods */ #ifdef BE_LV_WIDGET_MSGBOX const lvbe_call_c_t lv_msgbox_func[] = { - { "close", (void*) &lv_msgbox_close, "", "(lv_obj)" }, - { "get_active_btn_text", (void*) &lv_msgbox_get_active_btn_text, "s", "(lv_obj)" }, - { "get_btns", (void*) &lv_msgbox_get_btns, "lv_obj", "(lv_obj)" }, - { "get_close_btn", (void*) &lv_msgbox_get_close_btn, "lv_obj", "(lv_obj)" }, - { "get_text", (void*) &lv_msgbox_get_text, "lv_obj", "(lv_obj)" }, - { "get_title", (void*) &lv_msgbox_get_title, "lv_obj", "(lv_obj)" }, + { "close", (void*) &lv_msgbox_close, "", "(lv.lv_obj)" }, + { "get_active_btn_text", (void*) &lv_msgbox_get_active_btn_text, "s", "(lv.lv_obj)" }, + { "get_btns", (void*) &lv_msgbox_get_btns, "lv.lv_obj", "(lv.lv_obj)" }, + { "get_close_btn", (void*) &lv_msgbox_get_close_btn, "lv.lv_obj", "(lv.lv_obj)" }, + { "get_text", (void*) &lv_msgbox_get_text, "lv.lv_obj", "(lv.lv_obj)" }, + { "get_title", (void*) &lv_msgbox_get_title, "lv.lv_obj", "(lv.lv_obj)" }, }; #endif // BE_LV_WIDGET_MSGBOX /* `lv_spinbox` methods */ #ifdef BE_LV_WIDGET_SPINBOX const lvbe_call_c_t lv_spinbox_func[] = { - { "decrement", (void*) &lv_spinbox_decrement, "", "(lv_obj)" }, - { "get_rollover", (void*) &lv_spinbox_get_rollover, "b", "(lv_obj)" }, - { "get_step", (void*) &lv_spinbox_get_step, "i", "(lv_obj)" }, - { "get_value", (void*) &lv_spinbox_get_value, "i", "(lv_obj)" }, - { "increment", (void*) &lv_spinbox_increment, "", "(lv_obj)" }, - { "set_digit_format", (void*) &lv_spinbox_set_digit_format, "", "(lv_obj)ii" }, - { "set_range", (void*) &lv_spinbox_set_range, "", "(lv_obj)ii" }, - { "set_rollover", (void*) &lv_spinbox_set_rollover, "", "(lv_obj)b" }, - { "set_step", (void*) &lv_spinbox_set_step, "", "(lv_obj)i" }, - { "set_value", (void*) &lv_spinbox_set_value, "", "(lv_obj)i" }, - { "step_next", (void*) &lv_spinbox_step_next, "", "(lv_obj)" }, - { "step_prev", (void*) &lv_spinbox_step_prev, "", "(lv_obj)" }, + { "decrement", (void*) &lv_spinbox_decrement, "", "(lv.lv_obj)" }, + { "get_rollover", (void*) &lv_spinbox_get_rollover, "b", "(lv.lv_obj)" }, + { "get_step", (void*) &lv_spinbox_get_step, "i", "(lv.lv_obj)" }, + { "get_value", (void*) &lv_spinbox_get_value, "i", "(lv.lv_obj)" }, + { "increment", (void*) &lv_spinbox_increment, "", "(lv.lv_obj)" }, + { "set_digit_format", (void*) &lv_spinbox_set_digit_format, "", "(lv.lv_obj)ii" }, + { "set_range", (void*) &lv_spinbox_set_range, "", "(lv.lv_obj)ii" }, + { "set_rollover", (void*) &lv_spinbox_set_rollover, "", "(lv.lv_obj)b" }, + { "set_step", (void*) &lv_spinbox_set_step, "", "(lv.lv_obj)i" }, + { "set_value", (void*) &lv_spinbox_set_value, "", "(lv.lv_obj)i" }, + { "step_next", (void*) &lv_spinbox_step_next, "", "(lv.lv_obj)" }, + { "step_prev", (void*) &lv_spinbox_step_prev, "", "(lv.lv_obj)" }, }; #endif // BE_LV_WIDGET_SPINBOX /* `lv_arc` methods */ #ifdef BE_LV_WIDGET_ARC const lvbe_call_c_t lv_arc_func[] = { - { "get_angle_end", (void*) &lv_arc_get_angle_end, "i", "(lv_obj)" }, - { "get_angle_start", (void*) &lv_arc_get_angle_start, "i", "(lv_obj)" }, - { "get_bg_angle_end", (void*) &lv_arc_get_bg_angle_end, "i", "(lv_obj)" }, - { "get_bg_angle_start", (void*) &lv_arc_get_bg_angle_start, "i", "(lv_obj)" }, - { "get_max_value", (void*) &lv_arc_get_max_value, "i", "(lv_obj)" }, - { "get_min_value", (void*) &lv_arc_get_min_value, "i", "(lv_obj)" }, - { "get_mode", (void*) &lv_arc_get_mode, "i", "(lv_obj)" }, - { "get_value", (void*) &lv_arc_get_value, "i", "(lv_obj)" }, - { "set_angles", (void*) &lv_arc_set_angles, "", "(lv_obj)ii" }, - { "set_bg_angles", (void*) &lv_arc_set_bg_angles, "", "(lv_obj)ii" }, - { "set_bg_end_angle", (void*) &lv_arc_set_bg_end_angle, "", "(lv_obj)i" }, - { "set_bg_start_angle", (void*) &lv_arc_set_bg_start_angle, "", "(lv_obj)i" }, - { "set_change_rate", (void*) &lv_arc_set_change_rate, "", "(lv_obj)i" }, - { "set_end_angle", (void*) &lv_arc_set_end_angle, "", "(lv_obj)i" }, - { "set_mode", (void*) &lv_arc_set_mode, "", "(lv_obj)i" }, - { "set_range", (void*) &lv_arc_set_range, "", "(lv_obj)ii" }, - { "set_rotation", (void*) &lv_arc_set_rotation, "", "(lv_obj)i" }, - { "set_start_angle", (void*) &lv_arc_set_start_angle, "", "(lv_obj)i" }, - { "set_value", (void*) &lv_arc_set_value, "", "(lv_obj)i" }, + { "get_angle_end", (void*) &lv_arc_get_angle_end, "i", "(lv.lv_obj)" }, + { "get_angle_start", (void*) &lv_arc_get_angle_start, "i", "(lv.lv_obj)" }, + { "get_bg_angle_end", (void*) &lv_arc_get_bg_angle_end, "i", "(lv.lv_obj)" }, + { "get_bg_angle_start", (void*) &lv_arc_get_bg_angle_start, "i", "(lv.lv_obj)" }, + { "get_max_value", (void*) &lv_arc_get_max_value, "i", "(lv.lv_obj)" }, + { "get_min_value", (void*) &lv_arc_get_min_value, "i", "(lv.lv_obj)" }, + { "get_mode", (void*) &lv_arc_get_mode, "i", "(lv.lv_obj)" }, + { "get_value", (void*) &lv_arc_get_value, "i", "(lv.lv_obj)" }, + { "set_angles", (void*) &lv_arc_set_angles, "", "(lv.lv_obj)ii" }, + { "set_bg_angles", (void*) &lv_arc_set_bg_angles, "", "(lv.lv_obj)ii" }, + { "set_bg_end_angle", (void*) &lv_arc_set_bg_end_angle, "", "(lv.lv_obj)i" }, + { "set_bg_start_angle", (void*) &lv_arc_set_bg_start_angle, "", "(lv.lv_obj)i" }, + { "set_change_rate", (void*) &lv_arc_set_change_rate, "", "(lv.lv_obj)i" }, + { "set_end_angle", (void*) &lv_arc_set_end_angle, "", "(lv.lv_obj)i" }, + { "set_mode", (void*) &lv_arc_set_mode, "", "(lv.lv_obj)i" }, + { "set_range", (void*) &lv_arc_set_range, "", "(lv.lv_obj)ii" }, + { "set_rotation", (void*) &lv_arc_set_rotation, "", "(lv.lv_obj)i" }, + { "set_start_angle", (void*) &lv_arc_set_start_angle, "", "(lv.lv_obj)i" }, + { "set_value", (void*) &lv_arc_set_value, "", "(lv.lv_obj)i" }, }; #endif // BE_LV_WIDGET_ARC /* `lv_bar` methods */ #ifdef BE_LV_WIDGET_BAR const lvbe_call_c_t lv_bar_func[] = { - { "get_max_value", (void*) &lv_bar_get_max_value, "i", "(lv_obj)" }, - { "get_min_value", (void*) &lv_bar_get_min_value, "i", "(lv_obj)" }, - { "get_mode", (void*) &lv_bar_get_mode, "i", "(lv_obj)" }, - { "get_start_value", (void*) &lv_bar_get_start_value, "i", "(lv_obj)" }, - { "get_value", (void*) &lv_bar_get_value, "i", "(lv_obj)" }, - { "set_mode", (void*) &lv_bar_set_mode, "", "(lv_obj)i" }, - { "set_range", (void*) &lv_bar_set_range, "", "(lv_obj)ii" }, - { "set_start_value", (void*) &lv_bar_set_start_value, "", "(lv_obj)i(lv_anim_enable)" }, - { "set_value", (void*) &lv_bar_set_value, "", "(lv_obj)i(lv_anim_enable)" }, + { "get_max_value", (void*) &lv_bar_get_max_value, "i", "(lv.lv_obj)" }, + { "get_min_value", (void*) &lv_bar_get_min_value, "i", "(lv.lv_obj)" }, + { "get_mode", (void*) &lv_bar_get_mode, "i", "(lv.lv_obj)" }, + { "get_start_value", (void*) &lv_bar_get_start_value, "i", "(lv.lv_obj)" }, + { "get_value", (void*) &lv_bar_get_value, "i", "(lv.lv_obj)" }, + { "set_mode", (void*) &lv_bar_set_mode, "", "(lv.lv_obj)i" }, + { "set_range", (void*) &lv_bar_set_range, "", "(lv.lv_obj)ii" }, + { "set_start_value", (void*) &lv_bar_set_start_value, "", "(lv.lv_obj)i(lv.lv_anim_enable)" }, + { "set_value", (void*) &lv_bar_set_value, "", "(lv.lv_obj)i(lv.lv_anim_enable)" }, }; #endif // BE_LV_WIDGET_BAR @@ -633,136 +641,136 @@ const lvbe_call_c_t lv_btn_func[] = { /* `lv_btnmatrix` methods */ #ifdef BE_LV_WIDGET_BTNMATRIX const lvbe_call_c_t lv_btnmatrix_func[] = { - { "clear_btn_ctrl", (void*) &lv_btnmatrix_clear_btn_ctrl, "", "(lv_obj)i(lv_btnmatrix_ctrl)" }, - { "clear_btn_ctrl_all", (void*) &lv_btnmatrix_clear_btn_ctrl_all, "", "(lv_obj)(lv_btnmatrix_ctrl)" }, - { "get_btn_text", (void*) &lv_btnmatrix_get_btn_text, "s", "(lv_obj)i" }, - { "get_one_checked", (void*) &lv_btnmatrix_get_one_checked, "b", "(lv_obj)" }, - { "get_selected_btn", (void*) &lv_btnmatrix_get_selected_btn, "i", "(lv_obj)" }, - { "has_btn_ctrl", (void*) &lv_btnmatrix_has_btn_ctrl, "b", "(lv_obj)i(lv_btnmatrix_ctrl)" }, - { "set_btn_ctrl", (void*) &lv_btnmatrix_set_btn_ctrl, "", "(lv_obj)i(lv_btnmatrix_ctrl)" }, - { "set_btn_ctrl_all", (void*) &lv_btnmatrix_set_btn_ctrl_all, "", "(lv_obj)(lv_btnmatrix_ctrl)" }, - { "set_btn_width", (void*) &lv_btnmatrix_set_btn_width, "", "(lv_obj)ii" }, - { "set_ctrl_map", (void*) &lv_btnmatrix_set_ctrl_map, "", "(lv_obj)(lv_btnmatrix_ctrl)" }, - { "set_map", (void*) &lv_btnmatrix_set_map, "", "(lv_obj)s" }, - { "set_one_checked", (void*) &lv_btnmatrix_set_one_checked, "", "(lv_obj)b" }, - { "set_selected_btn", (void*) &lv_btnmatrix_set_selected_btn, "", "(lv_obj)i" }, + { "clear_btn_ctrl", (void*) &lv_btnmatrix_clear_btn_ctrl, "", "(lv.lv_obj)i(lv.lv_btnmatrix_ctrl)" }, + { "clear_btn_ctrl_all", (void*) &lv_btnmatrix_clear_btn_ctrl_all, "", "(lv.lv_obj)(lv.lv_btnmatrix_ctrl)" }, + { "get_btn_text", (void*) &lv_btnmatrix_get_btn_text, "s", "(lv.lv_obj)i" }, + { "get_one_checked", (void*) &lv_btnmatrix_get_one_checked, "b", "(lv.lv_obj)" }, + { "get_selected_btn", (void*) &lv_btnmatrix_get_selected_btn, "i", "(lv.lv_obj)" }, + { "has_btn_ctrl", (void*) &lv_btnmatrix_has_btn_ctrl, "b", "(lv.lv_obj)i(lv.lv_btnmatrix_ctrl)" }, + { "set_btn_ctrl", (void*) &lv_btnmatrix_set_btn_ctrl, "", "(lv.lv_obj)i(lv.lv_btnmatrix_ctrl)" }, + { "set_btn_ctrl_all", (void*) &lv_btnmatrix_set_btn_ctrl_all, "", "(lv.lv_obj)(lv.lv_btnmatrix_ctrl)" }, + { "set_btn_width", (void*) &lv_btnmatrix_set_btn_width, "", "(lv.lv_obj)ii" }, + { "set_ctrl_map", (void*) &lv_btnmatrix_set_ctrl_map, "", "(lv.lv_obj)(lv.lv_btnmatrix_ctrl)" }, + { "set_map", (void*) &lv_btnmatrix_set_map, "", "(lv.lv_obj)s" }, + { "set_one_checked", (void*) &lv_btnmatrix_set_one_checked, "", "(lv.lv_obj)b" }, + { "set_selected_btn", (void*) &lv_btnmatrix_set_selected_btn, "", "(lv.lv_obj)i" }, }; #endif // BE_LV_WIDGET_BTNMATRIX /* `lv_canvas` methods */ #ifdef BE_LV_WIDGET_CANVAS const lvbe_call_c_t lv_canvas_func[] = { - { "blur_hor", (void*) &lv_canvas_blur_hor, "", "(lv_obj)(lv_area)i" }, - { "blur_ver", (void*) &lv_canvas_blur_ver, "", "(lv_obj)(lv_area)i" }, - { "copy_buf", (void*) &lv_canvas_copy_buf, "", "(lv_obj).iiii" }, - { "draw_arc", (void*) &lv_canvas_draw_arc, "", "(lv_obj)iiiii(lv_draw_arc_dsc)" }, - { "draw_img", (void*) &lv_canvas_draw_img, "", "(lv_obj)ii.(lv_draw_img_dsc)" }, - { "draw_line", (void*) &lv_canvas_draw_line, "", "(lv_obj)ii(lv_draw_line_dsc)" }, - { "draw_polygon", (void*) &lv_canvas_draw_polygon, "", "(lv_obj)ii(lv_draw_rect_dsc)" }, - { "draw_rect", (void*) &lv_canvas_draw_rect, "", "(lv_obj)iiii(lv_draw_rect_dsc)" }, - { "draw_text", (void*) &lv_canvas_draw_text, "", "(lv_obj)iii(lv_draw_label_dsc)s" }, - { "fill_bg", (void*) &lv_canvas_fill_bg, "", "(lv_obj)(lv_color)i" }, - { "get_px", (void*) &lv_canvas_get_px, "lv_color", "(lv_obj)ii" }, - { "set_buffer", (void*) &lv_canvas_set_buffer, "", "(lv_obj).iii" }, - { "set_palette", (void*) &lv_canvas_set_palette, "", "(lv_obj)i(lv_color)" }, - { "set_px", (void*) &lv_canvas_set_px, "", "(lv_obj)ii(lv_color)" }, - { "transform", (void*) &lv_canvas_transform, "", "(lv_obj)(lv_img_dsc)iiiiiib" }, + { "blur_hor", (void*) &lv_canvas_blur_hor, "", "(lv.lv_obj)(lv.lv_area)i" }, + { "blur_ver", (void*) &lv_canvas_blur_ver, "", "(lv.lv_obj)(lv.lv_area)i" }, + { "copy_buf", (void*) &lv_canvas_copy_buf, "", "(lv.lv_obj).iiii" }, + { "draw_arc", (void*) &lv_canvas_draw_arc, "", "(lv.lv_obj)iiiii(lv.lv_draw_arc_dsc)" }, + { "draw_img", (void*) &lv_canvas_draw_img, "", "(lv.lv_obj)ii.(lv.lv_draw_img_dsc)" }, + { "draw_line", (void*) &lv_canvas_draw_line, "", "(lv.lv_obj)ii(lv.lv_draw_line_dsc)" }, + { "draw_polygon", (void*) &lv_canvas_draw_polygon, "", "(lv.lv_obj)ii(lv.lv_draw_rect_dsc)" }, + { "draw_rect", (void*) &lv_canvas_draw_rect, "", "(lv.lv_obj)iiii(lv.lv_draw_rect_dsc)" }, + { "draw_text", (void*) &lv_canvas_draw_text, "", "(lv.lv_obj)iii(lv.lv_draw_label_dsc)s" }, + { "fill_bg", (void*) &lv_canvas_fill_bg, "", "(lv.lv_obj)(lv.lv_color)i" }, + { "get_px", (void*) &lv_canvas_get_px, "lv.lv_color", "(lv.lv_obj)ii" }, + { "set_buffer", (void*) &lv_canvas_set_buffer, "", "(lv.lv_obj).iii" }, + { "set_palette", (void*) &lv_canvas_set_palette, "", "(lv.lv_obj)i(lv.lv_color)" }, + { "set_px", (void*) &lv_canvas_set_px, "", "(lv.lv_obj)ii(lv.lv_color)" }, + { "transform", (void*) &lv_canvas_transform, "", "(lv.lv_obj)(lv.lv_img_dsc)iiiiiib" }, }; #endif // BE_LV_WIDGET_CANVAS /* `lv_checkbox` methods */ #ifdef BE_LV_WIDGET_CHECKBOX const lvbe_call_c_t lv_checkbox_func[] = { - { "get_text", (void*) &lv_checkbox_get_text, "s", "(lv_obj)" }, - { "set_text", (void*) &lv_checkbox_set_text, "", "(lv_obj)s" }, - { "set_text_static", (void*) &lv_checkbox_set_text_static, "", "(lv_obj)s" }, + { "get_text", (void*) &lv_checkbox_get_text, "s", "(lv.lv_obj)" }, + { "set_text", (void*) &lv_checkbox_set_text, "", "(lv.lv_obj)s" }, + { "set_text_static", (void*) &lv_checkbox_set_text_static, "", "(lv.lv_obj)s" }, }; #endif // BE_LV_WIDGET_CHECKBOX /* `lv_dropdown` methods */ #ifdef BE_LV_WIDGET_DROPDOWN const lvbe_call_c_t lv_dropdown_func[] = { - { "add_option", (void*) &lv_dropdown_add_option, "", "(lv_obj)si" }, - { "clear_options", (void*) &lv_dropdown_clear_options, "", "(lv_obj)" }, - { "close", (void*) &lv_dropdown_close, "", "(lv_obj)" }, - { "get_dir", (void*) &lv_dropdown_get_dir, "i", "(lv_obj)" }, - { "get_list", (void*) &lv_dropdown_get_list, "lv_obj", "(lv_obj)" }, - { "get_option_cnt", (void*) &lv_dropdown_get_option_cnt, "i", "(lv_obj)" }, - { "get_options", (void*) &lv_dropdown_get_options, "s", "(lv_obj)" }, - { "get_selected", (void*) &lv_dropdown_get_selected, "i", "(lv_obj)" }, - { "get_selected_highlight", (void*) &lv_dropdown_get_selected_highlight, "b", "(lv_obj)" }, - { "get_selected_str", (void*) &lv_dropdown_get_selected_str, "", "(lv_obj)si" }, - { "get_symbol", (void*) &lv_dropdown_get_symbol, "s", "(lv_obj)" }, - { "get_text", (void*) &lv_dropdown_get_text, "s", "(lv_obj)" }, - { "open", (void*) &lv_dropdown_open, "", "(lv_obj)" }, - { "set_dir", (void*) &lv_dropdown_set_dir, "", "(lv_obj)i" }, - { "set_options", (void*) &lv_dropdown_set_options, "", "(lv_obj)s" }, - { "set_options_static", (void*) &lv_dropdown_set_options_static, "", "(lv_obj)s" }, - { "set_selected", (void*) &lv_dropdown_set_selected, "", "(lv_obj)i" }, - { "set_selected_highlight", (void*) &lv_dropdown_set_selected_highlight, "", "(lv_obj)b" }, - { "set_symbol", (void*) &lv_dropdown_set_symbol, "", "(lv_obj)." }, - { "set_text", (void*) &lv_dropdown_set_text, "", "(lv_obj)s" }, + { "add_option", (void*) &lv_dropdown_add_option, "", "(lv.lv_obj)si" }, + { "clear_options", (void*) &lv_dropdown_clear_options, "", "(lv.lv_obj)" }, + { "close", (void*) &lv_dropdown_close, "", "(lv.lv_obj)" }, + { "get_dir", (void*) &lv_dropdown_get_dir, "i", "(lv.lv_obj)" }, + { "get_list", (void*) &lv_dropdown_get_list, "lv.lv_obj", "(lv.lv_obj)" }, + { "get_option_cnt", (void*) &lv_dropdown_get_option_cnt, "i", "(lv.lv_obj)" }, + { "get_options", (void*) &lv_dropdown_get_options, "s", "(lv.lv_obj)" }, + { "get_selected", (void*) &lv_dropdown_get_selected, "i", "(lv.lv_obj)" }, + { "get_selected_highlight", (void*) &lv_dropdown_get_selected_highlight, "b", "(lv.lv_obj)" }, + { "get_selected_str", (void*) &lv_dropdown_get_selected_str, "", "(lv.lv_obj)si" }, + { "get_symbol", (void*) &lv_dropdown_get_symbol, "s", "(lv.lv_obj)" }, + { "get_text", (void*) &lv_dropdown_get_text, "s", "(lv.lv_obj)" }, + { "open", (void*) &lv_dropdown_open, "", "(lv.lv_obj)" }, + { "set_dir", (void*) &lv_dropdown_set_dir, "", "(lv.lv_obj)i" }, + { "set_options", (void*) &lv_dropdown_set_options, "", "(lv.lv_obj)s" }, + { "set_options_static", (void*) &lv_dropdown_set_options_static, "", "(lv.lv_obj)s" }, + { "set_selected", (void*) &lv_dropdown_set_selected, "", "(lv.lv_obj)i" }, + { "set_selected_highlight", (void*) &lv_dropdown_set_selected_highlight, "", "(lv.lv_obj)b" }, + { "set_symbol", (void*) &lv_dropdown_set_symbol, "", "(lv.lv_obj)." }, + { "set_text", (void*) &lv_dropdown_set_text, "", "(lv.lv_obj)s" }, }; #endif // BE_LV_WIDGET_DROPDOWN /* `lv_label` methods */ #ifdef BE_LV_WIDGET_LABEL const lvbe_call_c_t lv_label_func[] = { - { "cut_text", (void*) &lv_label_cut_text, "", "(lv_obj)ii" }, - { "get_letter_on", (void*) &lv_label_get_letter_on, "i", "(lv_obj)(lv_point)" }, - { "get_letter_pos", (void*) &lv_label_get_letter_pos, "", "(lv_obj)i(lv_point)" }, - { "get_long_mode", (void*) &lv_label_get_long_mode, "i", "(lv_obj)" }, - { "get_recolor", (void*) &lv_label_get_recolor, "b", "(lv_obj)" }, - { "get_text", (void*) &lv_label_get_text, "s", "(lv_obj)" }, - { "get_text_selection_end", (void*) &lv_label_get_text_selection_end, "i", "(lv_obj)" }, - { "get_text_selection_start", (void*) &lv_label_get_text_selection_start, "i", "(lv_obj)" }, - { "ins_text", (void*) &lv_label_ins_text, "", "(lv_obj)is" }, - { "is_char_under_pos", (void*) &lv_label_is_char_under_pos, "b", "(lv_obj)(lv_point)" }, - { "set_long_mode", (void*) &lv_label_set_long_mode, "", "(lv_obj)i" }, - { "set_recolor", (void*) &lv_label_set_recolor, "", "(lv_obj)b" }, - { "set_text", (void*) &lv_label_set_text, "", "(lv_obj)s" }, - { "set_text_fmt", (void*) &lv_label_set_text_fmt, "", "(lv_obj)s" }, - { "set_text_sel_end", (void*) &lv_label_set_text_sel_end, "", "(lv_obj)i" }, - { "set_text_sel_start", (void*) &lv_label_set_text_sel_start, "", "(lv_obj)i" }, - { "set_text_static", (void*) &lv_label_set_text_static, "", "(lv_obj)s" }, + { "cut_text", (void*) &lv_label_cut_text, "", "(lv.lv_obj)ii" }, + { "get_letter_on", (void*) &lv_label_get_letter_on, "i", "(lv.lv_obj)(lv.lv_point)" }, + { "get_letter_pos", (void*) &lv_label_get_letter_pos, "", "(lv.lv_obj)i(lv.lv_point)" }, + { "get_long_mode", (void*) &lv_label_get_long_mode, "i", "(lv.lv_obj)" }, + { "get_recolor", (void*) &lv_label_get_recolor, "b", "(lv.lv_obj)" }, + { "get_text", (void*) &lv_label_get_text, "s", "(lv.lv_obj)" }, + { "get_text_selection_end", (void*) &lv_label_get_text_selection_end, "i", "(lv.lv_obj)" }, + { "get_text_selection_start", (void*) &lv_label_get_text_selection_start, "i", "(lv.lv_obj)" }, + { "ins_text", (void*) &lv_label_ins_text, "", "(lv.lv_obj)is" }, + { "is_char_under_pos", (void*) &lv_label_is_char_under_pos, "b", "(lv.lv_obj)(lv.lv_point)" }, + { "set_long_mode", (void*) &lv_label_set_long_mode, "", "(lv.lv_obj)i" }, + { "set_recolor", (void*) &lv_label_set_recolor, "", "(lv.lv_obj)b" }, + { "set_text", (void*) &lv_label_set_text, "", "(lv.lv_obj)s" }, + { "set_text_fmt", (void*) &lv_label_set_text_fmt, "", "(lv.lv_obj)s" }, + { "set_text_sel_end", (void*) &lv_label_set_text_sel_end, "", "(lv.lv_obj)i" }, + { "set_text_sel_start", (void*) &lv_label_set_text_sel_start, "", "(lv.lv_obj)i" }, + { "set_text_static", (void*) &lv_label_set_text_static, "", "(lv.lv_obj)s" }, }; #endif // BE_LV_WIDGET_LABEL /* `lv_line` methods */ #ifdef BE_LV_WIDGET_LINE const lvbe_call_c_t lv_line_func[] = { - { "get_y_invert", (void*) &lv_line_get_y_invert, "b", "(lv_obj)" }, - { "set_points", (void*) &lv_line_set_points, "", "(lv_obj)ii" }, - { "set_y_invert", (void*) &lv_line_set_y_invert, "", "(lv_obj)b" }, + { "get_y_invert", (void*) &lv_line_get_y_invert, "b", "(lv.lv_obj)" }, + { "set_points", (void*) &lv_line_set_points, "", "(lv.lv_obj)ii" }, + { "set_y_invert", (void*) &lv_line_set_y_invert, "", "(lv.lv_obj)b" }, }; #endif // BE_LV_WIDGET_LINE /* `lv_roller` methods */ #ifdef BE_LV_WIDGET_ROLLER const lvbe_call_c_t lv_roller_func[] = { - { "get_option_cnt", (void*) &lv_roller_get_option_cnt, "i", "(lv_obj)" }, - { "get_options", (void*) &lv_roller_get_options, "s", "(lv_obj)" }, - { "get_selected", (void*) &lv_roller_get_selected, "i", "(lv_obj)" }, - { "get_selected_str", (void*) &lv_roller_get_selected_str, "", "(lv_obj)si" }, - { "set_options", (void*) &lv_roller_set_options, "", "(lv_obj)s(lv_roller_mode)" }, - { "set_selected", (void*) &lv_roller_set_selected, "", "(lv_obj)i(lv_anim_enable)" }, - { "set_visible_row_count", (void*) &lv_roller_set_visible_row_count, "", "(lv_obj)i" }, + { "get_option_cnt", (void*) &lv_roller_get_option_cnt, "i", "(lv.lv_obj)" }, + { "get_options", (void*) &lv_roller_get_options, "s", "(lv.lv_obj)" }, + { "get_selected", (void*) &lv_roller_get_selected, "i", "(lv.lv_obj)" }, + { "get_selected_str", (void*) &lv_roller_get_selected_str, "", "(lv.lv_obj)si" }, + { "set_options", (void*) &lv_roller_set_options, "", "(lv.lv_obj)s(lv.lv_roller_mode)" }, + { "set_selected", (void*) &lv_roller_set_selected, "", "(lv.lv_obj)i(lv.lv_anim_enable)" }, + { "set_visible_row_count", (void*) &lv_roller_set_visible_row_count, "", "(lv.lv_obj)i" }, }; #endif // BE_LV_WIDGET_ROLLER /* `lv_slider` methods */ #ifdef BE_LV_WIDGET_SLIDER const lvbe_call_c_t lv_slider_func[] = { - { "get_left_value", (void*) &lv_slider_get_left_value, "i", "(lv_obj)" }, - { "get_max_value", (void*) &lv_slider_get_max_value, "i", "(lv_obj)" }, - { "get_min_value", (void*) &lv_slider_get_min_value, "i", "(lv_obj)" }, - { "get_mode", (void*) &lv_slider_get_mode, "i", "(lv_obj)" }, - { "get_value", (void*) &lv_slider_get_value, "i", "(lv_obj)" }, - { "is_dragged", (void*) &lv_slider_is_dragged, "b", "(lv_obj)" }, - { "set_left_value", (void*) &lv_slider_set_left_value, "", "(lv_obj)i(lv_anim_enable)" }, - { "set_mode", (void*) &lv_slider_set_mode, "", "(lv_obj)i" }, - { "set_range", (void*) &lv_slider_set_range, "", "(lv_obj)ii" }, - { "set_value", (void*) &lv_slider_set_value, "", "(lv_obj)i(lv_anim_enable)" }, + { "get_left_value", (void*) &lv_slider_get_left_value, "i", "(lv.lv_obj)" }, + { "get_max_value", (void*) &lv_slider_get_max_value, "i", "(lv.lv_obj)" }, + { "get_min_value", (void*) &lv_slider_get_min_value, "i", "(lv.lv_obj)" }, + { "get_mode", (void*) &lv_slider_get_mode, "i", "(lv.lv_obj)" }, + { "get_value", (void*) &lv_slider_get_value, "i", "(lv.lv_obj)" }, + { "is_dragged", (void*) &lv_slider_is_dragged, "b", "(lv.lv_obj)" }, + { "set_left_value", (void*) &lv_slider_set_left_value, "", "(lv.lv_obj)i(lv.lv_anim_enable)" }, + { "set_mode", (void*) &lv_slider_set_mode, "", "(lv.lv_obj)i" }, + { "set_range", (void*) &lv_slider_set_range, "", "(lv.lv_obj)ii" }, + { "set_value", (void*) &lv_slider_set_value, "", "(lv.lv_obj)i(lv.lv_anim_enable)" }, }; #endif // BE_LV_WIDGET_SLIDER @@ -775,355 +783,370 @@ const lvbe_call_c_t lv_switch_func[] = { /* `lv_table` methods */ #ifdef BE_LV_WIDGET_TABLE const lvbe_call_c_t lv_table_func[] = { - { "add_cell_ctrl", (void*) &lv_table_add_cell_ctrl, "", "(lv_obj)ii(lv_table_cell_ctrl)" }, - { "clear_cell_ctrl", (void*) &lv_table_clear_cell_ctrl, "", "(lv_obj)ii(lv_table_cell_ctrl)" }, - { "get_cell_value", (void*) &lv_table_get_cell_value, "s", "(lv_obj)ii" }, - { "get_col_cnt", (void*) &lv_table_get_col_cnt, "i", "(lv_obj)" }, - { "get_col_width", (void*) &lv_table_get_col_width, "i", "(lv_obj)i" }, - { "get_row_cnt", (void*) &lv_table_get_row_cnt, "i", "(lv_obj)" }, - { "get_selected_cell", (void*) &lv_table_get_selected_cell, "", "(lv_obj)(uint16)(uint16)" }, - { "has_cell_ctrl", (void*) &lv_table_has_cell_ctrl, "b", "(lv_obj)ii(lv_table_cell_ctrl)" }, - { "set_cell_value", (void*) &lv_table_set_cell_value, "", "(lv_obj)iis" }, - { "set_cell_value_fmt", (void*) &lv_table_set_cell_value_fmt, "", "(lv_obj)iis" }, - { "set_col_cnt", (void*) &lv_table_set_col_cnt, "", "(lv_obj)i" }, - { "set_col_width", (void*) &lv_table_set_col_width, "", "(lv_obj)ii" }, - { "set_row_cnt", (void*) &lv_table_set_row_cnt, "", "(lv_obj)i" }, + { "add_cell_ctrl", (void*) &lv_table_add_cell_ctrl, "", "(lv.lv_obj)ii(lv.lv_table_cell_ctrl)" }, + { "clear_cell_ctrl", (void*) &lv_table_clear_cell_ctrl, "", "(lv.lv_obj)ii(lv.lv_table_cell_ctrl)" }, + { "get_cell_value", (void*) &lv_table_get_cell_value, "s", "(lv.lv_obj)ii" }, + { "get_col_cnt", (void*) &lv_table_get_col_cnt, "i", "(lv.lv_obj)" }, + { "get_col_width", (void*) &lv_table_get_col_width, "i", "(lv.lv_obj)i" }, + { "get_row_cnt", (void*) &lv_table_get_row_cnt, "i", "(lv.lv_obj)" }, + { "get_selected_cell", (void*) &lv_table_get_selected_cell, "", "(lv.lv_obj)(lv.uint16)(lv.uint16)" }, + { "has_cell_ctrl", (void*) &lv_table_has_cell_ctrl, "b", "(lv.lv_obj)ii(lv.lv_table_cell_ctrl)" }, + { "set_cell_value", (void*) &lv_table_set_cell_value, "", "(lv.lv_obj)iis" }, + { "set_cell_value_fmt", (void*) &lv_table_set_cell_value_fmt, "", "(lv.lv_obj)iis" }, + { "set_col_cnt", (void*) &lv_table_set_col_cnt, "", "(lv.lv_obj)i" }, + { "set_col_width", (void*) &lv_table_set_col_width, "", "(lv.lv_obj)ii" }, + { "set_row_cnt", (void*) &lv_table_set_row_cnt, "", "(lv.lv_obj)i" }, }; #endif // BE_LV_WIDGET_TABLE /* `lv_textarea` methods */ #ifdef BE_LV_WIDGET_TEXTAREA const lvbe_call_c_t lv_textarea_func[] = { - { "add_char", (void*) &lv_textarea_add_char, "", "(lv_obj)i" }, - { "add_text", (void*) &lv_textarea_add_text, "", "(lv_obj)s" }, - { "clear_selection", (void*) &lv_textarea_clear_selection, "", "(lv_obj)" }, - { "cursor_down", (void*) &lv_textarea_cursor_down, "", "(lv_obj)" }, - { "cursor_left", (void*) &lv_textarea_cursor_left, "", "(lv_obj)" }, - { "cursor_right", (void*) &lv_textarea_cursor_right, "", "(lv_obj)" }, - { "cursor_up", (void*) &lv_textarea_cursor_up, "", "(lv_obj)" }, - { "del_char", (void*) &lv_textarea_del_char, "", "(lv_obj)" }, - { "del_char_forward", (void*) &lv_textarea_del_char_forward, "", "(lv_obj)" }, - { "get_accepted_chars", (void*) &lv_textarea_get_accepted_chars, "s", "(lv_obj)" }, - { "get_cursor_click_pos", (void*) &lv_textarea_get_cursor_click_pos, "b", "(lv_obj)" }, - { "get_cursor_pos", (void*) &lv_textarea_get_cursor_pos, "i", "(lv_obj)" }, - { "get_label", (void*) &lv_textarea_get_label, "lv_obj", "(lv_obj)" }, - { "get_max_length", (void*) &lv_textarea_get_max_length, "i", "(lv_obj)" }, - { "get_one_line", (void*) &lv_textarea_get_one_line, "b", "(lv_obj)" }, - { "get_password_mode", (void*) &lv_textarea_get_password_mode, "b", "(lv_obj)" }, - { "get_password_show_time", (void*) &lv_textarea_get_password_show_time, "i", "(lv_obj)" }, - { "get_placeholder_text", (void*) &lv_textarea_get_placeholder_text, "s", "(lv_obj)" }, - { "get_text", (void*) &lv_textarea_get_text, "s", "(lv_obj)" }, - { "get_text_selection", (void*) &lv_textarea_get_text_selection, "b", "(lv_obj)" }, - { "set_accepted_chars", (void*) &lv_textarea_set_accepted_chars, "", "(lv_obj)s" }, - { "set_align", (void*) &lv_textarea_set_align, "", "(lv_obj)i" }, - { "set_cursor_click_pos", (void*) &lv_textarea_set_cursor_click_pos, "", "(lv_obj)b" }, - { "set_cursor_pos", (void*) &lv_textarea_set_cursor_pos, "", "(lv_obj)i" }, - { "set_insert_replace", (void*) &lv_textarea_set_insert_replace, "", "(lv_obj)s" }, - { "set_max_length", (void*) &lv_textarea_set_max_length, "", "(lv_obj)i" }, - { "set_one_line", (void*) &lv_textarea_set_one_line, "", "(lv_obj)b" }, - { "set_password_mode", (void*) &lv_textarea_set_password_mode, "", "(lv_obj)b" }, - { "set_password_show_time", (void*) &lv_textarea_set_password_show_time, "", "(lv_obj)i" }, - { "set_placeholder_text", (void*) &lv_textarea_set_placeholder_text, "", "(lv_obj)s" }, - { "set_text", (void*) &lv_textarea_set_text, "", "(lv_obj)s" }, - { "set_text_selection", (void*) &lv_textarea_set_text_selection, "", "(lv_obj)b" }, - { "text_is_selected", (void*) &lv_textarea_text_is_selected, "b", "(lv_obj)" }, + { "add_char", (void*) &lv_textarea_add_char, "", "(lv.lv_obj)i" }, + { "add_text", (void*) &lv_textarea_add_text, "", "(lv.lv_obj)s" }, + { "clear_selection", (void*) &lv_textarea_clear_selection, "", "(lv.lv_obj)" }, + { "cursor_down", (void*) &lv_textarea_cursor_down, "", "(lv.lv_obj)" }, + { "cursor_left", (void*) &lv_textarea_cursor_left, "", "(lv.lv_obj)" }, + { "cursor_right", (void*) &lv_textarea_cursor_right, "", "(lv.lv_obj)" }, + { "cursor_up", (void*) &lv_textarea_cursor_up, "", "(lv.lv_obj)" }, + { "del_char", (void*) &lv_textarea_del_char, "", "(lv.lv_obj)" }, + { "del_char_forward", (void*) &lv_textarea_del_char_forward, "", "(lv.lv_obj)" }, + { "get_accepted_chars", (void*) &lv_textarea_get_accepted_chars, "s", "(lv.lv_obj)" }, + { "get_cursor_click_pos", (void*) &lv_textarea_get_cursor_click_pos, "b", "(lv.lv_obj)" }, + { "get_cursor_pos", (void*) &lv_textarea_get_cursor_pos, "i", "(lv.lv_obj)" }, + { "get_label", (void*) &lv_textarea_get_label, "lv.lv_obj", "(lv.lv_obj)" }, + { "get_max_length", (void*) &lv_textarea_get_max_length, "i", "(lv.lv_obj)" }, + { "get_one_line", (void*) &lv_textarea_get_one_line, "b", "(lv.lv_obj)" }, + { "get_password_mode", (void*) &lv_textarea_get_password_mode, "b", "(lv.lv_obj)" }, + { "get_password_show_time", (void*) &lv_textarea_get_password_show_time, "i", "(lv.lv_obj)" }, + { "get_placeholder_text", (void*) &lv_textarea_get_placeholder_text, "s", "(lv.lv_obj)" }, + { "get_text", (void*) &lv_textarea_get_text, "s", "(lv.lv_obj)" }, + { "get_text_selection", (void*) &lv_textarea_get_text_selection, "b", "(lv.lv_obj)" }, + { "set_accepted_chars", (void*) &lv_textarea_set_accepted_chars, "", "(lv.lv_obj)s" }, + { "set_align", (void*) &lv_textarea_set_align, "", "(lv.lv_obj)i" }, + { "set_cursor_click_pos", (void*) &lv_textarea_set_cursor_click_pos, "", "(lv.lv_obj)b" }, + { "set_cursor_pos", (void*) &lv_textarea_set_cursor_pos, "", "(lv.lv_obj)i" }, + { "set_insert_replace", (void*) &lv_textarea_set_insert_replace, "", "(lv.lv_obj)s" }, + { "set_max_length", (void*) &lv_textarea_set_max_length, "", "(lv.lv_obj)i" }, + { "set_one_line", (void*) &lv_textarea_set_one_line, "", "(lv.lv_obj)b" }, + { "set_password_mode", (void*) &lv_textarea_set_password_mode, "", "(lv.lv_obj)b" }, + { "set_password_show_time", (void*) &lv_textarea_set_password_show_time, "", "(lv.lv_obj)i" }, + { "set_placeholder_text", (void*) &lv_textarea_set_placeholder_text, "", "(lv.lv_obj)s" }, + { "set_text", (void*) &lv_textarea_set_text, "", "(lv.lv_obj)s" }, + { "set_text_selection", (void*) &lv_textarea_set_text_selection, "", "(lv.lv_obj)b" }, + { "text_is_selected", (void*) &lv_textarea_text_is_selected, "b", "(lv.lv_obj)" }, }; #endif // BE_LV_WIDGET_TEXTAREA +extern const bclass be_class_lv_arc; +extern const bclass be_class_lv_bar; +extern const bclass be_class_lv_btn; +extern const bclass be_class_lv_btnmatrix; +extern const bclass be_class_lv_canvas; +extern const bclass be_class_lv_chart; +extern const bclass be_class_lv_checkbox; +extern const bclass be_class_lv_color; +extern const bclass be_class_lv_colorwheel; +extern const bclass be_class_lv_dropdown; +extern const bclass be_class_lv_font; +extern const bclass be_class_lv_group; +extern const bclass be_class_lv_img; +extern const bclass be_class_lv_imgbtn; +extern const bclass be_class_lv_indev; +extern const bclass be_class_lv_label; +extern const bclass be_class_lv_led; +extern const bclass be_class_lv_line; +extern const bclass be_class_lv_meter; +extern const bclass be_class_lv_msgbox; +extern const bclass be_class_lv_obj; +extern const bclass be_class_lv_roller; +extern const bclass be_class_lv_slider; +extern const bclass be_class_lv_spinbox; +extern const bclass be_class_lv_style; +extern const bclass be_class_lv_switch; +extern const bclass be_class_lv_table; +extern const bclass be_class_lv_textarea; + // map of clases const lvbe_call_c_classes_t lv_classes[] = { #ifdef BE_LV_WIDGET_ARC - { "lv_arc", lv_arc_func, sizeof(lv_arc_func) / sizeof(lv_arc_func[0]) }, + { "lv_arc", &be_class_lv_arc, lv_arc_func, sizeof(lv_arc_func) / sizeof(lv_arc_func[0]) }, #endif // BE_LV_WIDGET_ARC #ifdef BE_LV_WIDGET_BAR - { "lv_bar", lv_bar_func, sizeof(lv_bar_func) / sizeof(lv_bar_func[0]) }, + { "lv_bar", &be_class_lv_bar, lv_bar_func, sizeof(lv_bar_func) / sizeof(lv_bar_func[0]) }, #endif // BE_LV_WIDGET_BAR #ifdef BE_LV_WIDGET_BTN - { "lv_btn", lv_btn_func, sizeof(lv_btn_func) / sizeof(lv_btn_func[0]) }, + { "lv_btn", &be_class_lv_btn, lv_btn_func, sizeof(lv_btn_func) / sizeof(lv_btn_func[0]) }, #endif // BE_LV_WIDGET_BTN #ifdef BE_LV_WIDGET_BTNMATRIX - { "lv_btnmatrix", lv_btnmatrix_func, sizeof(lv_btnmatrix_func) / sizeof(lv_btnmatrix_func[0]) }, + { "lv_btnmatrix", &be_class_lv_btnmatrix, lv_btnmatrix_func, sizeof(lv_btnmatrix_func) / sizeof(lv_btnmatrix_func[0]) }, #endif // BE_LV_WIDGET_BTNMATRIX #ifdef BE_LV_WIDGET_CANVAS - { "lv_canvas", lv_canvas_func, sizeof(lv_canvas_func) / sizeof(lv_canvas_func[0]) }, + { "lv_canvas", &be_class_lv_canvas, lv_canvas_func, sizeof(lv_canvas_func) / sizeof(lv_canvas_func[0]) }, #endif // BE_LV_WIDGET_CANVAS #ifdef BE_LV_WIDGET_CHART - { "lv_chart", lv_chart_func, sizeof(lv_chart_func) / sizeof(lv_chart_func[0]) }, + { "lv_chart", &be_class_lv_chart, lv_chart_func, sizeof(lv_chart_func) / sizeof(lv_chart_func[0]) }, #endif // BE_LV_WIDGET_CHART #ifdef BE_LV_WIDGET_CHECKBOX - { "lv_checkbox", lv_checkbox_func, sizeof(lv_checkbox_func) / sizeof(lv_checkbox_func[0]) }, + { "lv_checkbox", &be_class_lv_checkbox, lv_checkbox_func, sizeof(lv_checkbox_func) / sizeof(lv_checkbox_func[0]) }, #endif // BE_LV_WIDGET_CHECKBOX + { "lv_color", &be_class_lv_color, lv_color_func, sizeof(lv_color_func) / sizeof(lv_color_func[0]) }, #ifdef BE_LV_WIDGET_COLORWHEEL - { "lv_colorwheel", lv_colorwheel_func, sizeof(lv_colorwheel_func) / sizeof(lv_colorwheel_func[0]) }, + { "lv_colorwheel", &be_class_lv_colorwheel, lv_colorwheel_func, sizeof(lv_colorwheel_func) / sizeof(lv_colorwheel_func[0]) }, #endif // BE_LV_WIDGET_COLORWHEEL #ifdef BE_LV_WIDGET_DROPDOWN - { "lv_dropdown", lv_dropdown_func, sizeof(lv_dropdown_func) / sizeof(lv_dropdown_func[0]) }, + { "lv_dropdown", &be_class_lv_dropdown, lv_dropdown_func, sizeof(lv_dropdown_func) / sizeof(lv_dropdown_func[0]) }, #endif // BE_LV_WIDGET_DROPDOWN - { "lv_group", lv_group_func, sizeof(lv_group_func) / sizeof(lv_group_func[0]) }, + { "lv_font", &be_class_lv_font, lv_font_func, sizeof(lv_font_func) / sizeof(lv_font_func[0]) }, + { "lv_group", &be_class_lv_group, lv_group_func, sizeof(lv_group_func) / sizeof(lv_group_func[0]) }, #ifdef BE_LV_WIDGET_IMG - { "lv_img", lv_img_func, sizeof(lv_img_func) / sizeof(lv_img_func[0]) }, + { "lv_img", &be_class_lv_img, lv_img_func, sizeof(lv_img_func) / sizeof(lv_img_func[0]) }, #endif // BE_LV_WIDGET_IMG #ifdef BE_LV_WIDGET_IMGBTN - { "lv_imgbtn", lv_imgbtn_func, sizeof(lv_imgbtn_func) / sizeof(lv_imgbtn_func[0]) }, + { "lv_imgbtn", &be_class_lv_imgbtn, lv_imgbtn_func, sizeof(lv_imgbtn_func) / sizeof(lv_imgbtn_func[0]) }, #endif // BE_LV_WIDGET_IMGBTN - { "lv_indev", lv_indev_func, sizeof(lv_indev_func) / sizeof(lv_indev_func[0]) }, + { "lv_indev", &be_class_lv_indev, lv_indev_func, sizeof(lv_indev_func) / sizeof(lv_indev_func[0]) }, #ifdef BE_LV_WIDGET_LABEL - { "lv_label", lv_label_func, sizeof(lv_label_func) / sizeof(lv_label_func[0]) }, + { "lv_label", &be_class_lv_label, lv_label_func, sizeof(lv_label_func) / sizeof(lv_label_func[0]) }, #endif // BE_LV_WIDGET_LABEL #ifdef BE_LV_WIDGET_LED - { "lv_led", lv_led_func, sizeof(lv_led_func) / sizeof(lv_led_func[0]) }, + { "lv_led", &be_class_lv_led, lv_led_func, sizeof(lv_led_func) / sizeof(lv_led_func[0]) }, #endif // BE_LV_WIDGET_LED #ifdef BE_LV_WIDGET_LINE - { "lv_line", lv_line_func, sizeof(lv_line_func) / sizeof(lv_line_func[0]) }, + { "lv_line", &be_class_lv_line, lv_line_func, sizeof(lv_line_func) / sizeof(lv_line_func[0]) }, #endif // BE_LV_WIDGET_LINE #ifdef BE_LV_WIDGET_METER - { "lv_meter", lv_meter_func, sizeof(lv_meter_func) / sizeof(lv_meter_func[0]) }, + { "lv_meter", &be_class_lv_meter, lv_meter_func, sizeof(lv_meter_func) / sizeof(lv_meter_func[0]) }, #endif // BE_LV_WIDGET_METER #ifdef BE_LV_WIDGET_MSGBOX - { "lv_msgbox", lv_msgbox_func, sizeof(lv_msgbox_func) / sizeof(lv_msgbox_func[0]) }, + { "lv_msgbox", &be_class_lv_msgbox, lv_msgbox_func, sizeof(lv_msgbox_func) / sizeof(lv_msgbox_func[0]) }, #endif // BE_LV_WIDGET_MSGBOX - { "lv_obj", lv_obj_func, sizeof(lv_obj_func) / sizeof(lv_obj_func[0]) }, + { "lv_obj", &be_class_lv_obj, lv_obj_func, sizeof(lv_obj_func) / sizeof(lv_obj_func[0]) }, #ifdef BE_LV_WIDGET_ROLLER - { "lv_roller", lv_roller_func, sizeof(lv_roller_func) / sizeof(lv_roller_func[0]) }, + { "lv_roller", &be_class_lv_roller, lv_roller_func, sizeof(lv_roller_func) / sizeof(lv_roller_func[0]) }, #endif // BE_LV_WIDGET_ROLLER #ifdef BE_LV_WIDGET_SLIDER - { "lv_slider", lv_slider_func, sizeof(lv_slider_func) / sizeof(lv_slider_func[0]) }, + { "lv_slider", &be_class_lv_slider, lv_slider_func, sizeof(lv_slider_func) / sizeof(lv_slider_func[0]) }, #endif // BE_LV_WIDGET_SLIDER #ifdef BE_LV_WIDGET_SPINBOX - { "lv_spinbox", lv_spinbox_func, sizeof(lv_spinbox_func) / sizeof(lv_spinbox_func[0]) }, + { "lv_spinbox", &be_class_lv_spinbox, lv_spinbox_func, sizeof(lv_spinbox_func) / sizeof(lv_spinbox_func[0]) }, #endif // BE_LV_WIDGET_SPINBOX - { "lv_style", lv_style_func, sizeof(lv_style_func) / sizeof(lv_style_func[0]) }, + { "lv_style", &be_class_lv_style, lv_style_func, sizeof(lv_style_func) / sizeof(lv_style_func[0]) }, #ifdef BE_LV_WIDGET_SWITCH - { "lv_switch", lv_switch_func, sizeof(lv_switch_func) / sizeof(lv_switch_func[0]) }, + { "lv_switch", &be_class_lv_switch, lv_switch_func, sizeof(lv_switch_func) / sizeof(lv_switch_func[0]) }, #endif // BE_LV_WIDGET_SWITCH #ifdef BE_LV_WIDGET_TABLE - { "lv_table", lv_table_func, sizeof(lv_table_func) / sizeof(lv_table_func[0]) }, + { "lv_table", &be_class_lv_table, lv_table_func, sizeof(lv_table_func) / sizeof(lv_table_func[0]) }, #endif // BE_LV_WIDGET_TABLE #ifdef BE_LV_WIDGET_TEXTAREA - { "lv_textarea", lv_textarea_func, sizeof(lv_textarea_func) / sizeof(lv_textarea_func[0]) }, + { "lv_textarea", &be_class_lv_textarea, lv_textarea_func, sizeof(lv_textarea_func) / sizeof(lv_textarea_func[0]) }, #endif // BE_LV_WIDGET_TEXTAREA }; const size_t lv_classes_size = sizeof(lv_classes) / sizeof(lv_classes[0]); /* `lv_style` methods */ - + /* `lv_font` methods */ + /* `lv_color` methods */ /* `lv_img` methods */ #ifdef BE_LV_WIDGET_IMG - int lvbe_img_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_img_create, "+lv_img", "(lv_obj)"); } + int be_ntv_lv_img_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_img_create, "+lv.lv_img", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_IMG - /* `lv_obj` methods */ - int lvbe_obj_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_obj_create, "+lv_obj", "(lv_obj)"); } - + int be_ntv_lv_obj_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_obj_create, "+lv.lv_obj", "(lv.lv_obj)"); } /* `lv_group` methods */ - int lvbe_group_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_group_create, "+lv_group", ""); } - + int be_ntv_lv_group_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_group_create, "+lv.lv_group", ""); } /* `lv_indev` methods */ - /* `lv_chart` methods */ #ifdef BE_LV_WIDGET_CHART - int lvbe_chart_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_chart_create, "+lv_chart", "(lv_obj)"); } + int be_ntv_lv_chart_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_chart_create, "+lv.lv_chart", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_CHART - /* `lv_colorwheel` methods */ #ifdef BE_LV_WIDGET_COLORWHEEL - int lvbe_colorwheel_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_colorwheel_create, "+lv_colorwheel", "(lv_obj)b"); } + int be_ntv_lv_colorwheel_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_colorwheel_create, "+lv.lv_colorwheel", "(lv.lv_obj)b"); } #endif // BE_LV_WIDGET_COLORWHEEL - /* `lv_imgbtn` methods */ #ifdef BE_LV_WIDGET_IMGBTN - int lvbe_imgbtn_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_imgbtn_create, "+lv_imgbtn", "(lv_obj)"); } + int be_ntv_lv_imgbtn_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_imgbtn_create, "+lv.lv_imgbtn", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_IMGBTN - /* `lv_led` methods */ #ifdef BE_LV_WIDGET_LED - int lvbe_led_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_led_create, "+lv_led", "(lv_obj)"); } + int be_ntv_lv_led_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_led_create, "+lv.lv_led", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_LED - /* `lv_meter` methods */ #ifdef BE_LV_WIDGET_METER - int lvbe_meter_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_meter_create, "+lv_meter", "(lv_obj)"); } + int be_ntv_lv_meter_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_meter_create, "+lv.lv_meter", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_METER - /* `lv_msgbox` methods */ #ifdef BE_LV_WIDGET_MSGBOX - int lvbe_msgbox_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_msgbox_create, "+lv_msgbox", "(lv_obj)sssb"); } + int be_ntv_lv_msgbox_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_msgbox_create, "+lv.lv_msgbox", "(lv.lv_obj)sssb"); } #endif // BE_LV_WIDGET_MSGBOX - /* `lv_spinbox` methods */ #ifdef BE_LV_WIDGET_SPINBOX - int lvbe_spinbox_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_spinbox_create, "+lv_spinbox", "(lv_obj)"); } + int be_ntv_lv_spinbox_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_spinbox_create, "+lv.lv_spinbox", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_SPINBOX - /* `lv_arc` methods */ #ifdef BE_LV_WIDGET_ARC - int lvbe_arc_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_arc_create, "+lv_arc", "(lv_obj)"); } + int be_ntv_lv_arc_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_arc_create, "+lv.lv_arc", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_ARC - /* `lv_bar` methods */ #ifdef BE_LV_WIDGET_BAR - int lvbe_bar_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_bar_create, "+lv_bar", "(lv_obj)"); } + int be_ntv_lv_bar_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_bar_create, "+lv.lv_bar", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_BAR - /* `lv_btn` methods */ #ifdef BE_LV_WIDGET_BTN - int lvbe_btn_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_btn_create, "+lv_btn", "(lv_obj)"); } + int be_ntv_lv_btn_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_btn_create, "+lv.lv_btn", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_BTN - /* `lv_btnmatrix` methods */ #ifdef BE_LV_WIDGET_BTNMATRIX - int lvbe_btnmatrix_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_btnmatrix_create, "+lv_btnmatrix", "(lv_obj)"); } + int be_ntv_lv_btnmatrix_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_btnmatrix_create, "+lv.lv_btnmatrix", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_BTNMATRIX - /* `lv_canvas` methods */ #ifdef BE_LV_WIDGET_CANVAS - int lvbe_canvas_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_canvas_create, "+lv_canvas", "(lv_obj)"); } + int be_ntv_lv_canvas_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_canvas_create, "+lv.lv_canvas", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_CANVAS - /* `lv_checkbox` methods */ #ifdef BE_LV_WIDGET_CHECKBOX - int lvbe_checkbox_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_checkbox_create, "+lv_checkbox", "(lv_obj)"); } + int be_ntv_lv_checkbox_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_checkbox_create, "+lv.lv_checkbox", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_CHECKBOX - /* `lv_dropdown` methods */ #ifdef BE_LV_WIDGET_DROPDOWN - int lvbe_dropdown_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_dropdown_create, "+lv_dropdown", "(lv_obj)"); } + int be_ntv_lv_dropdown_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_dropdown_create, "+lv.lv_dropdown", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_DROPDOWN - /* `lv_label` methods */ #ifdef BE_LV_WIDGET_LABEL - int lvbe_label_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_label_create, "+lv_label", "(lv_obj)"); } + int be_ntv_lv_label_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_label_create, "+lv.lv_label", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_LABEL - /* `lv_line` methods */ #ifdef BE_LV_WIDGET_LINE - int lvbe_line_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_line_create, "+lv_line", "(lv_obj)"); } + int be_ntv_lv_line_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_line_create, "+lv.lv_line", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_LINE - /* `lv_roller` methods */ #ifdef BE_LV_WIDGET_ROLLER - int lvbe_roller_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_roller_create, "+lv_roller", "(lv_obj)"); } + int be_ntv_lv_roller_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_roller_create, "+lv.lv_roller", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_ROLLER - /* `lv_slider` methods */ #ifdef BE_LV_WIDGET_SLIDER - int lvbe_slider_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_slider_create, "+lv_slider", "(lv_obj)"); } + int be_ntv_lv_slider_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_slider_create, "+lv.lv_slider", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_SLIDER - /* `lv_switch` methods */ #ifdef BE_LV_WIDGET_SWITCH - int lvbe_switch_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_switch_create, "+lv_switch", "(lv_obj)"); } + int be_ntv_lv_switch_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_switch_create, "+lv.lv_switch", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_SWITCH - /* `lv_table` methods */ #ifdef BE_LV_WIDGET_TABLE - int lvbe_table_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_table_create, "+lv_table", "(lv_obj)"); } + int be_ntv_lv_table_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_table_create, "+lv.lv_table", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_TABLE - /* `lv_textarea` methods */ #ifdef BE_LV_WIDGET_TEXTAREA - int lvbe_textarea_create(bvm *vm) { return be_call_c_func(vm, (void*) &lv_textarea_create, "+lv_textarea", "(lv_obj)"); } + int be_ntv_lv_textarea_init(bvm *vm) { return be_call_c_func(vm, (void*) &lv_textarea_create, "+lv.lv_textarea", "(lv.lv_obj)"); } #endif // BE_LV_WIDGET_TEXTAREA +// create font either empty or from parameter on stack +int lvbe_font_create(bvm *vm) { return be_call_c_func(vm, NULL, "+lv_group", ""); } - extern void be_load_lv_style_lib(bvm *vm); - extern void be_load_lv_img_lib(bvm *vm); - extern void be_load_lv_obj_lib(bvm *vm); - extern void be_load_lv_group_lib(bvm *vm); - extern void be_load_lv_indev_lib(bvm *vm); - extern void be_load_lv_chart_lib(bvm *vm); - extern void be_load_lv_colorwheel_lib(bvm *vm); - extern void be_load_lv_imgbtn_lib(bvm *vm); - extern void be_load_lv_led_lib(bvm *vm); - extern void be_load_lv_meter_lib(bvm *vm); - extern void be_load_lv_msgbox_lib(bvm *vm); - extern void be_load_lv_spinbox_lib(bvm *vm); - extern void be_load_lv_arc_lib(bvm *vm); - extern void be_load_lv_bar_lib(bvm *vm); - extern void be_load_lv_btn_lib(bvm *vm); - extern void be_load_lv_btnmatrix_lib(bvm *vm); - extern void be_load_lv_canvas_lib(bvm *vm); - extern void be_load_lv_checkbox_lib(bvm *vm); - extern void be_load_lv_dropdown_lib(bvm *vm); - extern void be_load_lv_label_lib(bvm *vm); - extern void be_load_lv_line_lib(bvm *vm); - extern void be_load_lv_roller_lib(bvm *vm); - extern void be_load_lv_slider_lib(bvm *vm); - extern void be_load_lv_switch_lib(bvm *vm); - extern void be_load_lv_table_lib(bvm *vm); - extern void be_load_lv_textarea_lib(bvm *vm); + + extern void be_load_lv_style_class(bvm *vm); + extern void be_load_lv_font_class(bvm *vm); + extern void be_load_lv_color_class(bvm *vm); + extern void be_load_lv_img_class(bvm *vm); + extern void be_load_lv_obj_class(bvm *vm); + extern void be_load_lv_group_class(bvm *vm); + extern void be_load_lv_indev_class(bvm *vm); + extern void be_load_lv_chart_class(bvm *vm); + extern void be_load_lv_colorwheel_class(bvm *vm); + extern void be_load_lv_imgbtn_class(bvm *vm); + extern void be_load_lv_led_class(bvm *vm); + extern void be_load_lv_meter_class(bvm *vm); + extern void be_load_lv_msgbox_class(bvm *vm); + extern void be_load_lv_spinbox_class(bvm *vm); + extern void be_load_lv_arc_class(bvm *vm); + extern void be_load_lv_bar_class(bvm *vm); + extern void be_load_lv_btn_class(bvm *vm); + extern void be_load_lv_btnmatrix_class(bvm *vm); + extern void be_load_lv_canvas_class(bvm *vm); + extern void be_load_lv_checkbox_class(bvm *vm); + extern void be_load_lv_dropdown_class(bvm *vm); + extern void be_load_lv_label_class(bvm *vm); + extern void be_load_lv_line_class(bvm *vm); + extern void be_load_lv_roller_class(bvm *vm); + extern void be_load_lv_slider_class(bvm *vm); + extern void be_load_lv_switch_class(bvm *vm); + extern void be_load_lv_table_class(bvm *vm); + extern void be_load_lv_textarea_class(bvm *vm); void be_load_lv_all_lib(bvm *vm) { - be_load_lv_style_lib(vm); + be_load_lv_style_class(vm); + be_load_lv_font_class(vm); + be_load_lv_color_class(vm); #ifdef BE_LV_WIDGET_IMG - be_load_lv_img_lib(vm); + be_load_lv_img_class(vm); #endif - be_load_lv_obj_lib(vm); - be_load_lv_group_lib(vm); - be_load_lv_indev_lib(vm); + be_load_lv_obj_class(vm); + be_load_lv_group_class(vm); + be_load_lv_indev_class(vm); #ifdef BE_LV_WIDGET_CHART - be_load_lv_chart_lib(vm); + be_load_lv_chart_class(vm); #endif #ifdef BE_LV_WIDGET_COLORWHEEL - be_load_lv_colorwheel_lib(vm); + be_load_lv_colorwheel_class(vm); #endif #ifdef BE_LV_WIDGET_IMGBTN - be_load_lv_imgbtn_lib(vm); + be_load_lv_imgbtn_class(vm); #endif #ifdef BE_LV_WIDGET_LED - be_load_lv_led_lib(vm); + be_load_lv_led_class(vm); #endif #ifdef BE_LV_WIDGET_METER - be_load_lv_meter_lib(vm); + be_load_lv_meter_class(vm); #endif #ifdef BE_LV_WIDGET_MSGBOX - be_load_lv_msgbox_lib(vm); + be_load_lv_msgbox_class(vm); #endif #ifdef BE_LV_WIDGET_SPINBOX - be_load_lv_spinbox_lib(vm); + be_load_lv_spinbox_class(vm); #endif #ifdef BE_LV_WIDGET_ARC - be_load_lv_arc_lib(vm); + be_load_lv_arc_class(vm); #endif #ifdef BE_LV_WIDGET_BAR - be_load_lv_bar_lib(vm); + be_load_lv_bar_class(vm); #endif #ifdef BE_LV_WIDGET_BTN - be_load_lv_btn_lib(vm); + be_load_lv_btn_class(vm); #endif #ifdef BE_LV_WIDGET_BTNMATRIX - be_load_lv_btnmatrix_lib(vm); + be_load_lv_btnmatrix_class(vm); #endif #ifdef BE_LV_WIDGET_CANVAS - be_load_lv_canvas_lib(vm); + be_load_lv_canvas_class(vm); #endif #ifdef BE_LV_WIDGET_CHECKBOX - be_load_lv_checkbox_lib(vm); + be_load_lv_checkbox_class(vm); #endif #ifdef BE_LV_WIDGET_DROPDOWN - be_load_lv_dropdown_lib(vm); + be_load_lv_dropdown_class(vm); #endif #ifdef BE_LV_WIDGET_LABEL - be_load_lv_label_lib(vm); + be_load_lv_label_class(vm); #endif #ifdef BE_LV_WIDGET_LINE - be_load_lv_line_lib(vm); + be_load_lv_line_class(vm); #endif #ifdef BE_LV_WIDGET_ROLLER - be_load_lv_roller_lib(vm); + be_load_lv_roller_class(vm); #endif #ifdef BE_LV_WIDGET_SLIDER - be_load_lv_slider_lib(vm); + be_load_lv_slider_class(vm); #endif #ifdef BE_LV_WIDGET_SWITCH - be_load_lv_switch_lib(vm); + be_load_lv_switch_class(vm); #endif #ifdef BE_LV_WIDGET_TABLE - be_load_lv_table_lib(vm); + be_load_lv_table_class(vm); #endif #ifdef BE_LV_WIDGET_TEXTAREA - be_load_lv_textarea_lib(vm); + be_load_lv_textarea_class(vm); #endif }; #ifdef __cplusplus diff --git a/tasmota/xdrv_52_2_berry_native.ino b/tasmota/xdrv_52_2_berry_native.ino index b1c37d9e9..6d8cf0f54 100644 --- a/tasmota/xdrv_52_2_berry_native.ino +++ b/tasmota/xdrv_52_2_berry_native.ino @@ -179,6 +179,37 @@ extern "C" { be_pop(vm, 3); // stack = instance } + extern void berry_log_C(const char * berry_buf, ...); + // Create a class given a global name or a name within a module + // Case 1: (no dot in name) `lv_wifi_bars` will look for a global variable `lv_wifi_bars` + // Case 2: (dot in name) `lvgl.lv_obj` will import `lvgl` and look for `lv_obj` within this module + // returns true if successful and result is top of stack, or false if not found and `nil` is at top of stack + bbool be_find_class(bvm *vm, const char * cl_name); + bbool be_find_class(bvm *vm, const char * cl_name) { + char *saveptr; + bbool ret = false; + + if (cl_name == NULL) { + be_pushnil(vm); + return ret; + } + // berry_log_C(">> be_find_class %s", cl_name); + char cl_name_buf[strlen(cl_name)+1]; + strcpy(cl_name_buf, cl_name); + + char * prefix = strtok_r(cl_name_buf, ".", &saveptr); + char * suffix = strtok_r(NULL, ".", &saveptr); + if (suffix) { + // berry_log_C(">> be_find_class %s - %s", prefix, suffix); + be_getmodule(vm, prefix); + ret = be_getmember(vm, -1, suffix); + // berry_log_C(">> be_find_class ret=%i", ret); + be_remove(vm, -2); + } else { + ret = be_getglobal(vm, prefix); + } + return ret; + } } /*********************************************************************************************\ @@ -189,6 +220,9 @@ extern "C" { // binary search within an array of sorted strings // the first 4 bytes are a pointer to a string // returns 0..total_elements-1 or -1 if not found +// +// This version skips the first character of the string if it's not a letter, +// the first character is used to indicate the type of the value associated to the key extern "C" { int32_t bin_search(const char * needle, const void * table, size_t elt_size, size_t total_elements); int32_t bin_search(const char * needle, const void * table, size_t elt_size, size_t total_elements) { @@ -198,6 +232,10 @@ extern "C" { // start a dissect while (low <= high) { const char * elt = *(const char **) ( ((uint8_t*)table) + mid * elt_size ); + char first_char = elt[0]; + if ( !(first_char >= 'a' && first_char <='z') && !(first_char >= 'A' && first_char <='Z') ) { + elt++; // skip first char + } int32_t comp = strcmp(needle, elt); if (comp < 0) { high = mid - 1; @@ -315,6 +353,7 @@ extern "C" { #define LV_OBJ_CLASS "lv_obj" +#define LV_MODULE "lvgl" // name of the lvgl module /*********************************************************************************************\ * Automatically parse Berry stack and call the C function accordingly @@ -430,7 +469,7 @@ int32_t be_convert_single_elt(bvm *vm, int32_t idx, const char * arg_type = null if (arg_type_len > 1) { // Check type be_classof(vm, idx); - bool class_found = be_getglobal(vm, arg_type); + bool class_found = be_find_class(vm, arg_type); // Stack: class_of_idx, class_of_target (or nil) if (class_found) { if (!be_isderived(vm, -2)) { diff --git a/tasmota/xdrv_52_3_berry_lvgl.ino b/tasmota/xdrv_52_3_berry_lvgl.ino index 76747fcb0..41d123672 100644 --- a/tasmota/xdrv_52_3_berry_lvgl.ino +++ b/tasmota/xdrv_52_3_berry_lvgl.ino @@ -24,6 +24,7 @@ #include #include "lvgl.h" #include "be_lvgl.h" +#include "be_ctypes.h" #include "Adafruit_LvGL_Glue.h" #ifdef USE_LVGL_FREETYPE @@ -298,8 +299,8 @@ extern "C" { } be_return(vm); } else { // class name - // AddLog(LOG_LEVEL_INFO, ">> be_call_c_func, create_obj", ret); - be_getglobal(vm, return_type); // stack = class + // AddLog(LOG_LEVEL_INFO, ">> be_call_c_func, create_obj ret=%i return_type=%s", ret, return_type); + be_find_class(vm, return_type); be_pushcomptr(vm, (void*) ret); // stack = class, ptr be_pushcomptr(vm, (void*) -1); // stack = class, ptr, -1 be_call(vm, 2); // instanciate with 2 arguments, stack = instance, -1, ptr @@ -401,7 +402,7 @@ extern "C" { typedef lv_obj_t* (*fn_lvobj__void)(void); // f() -> newly created lv_obj() int lv0_lvobj__void_call(bvm *vm, fn_lvobj__void func) { lv_obj_t * obj = (*func)(); - be_getglobal(vm, LV_OBJ_CLASS); // stack = class + be_find_class(vm, "lv.lv_obj"); be_pushcomptr(vm, (void*) -1); // stack = class, -1 be_pushcomptr(vm, (void*) obj); // stack = class, -1, ptr be_call(vm, 2); // instanciate, stack = instance (don't call init() ) @@ -414,7 +415,7 @@ extern "C" { if (argc == 1 && be_isstring(vm, 1)) { lv_font_t * font = lv_font_load(be_tostring(vm, 1)); if (font != nullptr) { - be_getglobal(vm, "lv_font"); + be_find_class(vm, "lv.lv_font"); be_pushcomptr(vm, font); be_call(vm, 1); be_pop(vm, 1); @@ -438,7 +439,7 @@ extern "C" { lv_font_t * font = info.font; if (font != nullptr) { - be_getglobal(vm, "lv_font"); + be_find_class(vm, "lv.lv_font"); be_pushcomptr(vm, font); be_call(vm, 1); be_pop(vm, 1); @@ -598,7 +599,7 @@ extern "C" { } if (font != nullptr) { - be_getglobal(vm, "lv_font"); + be_find_class(vm, "lv.lv_font"); be_pushcomptr(vm, (void*)font); be_call(vm, 1); be_pop(vm, 1); @@ -632,7 +633,7 @@ extern "C" { } if (font != nullptr) { - be_getglobal(vm, "lv_font"); + be_find_class(vm, "lv.lv_font"); be_pushcomptr(vm, (void*)font); be_call(vm, 1); be_pop(vm, 1); @@ -662,43 +663,79 @@ extern "C" { extern const be_constint_t lv0_constants[]; extern const size_t lv0_constants_size; + extern const be_ctypes_class_by_name_t be_ctypes_lvgl_classes[]; + extern const size_t be_ctypes_lvgl_classes_size; + int lv0_member(bvm *vm); int lv0_member(bvm *vm) { int32_t argc = be_top(vm); // Get the number of arguments if (argc == 1 && be_isstring(vm, 1)) { const char * needle = be_tostring(vm, 1); + int32_t idx; - int32_t constant_idx = bin_search(needle, &lv0_constants[0].name, sizeof(lv0_constants[0]), lv0_constants_size); - - if (constant_idx >= 0) { - // we did have a match, low == high - be_pushint(vm, lv0_constants[constant_idx].value); - be_return(vm); - } else { - // search for a method with this name - - int32_t method_idx = bin_search(needle, &lv_func[0].name, sizeof(lv_func[0]), lv_func_size); - - if (method_idx >= 0) { - const lvbe_call_c_t * method = &lv_func[method_idx]; - // push native closure - be_pushntvclosure(vm, &lvx_call_c, 3); // 3 upvals - - be_pushcomptr(vm, method->func); - be_setupval(vm, -2, 0); - be_pop(vm, 1); - - be_pushstring(vm, method->return_type); - be_setupval(vm, -2, 1); - be_pop(vm, 1); - - be_pushstring(vm, method->arg_type); - be_setupval(vm, -2, 2); - be_pop(vm, 1); - - // all good - be_return(vm); + idx = bin_search(needle, &lv0_constants[0].name, sizeof(lv0_constants[0]), lv0_constants_size); + if (idx >= 0) { + // we did have a match + const char * key = lv0_constants[idx].name; + switch (key[0]) { + // switch depending on the first char of the key, indicating the type + case '$': // string + be_pushstring(vm, (const char*) lv0_constants[idx].value); + break; + case '&': // native function + be_pushntvfunction(vm, (bntvfunc) lv0_constants[idx].value); + break; + default: // int + be_pushint(vm, lv0_constants[idx].value); + break; } + be_return(vm); + } + + // search for a class with this name + char cl_prefixed[32]; + snprintf(cl_prefixed, sizeof(cl_prefixed), "lv_%s", needle); // we try both actual name and prefixed with `lv_` so both `lv.obj` and `lv.lv_obj` work + idx = bin_search(cl_prefixed, &lv_classes[0].name, sizeof(lv_classes[0]), lv_classes_size); + if (idx < 0) { + idx = bin_search(needle, &lv_classes[0].name, sizeof(lv_classes[0]), lv_classes_size); + } + if (idx >= 0) { + // we did have a match + be_pushntvclass(vm, lv_classes[idx].cl); + be_return(vm); + } + // same search for ctypes + idx = bin_search(cl_prefixed, &be_ctypes_lvgl_classes[0].name, sizeof(be_ctypes_lvgl_classes[0]), be_ctypes_lvgl_classes_size); + if (idx < 0) { + idx = bin_search(needle, &be_ctypes_lvgl_classes[0].name, sizeof(be_ctypes_lvgl_classes[0]), be_ctypes_lvgl_classes_size); + } + if (idx >= 0) { + // we did have a match + be_pushntvclass(vm, be_ctypes_lvgl_classes[idx].cl); + be_return(vm); + } + + // search for a method with this name + idx = bin_search(needle, &lv_func[0].name, sizeof(lv_func[0]), lv_func_size); + if (idx >= 0) { + const lvbe_call_c_t * method = &lv_func[idx]; + // push native closure + be_pushntvclosure(vm, &lvx_call_c, 3); // 3 upvals + + be_pushcomptr(vm, method->func); + be_setupval(vm, -2, 0); + be_pop(vm, 1); + + be_pushstring(vm, method->return_type); + be_setupval(vm, -2, 1); + be_pop(vm, 1); + + be_pushstring(vm, method->arg_type); + be_setupval(vm, -2, 2); + be_pop(vm, 1); + + // all good + be_return(vm); } } be_return_nil(vm); @@ -763,7 +800,7 @@ extern "C" { lv_indev_t * indev = lv_indev_drv_register(&lvbe.indev_drv); lvbe.indev_list.addHead(indev); // keep track of indevs - be_getglobal(vm, "lv_indev"); // create an object of class lv_indev with the pointer + be_find_class(vm, "lv.lv_indev"); be_pushint(vm, (int32_t) indev); be_call(vm, 1); be_pop(vm, 1); diff --git a/tasmota/xdrv_52_7_berry_embedded.ino b/tasmota/xdrv_52_7_berry_embedded.ino index 89ca8e98a..afd9cb058 100644 --- a/tasmota/xdrv_52_7_berry_embedded.ino +++ b/tasmota/xdrv_52_7_berry_embedded.ino @@ -91,7 +91,7 @@ const char berry_prog[] = "def load(f) return tasmota.load(f) end " #ifdef USE_LVGL - "import lvgl as lv " + "import lv " // create the '_lvgl' global singleton "_lvgl = LVGL_glob() " diff --git a/tools/lv_berry/convert.py b/tools/lv_berry/convert.py index 43692d010..9e140923e 100644 --- a/tools/lv_berry/convert.py +++ b/tools/lv_berry/convert.py @@ -137,8 +137,10 @@ lv_cb_types = ['lv_group_focus_cb', 'lv_event_cb', ] # list of callback types that will need each a separate C callback -# For LVGL8, need to add synthetic lv_style +# For LVGL8, need to add synthetic lv_style, lv_font, lv_color lv['style'] = [] +lv['font'] = [] +lv['color'] = [] # standard widgets lv_widgets = ['arc', 'bar', 'btn', 'btnmatrix', 'canvas', 'checkbox', @@ -222,7 +224,7 @@ with open(lv_widgets_file) as f: c_args += "^" + ga_type + "^" else: # we have a high-level type that we treat as a class name, enclose in parenthesis - c_args += "(" + ga_type + ")" + c_args += "(" + "lv." + ga_type + ")" # analyze function name and determine if it needs to be assigned to a specific class func_name = g.group(2) @@ -241,8 +243,8 @@ with open(lv_widgets_file) as f: be_name = re.sub("^lv_" + subtype + "_", '', func_name) c_func_name = "lvbe_" + subtype + "_" + be_name if subtype not in lv: lv[subtype] = [] # add entry - is_right_type = c_args.startswith(f"(lv_{subtype})") # check if first arg matches class - is_obj_arg1 = c_args.startswith(f"(lv_obj)") # or first arg is lv_obj + is_right_type = c_args.startswith(f"(lv.lv_{subtype})") # check if first arg matches class + is_obj_arg1 = c_args.startswith(f"(lv.lv_obj)") # or first arg is lv_obj is_group_create = (subtype == 'group') and (func_name == 'lv_group_create') if is_right_type or is_obj_arg1 or is_group_create: lv[subtype].append( [ c_func_name, c_ret, c_args, func_name, be_name ] ) @@ -277,34 +279,16 @@ with open(lv_module_file) as f: if k.startswith("_"): continue # skip any label starting with '_' k = re.sub('^LV_', '', k) # remove remove any LV_ prefix + v = None if len(k_v) == 2: # value is included v = k_v[1] - if k is None or v is None: continue - v_num = try_int(eval(v)) - else: # no value, we use the C value instead - v_num = None - v = None - + if k is None or v is None: continue # we skip if key is void or value is void if not k.isidentifier(): print(f"Error: {k} is not an identifier") continue - - if v_num is not None: - lv_module.append( [k, v_num] ) - else: - lv_module.append( [k, v] ) # keep as string or None -# recursively try to match value -# TODO - -# print(lv) - - #print(f"orig {func_name} berry {c_func_name}") - - #print(g.group(1)) - #print(g.group(2)) - #print(g.group(3)) + lv_module.append( [k, v] ) # keep as string or None sys.stdout = open(out_prefix + be_lv_c_mapping, 'w') @@ -317,7 +301,7 @@ print(""" extern "C" { #endif - +#include "be_ctypes.h" """) for subtype, flv in lv.items(): @@ -334,6 +318,9 @@ for subtype, flv in lv.items(): if c_argc is not None: c_argc = "\"" + c_argc + "\"" orig_func_name = f[3] be_name = f[4] + # if c_ret_type is an object, prefix with `lv.` + if len(c_ret_type) > 1: c_ret_type = "lv." + c_ret_type + if c_func_name.endswith("_create"): pass # c_ret_type = f"+lv_{subtype}" @@ -348,6 +335,11 @@ for subtype, flv in lv.items(): print(f"#endif // BE_LV_WIDGET_{subtype.upper()}") print(f"") +# extern classes +for subtype in sorted(lv): + print(f"extern const bclass be_class_lv_{subtype};"); +print() + # print the global map of classes print(f""" // map of clases @@ -357,7 +349,7 @@ for subtype in sorted(lv): # for subtype, flv in lv.items(): if subtype in lv_widgets: print(f"#ifdef BE_LV_WIDGET_{subtype.upper()}") - print(f" {{ \"lv_{subtype}\", lv_{subtype}_func, sizeof(lv_{subtype}_func) / sizeof(lv_{subtype}_func[0]) }},") + print(f" {{ \"lv_{subtype}\", &be_class_lv_{subtype}, lv_{subtype}_func, sizeof(lv_{subtype}_func) / sizeof(lv_{subtype}_func[0]) }},") if subtype in lv_widgets: print(f"#endif // BE_LV_WIDGET_{subtype.upper()}") @@ -376,18 +368,28 @@ for subtype, flv in lv.items(): c_argc = f[2] if c_argc is not None: c_argc = "\"" + c_argc + "\"" orig_func_name = f[3] + + # if c_ret_type is an object, prefix with `lv.` + if len(c_ret_type) > 1: c_ret_type = "lv." + c_ret_type + if c_func_name.endswith("_create"): - c_ret_type = f"+lv_{subtype}" + c_ret_type = f"+lv.lv_{subtype}" if subtype in lv_widgets: print(f"#ifdef BE_LV_WIDGET_{subtype.upper()}") - print(f" int {c_func_name}(bvm *vm) {{ return be_call_c_func(vm, (void*) &{orig_func_name}, \"{c_ret_type}\", { c_argc if c_argc else 'nullptr'}); }}") - if subtype in lv_widgets: + print(f" int be_ntv_lv_{subtype}_init(bvm *vm) {{ return be_call_c_func(vm, (void*) &{orig_func_name}, \"{c_ret_type}\", { c_argc if c_argc else 'nullptr'}); }}") print(f"#endif // BE_LV_WIDGET_{subtype.upper()}") - print() + else: + print(f" int be_ntv_lv_{subtype}_init(bvm *vm) {{ return be_call_c_func(vm, (void*) &{orig_func_name}, \"{c_ret_type}\", { c_argc if c_argc else 'nullptr'}); }}") + +print(""" +// create font either empty or from parameter on stack +int lvbe_font_create(bvm *vm) { return be_call_c_func(vm, NULL, "+lv_group", ""); } +""") + print() for subtype in lv: - print(f" extern void be_load_lv_{subtype}_lib(bvm *vm);") + print(f" extern void be_load_lv_{subtype}_class(bvm *vm);") print() print(f" void be_load_lv_all_lib(bvm *vm) {{") @@ -395,7 +397,7 @@ for subtype in lv: define = f"BE_LV_WIDGET_" + subtype.upper() if subtype in lv_widgets: print(f"#ifdef {define}") - print(f" be_load_lv_{subtype}_lib(vm);") + print(f" be_load_lv_{subtype}_class(vm);") if subtype in lv_widgets: print(f"#endif") @@ -422,13 +424,14 @@ print(""" #ifdef USE_LVGL #include "lvgl.h" -#include "be_lvgl.h" extern int lv0_init(bvm *vm); -extern int lco_init(bvm *vm); -extern int lco_tostring(bvm *vm); +extern int lco_init(bvm *vm); // generic function +extern int lco_tostring(bvm *vm); // generic function +extern int lco_toint(bvm *vm); // generic function +extern int lvx_init_ctor(bvm *vm, void * func); extern int lvx_member(bvm *vm); extern int lvx_tostring(bvm *vm); // generic function @@ -436,8 +439,19 @@ extern int lvs_init(bvm *vm); extern int lvs_tostring(bvm *vm); BE_EXPORT_VARIABLE extern const bclass be_class_lv_obj; + +extern int lvbe_font_create(bvm *vm); + """) +# expose all extern definitions: +# Ex: +# +# /* `lv_canvas` external functions definitions */ +# extern int lvbe_canvas_create(bvm *vm); +# extern int lvbe_canvas_set_buffer(bvm *vm); +# ... +# for subtype, flv in lv.items(): print(f"/* `lv_{subtype}` external functions definitions */") for f in flv: @@ -447,49 +461,143 @@ for subtype, flv in lv.items(): print() for subtype, flv in lv.items(): - print(f"#include \"../generate/be_fixed_be_class_lv_{subtype}.h\"") + print(f"""extern int be_ntv_lv_{subtype}_init(bvm *vm);""") print() +# Define specific classes for lv_obj +# +print(""" +/******************************************************************** +** Solidified class: lv_style +********************************************************************/ +be_local_class(lv_style, + 1, + NULL, + be_nested_map(4, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("init", 380752755, 4, -1), be_const_func(lvs_init) }, + { be_nested_key("tostring", -1995258651, 8, -1), be_const_func(lvs_tostring) }, + { be_nested_key("_p", 1594591802, 2, -1), be_const_var(0) }, + { be_nested_key("member", 719708611, 6, 0), be_const_func(lvx_member) }, + })), + (be_nested_const_str("lv_style", -143355747, 8)) +); +/*******************************************************************/ + +/******************************************************************** +** Solidified class: lv_obj +********************************************************************/ +be_local_class(lv_obj, + 1, + NULL, + be_nested_map(5, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("tostring", -1995258651, 8, 3), be_const_func(lvx_tostring) }, + { be_nested_key("member", 719708611, 6, -1), be_const_func(lvx_member) }, + { be_nested_key("_p", 1594591802, 2, -1), be_const_var(0) }, + { be_nested_key("init", 380752755, 4, 4), be_const_func(be_ntv_lv_obj_init) }, + { be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_obj_class) }, + })), + (be_nested_const_str("lv_obj", -37134147, 6)) +); +/*******************************************************************/ + +/******************************************************************** +** Solidified class: lv_group +********************************************************************/ +be_local_class(lv_group, + 1, + NULL, + be_nested_map(4, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_group_init) }, + { be_nested_key("tostring", -1995258651, 8, -1), be_const_func(lvx_tostring) }, + { be_nested_key("_p", 1594591802, 2, -1), be_const_var(0) }, + { be_nested_key("member", 719708611, 6, 0), be_const_func(lvx_member) }, + })), + (be_nested_const_str("lv_group", -442928277, 8)) +); +/*******************************************************************/ + +/******************************************************************** +** Solidified class: lv_indev +********************************************************************/ +be_local_class(lv_indev, + 1, + NULL, + be_nested_map(4, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("init", 380752755, 4, -1), be_const_func(lv0_init) }, + { be_nested_key("tostring", -1995258651, 8, -1), be_const_func(lvx_tostring) }, + { be_nested_key("_p", 1594591802, 2, -1), be_const_var(0) }, + { be_nested_key("member", 719708611, 6, 0), be_const_func(lvx_member) }, + })), + (be_nested_const_str("lv_indev", 225602374, 8)) +); +/*******************************************************************/ + +/******************************************************************** +** Solidified class: lv_font +********************************************************************/ +be_local_class(lv_font, + 1, + NULL, + be_nested_map(3, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("init", 380752755, 4, -1), be_const_func(lvbe_font_create) }, + { be_nested_key("tostring", -1995258651, 8, -1), be_const_func(lvx_tostring) }, + { be_nested_key("_p", 1594591802, 2, -1), be_const_var(0) }, + })), + (be_nested_const_str("lv_font", 1550958453, 7)) +); +/*******************************************************************/ + +/******************************************************************** +** Solidified class: lv_color +********************************************************************/ +be_local_class(lv_color, + 1, + NULL, + be_nested_map(4, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("toint", -681784387, 5, -1), be_const_func(lco_toint) }, + { be_nested_key("tostring", -1995258651, 8, 0), be_const_func(lco_tostring) }, + { be_nested_key("_p", 1594591802, 2, -1), be_const_var(0) }, + { be_nested_key("init", 380752755, 4, -1), be_const_func(lco_init) }, + })), + (be_nested_const_str("lv_color", 1419148319, 8)) +); +/*******************************************************************/ +""") + + for subtype, flv in lv.items(): + # special version for widgets + if subtype in lv_widgets: + print(f"""/******************************************************************** +** Solidified class: lv_{subtype} +********************************************************************/ +extern const bclass be_class_lv_obj; +be_local_class(lv_{subtype}, + 0, + &be_class_lv_obj, + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) {{ + {{ be_nested_key("_class", -1562820946, 6, -1), be_const_comptr(&lv_{subtype}_class) }}, + {{ be_nested_key("init", 380752755, 4, -1), be_const_func(be_ntv_lv_{subtype}_init) }}, + }})), + (be_nested_const_str("lv_{subtype}", 1612829968, 6)) +); +/*******************************************************************/ +""") # class definitions - print(f"void be_load_lv_{subtype}_lib(bvm *vm) {{") - - print(f" be_pushntvclass(vm, &be_class_lv_{subtype});") - print(f" be_setglobal(vm, \"lv_{subtype}\");") - print(f" be_pop(vm, 1);") - - print(f"}};") - print() - print(f"/* @const_object_info_begin") - if subtype in lv_widgets: # only for subclasses of lv_obj - print(f"class be_class_lv_{subtype} (scope: global, name: lv_{subtype}, super: be_class_lv_obj) {{") - else: - print(f"class be_class_lv_{subtype} (scope: global, name: lv_{subtype}) {{") - - print(f" _p, var") - if subtype == "style": - print(f" init, func(lvs_init)") - print(f" tostring, func(lvs_tostring)") - else: - if subtype != 'indev': # indev has no create - if (subtype in lv_widgets) or (subtype == "obj"): - print(f" _class, int(&lv_{subtype}_class)") - print(f" init, func(lvbe_{subtype}_create)") - else: - print(f" init, func(lv0_init)") - print(f" tostring, func(lvx_tostring)") - print(f" member, func(lvx_member)") - print() - - # for f in flv: - # c_func_name = f[0] - # be_name = f[4] - # print(f" {be_name}, func({c_func_name})") - - print(f"}}") - print(f"@const_object_info_end */") - print() + print(f"""void be_load_lv_{subtype}_class(bvm *vm) {{ + be_pushntvclass(vm, &be_class_lv_{subtype}); + be_setglobal(vm, \"lv_{subtype}\"); + be_pop(vm, 1); +}} +""") print(""" #endif // USE_LVGL @@ -544,6 +652,10 @@ for f in lv0: if c_argc is not None: c_argc = "\"" + c_argc + "\"" orig_func_name = f[3] be_name = f[4] + + # if c_ret_type is an object, prefix with `lv.` + if len(c_ret_type) > 1: c_ret_type = "lv." + c_ret_type + func_out[be_name] = f" {{ \"{be_name}\", (void*) &{orig_func_name}, \"{c_ret_type}\", { c_argc if c_argc else 'nullptr'} }}," for be_name in sorted(func_out): @@ -586,10 +698,28 @@ for k_v in lv_module: if k is not None: lv_module2[k] = v +# print the enums, symbols and functions +# Ex: { "ALIGN_BOTTOM_LEFT", LV_ALIGN_BOTTOM_LEFT }, +# +# Encoding: +# 1. `COLOR_WHITE=0xFFFFFF` enum with explicit value +# 2. `LV_EVENT_ALL` enum with implicit value with same name resolved by C compiler +# 3. `$SYMBOL_OK="\xef\x80\x8c"` if starts with `$` then it's a string +# 4. `&seg7_font=lv0_load_seg7_font` if starts with `&` then it's a native function +# +# We need to sort ignoring the first char if it's not a letter for k in sorted(lv_module2): v = lv_module2[k] + # check the type of the value + # if first char is '"' then it's a string and prefix with '$' + # if first char is '&' then it's a function and prefix with '&' + # if no value, then it's an enum, prefix with `LV_` + # otherwise it's an int, leave if unchanged if v is not None: - print(f" {{ \"{k}\", {v} }},") + v_prefix = "" + if v[0] == '"': v_prefix = "$" + if v[0] == '&': v_prefix = "&" + print(f" {{ \"{v_prefix}{k}\", (int32_t) {v} }},") else: print(f" {{ \"{k}\", LV_{k} }},") @@ -598,157 +728,16 @@ print(""" const size_t lv0_constants_size = sizeof(lv0_constants)/sizeof(lv0_constants[0]); -be_define_local_const_str(SYMBOL_AUDIO, "\\xef\\x80\\x81", 0, 3); -be_define_local_const_str(SYMBOL_VIDEO, "\\xef\\x80\\x88", 0, 3); -be_define_local_const_str(SYMBOL_LIST, "\\xef\\x80\\x8b", 0, 3); -be_define_local_const_str(SYMBOL_OK, "\\xef\\x80\\x8c", 0, 3); -be_define_local_const_str(SYMBOL_CLOSE, "\\xef\\x80\\x8d", 0, 3); -be_define_local_const_str(SYMBOL_POWER, "\\xef\\x80\\x91", 0, 3); -be_define_local_const_str(SYMBOL_SETTINGS, "\\xef\\x80\\x93", 0, 3); -be_define_local_const_str(SYMBOL_HOME, "\\xef\\x80\\x95", 0, 3); -be_define_local_const_str(SYMBOL_DOWNLOAD, "\\xef\\x80\\x99", 0, 3); -be_define_local_const_str(SYMBOL_DRIVE, "\\xef\\x80\\x9c", 0, 3); -be_define_local_const_str(SYMBOL_REFRESH, "\\xef\\x80\\xa1", 0, 3); -be_define_local_const_str(SYMBOL_MUTE, "\\xef\\x80\\xa6", 0, 3); -be_define_local_const_str(SYMBOL_VOLUME_MID, "\\xef\\x80\\xa7", 0, 3); -be_define_local_const_str(SYMBOL_VOLUME_MAX, "\\xef\\x80\\xa8", 0, 3); -be_define_local_const_str(SYMBOL_IMAGE, "\\xef\\x80\\xbe", 0, 3); -be_define_local_const_str(SYMBOL_EDIT, "\\xef\\x8C\\x84", 0, 3); -be_define_local_const_str(SYMBOL_PREV, "\\xef\\x81\\x88", 0, 3); -be_define_local_const_str(SYMBOL_PLAY, "\\xef\\x81\\x8b", 0, 3); -be_define_local_const_str(SYMBOL_PAUSE, "\\xef\\x81\\x8c", 0, 3); -be_define_local_const_str(SYMBOL_STOP, "\\xef\\x81\\x8d", 0, 3); -be_define_local_const_str(SYMBOL_NEXT, "\\xef\\x81\\x91", 0, 3); -be_define_local_const_str(SYMBOL_EJECT, "\\xef\\x81\\x92", 0, 3); -be_define_local_const_str(SYMBOL_LEFT, "\\xef\\x81\\x93", 0, 3); -be_define_local_const_str(SYMBOL_RIGHT, "\\xef\\x81\\x94", 0, 3); -be_define_local_const_str(SYMBOL_PLUS, "\\xef\\x81\\xa7", 0, 3); -be_define_local_const_str(SYMBOL_MINUS, "\\xef\\x81\\xa8", 0, 3); -be_define_local_const_str(SYMBOL_EYE_OPEN, "\\xef\\x81\\xae", 0, 3); -be_define_local_const_str(SYMBOL_EYE_CLOSE, "\\xef\\x81\\xb0", 0, 3); -be_define_local_const_str(SYMBOL_WARNING, "\\xef\\x81\\xb1", 0, 3); -be_define_local_const_str(SYMBOL_SHUFFLE, "\\xef\\x81\\xb4", 0, 3); -be_define_local_const_str(SYMBOL_UP, "\\xef\\x81\\xb7", 0, 3); -be_define_local_const_str(SYMBOL_DOWN, "\\xef\\x81\\xb8", 0, 3); -be_define_local_const_str(SYMBOL_LOOP, "\\xef\\x81\\xb9", 0, 3); -be_define_local_const_str(SYMBOL_DIRECTORY, "\\xef\\x81\\xbb", 0, 3); -be_define_local_const_str(SYMBOL_UPLOAD, "\\xef\\x82\\x93", 0, 3); -be_define_local_const_str(SYMBOL_CALL, "\\xef\\x82\\x95", 0, 3); -be_define_local_const_str(SYMBOL_CUT, "\\xef\\x83\\x84", 0, 3); -be_define_local_const_str(SYMBOL_COPY, "\\xef\\x83\\x85", 0, 3); -be_define_local_const_str(SYMBOL_SAVE, "\\xef\\x83\\x87", 0, 3); -be_define_local_const_str(SYMBOL_CHARGE, "\\xef\\x83\\xa7", 0, 3); -be_define_local_const_str(SYMBOL_PASTE, "\\xef\\x83\\xAA", 0, 3); -be_define_local_const_str(SYMBOL_BELL, "\\xef\\x83\\xb3", 0, 3); -be_define_local_const_str(SYMBOL_KEYBOARD, "\\xef\\x84\\x9c", 0, 3); -be_define_local_const_str(SYMBOL_GPS, "\\xef\\x84\\xa4", 0, 3); -be_define_local_const_str(SYMBOL_FILE, "\\xef\\x85\\x9b", 0, 3); -be_define_local_const_str(SYMBOL_WIFI, "\\xef\\x87\\xab", 0, 3); -be_define_local_const_str(SYMBOL_BATTERY_FULL, "\\xef\\x89\\x80", 0, 3); -be_define_local_const_str(SYMBOL_BATTERY_3, "\\xef\\x89\\x81", 0, 3); -be_define_local_const_str(SYMBOL_BATTERY_2, "\\xef\\x89\\x82", 0, 3); -be_define_local_const_str(SYMBOL_BATTERY_1, "\\xef\\x89\\x83", 0, 3); -be_define_local_const_str(SYMBOL_BATTERY_EMPTY, "\\xef\\x89\\x84", 0, 3); -be_define_local_const_str(SYMBOL_USB, "\\xef\\x8a\\x87", 0, 3); -be_define_local_const_str(SYMBOL_BLUETOOTH, "\\xef\\x8a\\x93", 0, 3); -be_define_local_const_str(SYMBOL_TRASH, "\\xef\\x8B\\xAD", 0, 3); -be_define_local_const_str(SYMBOL_BACKSPACE, "\\xef\\x95\\x9A", 0, 3); -be_define_local_const_str(SYMBOL_SD_CARD, "\\xef\\x9F\\x82", 0, 3); -be_define_local_const_str(SYMBOL_NEW_LINE, "\\xef\\xA2\\xA2", 0, 3); - -be_define_local_const_str(SYMBOL_DUMMY, "\\xEF\\xA3\\xBF", 0, 3); - -be_define_local_const_str(SYMBOL_BULLET, "\\xE2\\x80\\xA2", 0, 3); - - -/* @const_object_info_begin -module lvgl (scope: global) { - SYMBOL_AUDIO, str(&be_local_const_str_SYMBOL_AUDIO) - SYMBOL_VIDEO, str(&be_local_const_str_SYMBOL_VIDEO) - SYMBOL_LIST, str(&be_local_const_str_SYMBOL_LIST) - SYMBOL_OK, str(&be_local_const_str_SYMBOL_OK) - SYMBOL_CLOSE, str(&be_local_const_str_SYMBOL_CLOSE) - SYMBOL_POWER, str(&be_local_const_str_SYMBOL_POWER) - SYMBOL_SETTINGS, str(&be_local_const_str_SYMBOL_SETTINGS) - SYMBOL_HOME, str(&be_local_const_str_SYMBOL_HOME) - SYMBOL_DOWNLOAD, str(&be_local_const_str_SYMBOL_DOWNLOAD) - SYMBOL_DRIVE, str(&be_local_const_str_SYMBOL_DRIVE) - SYMBOL_REFRESH, str(&be_local_const_str_SYMBOL_REFRESH) - SYMBOL_MUTE, str(&be_local_const_str_SYMBOL_MUTE) - SYMBOL_VOLUME_MID, str(&be_local_const_str_SYMBOL_VOLUME_MID) - SYMBOL_VOLUME_MAX, str(&be_local_const_str_SYMBOL_VOLUME_MAX) - SYMBOL_IMAGE, str(&be_local_const_str_SYMBOL_IMAGE) - SYMBOL_EDIT, str(&be_local_const_str_SYMBOL_EDIT) - SYMBOL_PREV, str(&be_local_const_str_SYMBOL_PREV) - SYMBOL_PLAY, str(&be_local_const_str_SYMBOL_PLAY) - SYMBOL_PAUSE, str(&be_local_const_str_SYMBOL_PAUSE) - SYMBOL_STOP, str(&be_local_const_str_SYMBOL_STOP) - SYMBOL_NEXT, str(&be_local_const_str_SYMBOL_NEXT) - SYMBOL_EJECT, str(&be_local_const_str_SYMBOL_EJECT) - SYMBOL_LEFT, str(&be_local_const_str_SYMBOL_LEFT) - SYMBOL_RIGHT, str(&be_local_const_str_SYMBOL_RIGHT) - SYMBOL_PLUS, str(&be_local_const_str_SYMBOL_PLUS) - SYMBOL_MINUS, str(&be_local_const_str_SYMBOL_MINUS) - SYMBOL_EYE_OPEN, str(&be_local_const_str_SYMBOL_EYE_OPEN) - SYMBOL_EYE_CLOSE, str(&be_local_const_str_SYMBOL_EYE_CLOSE) - SYMBOL_WARNING, str(&be_local_const_str_SYMBOL_WARNING) - SYMBOL_SHUFFLE, str(&be_local_const_str_SYMBOL_SHUFFLE) - SYMBOL_UP, str(&be_local_const_str_SYMBOL_UP) - SYMBOL_DOWN, str(&be_local_const_str_SYMBOL_DOWN) - SYMBOL_LOOP, str(&be_local_const_str_SYMBOL_LOOP) - SYMBOL_DIRECTORY, str(&be_local_const_str_SYMBOL_DIRECTORY) - SYMBOL_UPLOAD, str(&be_local_const_str_SYMBOL_UPLOAD) - SYMBOL_CALL, str(&be_local_const_str_SYMBOL_CALL) - SYMBOL_CUT, str(&be_local_const_str_SYMBOL_CUT) - SYMBOL_COPY, str(&be_local_const_str_SYMBOL_COPY) - SYMBOL_SAVE, str(&be_local_const_str_SYMBOL_SAVE) - SYMBOL_CHARGE, str(&be_local_const_str_SYMBOL_CHARGE) - SYMBOL_PASTE, str(&be_local_const_str_SYMBOL_PASTE) - SYMBOL_BELL, str(&be_local_const_str_SYMBOL_BELL) - SYMBOL_KEYBOARD, str(&be_local_const_str_SYMBOL_KEYBOARD) - SYMBOL_GPS, str(&be_local_const_str_SYMBOL_GPS) - SYMBOL_FILE, str(&be_local_const_str_SYMBOL_FILE) - SYMBOL_WIFI, str(&be_local_const_str_SYMBOL_WIFI) - SYMBOL_BATTERY_FULL, str(&be_local_const_str_SYMBOL_BATTERY_FULL) - SYMBOL_BATTERY_3, str(&be_local_const_str_SYMBOL_BATTERY_3) - SYMBOL_BATTERY_2, str(&be_local_const_str_SYMBOL_BATTERY_2) - SYMBOL_BATTERY_1, str(&be_local_const_str_SYMBOL_BATTERY_1) - SYMBOL_BATTERY_EMPTY, str(&be_local_const_str_SYMBOL_BATTERY_EMPTY) - SYMBOL_USB, str(&be_local_const_str_SYMBOL_USB) - SYMBOL_BLUETOOTH, str(&be_local_const_str_SYMBOL_BLUETOOTH) - SYMBOL_TRASH, str(&be_local_const_str_SYMBOL_TRASH) - SYMBOL_BACKSPACE, str(&be_local_const_str_SYMBOL_BACKSPACE) - SYMBOL_SD_CARD, str(&be_local_const_str_SYMBOL_SD_CARD) - SYMBOL_NEW_LINE, str(&be_local_const_str_SYMBOL_NEW_LINE) - - SYMBOL_DUMMY, str(&be_local_const_str_SYMBOL_DUMMY) - - SYMBOL_BULLET, str(&be_local_const_str_SYMBOL_BULLET) -""") - - -# for k_v in lv_module: -# (k,v) = k_v -# if k is None: -# continue - -# print(f" {k}, int({v})") - -print(""" - member, func(lv0_member) - start, func(lv0_start) - - register_button_encoder, func(lv0_register_button_encoder) - - montserrat_font, func(lv0_load_montserrat_font) - seg7_font, func(lv0_load_seg7_font) - load_font, func(lv0_load_font) - load_freetype_font, func(lv0_load_freetype_font) - - screenshot, func(lv0_screenshot) -} -@const_object_info_end */ -#include "../generate/be_fixed_lvgl.h" +/* generated */ +be_local_module(lv, + "lv", + be_nested_map(2, + ( (struct bmapnode*) &(const bmapnode[]) { + { be_nested_key("member", 719708611, 6, -1), be_const_func(lv0_member) }, + { be_nested_key("start", 1697318111, 5, 0), be_const_func(lv0_start) }, + })) +); +BE_EXPORT_VARIABLE be_define_const_native_module(lv, NULL); #endif // USE_LVGL """) diff --git a/tools/lv_berry/lv_enum.h b/tools/lv_berry/lv_enum.h index 05cb493a1..7803cd992 100644 --- a/tools/lv_berry/lv_enum.h +++ b/tools/lv_berry/lv_enum.h @@ -1,4 +1,19 @@ +// ====================================================================== +// Functions +// ====================================================================== +register_button_encoder=&lv0_register_button_encoder + +montserrat_font=&lv0_load_montserrat_font +seg7_font=&lv0_load_seg7_font +load_font=&lv0_load_font +load_freetype_font=&lv0_load_freetype_font + +screenshot=&lv0_screenshot + +// ====================================================================== +// Colors +// ====================================================================== // LV Colors - we store in 24 bits format and will convert at runtime // This is specific treatment because we keep colors in 24 bits format COLOR_WHITE=0xFFFFFF @@ -26,6 +41,76 @@ LV_STYLE_PROP_ANY LV_SIZE_CONTENT +// ====================================================================== +// Symbols +// ====================================================================== + +SYMBOL_AUDIO="\xef\x80\x81" +SYMBOL_VIDEO="\xef\x80\x88" +SYMBOL_LIST="\xef\x80\x8b" +SYMBOL_OK="\xef\x80\x8c" +SYMBOL_CLOSE="\xef\x80\x8d" +SYMBOL_POWER="\xef\x80\x91" +SYMBOL_SETTINGS="\xef\x80\x93" +SYMBOL_HOME="\xef\x80\x95" +SYMBOL_DOWNLOAD="\xef\x80\x99" +SYMBOL_DRIVE="\xef\x80\x9c" +SYMBOL_REFRESH="\xef\x80\xa1" +SYMBOL_MUTE="\xef\x80\xa6" +SYMBOL_VOLUME_MID="\xef\x80\xa7" +SYMBOL_VOLUME_MAX="\xef\x80\xa8" +SYMBOL_IMAGE="\xef\x80\xbe" +SYMBOL_EDIT="\xef\x8C\x84" +SYMBOL_PREV="\xef\x81\x88" +SYMBOL_PLAY="\xef\x81\x8b" +SYMBOL_PAUSE="\xef\x81\x8c" +SYMBOL_STOP="\xef\x81\x8d" +SYMBOL_NEXT="\xef\x81\x91" +SYMBOL_EJECT="\xef\x81\x92" +SYMBOL_LEFT="\xef\x81\x93" +SYMBOL_RIGHT="\xef\x81\x94" +SYMBOL_PLUS="\xef\x81\xa7" +SYMBOL_MINUS="\xef\x81\xa8" +SYMBOL_EYE_OPEN="\xef\x81\xae" +SYMBOL_EYE_CLOSE="\xef\x81\xb0" +SYMBOL_WARNING="\xef\x81\xb1" +SYMBOL_SHUFFLE="\xef\x81\xb4" +SYMBOL_UP="\xef\x81\xb7" +SYMBOL_DOWN="\xef\x81\xb8" +SYMBOL_LOOP="\xef\x81\xb9" +SYMBOL_DIRECTORY="\xef\x81\xbb" +SYMBOL_UPLOAD="\xef\x82\x93" +SYMBOL_CALL="\xef\x82\x95" +SYMBOL_CUT="\xef\x83\x84" +SYMBOL_COPY="\xef\x83\x85" +SYMBOL_SAVE="\xef\x83\x87" +SYMBOL_CHARGE="\xef\x83\xa7" +SYMBOL_PASTE="\xef\x83\xAA" +SYMBOL_BELL="\xef\x83\xb3" +SYMBOL_KEYBOARD="\xef\x84\x9c" +SYMBOL_GPS="\xef\x84\xa4" +SYMBOL_FILE="\xef\x85\x9b" +SYMBOL_WIFI="\xef\x87\xab" +SYMBOL_BATTERY_FULL="\xef\x89\x80" +SYMBOL_BATTERY_3="\xef\x89\x81" +SYMBOL_BATTERY_2="\xef\x89\x82" +SYMBOL_BATTERY_1="\xef\x89\x83" +SYMBOL_BATTERY_EMPTY="\xef\x89\x84" +SYMBOL_USB="\xef\x8a\x87" +SYMBOL_BLUETOOTH="\xef\x8a\x93" +SYMBOL_TRASH="\xef\x8B\xAD" +SYMBOL_BACKSPACE="\xef\x95\x9A" +SYMBOL_SD_CARD="\xef\x9F\x82" +SYMBOL_NEW_LINE="\xef\xA2\xA2" + +SYMBOL_DUMMY="\xEF\xA3\xBF" + +SYMBOL_BULLET="\xE2\x80\xA2" + +// ====================================================================== +// Generated from headers +// ====================================================================== + LV_SCR_LOAD_ANIM_NONE LV_SCR_LOAD_ANIM_OVER_LEFT LV_SCR_LOAD_ANIM_OVER_RIGHT diff --git a/tools/lv_berry/lv_symbol.h b/tools/lv_berry/lv_symbol.h new file mode 100644 index 000000000..8006c215c --- /dev/null +++ b/tools/lv_berry/lv_symbol.h @@ -0,0 +1,62 @@ + +SYMBOL_AUDIO="\xef\x80\x81" +SYMBOL_VIDEO="\xef\x80\x88" +SYMBOL_LIST="\xef\x80\x8b" +SYMBOL_OK="\xef\x80\x8c" +SYMBOL_CLOSE="\xef\x80\x8d" +SYMBOL_POWER="\xef\x80\x91" +SYMBOL_SETTINGS="\xef\x80\x93" +SYMBOL_HOME="\xef\x80\x95" +SYMBOL_DOWNLOAD="\xef\x80\x99" +SYMBOL_DRIVE="\xef\x80\x9c" +SYMBOL_REFRESH="\xef\x80\xa1" +SYMBOL_MUTE="\xef\x80\xa6" +SYMBOL_VOLUME_MID="\xef\x80\xa7" +SYMBOL_VOLUME_MAX="\xef\x80\xa8" +SYMBOL_IMAGE="\xef\x80\xbe" +SYMBOL_EDIT="\xef\x8C\x84" +SYMBOL_PREV="\xef\x81\x88" +SYMBOL_PLAY="\xef\x81\x8b" +SYMBOL_PAUSE="\xef\x81\x8c" +SYMBOL_STOP="\xef\x81\x8d" +SYMBOL_NEXT="\xef\x81\x91" +SYMBOL_EJECT="\xef\x81\x92" +SYMBOL_LEFT="\xef\x81\x93" +SYMBOL_RIGHT="\xef\x81\x94" +SYMBOL_PLUS="\xef\x81\xa7" +SYMBOL_MINUS="\xef\x81\xa8" +SYMBOL_EYE_OPEN="\xef\x81\xae" +SYMBOL_EYE_CLOSE="\xef\x81\xb0" +SYMBOL_WARNING="\xef\x81\xb1" +SYMBOL_SHUFFLE="\xef\x81\xb4" +SYMBOL_UP="\xef\x81\xb7" +SYMBOL_DOWN="\xef\x81\xb8" +SYMBOL_LOOP="\xef\x81\xb9" +SYMBOL_DIRECTORY="\xef\x81\xbb" +SYMBOL_UPLOAD="\xef\x82\x93" +SYMBOL_CALL="\xef\x82\x95" +SYMBOL_CUT="\xef\x83\x84" +SYMBOL_COPY="\xef\x83\x85" +SYMBOL_SAVE="\xef\x83\x87" +SYMBOL_CHARGE="\xef\x83\xa7" +SYMBOL_PASTE="\xef\x83\xAA" +SYMBOL_BELL="\xef\x83\xb3" +SYMBOL_KEYBOARD="\xef\x84\x9c" +SYMBOL_GPS="\xef\x84\xa4" +SYMBOL_FILE="\xef\x85\x9b" +SYMBOL_WIFI="\xef\x87\xab" +SYMBOL_BATTERY_FULL="\xef\x89\x80" +SYMBOL_BATTERY_3="\xef\x89\x81" +SYMBOL_BATTERY_2="\xef\x89\x82" +SYMBOL_BATTERY_1="\xef\x89\x83" +SYMBOL_BATTERY_EMPTY="\xef\x89\x84" +SYMBOL_USB="\xef\x8a\x87" +SYMBOL_BLUETOOTH="\xef\x8a\x93" +SYMBOL_TRASH="\xef\x8B\xAD" +SYMBOL_BACKSPACE="\xef\x95\x9A" +SYMBOL_SD_CARD="\xef\x9F\x82" +SYMBOL_NEW_LINE="\xef\xA2\xA2" + +SYMBOL_DUMMY="\xEF\xA3\xBF" + +SYMBOL_BULLET="\xE2\x80\xA2" \ No newline at end of file diff --git a/tools/lv_berry/preprocessor.py b/tools/lv_berry/preprocessor.py index 03070a89f..0346b8ca5 100644 --- a/tools/lv_berry/preprocessor.py +++ b/tools/lv_berry/preprocessor.py @@ -171,7 +171,22 @@ headers_names = list_files(lv_src_prefix, lv_fun_globs) output_filename = "lv_enum.h" sys.stdout = open(output_filename, 'w') -print(""" +print("""// ====================================================================== +// Functions +// ====================================================================== + +register_button_encoder=&lv0_register_button_encoder + +montserrat_font=&lv0_load_montserrat_font +seg7_font=&lv0_load_seg7_font +load_font=&lv0_load_font +load_freetype_font=&lv0_load_freetype_font + +screenshot=&lv0_screenshot + +// ====================================================================== +// Colors +// ====================================================================== // LV Colors - we store in 24 bits format and will convert at runtime // This is specific treatment because we keep colors in 24 bits format COLOR_WHITE=0xFFFFFF @@ -198,6 +213,76 @@ LV_TEXTAREA_CURSOR_LAST LV_STYLE_PROP_ANY LV_SIZE_CONTENT + +// ====================================================================== +// Symbols +// ====================================================================== + +SYMBOL_AUDIO="\\xef\\x80\\x81" +SYMBOL_VIDEO="\\xef\\x80\\x88" +SYMBOL_LIST="\\xef\\x80\\x8b" +SYMBOL_OK="\\xef\\x80\\x8c" +SYMBOL_CLOSE="\\xef\\x80\\x8d" +SYMBOL_POWER="\\xef\\x80\\x91" +SYMBOL_SETTINGS="\\xef\\x80\\x93" +SYMBOL_HOME="\\xef\\x80\\x95" +SYMBOL_DOWNLOAD="\\xef\\x80\\x99" +SYMBOL_DRIVE="\\xef\\x80\\x9c" +SYMBOL_REFRESH="\\xef\\x80\\xa1" +SYMBOL_MUTE="\\xef\\x80\\xa6" +SYMBOL_VOLUME_MID="\\xef\\x80\\xa7" +SYMBOL_VOLUME_MAX="\\xef\\x80\\xa8" +SYMBOL_IMAGE="\\xef\\x80\\xbe" +SYMBOL_EDIT="\\xef\\x8C\\x84" +SYMBOL_PREV="\\xef\\x81\\x88" +SYMBOL_PLAY="\\xef\\x81\\x8b" +SYMBOL_PAUSE="\\xef\\x81\\x8c" +SYMBOL_STOP="\\xef\\x81\\x8d" +SYMBOL_NEXT="\\xef\\x81\\x91" +SYMBOL_EJECT="\\xef\\x81\\x92" +SYMBOL_LEFT="\\xef\\x81\\x93" +SYMBOL_RIGHT="\\xef\\x81\\x94" +SYMBOL_PLUS="\\xef\\x81\\xa7" +SYMBOL_MINUS="\\xef\\x81\\xa8" +SYMBOL_EYE_OPEN="\\xef\\x81\\xae" +SYMBOL_EYE_CLOSE="\\xef\\x81\\xb0" +SYMBOL_WARNING="\\xef\\x81\\xb1" +SYMBOL_SHUFFLE="\\xef\\x81\\xb4" +SYMBOL_UP="\\xef\\x81\\xb7" +SYMBOL_DOWN="\\xef\\x81\\xb8" +SYMBOL_LOOP="\\xef\\x81\\xb9" +SYMBOL_DIRECTORY="\\xef\\x81\\xbb" +SYMBOL_UPLOAD="\\xef\\x82\\x93" +SYMBOL_CALL="\\xef\\x82\\x95" +SYMBOL_CUT="\\xef\\x83\\x84" +SYMBOL_COPY="\\xef\\x83\\x85" +SYMBOL_SAVE="\\xef\\x83\\x87" +SYMBOL_CHARGE="\\xef\\x83\\xa7" +SYMBOL_PASTE="\\xef\\x83\\xAA" +SYMBOL_BELL="\\xef\\x83\\xb3" +SYMBOL_KEYBOARD="\\xef\\x84\\x9c" +SYMBOL_GPS="\\xef\\x84\\xa4" +SYMBOL_FILE="\\xef\\x85\\x9b" +SYMBOL_WIFI="\\xef\\x87\\xab" +SYMBOL_BATTERY_FULL="\\xef\\x89\\x80" +SYMBOL_BATTERY_3="\\xef\\x89\\x81" +SYMBOL_BATTERY_2="\\xef\\x89\\x82" +SYMBOL_BATTERY_1="\\xef\\x89\\x83" +SYMBOL_BATTERY_EMPTY="\\xef\\x89\\x84" +SYMBOL_USB="\\xef\\x8a\\x87" +SYMBOL_BLUETOOTH="\\xef\\x8a\\x93" +SYMBOL_TRASH="\\xef\\x8B\\xAD" +SYMBOL_BACKSPACE="\\xef\\x95\\x9A" +SYMBOL_SD_CARD="\\xef\\x9F\\x82" +SYMBOL_NEW_LINE="\\xef\\xA2\\xA2" + +SYMBOL_DUMMY="\\xEF\\xA3\\xBF" + +SYMBOL_BULLET="\\xE2\\x80\\xA2" + +// ====================================================================== +// Generated from headers +// ====================================================================== """)