2022-11-15 12:17 AM
For example i want to write to the flash tow string variables.
1. name of board
2. verssion
and every time I turn on the board I want to read them in to my code.
thanks in advance
Solved! Go to Solution.
2022-11-22 02:34 AM
I mean the same directory level.
The firmware library contains, among other things, sample programs for various development platforms (NUCLEO, DISCOVERY, EVAL), which, however, each refer with relative paths to the libraries also included, e.g. Driver/STM32F0xx_HAL_Driver.
To try out and/or modify a project present there, it is best to copy the not yet compiled project in the original, e.g.
to e.g.
After you have tried it out and changed it to your needs, you can compare the original directory with the copied and changed one to have a summary of all important changes.
Regards
/Peter
2022-11-18 07:17 AM
There are also many example programs in the firmware of the individual STM32 families, e.g. for NUCLEO-F030R8 the FLASH_EraseProgram (also on Github), which can be used very well as a starting point for your development.
Please note that the firmware uses relative paths and references to libraries within the firmware. So it is best to copy the respective example directory to another name on the same level and then import and change it from there. Later, it may be easier to find changes made by comparing files.
Maybe that will help you?
Regards
/Peter
2022-11-22 12:23 AM
Hello Peter,
Thank you very much!
your answer help alot.
However, what do you mean when ypu say "best to copy the respective example directory to another name on the same level"
what is same level means?
2022-11-22 02:34 AM
I mean the same directory level.
The firmware library contains, among other things, sample programs for various development platforms (NUCLEO, DISCOVERY, EVAL), which, however, each refer with relative paths to the libraries also included, e.g. Driver/STM32F0xx_HAL_Driver.
To try out and/or modify a project present there, it is best to copy the not yet compiled project in the original, e.g.
to e.g.
After you have tried it out and changed it to your needs, you can compare the original directory with the copied and changed one to have a summary of all important changes.
Regards
/Peter