Skip to content
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

fix(script): add per image attribute for C array #6089

Merged
merged 1 commit into from
Apr 22, 2024
Merged

Conversation

XuNeo
Copy link
Collaborator

@XuNeo XuNeo commented Apr 18, 2024

Description of the feature or fix

Mentioned in #5925
Use the file name for image array attribute.

E.g. for start35.png --> start35.c

#ifndef LV_ATTRIBUTE_START35
#define LV_ATTRIBUTE_START35
#endif

static const
LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_START35
uint8_t start35_map[] = {
...

Notes

Copy link
Member

@kisvegabor kisvegabor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@XuNeo XuNeo merged commit 124086c into lvgl:master Apr 22, 2024
18 checks passed
@XuNeo XuNeo deleted the t17 branch April 22, 2024 04:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants