Simplify framer configuration
This commit is contained in:
parent
117dbe44c8
commit
9cde0886d6
@ -32,21 +32,6 @@
|
||||
#ifndef CONTIKI_DEFAULT_CONF_H
|
||||
#define CONTIKI_DEFAULT_CONF_H
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* Netstack configuration
|
||||
*
|
||||
* The netstack configuration is typically overridden by the platform
|
||||
* configuration, as defined in contiki-conf.h
|
||||
*/
|
||||
|
||||
/* NETSTACK_CONF_FRAMER specifies the over-the-air frame format used
|
||||
by Contiki radio packets. For IEEE 802.15.4 radios, use the
|
||||
framer_802154 driver. */
|
||||
#ifndef NETSTACK_CONF_FRAMER
|
||||
#define NETSTACK_CONF_FRAMER framer_802154
|
||||
/* #define NETSTACK_CONF_FRAMER framer_802154 */
|
||||
#endif /* NETSTACK_CONF_FRAMER */
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* Packet buffer size options.
|
||||
*
|
||||
|
@ -76,13 +76,13 @@
|
||||
#define NETSTACK_RADIO nullradio_driver
|
||||
#endif /* NETSTACK_CONF_RADIO */
|
||||
|
||||
#ifndef NETSTACK_FRAMER
|
||||
/* Framer selection. The framer is used by the MAC implementation
|
||||
to build and parse frames. */
|
||||
#ifdef NETSTACK_CONF_FRAMER
|
||||
#define NETSTACK_FRAMER NETSTACK_CONF_FRAMER
|
||||
#else /* NETSTACK_CONF_FRAMER */
|
||||
#define NETSTACK_FRAMER framer_802154
|
||||
#endif /* NETSTACK_CONF_FRAMER */
|
||||
#endif /* NETSTACK_FRAMER */
|
||||
|
||||
#include "net/mac/mac.h"
|
||||
#include "net/mac/framer/framer.h"
|
||||
|
Loading…
Reference in New Issue
Block a user