How to flash Embed config files in stm32 flash memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-03-11 4:50 PM
STM32CubeU5/Projects/B-U585I-IOT02A/Applications/FileX at main · STMicroelectronics/STM32CubeU5 (github.com).
Here the example is to create the STM.TXT in the run-time
/* Create a file called STM32.TXT in the root directory. */
nor_ospi_status = fx_file_create(&nor_ospi_flash_disk, "STM32.TXT");
But I have my pre-configured config.ini file and cacert.pem files and want flash them in stm32
How can inject them into the stm32 target? Could you please share an example of it?
- Labels:
-
FatFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-03-11 5:06 PM
Make as an array of bytes, perhaps use your C skills to use STDIO file functions to read and process on your host PC.
Different tools have things like INCBIN to pull in files to the Linker or assembler.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-03-11 5:35 PM - edited 2024-03-11 5:36 PM
thanks for the info
Could you please give me some references
is there any alternative ways to achieve it
in my case I will use ini parser to read the all configuration values from ini file
and I will update the specific configuration value at runtime based on the requirement
