2014-10-13 15:29:49 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2014 Loci Controls Inc.
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2017-07-06 13:38:54 +02:00
|
|
|
* @ingroup cpu_cc2538
|
2014-10-13 15:29:49 +02:00
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief Implementation specific CPU configuration options
|
|
|
|
*
|
|
|
|
* @author Ian Martin <ian@locicontrols.com>
|
|
|
|
*/
|
|
|
|
|
2016-06-07 16:29:37 +02:00
|
|
|
#ifndef CPU_CONF_H
|
|
|
|
#define CPU_CONF_H
|
2014-10-13 15:29:49 +02:00
|
|
|
|
2016-01-14 23:21:49 +01:00
|
|
|
#include "cpu_conf_common.h"
|
2014-10-13 15:29:49 +02:00
|
|
|
#include "cc2538.h"
|
2015-12-18 12:03:55 +01:00
|
|
|
#include "cc2538_gpio.h"
|
|
|
|
#include "cc2538_uart.h"
|
|
|
|
#include "cc2538_gptimer.h"
|
|
|
|
#include "cc2538_soc_adc.h"
|
2017-01-20 09:38:20 +01:00
|
|
|
#include "cc2538_ssi.h"
|
2015-12-18 12:03:55 +01:00
|
|
|
#include "cc2538_rfcore.h"
|
|
|
|
#include "cc2538_sys_ctrl.h"
|
2014-10-13 15:29:49 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
2017-07-06 13:38:54 +02:00
|
|
|
* @name ARM Cortex-M specific CPU configuration
|
2014-10-13 15:29:49 +02:00
|
|
|
* @{
|
|
|
|
*/
|
2015-05-27 23:04:04 +02:00
|
|
|
#define CPU_DEFAULT_IRQ_PRIO (1U)
|
|
|
|
#define CPU_IRQ_NUMOF PERIPH_COUNT_IRQn
|
|
|
|
#define CPU_FLASH_BASE FLASH_BASE
|
2014-10-13 15:29:49 +02:00
|
|
|
/** @} */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* end extern "C" */
|
|
|
|
#endif
|
|
|
|
|
2016-06-07 16:29:37 +02:00
|
|
|
#endif /* CPU_CONF_H */
|
2014-10-13 15:29:49 +02:00
|
|
|
/** @} */
|