-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EEZ Flow: optionally export enum and struct definitions #228
Comments
In the next version of EEZ Studio there will be a better support for enums in LVGL projects. For example, if you have following enum definition in a project: and following native variable definition in a project: you can implement get and set native functions for this variable. First, you must enable in This will be already enabled for the new projects. Now, in
|
In the next version of EEZ Studio there will be a better support for structs in LVGL projects. First of all, struct variable can't be a native variable, it can only be a flow variable. But, it will be possible to access and modify these variables from the native code. For example, let say you have following struct definition in a project: and following global variable definition in a project: First, you must include following in vars.h (it will be already include for the new project): And you must have a new file template called structs.h (it will be already include for the new project):
Now, you can access and modify struct variable like this:
|
Did you update eez-framework to the latest version? |
That fixed it. Thanks. |
Please add the option to export the enum and structs defined in a studio to an appropriate .h file (vars.h?)
This allows for a more consistent integration between flow and code.
The text was updated successfully, but these errors were encountered: