mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Including CPU_MODEL_ guard in cpu config file.
Remove CC110X definitions. Changes to be committed: modified: cpu/lm4f120/include/cpu_conf.h
This commit is contained in:
parent
2d656b8732
commit
1227cb30f6
@ -27,7 +27,6 @@
|
|||||||
#include "hw_nvic.h"
|
#include "hw_nvic.h"
|
||||||
#include "hw_sysctl.h"
|
#include "hw_sysctl.h"
|
||||||
#include "hw_types.h"
|
#include "hw_types.h"
|
||||||
#include "lm4f120h5qr.h"
|
|
||||||
#include "cortex-m4-def.h"
|
#include "cortex-m4-def.h"
|
||||||
#include "stellaris_periph/cpu.h"
|
#include "stellaris_periph/cpu.h"
|
||||||
#include "stellaris_periph/debug.h"
|
#include "stellaris_periph/debug.h"
|
||||||
@ -43,6 +42,10 @@
|
|||||||
#include "hwtimer_cpu.h"
|
#include "hwtimer_cpu.h"
|
||||||
#include "periph/uart.h"
|
#include "periph/uart.h"
|
||||||
|
|
||||||
|
#ifdef CPU_MODEL_LM4F120H5QR
|
||||||
|
#include "lm4f120h5qr.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@ -64,16 +67,6 @@ extern "C" {
|
|||||||
#define CPUID_ADDR NVIC_CPUID
|
#define CPUID_ADDR NVIC_CPUID
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @name CC110X buffer size definitions for the stm32f4
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
#ifdef MODULE_CC110X
|
|
||||||
#define TRANSCEIVER_BUFFER_SIZE (10)
|
|
||||||
#define RX_BUF_SIZE (10)
|
|
||||||
#endif
|
|
||||||
/** @} */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name cpu functions
|
* @name cpu functions
|
||||||
* @{
|
* @{
|
||||||
|
Loading…
Reference in New Issue
Block a user