studio icon indicating copy to clipboard operation
studio copied to clipboard

[LVGL] If flow support is turned off then the generated files still contain flow usages

Open RE2012 opened this issue 1 month ago • 1 comments

Describe the bug If flow support is turned off then the generated files still contain flow usages.

To Reproduce

  1. in studio go to "Home" page, select "examples" and select project "eez_lvgl_demo"
  2. click "edit project"
  3. click on "build" button
  4. go to project settings and switch off "flow support"
  5. click on "build" button
  6. check the output folder and see that many files contain flow data, e.g.:
  • flow_def.c and flow_def.h exist
  • ui.c uses eez_flow_init and eez_flow_tick
  • ui.h: #include <eez/flow/lvgl_api.h>

Expected behavior If flow support is removed from a project (unchecked) nad project is build again then build files should not contain flow data in any code anymore.

Desktop (please complete the following information)

  • OS: Windows 10

LVGL version (if used)

  • 8.3

Additional context

  • Studio 0.13.0
  • Arduino IDE 2.3.2
  • Espressif 2.0.11 for ESP32 S3
  • Background reason: additional flow support caused too many compilation problems so I wanted to get rid off it. (eez-framework is in libraries folder like this libraries\eez-framework )

RE2012 avatar May 20 '24 13:05 RE2012