apiota Posted March 21, 2022 Report Share Posted March 21, 2022 There are some older posts, 2017 time frame about fonts in external SPI flash. The support team indicated it was not feasible and recommended loading into RAM and or filtering to make it smaller. Is this still the case or has anything changed regarding this ability since then? Link to comment Share on other sites More sharing options...
inmarket Posted March 22, 2022 Report Share Posted March 22, 2022 The problem here is a physical one that can't be overcome in software. There are 2 fundamental issues: SPI flash is SLOW SPI flash is not memory addressable by the CPU Yes, I know that some CPU's support memory addressing of SPI flash and in those the uGFX code works unchanged however the speed considerations are still a problem for practical use. So, how to make SPI work for storage of fonts... Treat the SPI flash as a disk and connect it with the GFILE module Use the dynamic loading font mechanism to load the font you want into memory. Whilst this still uses RAM for the font you have loaded, the advantage here is that it can be unloaded when not needed and potentially a different font can then be loaded from your SPI flash. So, not a full solution but instead a work around. Unfortunately it is the only way to get around what is a physical hardware limitation. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted March 23, 2022 Report Share Posted March 23, 2022 Also: Hello & Welcome to the µGFX community Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now