Here is the picture of a variable placement in STM32L152VBX memory with IAR IDE (8.30). I am using C.
_gprs_inited
is a static variable (8bit),send_data_with_gprs
is a function,_failed_gprs_counter
is a static variable (8bit) declared inside the function.
Does this mean both the variables are allocated in the same address?
I mean since both are 8 bit variables, and the processor is 32bit it can hold those two?