Do not #undef things in a test's project-conf.h
This commit is contained in:
parent
ab7b4676e0
commit
a6cf2700c1
@ -1,7 +1,5 @@
|
||||
#undef UIP_CONF_ND6_SEND_NS
|
||||
#define UIP_CONF_ND6_SEND_NS 1
|
||||
|
||||
#ifdef BUFSIZE
|
||||
#undef UIP_CONF_BUFFER_SIZE
|
||||
#define UIP_CONF_BUFFER_SIZE BUFSIZE
|
||||
#endif /* BUFSIZE */
|
||||
|
@ -1,7 +1,5 @@
|
||||
#undef UIP_CONF_ND6_SEND_NS
|
||||
#define UIP_CONF_ND6_SEND_NS 1
|
||||
|
||||
#ifdef BUFSIZE
|
||||
#undef UIP_CONF_BUFFER_SIZE
|
||||
#define UIP_CONF_BUFFER_SIZE BUFSIZE
|
||||
#endif /* BUFSIZE */
|
||||
|
@ -35,17 +35,13 @@
|
||||
#define UNIT_TEST_PRINT_FUNCTION test_print_report
|
||||
|
||||
/* Set the minimum value of QUEUEBUF_CONF_NUM for the flush_nbr_queue test */
|
||||
#undef QUEUEBUF_CONF_NUM
|
||||
#define QUEUEBUF_CONF_NUM 1
|
||||
|
||||
/* TSCH per-slot logging */
|
||||
#undef TSCH_LOG_CONF_PER_SLOT
|
||||
#define TSCH_LOG_CONF_PER_SLOT 1
|
||||
|
||||
#undef TSCH_CONF_AUTOSTART
|
||||
#define TSCH_CONF_AUTOSTART 1
|
||||
|
||||
#undef TSCH_CONF_WITH_SIXTOP
|
||||
#define TSCH_CONF_WITH_SIXTOP 1
|
||||
|
||||
#if CONTIKI_TARGET_COOJA
|
||||
|
@ -35,21 +35,15 @@
|
||||
#if WITH_SECURITY_ON
|
||||
#define TEST_CONFIG_TYPE SECURITY_ON
|
||||
|
||||
#undef LLSEC802154_CONF_ENABLED
|
||||
#define LLSEC802154_CONF_ENABLED 1
|
||||
|
||||
#elif WITH_ALL_ENABLED
|
||||
#define TEST_CONFIG_TYPE ALL_ENABLED
|
||||
|
||||
#undef TSCH_PACKET_CONF_EACK_WITH_DEST_ADDR
|
||||
#define TSCH_PACKET_CONF_EACK_WITH_DEST_ADDR 1
|
||||
#undef TSCH_PACKET_CONF_EACK_WITH_SRC_ADDR
|
||||
#define TSCH_PACKET_CONF_EACK_WITH_SRC_ADDR 1
|
||||
#undef TSCH_PACKET_CONF_EB_WITH_TIMESLOT_TIMING
|
||||
#define TSCH_PACKET_CONF_EB_WITH_TIMESLOT_TIMING 1
|
||||
#undef TSCH_PACKET_CONF_EB_WITH_HOPPING_SEQUENCE
|
||||
#define TSCH_PACKET_CONF_EB_WITH_HOPPING_SEQUENCE 1
|
||||
#undef TSCH_PACKET_EB_WITH_SLOTFRAME_AND_LINK
|
||||
#define TSCH_PACKET_CONF_EB_WITH_SLOTFRAME_AND_LINK 1
|
||||
|
||||
#endif
|
||||
|
@ -28,5 +28,4 @@
|
||||
*/
|
||||
#define TCPIP_CONF_ANNOTATE_TRANSMISSIONS 1
|
||||
|
||||
#undef RPL_CONF_MOP
|
||||
#define RPL_CONF_MOP RPL_MOP_NON_STORING
|
||||
|
@ -37,36 +37,27 @@
|
||||
//#error "This file is intended to be used for Cooja mote."
|
||||
#endif /* CONTIKI_TARGET_COOJA */
|
||||
|
||||
#undef SIXTOP_CONF_MAX_SCHEDULING_FUNCTIONS
|
||||
#define SIXTOP_CONF_MAX_SCHEDULING_FUNCTIONS 2
|
||||
|
||||
#undef SIXTOP_CONF_MAX_TRANSACTIONS
|
||||
#define SIXTOP_CONF_MAX_TRANSACTIONS 2
|
||||
|
||||
#undef SIXP_CONF_WITH_PAYLOAD_TERMINATION_IE
|
||||
#define SIXP_CONF_WITH_PAYLOAD_TERMINATION_IE 1
|
||||
|
||||
#undef NBR_TABLE_CONF_MAX_NEIGHBORS
|
||||
#define NBR_TABLE_CONF_MAX_NEIGHBORS 2
|
||||
|
||||
#define UNIT_TEST_PRINT_FUNCTION test_print_report
|
||||
|
||||
#undef TSCH_CONF_WITH_SIXTOP
|
||||
#define TSCH_CONF_WITH_SIXTOP 1
|
||||
|
||||
#undef TSCH_LOG_CONF_PER_SLOT
|
||||
#define TSCH_LOG_CONF_PER_SLOT 1
|
||||
|
||||
#define LOG_CONF_LEVEL_6TOP LOG_LEVEL_DBG
|
||||
|
||||
#undef TSCH_CONF_AUTOSTART
|
||||
#define TSCH_CONF_AUTOSTART 0
|
||||
|
||||
#undef IEEE802154_CONF_PANID
|
||||
#define IEEE802154_CONF_PANID 0xabcd
|
||||
|
||||
/* Custom MAC layer */
|
||||
#undef NETSTACK_CONF_MAC
|
||||
#define NETSTACK_CONF_MAC test_mac_driver
|
||||
|
||||
#endif /* __PROJECT_CONF_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user