mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cpu/stm32f1: fixes for the cpuid driver
This commit is contained in:
parent
6a3de4533b
commit
76d0d6c4a2
@ -1 +1 @@
|
|||||||
FEATURES_PROVIDED += transceiver periph_gpio periph_uart periph_spi periph_i2c periph_rtt
|
FEATURES_PROVIDED += transceiver periph_gpio periph_uart periph_spi periph_i2c periph_rtt periph_cpuid
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
/**
|
/**
|
||||||
* @name Length for reading CPU_ID
|
* @name Length for reading CPU_ID
|
||||||
*/
|
*/
|
||||||
#define CPU_ID_LEN (12)
|
#define CPUID_ID_LEN (12)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Definition of different panic modes
|
* @name Definition of different panic modes
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
* @{
|
* @{
|
||||||
*
|
*
|
||||||
* @file cpuid.c
|
* @file cpuid.c
|
||||||
* @brief Implementation
|
* @brief Low-level CPUID driver implementation
|
||||||
*
|
*
|
||||||
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
|
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
|
||||||
*/
|
*/
|
||||||
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
void cpuid_get(void *id)
|
void cpuid_get(void *id)
|
||||||
{
|
{
|
||||||
memcpy(id, (void *)(0x1ffff7e8), CPU_ID_LEN);
|
memcpy(id, (void *)(0x1ffff7e8), CPUID_ID_LEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
Loading…
Reference in New Issue
Block a user