mcu_version remove mcu_unique_id

Using board cvommon UUID api thefore Removed mcu_unique_id
This commit is contained in:
David Sidrane
2017-01-24 18:15:32 -10:00
committed by Lorenz Meier
parent 93f2cf077f
commit 5a5cfdbbe3
2 changed files with 0 additions and 22 deletions
-13
View File
@@ -64,19 +64,6 @@
#endif
/** Copy the 96bit MCU Unique ID into the provided pointer */
void mcu_unique_id(uint32_t *uid_96_bit)
{
#ifdef __PX4_NUTTX
uid_96_bit[0] = getreg32(STM32_SYSMEM_UID);
uid_96_bit[1] = getreg32(STM32_SYSMEM_UID + 4);
uid_96_bit[2] = getreg32(STM32_SYSMEM_UID + 8);
#else
uid_96_bit[0] = 0;
uid_96_bit[1] = 1;
uid_96_bit[2] = 2;
#endif
}
int mcu_version(char *rev, char **revstr)
{
-9
View File
@@ -46,15 +46,6 @@ enum MCU_REV {
MCU_REV_STM32F4_REV_3 = 0x2001
};
/**
* Reports the microcontroller unique id.
*
* This ID is guaranteed to be unique for every mcu.
* @param uid_96_bit A uint32_t[3] array to copy the data to.
*/
__EXPORT void mcu_unique_id(uint32_t *uid_96_bit);
/**
* Reports the microcontroller version of the main CPU.
*