ESP32, berry, lvgl and the menu widget #22184
-
Hi, I've been trying to wrap my head around doing graphics via tasmota. I'm mostly got my head around the basics, unfortunately I've hit a brick wall with menus. According to the LVGL Berry API Reference, menu is included in tasmota. I cant seem to get it to work. the most basic initialisation seems to fail.
gives: Can anyone point out what I'm missing? I've even tried going through the pyton script that generates the functions, and I cant dig out the menu stuff. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
LVGL To enable them, you need to add Also I realize it is missing in the commented options in |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response. I've been trying to compile from source, but I am running into another issue. It seems that be_ntv_lv_menu_init is defined multiple times, and so causes the build to fail. /* in file : I get the error On a semi related note. When I use TasmoCompiler, it doesn't seem to include berry properly. The code compiles (when i remove mention of menu) but the button to the berry console is missing. It also doesnt seem to run the autoexec.be file. I'm not sure if it's an issue with TasmoCompiler, me, or something weird in the tasmota base code. I'm assuming i'm being an idiot somewhere, but cant seem to find the issue. |
Beta Was this translation helpful? Give feedback.
LVGL
menu
is not included in precompiled firmwares, because it was considered a feature rarely useful on small screens.To enable them, you need to add
#define BE_LV_WIDGET_MENU
.Also I realize it is missing in the commented options in
my_user_config.h
, I will add it.