2014-11-19 16:31:33 +01: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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @defgroup cpu_lpc1768 NXP LPC1768
|
|
|
|
* @ingroup cpu
|
|
|
|
* @brief CPU specific implementations for the NXP LPC1768 cpu
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
2015-08-14 13:50:32 +02:00
|
|
|
* @brief CPU specific configuration options
|
2015-05-27 23:06:19 +02:00
|
|
|
*
|
2017-01-19 21:45:23 +01:00
|
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
2014-11-19 16:31:33 +01:00
|
|
|
*/
|
|
|
|
|
2016-06-07 16:29:37 +02:00
|
|
|
#ifndef CPU_CONF_H
|
|
|
|
#define CPU_CONF_H
|
2014-11-19 16:31:33 +01:00
|
|
|
|
2016-01-14 23:21:49 +01:00
|
|
|
#include "cpu_conf_common.h"
|
|
|
|
|
2017-03-06 16:28:11 +01:00
|
|
|
#include "vendor/LPC17xx.h"
|
2014-11-19 16:31:33 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2013-11-09 00:43:35 +01:00
|
|
|
|
|
|
|
/**
|
2015-05-27 23:06:19 +02:00
|
|
|
* @brief ARM Cortex-M specific CPU configuration
|
2013-11-09 00:43:35 +01:00
|
|
|
* @{
|
|
|
|
*/
|
2015-05-27 23:06:19 +02:00
|
|
|
#define CPU_DEFAULT_IRQ_PRIO (1U)
|
|
|
|
#define CPU_IRQ_NUMOF (35U)
|
|
|
|
#define CPU_FLASH_BASE LPC_FLASH_BASE
|
2020-08-07 18:02:16 +02:00
|
|
|
#define CPU_HAS_BITBAND (1)
|
2013-11-09 00:43:35 +01:00
|
|
|
/** @} */
|
|
|
|
|
2016-03-10 05:01:34 +01:00
|
|
|
/**
|
|
|
|
* @brief CPU ID configuration
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
#define CPUID_LEN (16U)
|
2021-09-05 20:46:51 +02:00
|
|
|
/** @} */
|
2016-03-10 05:01:34 +01:00
|
|
|
|
2014-11-19 16:31:33 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2016-06-07 16:29:37 +02:00
|
|
|
#endif /* CPU_CONF_H */
|
2014-11-19 16:31:33 +01:00
|
|
|
/** @} */
|