Removing more refs to old platforms
This commit is contained in:
parent
802e498380
commit
8cc5e082ac
@ -44,12 +44,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef __AVR__
|
|
||||||
#include <avr/pgmspace.h>
|
|
||||||
#define PRINTA(FORMAT,args...) printf_P(PSTR(FORMAT),##args)
|
|
||||||
#else
|
|
||||||
#define PRINTA(...) printf(__VA_ARGS__)
|
#define PRINTA(...) printf(__VA_ARGS__)
|
||||||
#endif
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
|
@ -54,29 +54,16 @@ void net_debug_lladdr_print(const uip_lladdr_t *addr);
|
|||||||
#define DEBUG_FULL DEBUG_ANNOTATE | DEBUG_PRINT
|
#define DEBUG_FULL DEBUG_ANNOTATE | DEBUG_PRINT
|
||||||
|
|
||||||
/* PRINTA will always print if the debug routines are called directly */
|
/* PRINTA will always print if the debug routines are called directly */
|
||||||
#ifdef __AVR__
|
|
||||||
#include <avr/pgmspace.h>
|
|
||||||
#define PRINTA(FORMAT,args...) printf_P(PSTR(FORMAT),##args)
|
|
||||||
#else
|
|
||||||
#define PRINTA(...) printf(__VA_ARGS__)
|
#define PRINTA(...) printf(__VA_ARGS__)
|
||||||
#endif
|
|
||||||
|
|
||||||
#if (DEBUG) & DEBUG_ANNOTATE
|
#if (DEBUG) & DEBUG_ANNOTATE
|
||||||
#ifdef __AVR__
|
|
||||||
#define ANNOTATE(FORMAT,args...) printf_P(PSTR(FORMAT),##args)
|
|
||||||
#else
|
|
||||||
#define ANNOTATE(...) printf(__VA_ARGS__)
|
#define ANNOTATE(...) printf(__VA_ARGS__)
|
||||||
#endif
|
|
||||||
#else
|
#else
|
||||||
#define ANNOTATE(...)
|
#define ANNOTATE(...)
|
||||||
#endif /* (DEBUG) & DEBUG_ANNOTATE */
|
#endif /* (DEBUG) & DEBUG_ANNOTATE */
|
||||||
|
|
||||||
#if (DEBUG) & DEBUG_PRINT
|
#if (DEBUG) & DEBUG_PRINT
|
||||||
#ifdef __AVR__
|
|
||||||
#define PRINTF(FORMAT,args...) printf_P(PSTR(FORMAT),##args)
|
|
||||||
#else
|
|
||||||
#define PRINTF(...) printf(__VA_ARGS__)
|
#define PRINTF(...) printf(__VA_ARGS__)
|
||||||
#endif
|
|
||||||
#define PRINTLLADDR(lladdr) net_debug_lladdr_print(lladdr)
|
#define PRINTLLADDR(lladdr) net_debug_lladdr_print(lladdr)
|
||||||
#else
|
#else
|
||||||
#define PRINTF(...)
|
#define PRINTF(...)
|
||||||
|
@ -90,37 +90,7 @@ extern energest_t energest_leveldevice_current_leveltime[ENERGEST_CONF_LEVELDEVI
|
|||||||
energest_current_time[type] = RTIMER_NOW(); \
|
energest_current_time[type] = RTIMER_NOW(); \
|
||||||
energest_current_mode[type] = 1; \
|
energest_current_mode[type] = 1; \
|
||||||
} while(0)
|
} while(0)
|
||||||
#ifdef __AVR__
|
|
||||||
/* Handle 16 bit rtimer wraparound */
|
|
||||||
#define ENERGEST_OFF(type) if(energest_current_mode[type] != 0) do { \
|
|
||||||
if (RTIMER_NOW() < energest_current_time[type]) energest_total_time[type].current += RTIMER_ARCH_SECOND; \
|
|
||||||
energest_total_time[type].current += (rtimer_clock_t)(RTIMER_NOW() - \
|
|
||||||
energest_current_time[type]); \
|
|
||||||
energest_current_mode[type] = 0; \
|
|
||||||
} while(0)
|
|
||||||
|
|
||||||
#define ENERGEST_OFF_LEVEL(type,level) do { \
|
|
||||||
if (RTIMER_NOW() < energest_current_time[type]) energest_total_time[type].current += RTIMER_ARCH_SECOND; \
|
|
||||||
energest_leveldevice_current_leveltime[level].current += (rtimer_clock_t)(RTIMER_NOW() - \
|
|
||||||
energest_current_time[type]); \
|
|
||||||
energest_current_mode[type] = 0; \
|
|
||||||
} while(0)
|
|
||||||
|
|
||||||
#define ENERGEST_SWITCH(type_off, type_on) do { \
|
|
||||||
rtimer_clock_t energest_local_variable_now = RTIMER_NOW(); \
|
|
||||||
if(energest_current_mode[type_off] != 0) { \
|
|
||||||
if (energest_local_variable_now < energest_current_time[type_off]) { \
|
|
||||||
energest_total_time[type_off].current += RTIMER_ARCH_SECOND; \
|
|
||||||
} \
|
|
||||||
energest_total_time[type_off].current += (rtimer_clock_t)(energest_local_variable_now - \
|
|
||||||
energest_current_time[type_off]); \
|
|
||||||
energest_current_mode[type_off] = 0; \
|
|
||||||
} \
|
|
||||||
energest_current_time[type_on] = energest_local_variable_now; \
|
|
||||||
energest_current_mode[type_on] = 1; \
|
|
||||||
} while(0)
|
|
||||||
|
|
||||||
#else
|
|
||||||
#define ENERGEST_OFF(type) if(energest_current_mode[type] != 0) do { \
|
#define ENERGEST_OFF(type) if(energest_current_mode[type] != 0) do { \
|
||||||
energest_total_time[type].current += (rtimer_clock_t)(RTIMER_NOW() - \
|
energest_total_time[type].current += (rtimer_clock_t)(RTIMER_NOW() - \
|
||||||
energest_current_time[type]); \
|
energest_current_time[type]); \
|
||||||
@ -143,7 +113,6 @@ extern energest_t energest_leveldevice_current_leveltime[ENERGEST_CONF_LEVELDEVI
|
|||||||
energest_current_time[type_on] = energest_local_variable_now; \
|
energest_current_time[type_on] = energest_local_variable_now; \
|
||||||
energest_current_mode[type_on] = 1; \
|
energest_current_mode[type_on] = 1; \
|
||||||
} while(0)
|
} while(0)
|
||||||
#endif
|
|
||||||
|
|
||||||
#else /* ENERGEST_CONF_ON */
|
#else /* ENERGEST_CONF_ON */
|
||||||
#define ENERGEST_ON(type) do { } while(0)
|
#define ENERGEST_ON(type) do { } while(0)
|
||||||
|
@ -37,10 +37,6 @@
|
|||||||
|
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
|
|
||||||
#if defined(__AVR__)
|
|
||||||
#include <avr/io.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "dev/leds.h"
|
#include "dev/leds.h"
|
||||||
#include "dev/spi.h"
|
#include "dev/spi.h"
|
||||||
#include "cc2420.h"
|
#include "cc2420.h"
|
||||||
|
@ -3,8 +3,4 @@ CONTIKI = ../..
|
|||||||
|
|
||||||
all: test-cfs test-coffee example-coffee
|
all: test-cfs test-coffee example-coffee
|
||||||
|
|
||||||
ifeq ($(TARGET),avr-raven)
|
|
||||||
COFFEE_FILES = 4
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(CONTIKI)/Makefile.include
|
include $(CONTIKI)/Makefile.include
|
||||||
|
@ -11,7 +11,6 @@ PROJECT_SOURCEFILES += slip-bridge.c
|
|||||||
#WITH_WEBSERVER=webserver-name will use /apps/webserver-name if it can be
|
#WITH_WEBSERVER=webserver-name will use /apps/webserver-name if it can be
|
||||||
#found in the /apps, /drivers//platform/$(TARGET)/apps/, or current directory (in that order).
|
#found in the /apps, /drivers//platform/$(TARGET)/apps/, or current directory (in that order).
|
||||||
# WITH_WEBSERVER=webserver for /apps/webserver
|
# WITH_WEBSERVER=webserver for /apps/webserver
|
||||||
# WITH_WEBSERVER=raven-webserver for /drivers/platform/avr-raven/apps/raven-webserver/
|
|
||||||
#make clean before changing webservers!
|
#make clean before changing webservers!
|
||||||
|
|
||||||
#Note /apps/webserver contains a 2500 byte style sheet which is a severe test
|
#Note /apps/webserver contains a 2500 byte style sheet which is a severe test
|
||||||
|
@ -1,43 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2016, George Oikonomou - http://www.spd.gr
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions
|
|
||||||
* are met:
|
|
||||||
*
|
|
||||||
* 1. Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
* 3. Neither the name of the copyright holder nor the names of its
|
|
||||||
* contributors may be used to endorse or promote products derived
|
|
||||||
* from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
||||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
||||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*/
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#ifndef AVR_RSS2_IO_H_
|
|
||||||
#define AVR_RSS2_IO_H_
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#include "contiki-conf.h"
|
|
||||||
#include "dev/rs232.h"
|
|
||||||
|
|
||||||
#define sensniff_io_byte_out(b) rs232_send(0, b)
|
|
||||||
#define sensniff_io_flush()
|
|
||||||
#define sensniff_io_set_input(b) rs232_set_input(RS232_PORT_0, b)
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#endif /* AVR_RSS2_IO_H_ */
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
@ -1,39 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2016, George Oikonomou - http://www.spd.gr
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions
|
|
||||||
* are met:
|
|
||||||
*
|
|
||||||
* 1. Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
* 3. Neither the name of the copyright holder nor the names of its
|
|
||||||
* contributors may be used to endorse or promote products derived
|
|
||||||
* from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
||||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
||||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*/
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#ifndef TARGET_CONF_H_
|
|
||||||
#define TARGET_CONF_H_
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#define SENSNIFF_IO_DRIVER_H "avr-rss2/avr-rss2-io.h"
|
|
||||||
#define RS232_BAUDRATE USART_BAUD_500000
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#endif /* TARGET_CONF_H_ */
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
@ -1 +0,0 @@
|
|||||||
HAVE_BANKING = 1
|
|
@ -1,49 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2016, George Oikonomou - http://www.spd.gr
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions
|
|
||||||
* are met:
|
|
||||||
*
|
|
||||||
* 1. Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
* 3. Neither the name of the copyright holder nor the names of its
|
|
||||||
* contributors may be used to endorse or promote products derived
|
|
||||||
* from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
||||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
||||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*/
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#ifndef TARGET_CONF_H_
|
|
||||||
#define TARGET_CONF_H_
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
/* Change to 0 to build for the SmartRF + cc2530 EM */
|
|
||||||
#define MODELS_CONF_CC2531_USB_STICK 1
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
/* Don't change below this line */
|
|
||||||
#define ADC_SENSOR_CONF_ON 0
|
|
||||||
#define LPM_CONF_MODE 0
|
|
||||||
#define UART0_CONF_HIGH_SPEED 1
|
|
||||||
#define UART0_RTSCTS 1
|
|
||||||
#define UART0_CONF_WITH_INPUT 1
|
|
||||||
#define USB_SERIAL_CONF_BUFFERED 1
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#define SENSNIFF_IO_DRIVER_H "pool/cc2530-cc2531-io.h"
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#endif /* TARGET_CONF_H_ */
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
@ -1,43 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2016, George Oikonomou - http://www.spd.gr
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions
|
|
||||||
* are met:
|
|
||||||
*
|
|
||||||
* 1. Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
* 3. Neither the name of the copyright holder nor the names of its
|
|
||||||
* contributors may be used to endorse or promote products derived
|
|
||||||
* from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
||||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
||||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*/
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#ifndef EV_ADUCRF101MKXZ_IO_H_
|
|
||||||
#define EV_ADUCRF101MKXZ_IO_H_
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#include "contiki-conf.h"
|
|
||||||
#include "dev/uart.h"
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#define sensniff_io_byte_out(b) uart_put(b)
|
|
||||||
#define sensniff_io_flush()
|
|
||||||
#define sensniff_io_set_input(f) uart_set_input(f)
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#endif /* EV_ADUCRF101MKXZ_IO_H_ */
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
@ -1,38 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2016, George Oikonomou - http://www.spd.gr
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions
|
|
||||||
* are met:
|
|
||||||
*
|
|
||||||
* 1. Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
* 3. Neither the name of the copyright holder nor the names of its
|
|
||||||
* contributors may be used to endorse or promote products derived
|
|
||||||
* from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
||||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
||||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*/
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#ifndef TARGET_CONF_H_
|
|
||||||
#define TARGET_CONF_H_
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#define SENSNIFF_IO_DRIVER_H "ev-aducrf101mkxz/ev-aducrf101mkxz-io.h"
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#endif /* TARGET_CONF_H_ */
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
@ -1,41 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2016, George Oikonomou - http://www.spd.gr
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions
|
|
||||||
* are met:
|
|
||||||
*
|
|
||||||
* 1. Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* 2. Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
* 3. Neither the name of the copyright holder nor the names of its
|
|
||||||
* contributors may be used to endorse or promote products derived
|
|
||||||
* from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
||||||
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
|
||||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
||||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
||||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
||||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*/
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#ifndef TARGET_CONF_H_
|
|
||||||
#define TARGET_CONF_H_
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#define MSP430_IO_CONF_USE_UART1 0
|
|
||||||
#define UART0_CONF_BAUD_RATE 460800
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#define SENSNIFF_IO_DRIVER_H "pool/msp430-io.h"
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
||||||
#endif /* TARGET_CONF_H_ */
|
|
||||||
/*---------------------------------------------------------------------------*/
|
|
Loading…
Reference in New Issue
Block a user