How to write variables to stm32 flash memory

615 views Asked by At

I want to declare a variable in flash memory in stm32 so that the variable value I modified remains when the board is powered off and on, how can I write a variable in flash memory?

Chatgpt told me to go to properties and do something on the symbol tab, but I don't have the symbol tab, so something's stuck


Environment

CUBE IDE - C Language

STM32H743XIH6


How do I write variables in flash memory? First, we're going to write the variable types int, unsigned char, and uint8_t

Please tell us about websites and methods that are good for reference

0

There are 0 answers