mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Remove legacy sniffer configuration: cc2538dk
This commit is contained in:
parent
07f984eec2
commit
4a4b3a344d
@ -150,10 +150,6 @@ typedef uint32_t rtimer_clock_t;
|
||||
#define SLIP_ARCH_CONF_USB 0 /**< SLIP over UART by default */
|
||||
#endif
|
||||
|
||||
#ifndef CC2538_RF_CONF_SNIFFER_USB
|
||||
#define CC2538_RF_CONF_SNIFFER_USB 0 /**< Sniffer out over UART by default */
|
||||
#endif
|
||||
|
||||
#ifndef DBG_CONF_USB
|
||||
#define DBG_CONF_USB 0 /**< All debugging over UART by default */
|
||||
#endif
|
||||
@ -168,12 +164,6 @@ typedef uint32_t rtimer_clock_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !CC2538_RF_CONF_SNIFFER_USB
|
||||
#ifndef CC2538_RF_CONF_SNIFFER_UART
|
||||
#define CC2538_RF_CONF_SNIFFER_UART 0 /**< UART to use with sniffer */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !DBG_CONF_USB
|
||||
#ifndef DBG_CONF_UART
|
||||
#define DBG_CONF_UART 0 /**< UART to use for debugging */
|
||||
@ -200,15 +190,6 @@ typedef uint32_t rtimer_clock_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* When set, the radio turns off address filtering and sends all captured
|
||||
* frames down a peripheral (UART or USB, depending on the value of
|
||||
* CC2538_RF_CONF_SNIFFER_USB)
|
||||
*/
|
||||
#ifndef CC2538_RF_CONF_SNIFFER
|
||||
#define CC2538_RF_CONF_SNIFFER 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief Define this as 1 to build a headless node.
|
||||
*
|
||||
@ -229,12 +210,6 @@ typedef uint32_t rtimer_clock_t;
|
||||
|
||||
#undef STARTUP_CONF_VERBOSE
|
||||
#define STARTUP_CONF_VERBOSE 0
|
||||
|
||||
/* Little sanity check: We can't have quiet sniffers */
|
||||
#if CC2538_RF_CONF_SNIFFER
|
||||
#error "CC2538_RF_CONF_SNIFFER == 1 and CC2538_CONF_QUIET == 1"
|
||||
#error "These values are conflicting. Please set either to 0"
|
||||
#endif
|
||||
#endif /* CC2538_CONF_QUIET */
|
||||
|
||||
/**
|
||||
@ -243,8 +218,7 @@ typedef uint32_t rtimer_clock_t;
|
||||
#ifndef USB_SERIAL_CONF_ENABLE
|
||||
#define USB_SERIAL_CONF_ENABLE \
|
||||
((SLIP_ARCH_CONF_USB & SLIP_ARCH_CONF_ENABLED) | \
|
||||
DBG_CONF_USB | \
|
||||
(CC2538_RF_CONF_SNIFFER & CC2538_RF_CONF_SNIFFER_USB))
|
||||
DBG_CONF_USB)
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -264,9 +238,6 @@ typedef uint32_t rtimer_clock_t;
|
||||
#define UART_IN_USE_BY_SLIP(u) (SLIP_ARCH_CONF_ENABLED && \
|
||||
!SLIP_ARCH_CONF_USB && \
|
||||
SLIP_ARCH_CONF_UART == (u))
|
||||
#define UART_IN_USE_BY_RF_SNIFFER(u) (CC2538_RF_CONF_SNIFFER && \
|
||||
!CC2538_RF_CONF_SNIFFER_USB && \
|
||||
CC2538_RF_CONF_SNIFFER_UART == (u))
|
||||
#define UART_IN_USE_BY_DBG(u) (!DBG_CONF_USB && DBG_CONF_UART == (u))
|
||||
#define UART_IN_USE_BY_UART1(u) (UART1_CONF_UART == (u))
|
||||
|
||||
@ -274,7 +245,6 @@ typedef uint32_t rtimer_clock_t;
|
||||
UART_CONF_ENABLE && \
|
||||
(UART_IN_USE_BY_SERIAL_LINE(u) || \
|
||||
UART_IN_USE_BY_SLIP(u) || \
|
||||
UART_IN_USE_BY_RF_SNIFFER(u) || \
|
||||
UART_IN_USE_BY_DBG(u) || \
|
||||
UART_IN_USE_BY_UART1(u)) \
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user