
26 changed files with 50 additions and 178 deletions
@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2015 James Hollister |
||||
* |
||||
* This file is subject to the terms and conditions of the GNU Lesser |
||||
* General Public License v2.1. See the file LICENSE in the top level |
||||
* directory for more details. |
||||
*/ |
||||
|
||||
/**
|
||||
* @addtogroup cpu_stm32f0 |
||||
* @{ |
||||
* |
||||
* @file |
||||
* @brief Low-level CPUID driver implementation |
||||
* |
||||
* @author James Hollister <jhollisterjr@gmail.com> |
||||
* |
||||
* @} |
||||
*/ |
||||
|
||||
#include <string.h> |
||||
|
||||
#include "periph/cpuid.h" |
||||
|
||||
#define STM32F0_CPUID_ADDR (0x1ffff7ac) |
||||
|
||||
void cpuid_get(void *id) |
||||
{ |
||||
memcpy(id, (void *)(STM32F0_CPUID_ADDR), CPUID_LEN); |
||||
} |
@ -1,28 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2014-2016 Freie Universität Berlin |
||||
* |
||||
* This file is subject to the terms and conditions of the GNU Lesser |
||||
* General Public License v2.1. See the file LICENSE in the top level |
||||
* directory for more details. |
||||
*/ |
||||
|
||||
/**
|
||||
* @addtogroup cpu_stm32f1 |
||||
* @{ |
||||
* |
||||
* @file |
||||
* @brief Low-level CPUID driver implementation |
||||
* |
||||
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de> |
||||
* |
||||
* @} |
||||
*/ |
||||
|
||||
#include <string.h> |
||||
|
||||
#include "periph/cpuid.h" |
||||
|
||||
void cpuid_get(void *id) |
||||
{ |
||||
memcpy(id, (void *)(0x1ffff7e8), CPUID_LEN); |
||||
} |
@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2015 James Hollister |
||||
* |
||||
* This file is subject to the terms and conditions of the GNU Lesser |
||||
* General Public License v2.1. See the file LICENSE in the top level |
||||
* directory for more details. |
||||
*/ |
||||
|
||||
/**
|
||||
* @addtogroup cpu_stm32f3 |
||||
* @{ |
||||
* |
||||
* @file |
||||
* @brief Low-level CPUID driver implementation |
||||
* |
||||
* @author James Hollister <jhollisterjr@gmail.com> |
||||
* |
||||
* @} |
||||
*/ |
||||
|
||||
#include <string.h> |
||||
|
||||
#include "periph/cpuid.h" |
||||
|
||||
#define STM32F3_CPUID_ADDR (0x1ffff7ac) |
||||
|
||||
void cpuid_get(void *id) |
||||
{ |
||||
memcpy(id, (void *)(STM32F3_CPUID_ADDR), CPUID_LEN); |
||||
} |
@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2015 James Hollister |
||||
* |
||||
* This file is subject to the terms and conditions of the GNU Lesser |
||||
* General Public License v2.1. See the file LICENSE in the top level |
||||
* directory for more details. |
||||
*/ |
||||
|
||||
/**
|
||||
* @addtogroup cpu_stm32f4 |
||||
* @{ |
||||
* |
||||
* @file |
||||
* @brief Low-level CPUID driver implementation |
||||
* |
||||
* @author James Hollister <jhollisterjr@gmail.com> |
||||
* |
||||
* @} |
||||
*/ |
||||
|
||||
#include <string.h> |
||||
|
||||
#include "periph/cpuid.h" |
||||
|
||||
#define STM32F4_CPUID_ADDR (0x1fff7a10) |
||||
|
||||
void cpuid_get(void *id) |
||||
{ |
||||
memcpy(id, (void *)(STM32F4_CPUID_ADDR), CPUID_LEN); |
||||
} |
Loading…
Reference in new issue