Question
Hi, How can we share a variable between boot loader and firmware ?
I am using STM32F030C6 micro controller.
In my firmware, I need to keep a variable in RAM location 0x2000000. This variable is accessed by both boot loader and firmware. So a reset should not affect its value.
So how can we declare such a variable ? I have tried “static volatile uint32_t Boot_Share __attribute__( ( section( "NoInit")) );�?
‘Boot_Share ’ is the variable. Please help me in this
