RPL BR and slip-radio: use c flag '-imacros' to include module-specific defines
This commit is contained in:
parent
e63d428a91
commit
cf262c57c8
@ -1,4 +1,4 @@
|
||||
CFLAGS += -DTARGET_CONF_PATH=\"native/module-conf.h\"
|
||||
CFLAGS += -imacros native/module-macros.h
|
||||
MODULES += os/services/slip-cmd
|
||||
|
||||
MAKE_MAC = MAKE_MAC_OTHER
|
||||
|
@ -1 +1 @@
|
||||
CFLAGS += -DTARGET_CONF_PATH=\"sky/module-conf.h\"
|
||||
CFLAGS += -imacros sky/module-macros.h
|
||||
|
@ -29,11 +29,7 @@
|
||||
|
||||
#ifndef PROJECT_CONF_H_
|
||||
#define PROJECT_CONF_H_
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* Include target-specific header */
|
||||
#ifdef TARGET_CONF_PATH
|
||||
#include TARGET_CONF_PATH
|
||||
#endif /* TARGET_CONF_PATH */
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#define UIP_CONF_ROUTER 0
|
||||
|
||||
|
@ -1 +1 @@
|
||||
CFLAGS += -DTARGET_CONF_PATH=\"target-conf.h\"
|
||||
CFLAGS += -imacros sky/module-macros.h
|
||||
|
@ -29,9 +29,6 @@
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#ifndef TARGET_CONF_H_
|
||||
#define TARGET_CONF_H_
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#define QUEUEBUF_CONF_NUM 4
|
||||
#define UIP_CONF_BUFFER_SIZE 140
|
||||
|
||||
@ -39,5 +36,3 @@
|
||||
#define SLIP_RADIO_CONF_SENSORS slip_radio_sky_sensors
|
||||
#define UART1_CONF_RX_WITH_DMA 1
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#endif /* TARGET_CONF_H_ */
|
||||
/*---------------------------------------------------------------------------*/
|
Loading…
Reference in New Issue
Block a user