I opened a startup code (startup_tm4c123.s).. i didn't find any code about coping the initialized variables from ROM to RAM. How can Keil copy them at start ?
The __main code called in startup.s initializes the statics before calling your main() function. __main != main
This is part of the library the linker pulls in, and the linker can also compress this initialization data.
It's pretty helpful .. thanks everyone so much