STM32F7 - IAR Workbench: Placing a group of functions or variables in a specific RAM Section
- March 26, 2020
- 1 reply
- 2357 views
Dear All, I am developing an application in IAR for an STM32F7. The application is working in an External Flash and I need to place some functions in Internal RAM. I have followed the link https://www.iar.com/support/tech-notes/linker/how-do-i-place-a-group-of-functions-or-variables-in-a-specific-section/ to adapt the code and the linker file. I attach to my request both the source file (just a simple test function) and the linker file to let you better understand. If I define FUNC_region in the section 0x90000000-0x90200000 (External Flash before the application region) everything works ok. If I define FUNC_region in the region 0x20000000-0x2004FFFF during download I receive one warning from flashloader. Going in debug mode the code jumps correctly to 0x20000000 but it seems that here there is no useful code.
Have anyone any suggestion to solve this task?
If you need more details don't hesitate to ask.
Thank you in advance.
