Do not attempt to compile SLIP for nrf52dk

This commit is contained in:
Simon Duquennoy 2018-02-27 12:45:29 -08:00 committed by Atis Elsts
parent 96a818e081
commit b0b71f6624
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ platform_init_stage_two(void)
#ifdef UART0_ENABLED #ifdef UART0_ENABLED
uart0_init(); uart0_init();
#if SLIP_ARCH_CONF_ENABLE #if SLIP_ARCH_CONF_ENABLE
slip_arch_init(); #error Platform does not support SLIP
#else #else
uart0_set_input(serial_line_input_byte); uart0_set_input(serial_line_input_byte);
serial_line_init(); serial_line_init();

View File

@ -3,7 +3,7 @@ all: $(CONTIKI_PROJECT)
MODULES += os/services/slip-cmd MODULES += os/services/slip-cmd
# slip-radio is only intended for platforms with SLIP support # slip-radio is only intended for platforms with SLIP support
PLATFORMS_EXCLUDE = native PLATFORMS_EXCLUDE = native nrf52dk
CONTIKI=../.. CONTIKI=../..
include $(CONTIKI)/Makefile.identify-target include $(CONTIKI)/Makefile.identify-target