diff --git a/arch/arm/src/stm32/stm32_uid.c b/arch/arm/src/stm32/stm32_uid.c index d38447726f..5456b2027d 100644 --- a/arch/arm/src/stm32/stm32_uid.c +++ b/arch/arm/src/stm32/stm32_uid.c @@ -37,9 +37,14 @@ * Included Files ************************************************************************************/ +#include + #include + #include "stm32_uid.h" +#ifdef STM32_SYSMEM_UID /* Not defined for the STM32L */ + /************************************************************************************ * Public Functions ************************************************************************************/ @@ -53,3 +58,6 @@ void stm32_get_uniqueid(uint8_t uniqueid[12]) uniqueid[i] = *((uint8_t*)(STM32_SYSMEM_UID)+i); } } + +#endif /* STM32_SYSMEM_UID */ +