make sure FLASHD_ReadUniqueID() is linked to SRAM, not flash

This commit is contained in:
Harald Welte 2012-01-08 11:54:35 +01:00
parent fbea2413f6
commit 48b70deff5
1 changed files with 1 additions and 0 deletions

View File

@ -468,6 +468,7 @@ unsigned char FLASHD_ClearGPNVM(unsigned char gpnvm)
/// \param uniqueID pointer on a 4bytes char containing the unique ID value.
//------------------------------------------------------------------------------
#ifdef AT91C_EFC_FCMD_STUI
__attribute__ ((section (".ramfunc")))
unsigned char FLASHD_ReadUniqueID (unsigned long * uniqueID)
{
unsigned char error;