cancel
Showing results for 
Search instead for 
Did you mean: 

How to place files directly and easy into the flash memory (html, css, js)?

NHand
Associate II

Hello,

in my project i have a folder for a html visualisation containing some .html, .jpeg, .js and .css files.

I there an easy way to place/access them direclty into the flash without the need of a workaround? Just pressing Strg+B in STM32CubeIDE and the files are in the .hex file and accessable in .c files using some functions receiving a byte array pointer or similar?

Thank you!

1 REPLY 1

People generally use scripts and tools to pack file and directory structures, or resources into packages their code can subsequently unpack and utilize.

See things like MAKEFSDATA and PKZIP

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..