Add at91sam7 flash driver.
[bertos.git] / bertos / cpu / attr.h
index 98ed7b2fe6b24cc562a83a63129d1386aa8b2f58..c6d8373484d300c7f3c6deded36c9ff993da9629 100644 (file)
                 */
                #define ISR_FUNC __attribute__((interrupt))
 
+               /*
+                * Function attribute to move it into ram memory.
+                */
+               #define RAM_FUNC __attribute__((section(".data")))
+
        #endif /* !__IAR_SYSTEMS_ICC_ */
 
 #elif CPU_PPC