G2EJ-IC / PlatFormIO_dot_L2St

PlatFormIO_dot_L2St
GNU General Public License v3.0
1 stars 0 forks source link

EEZ studio sample is not building #1

Open goran-mahovlic opened 6 months ago

goran-mahovlic commented 6 months ago

Hi,

I have tried your eez sample and it is not building

you forgot to set build flags in your platformio.ini

build_flags = -DEEZ_PLATFORM_ESP32 -DEEZ_FOR_LVGL -DLV_LVGL_H_INCLUDE_SIMPLE

also my ui.c looks like this - then project is build but there is not room in default ESP32 device so you will need to solve that problem


#include "ui.h"
#include "screens.h"
#include "images.h"
#include "flow_def.h"
#include "actions.h"

//${eez-studio LVGL_ACTIONS_ARRAY_DEF}

void ui_init() {
    eez_flow_init(assets, sizeof(assets), (lv_obj_t **)&objects, sizeof(objects), images, sizeof(images), actions);
}

void ui_tick() {
    eez_flow_tick();
    tick_screen(g_currentScreen);
}
G2EJ-IC commented 6 months ago

Good day. Thank you very much for your help. I've already got it working and had what you mentioned in the platformio.ini file, although I was missing one little thing, but now it's building for me. Thank you very much for your assistance. I just sent a new push with the progress I have at the moment.