-
Notifications
You must be signed in to change notification settings - Fork 9
Add OSPI support #22
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
base: master
Are you sure you want to change the base?
Add OSPI support #22
Conversation
|
@kisvegabor I let you check this addition. Note that some generated files are pushed here and will be removed in the next PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't test it now, but by looking into it I have only one comment.
src/lv_conf.h
Outdated
| #define LV_ATTRIBUTE_LARGE_CONST | ||
| /*Attribute to mark large constant arrays for example font's bitmaps*/ | ||
| /* Here we set all large const array in the graphical_assests section (in OSPI) */ | ||
| #define LV_ATTRIBUTE_LARGE_CONST BSP_PLACE_IN_SECTION(".graphical_assets") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't set it by default as it affects the performance, but describe it in the README instead.
It places all images in OSPI by default
b026a50 to
fb3df41
Compare
|
I added everything here. It uses lvgl |
kisvegabor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! @uLipe please take a look!
Resolves #20
The work was based on this commit. It followed the idea but uses the Renesas OPSI example source code. It also defines a graphical_assets section in the OSPI, using the linker script
fsp.ld. This section is then used by settingLV_ATTRIBUTE_LARGE_CONSTlike this:It places all images in OSPI by default.