make sure FLASHD_ReadUniqueID() is linked to SRAM, not flash
This commit is contained in:
parent
fbea2413f6
commit
48b70deff5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue