I want to define a specific memory region in the STM32 micro where to store some strings. I'm using IAR compiler but I don't find a simple example that can help me to create the region in the correct way using the icf file. How can I create the region and use this region in the code? Thanks
相关问题
- Multiple sockets for clients to connect to
- What is the best way to do a search in a large fil
- glDrawElements only draws half a quad
- Index of single bit in long integer (in C) [duplic
- Equivalent of std::pair in C
I found this solution:
In the icf file I define the memory region in this way:
I will fill this region with an external srec file using a programmer. To test the region with a simple program (using an integer) I use this declaration:
In the debugger I can see the correct address of mydata constant at 0x0800FB000