I am porting legacy code to the Keil/uVision5/MDK-ARM Standard Cortex-M Version 5.11.0.0. The code uses in few places static variables/objects in a specific section, which then becomes an array of the given objects. A "manager" handles the objects by iterating over the section array.
All of this works assuming that the start and end of the section is accessible from the C/C++ code.
In gcc the start and end of a section is given by __start_<sectionname> and __stop_<sectionname>. In the IAR compiler the same information is accessed with the __section_begin( <sectionname> ) and __section_end( <sectionname> ).
Are there any ways of getting this functionality in the Keil/uVision5 Cortex-M compiler?
www.keil.com/.../armlink_pge1362065949839.htm
Thank you!
More specifically it is chapter 6.13. www.keil.com/.../armlink_pge1362065958198.htm
I am not sure how I missed it.