This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex-M3 uVision Executing from RAM

Processor: STMicroelectronics STM32F103ZE
IDE Version: uVision 4.03q
Toolchain: RealView MDK-ARM Version: 4.11
C Compiler: Armcc.Exe V4.0.0.728
Assembler: Armasm.Exe V4.0.0.728
Linker/Locator: ArmLink.Exe V4.0.0.728

I want two functions in a *.cpp file to be executed from RAM. How can I accomplish this? There is brief comment about this in a help file that states : "relocate to RAM using function attribute __ram".

What is the exact syntax for the using the "__ram" attribute?