2015-04-16 08:33:35 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2014 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief Implementation specific CPU configuration options
|
|
|
|
*
|
|
|
|
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CPU_CONF_H
|
|
|
|
#define __CPU_CONF_H
|
|
|
|
|
|
|
|
#include "atmel/saml21.h"
|
|
|
|
|
2015-05-27 23:07:10 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
2015-04-16 08:33:35 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
2015-05-27 23:07:10 +02:00
|
|
|
* @brief ARM Cortex-M specific CPU configuration
|
2015-04-16 08:33:35 +02:00
|
|
|
* @{
|
|
|
|
*/
|
2015-05-27 23:07:10 +02:00
|
|
|
#define CPU_DEFAULT_IRQ_PRIO (1U)
|
|
|
|
#define CPU_IRQ_NUMOF PERIPH_COUNT_IRQn
|
|
|
|
#define CPU_FLASH_BASE FLASH_ADDR
|
2015-04-16 08:33:35 +02:00
|
|
|
/** @} */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief CPUID_ID_LEN length of cpuid in bytes
|
|
|
|
*/
|
|
|
|
#define CPUID_ID_LEN (16) /* 128 bits long, 16 bytes long */
|
2015-05-27 10:37:51 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2015-04-16 08:33:35 +02:00
|
|
|
#endif /* __CPU_CONF_H */
|
|
|
|
/** @} */
|