Skip to main content
NHand
Associate II
November 14, 2019
Question

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

  • November 14, 2019
  • 1 reply
  • 1027 views

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!

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
November 14, 2019

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..