Include contiki.h instead of contiki-conf.h so as to ensure consistent inclusion of contiki-default-conf.h

This commit is contained in:
Simon Duquennoy 2017-09-04 16:22:34 +02:00
parent 0b315d8056
commit 0f92c6ebfd
146 changed files with 157 additions and 153 deletions

View File

@ -51,7 +51,7 @@
#ifndef MTARCH_H_ #ifndef MTARCH_H_
#define MTARCH_H_ #define MTARCH_H_
#include "contiki-conf.h" #include "contiki.h"
#include "sys/cc.h" #include "sys/cc.h"
#include <stdint.h> #include <stdint.h>

View File

@ -35,7 +35,7 @@
* \file * \file
* Module for the cc2538 Coffee port * Module for the cc2538 Coffee port
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "sys/cc.h" #include "sys/cc.h"
#include "cfs/cfs-coffee.h" #include "cfs/cfs-coffee.h"
#include "dev/cc2538-dev.h" #include "dev/cc2538-dev.h"

View File

@ -43,7 +43,7 @@
#ifndef CFS_COFFEE_ARCH_H_ #ifndef CFS_COFFEE_ARCH_H_
#define CFS_COFFEE_ARCH_H_ #define CFS_COFFEE_ARCH_H_
#include "contiki-conf.h" #include "contiki.h"
#include "cfs/cfs-coffee.h" #include "cfs/cfs-coffee.h"
#include "dev/cc2538-dev.h" #include "dev/cc2538-dev.h"
#include "dev/flash.h" #include "dev/flash.h"

View File

@ -50,7 +50,7 @@
#ifndef DBG_H_ #ifndef DBG_H_
#define DBG_H_ #define DBG_H_
#include "contiki-conf.h" #include "contiki.h"
#include "usb/usb-serial.h" #include "usb/usb-serial.h"
/** /**

View File

@ -43,7 +43,7 @@
#ifndef CC2538_DEV_H_ #ifndef CC2538_DEV_H_
#define CC2538_DEV_H_ #define CC2538_DEV_H_
#include "contiki-conf.h" #include "contiki.h"
#include "sys/cc.h" #include "sys/cc.h"
/*----------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------*/
/** \name Bit-fields for the CC2538 devices features /** \name Bit-fields for the CC2538 devices features

View File

@ -35,7 +35,7 @@
* \file * \file
* Implementation of the cc2538 micro-DMA driver * Implementation of the cc2538 micro-DMA driver
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "dev/udma.h" #include "dev/udma.h"
#include "dev/nvic.h" #include "dev/nvic.h"
#include "reg.h" #include "reg.h"

View File

@ -44,7 +44,7 @@
#ifndef UDMA_H_ #ifndef UDMA_H_
#define UDMA_H_ #define UDMA_H_
#include "contiki-conf.h" #include "contiki.h"
/* /*
* Enable all uDMA channels unless a conf file tells us to do otherwise. * Enable all uDMA channels unless a conf file tells us to do otherwise.

View File

@ -45,7 +45,7 @@
#ifndef USB_REGS_H_ #ifndef USB_REGS_H_
#define USB_REGS_H_ #define USB_REGS_H_
#include "contiki-conf.h" #include "contiki.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/** /**
* \name USB Register Offsets * \name USB Register Offsets

View File

@ -35,7 +35,7 @@
* \file * \file
* Driver for the cc2538 IEEE addresses * Driver for the cc2538 IEEE addresses
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "net/linkaddr.h" #include "net/linkaddr.h"
#include "ieee-addr.h" #include "ieee-addr.h"

View File

@ -44,7 +44,7 @@
#ifndef IEEE_ADDR_H_ #ifndef IEEE_ADDR_H_
#define IEEE_ADDR_H_ #define IEEE_ADDR_H_
#include "contiki-conf.h" #include "contiki.h"
#include <stdint.h> #include <stdint.h>
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -35,7 +35,7 @@
* \file * \file
* Implementation of low power modes ofr the cc2538 * Implementation of low power modes ofr the cc2538
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "sys/energest.h" #include "sys/energest.h"
#include "sys/process.h" #include "sys/process.h"
#include "dev/sys-ctrl.h" #include "dev/sys-ctrl.h"

View File

@ -44,7 +44,7 @@
#ifndef LPM_H_ #ifndef LPM_H_
#define LPM_H_ #define LPM_H_
#include "contiki-conf.h" #include "contiki.h"
#include "rtimer.h" #include "rtimer.h"
#include <stdbool.h> #include <stdbool.h>

View File

@ -38,7 +38,7 @@
* SLIP can be configured to operate over UART or over USB-Serial, depending * SLIP can be configured to operate over UART or over USB-Serial, depending
* on the value of SLIP_ARCH_CONF_USB * on the value of SLIP_ARCH_CONF_USB
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "dev/slip.h" #include "dev/slip.h"
#include "dev/uart.h" #include "dev/uart.h"
#include "usb/usb-serial.h" #include "usb/usb-serial.h"

View File

@ -35,7 +35,7 @@
* \file * \file
* Implementation of the cc2538 SoC driver * Implementation of the cc2538 SoC driver
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "dev/rom-util.h" #include "dev/rom-util.h"
#include "dev/sys-ctrl.h" #include "dev/sys-ctrl.h"
#include "reg.h" #include "reg.h"

View File

@ -43,7 +43,7 @@
#ifndef SOC_H_ #ifndef SOC_H_
#define SOC_H_ #define SOC_H_
#include "contiki-conf.h" #include "contiki.h"
#include <stdint.h> #include <stdint.h>
/*----------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------*/

View File

@ -38,7 +38,7 @@
* with the only change being the values for VID and PID * with the only change being the values for VID and PID
*/ */
#include "descriptors.h" #include "descriptors.h"
#include "contiki-conf.h" #include "contiki.h"
#include "cdc.h" #include "cdc.h"
#include "usb-arch.h" #include "usb-arch.h"

View File

@ -38,7 +38,7 @@
#ifndef CLOCK_ISR_H_ #ifndef CLOCK_ISR_H_
#define CLOCK_ISR_H_ #define CLOCK_ISR_H_
#include "contiki-conf.h" #include "contiki.h"
#include "cc253x.h" #include "cc253x.h"
void clock_isr(void) __interrupt(ST_VECTOR); void clock_isr(void) __interrupt(ST_VECTOR);

View File

@ -42,7 +42,7 @@
#ifndef LPM_H_ #ifndef LPM_H_
#define LPM_H_ #define LPM_H_
#include "contiki-conf.h" #include "contiki.h"
#define LPM_MODE_NONE 0 /* No LPM - Always on */ #define LPM_MODE_NONE 0 /* No LPM - Always on */
#define LPM_MODE_IDLE 1 /* Set MCU Idle as part of the main loop */ #define LPM_MODE_IDLE 1 /* Set MCU Idle as part of the main loop */

View File

@ -1,7 +1,7 @@
#ifndef UART_H #ifndef UART_H
#define UART_H #define UART_H
#include "contiki-conf.h" #include "contiki.h"
#include "cc253x.h" #include "cc253x.h"
#include "8051def.h" #include "8051def.h"

View File

@ -1,7 +1,7 @@
#ifndef UART_0_H #ifndef UART_0_H
#define UART_0_H #define UART_0_H
#include "contiki-conf.h" #include "contiki.h"
#include "cc253x.h" #include "cc253x.h"
#include "8051def.h" #include "8051def.h"

View File

@ -1,7 +1,7 @@
#ifndef UART_1_H #ifndef UART_1_H
#define UART_1_H #define UART_1_H
#include "contiki-conf.h" #include "contiki.h"
#include "cc253x.h" #include "cc253x.h"
#include "8051def.h" #include "8051def.h"

View File

@ -41,7 +41,7 @@
#include "cc253x.h" #include "cc253x.h"
#include "sfr-bits.h" #include "sfr-bits.h"
#include "contiki-conf.h" #include "contiki.h"
#define WDT_TIMEOUT_MIN (WDCTL_INT1 | WDCTL_INT0) #define WDT_TIMEOUT_MIN (WDCTL_INT1 | WDCTL_INT0)
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -44,7 +44,7 @@
#ifndef RTIMER_ARCH_H_ #ifndef RTIMER_ARCH_H_
#define RTIMER_ARCH_H_ #define RTIMER_ARCH_H_
#include "contiki-conf.h" #include "contiki.h"
#include "cc253x.h" #include "cc253x.h"
/* /*

View File

@ -1,5 +1,5 @@
#include "descriptors.h" #include "descriptors.h"
#include "contiki-conf.h" #include "contiki.h"
#include "cdc.h" #include "cdc.h"
#include "usb-arch.h" #include "usb-arch.h"

View File

@ -1,7 +1,7 @@
#ifndef USB_ARCH_H_0Z52ZDP0H6__ #ifndef USB_ARCH_H_0Z52ZDP0H6__
#define USB_ARCH_H_0Z52ZDP0H6__ #define USB_ARCH_H_0Z52ZDP0H6__
#include "contiki-conf.h" #include "contiki.h"
#include "usb-api.h" #include "usb-api.h"

View File

@ -43,7 +43,7 @@
#ifndef DBG_H_ #ifndef DBG_H_
#define DBG_H_ #define DBG_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/** /**
* \brief Print a stream of bytes * \brief Print a stream of bytes

View File

@ -36,7 +36,7 @@
* Driver for the CC13xx/CC26xx AON battery monitor * Driver for the CC13xx/CC26xx AON battery monitor
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "lib/sensors.h" #include "lib/sensors.h"
#include "batmon-sensor.h" #include "batmon-sensor.h"

View File

@ -36,7 +36,7 @@
* Implementation of the CC13xx/CC26xx UART driver. * Implementation of the CC13xx/CC26xx UART driver.
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "cc26xx-uart.h" #include "cc26xx-uart.h"
#include "hw_types.h" #include "hw_types.h"
#include "hw_memmap.h" #include "hw_memmap.h"

View File

@ -37,7 +37,7 @@
* Driver for the CC13xx/CC26xx IEEE addresses * Driver for the CC13xx/CC26xx IEEE addresses
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "net/linkaddr.h" #include "net/linkaddr.h"
#include "ieee-addr.h" #include "ieee-addr.h"

View File

@ -64,7 +64,7 @@
#ifndef IEEE_ADDR_H_ #ifndef IEEE_ADDR_H_
#define IEEE_ADDR_H_ #define IEEE_ADDR_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include <stdint.h> #include <stdint.h>
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -41,7 +41,7 @@
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "prcm.h" #include "prcm.h"
#include "contiki-conf.h" #include "contiki.h"
#include "ti-lib.h" #include "ti-lib.h"
#include "lpm.h" #include "lpm.h"
#include "sys/energest.h" #include "sys/energest.h"

View File

@ -44,7 +44,7 @@
#ifndef DOT_15_4G_H_ #ifndef DOT_15_4G_H_
#define DOT_15_4G_H_ #define DOT_15_4G_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "driverlib/rf_mailbox.h" #include "driverlib/rf_mailbox.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -36,7 +36,7 @@
* Default TX power settings. The board can override * Default TX power settings. The board can override
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "dev/radio.h" #include "dev/radio.h"
#include "rf-core/prop-mode.h" #include "rf-core/prop-mode.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -43,7 +43,7 @@
#ifndef PROP_MODE_H_ #ifndef PROP_MODE_H_
#define PROP_MODE_H_ #define PROP_MODE_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "rf-core/dot-15-4g.h" #include "rf-core/dot-15-4g.h"
#include <stdint.h> #include <stdint.h>

View File

@ -36,7 +36,7 @@
* Implementation of the CC13xx/CC26xx RF BLE driver * Implementation of the CC13xx/CC26xx RF BLE driver
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "sys/process.h" #include "sys/process.h"
#include "sys/clock.h" #include "sys/clock.h"
#include "sys/cc.h" #include "sys/cc.h"

View File

@ -43,7 +43,7 @@
#ifndef RF_BLE_H_ #ifndef RF_BLE_H_
#define RF_BLE_H_ #define RF_BLE_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "rf-core/rf-core.h" #include "rf-core/rf-core.h"
#include <stdint.h> #include <stdint.h>

View File

@ -36,7 +36,7 @@
* Implementation of the CC13xx/CC26xx RF core driver * Implementation of the CC13xx/CC26xx RF core driver
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "dev/watchdog.h" #include "dev/watchdog.h"
#include "sys/process.h" #include "sys/process.h"
#include "sys/energest.h" #include "sys/energest.h"

View File

@ -51,7 +51,7 @@
#ifndef RF_CORE_H_ #ifndef RF_CORE_H_
#define RF_CORE_H_ #define RF_CORE_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "driverlib/rf_common_cmd.h" #include "driverlib/rf_common_cmd.h"
#include <stdint.h> #include <stdint.h>

View File

@ -44,7 +44,7 @@
#ifndef RF_SWITCH_H_ #ifndef RF_SWITCH_H_
#define RF_SWITCH_H_ #define RF_SWITCH_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include <stdint.h> #include <stdint.h>
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -28,7 +28,7 @@
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "rf-core/dot-15-4g.h" #include "rf-core/dot-15-4g.h"
#include "driverlib/rf_mailbox.h" #include "driverlib/rf_mailbox.h"

View File

@ -37,7 +37,7 @@
* Arch-specific SLIP functions for the CC13xx/CC26xx * Arch-specific SLIP functions for the CC13xx/CC26xx
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "dev/cc26xx-uart.h" #include "dev/cc26xx-uart.h"
#include "dev/slip.h" #include "dev/slip.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -32,7 +32,7 @@
#ifndef LPM_H_ #ifndef LPM_H_
#define LPM_H_ #define LPM_H_
#include "contiki-conf.h" #include "contiki.h"
#ifdef LPM_CONF_ON #ifdef LPM_CONF_ON
#define LPM_ON LPM_CONF_ON #define LPM_ON LPM_CONF_ON

View File

@ -28,7 +28,7 @@
* *
*/ */
#include "contiki-conf.h" #include "contiki.h"
/* /*
* On the Tmote sky access to I2C/SPI/UART0 must always be * On the Tmote sky access to I2C/SPI/UART0 must always be

View File

@ -32,7 +32,7 @@
* Machine dependent MSP430 SLIP routines for UART0. * Machine dependent MSP430 SLIP routines for UART0.
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "dev/slip.h" #include "dev/slip.h"
#include "dev/uart0.h" #include "dev/uart0.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -34,7 +34,7 @@
*/ */
#include "contiki.h" #include "contiki.h"
#include "contiki-conf.h" #include "contiki.h"
#if defined(linux) && NETSTACK_CONF_WITH_IPV6 #if defined(linux) && NETSTACK_CONF_WITH_IPV6

View File

@ -40,7 +40,7 @@
#ifndef RTIMER_ARCH_H_ #ifndef RTIMER_ARCH_H_
#define RTIMER_ARCH_H_ #define RTIMER_ARCH_H_
#include "contiki-conf.h" #include "contiki.h"
#define RTIMER_ARCH_SECOND CLOCK_CONF_SECOND #define RTIMER_ARCH_SECOND CLOCK_CONF_SECOND

View File

@ -43,7 +43,7 @@
#define UART_0_H #define UART_0_H
#include <stdint.h> #include <stdint.h>
#include "contiki-conf.h" #include "contiki.h"
void uart0_init(); void uart0_init();
void uart0_writeb(uint8_t byte); void uart0_writeb(uint8_t byte);

View File

@ -41,7 +41,7 @@
*/ */
#include <nrf_drv_wdt.h> #include <nrf_drv_wdt.h>
#include "app_error.h" #include "app_error.h"
#include "contiki-conf.h" #include "contiki.h"
static nrf_drv_wdt_channel_id wdt_channel_id; static nrf_drv_wdt_channel_id wdt_channel_id;
static uint8_t wdt_initialized = 0; static uint8_t wdt_initialized = 0;

View File

@ -43,7 +43,7 @@
#ifndef MMC_H_ #ifndef MMC_H_
#define MMC_H_ #define MMC_H_
#include "contiki-conf.h" #include "contiki.h"
#include "../disk.h" #include "../disk.h"
#ifndef MMC_CONF_DEV_COUNT #ifndef MMC_CONF_DEV_COUNT

View File

@ -33,7 +33,7 @@
#ifndef RTIMER_ARCH_H_ #ifndef RTIMER_ARCH_H_
#define RTIMER_ARCH_H_ #define RTIMER_ARCH_H_
#include "contiki-conf.h" #include "contiki.h"
#include "sys/clock.h" #include "sys/clock.h"
#define RTIMER_ARCH_SECOND UINT64_C(1000000) #define RTIMER_ARCH_SECOND UINT64_C(1000000)

View File

@ -28,7 +28,7 @@
* *
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "sys/clock.h" #include "sys/clock.h"
#include "lib/simEnvChange.h" #include "lib/simEnvChange.h"

View File

@ -40,7 +40,7 @@
#include "contiki.h" #include "contiki.h"
#include "sys/node-id.h" #include "sys/node-id.h"
#include "contiki-conf.h" #include "contiki.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
extern unsigned char node_mac[8]; extern unsigned char node_mac[8];

View File

@ -32,7 +32,7 @@
* Machine dependent jn516x SLIP routines for UART0. * Machine dependent jn516x SLIP routines for UART0.
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "dev/slip.h" #include "dev/slip.h"
#include "dev/uart0.h" #include "dev/uart0.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -41,7 +41,7 @@
#define DBG_vPrintf(...) #define DBG_vPrintf(...)
#endif #endif
#include "contiki-conf.h" #include "contiki.h"
#include "uart-driver.h" #include "uart-driver.h"
#include "sys/rtimer.h" #include "sys/rtimer.h"
#include "watchdog.h" #include "watchdog.h"

View File

@ -37,7 +37,7 @@
#define UARTDRIVER_H #define UARTDRIVER_H
#include <jendefs.h> #include <jendefs.h>
#include "contiki-conf.h" #include "contiki.h"
#define UART_EXTRAS 1 #define UART_EXTRAS 1

View File

@ -41,7 +41,7 @@
#include <jendefs.h> #include <jendefs.h>
#include <AppHardwareApi.h> #include <AppHardwareApi.h>
#include <PeripheralRegs.h> #include <PeripheralRegs.h>
#include "contiki-conf.h" #include "contiki.h"
#include "dev/uart0.h" #include "dev/uart0.h"
#include "uart-driver.h" #include "uart-driver.h"

View File

@ -42,7 +42,7 @@
#define __UART0_H__ #define __UART0_H__
#include <PeripheralRegs.h> #include <PeripheralRegs.h>
#include "contiki-conf.h" #include "contiki.h"
#include "uart-driver.h" #include "uart-driver.h"
#define UART_DEFAULT_RX_BUFFER_SIZE 2047 #define UART_DEFAULT_RX_BUFFER_SIZE 2047

View File

@ -41,7 +41,7 @@
#include <jendefs.h> #include <jendefs.h>
#include <AppHardwareApi.h> #include <AppHardwareApi.h>
#include <PeripheralRegs.h> #include <PeripheralRegs.h>
#include "contiki-conf.h" #include "contiki.h"
#include "dev/uart1.h" #include "dev/uart1.h"
#include "uart-driver.h" #include "uart-driver.h"

View File

@ -42,7 +42,7 @@
#define __UART1_H__ #define __UART1_H__
#include <PeripheralRegs.h> #include <PeripheralRegs.h>
#include "contiki-conf.h" #include "contiki.h"
/* Default buffer size /* Default buffer size
Valid range for TX_BUFFER_SIZE and RX_BUFFER_SIZE: 16-2047 */ Valid range for TX_BUFFER_SIZE and RX_BUFFER_SIZE: 16-2047 */

View File

@ -41,7 +41,7 @@
* modified by Beshr Al Nahas <beshr@sics.se> and Simon Duquennoy <simonduq@sics.se> * modified by Beshr Al Nahas <beshr@sics.se> and Simon Duquennoy <simonduq@sics.se>
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include <stdarg.h> #include <stdarg.h>
#include <ctype.h> #include <ctype.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -40,7 +40,7 @@
#ifndef CFS_COFFEE_ARCH_H #ifndef CFS_COFFEE_ARCH_H
#define CFS_COFFEE_ARCH_H #define CFS_COFFEE_ARCH_H
#include "contiki-conf.h" #include "contiki.h"
#include "dev/xmem.h" #include "dev/xmem.h"
#define COFFEE_SECTOR_SIZE 65536UL #define COFFEE_SECTOR_SIZE 65536UL

View File

@ -32,7 +32,7 @@
* *
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "dev/xmem.h" #include "dev/xmem.h"
#include <stdio.h> #include <stdio.h>

View File

@ -36,6 +36,8 @@
#include <stdint.h> #include <stdint.h>
#include "nordic_common.h" #include "nordic_common.h"
#include "contiki.h"
#include "nrf_drv_config.h" #include "nrf_drv_config.h"
#include "nrf_drv_gpiote.h" #include "nrf_drv_gpiote.h"
#ifdef SOFTDEVICE_PRESENT #ifdef SOFTDEVICE_PRESENT
@ -44,7 +46,6 @@
#include "ble/ble-mac.h" #include "ble/ble-mac.h"
#endif #endif
#include "contiki.h"
#include "contiki-net.h" #include "contiki-net.h"
#include "leds.h" #include "leds.h"
#include "lib/sensors.h" #include "lib/sensors.h"

View File

@ -43,7 +43,7 @@
#ifndef DBG_H_ #ifndef DBG_H_
#define DBG_H_ #define DBG_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/** /**
* \brief Print a stream of bytes * \brief Print a stream of bytes

View File

@ -39,7 +39,7 @@
* Board-initialisation for the OpenMote-CC2538 platform * Board-initialisation for the OpenMote-CC2538 platform
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "dev/antenna.h" #include "dev/antenna.h"
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>

View File

@ -44,7 +44,7 @@
* Driver implementation for the OpenMote-CC2538 antenna switch * Driver implementation for the OpenMote-CC2538 antenna switch
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "dev/gpio.h" #include "dev/gpio.h"
#include "dev/antenna.h" #include "dev/antenna.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -46,7 +46,7 @@
* Pere Tuset <peretuset@openmote.com> * Pere Tuset <peretuset@openmote.com>
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "dev/gpio.h" #include "dev/gpio.h"
#include "dev/tps62730.h" #include "dev/tps62730.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -40,7 +40,7 @@
#ifndef CFS_COFFEE_ARCH_H #ifndef CFS_COFFEE_ARCH_H
#define CFS_COFFEE_ARCH_H #define CFS_COFFEE_ARCH_H
#include "contiki-conf.h" #include "contiki.h"
#include "dev/xmem.h" #include "dev/xmem.h"
/* Coffee configuration parameters. */ /* Coffee configuration parameters. */

View File

@ -38,7 +38,7 @@
*/ */
#include "sys/node-id.h" #include "sys/node-id.h"
#include "contiki-conf.h" #include "contiki.h"
#include "dev/xmem.h" #include "dev/xmem.h"
unsigned short node_id = 0; unsigned short node_id = 0;

View File

@ -36,7 +36,7 @@
* LaunchPad-specific board initialisation driver * LaunchPad-specific board initialisation driver
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "lib/sensors.h" #include "lib/sensors.h"
#include "lpm.h" #include "lpm.h"
#include "ti-lib.h" #include "ti-lib.h"

View File

@ -36,7 +36,7 @@
* CC1350 LP RF switch driver * CC1350 LP RF switch driver
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "lpm.h" #include "lpm.h"
#include "rf-core/rf-switch.h" #include "rf-core/rf-switch.h"
#include "ti-lib.h" #include "ti-lib.h"

View File

@ -36,7 +36,7 @@
* TX power settings for the CC1350 LP * TX power settings for the CC1350 LP
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "dev/radio.h" #include "dev/radio.h"
#include "rf-core/prop-mode.h" #include "rf-core/prop-mode.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -36,7 +36,7 @@
* Driver for the Sensortag BMP280 Altimeter / Pressure Sensor * Driver for the Sensortag BMP280 Altimeter / Pressure Sensor
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "lib/sensors.h" #include "lib/sensors.h"
#include "bmp-280-sensor.h" #include "bmp-280-sensor.h"
#include "sys/ctimer.h" #include "sys/ctimer.h"

View File

@ -37,7 +37,7 @@
* Board-specific I2C driver for the Sensortags * Board-specific I2C driver for the Sensortags
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "ti-lib.h" #include "ti-lib.h"
#include "board-i2c.h" #include "board-i2c.h"
#include "lpm.h" #include "lpm.h"

View File

@ -36,7 +36,7 @@
* Sensortag-specific board initialisation driver * Sensortag-specific board initialisation driver
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "lib/sensors.h" #include "lib/sensors.h"
#include "buzzer.h" #include "buzzer.h"
#include "lpm.h" #include "lpm.h"

View File

@ -36,7 +36,7 @@
* Driver for the Sensortag Buzzer * Driver for the Sensortag Buzzer
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "buzzer.h" #include "buzzer.h"
#include "ti-lib.h" #include "ti-lib.h"
#include "lpm.h" #include "lpm.h"

View File

@ -36,7 +36,7 @@
* Driver for the Sensortag HDC sensor * Driver for the Sensortag HDC sensor
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "sys/ctimer.h" #include "sys/ctimer.h"
#include "lib/sensors.h" #include "lib/sensors.h"
#include "hdc-1000-sensor.h" #include "hdc-1000-sensor.h"

View File

@ -36,7 +36,7 @@
* Driver for the Sensortag Invensense MPU9250 motion processing unit * Driver for the Sensortag Invensense MPU9250 motion processing unit
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "lib/sensors.h" #include "lib/sensors.h"
#include "mpu-9250-sensor.h" #include "mpu-9250-sensor.h"
#include "sys/rtimer.h" #include "sys/rtimer.h"

View File

@ -36,7 +36,7 @@
* Driver for the Sensortag Opt3001 light sensor * Driver for the Sensortag Opt3001 light sensor
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "lib/sensors.h" #include "lib/sensors.h"
#include "opt-3001-sensor.h" #include "opt-3001-sensor.h"
#include "sys/ctimer.h" #include "sys/ctimer.h"

View File

@ -36,7 +36,7 @@
* Driver for the Sensortag TI TMP007 infrared thermophile sensor * Driver for the Sensortag TI TMP007 infrared thermophile sensor
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "lib/sensors.h" #include "lib/sensors.h"
#include "tmp-007-sensor.h" #include "tmp-007-sensor.h"
#include "sys/ctimer.h" #include "sys/ctimer.h"

View File

@ -36,7 +36,7 @@
* Board-initialisation for the Srf06EB with a CC13xx/CC26xx EM. * Board-initialisation for the Srf06EB with a CC13xx/CC26xx EM.
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "ti-lib.h" #include "ti-lib.h"
#include "lpm.h" #include "lpm.h"
#include "prcm.h" #include "prcm.h"

View File

@ -37,7 +37,7 @@
* *
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -37,7 +37,7 @@
* *
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -47,7 +47,7 @@
#ifndef FFCONF_H_ #ifndef FFCONF_H_
#define FFCONF_H_ #define FFCONF_H_
#include "contiki-conf.h" #include "contiki.h"
#define _FFCONF 68020 /**< Revision ID */ #define _FFCONF 68020 /**< Revision ID */

View File

@ -38,7 +38,7 @@
* *
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -37,7 +37,7 @@
* *
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "antenna-sw.h" #include "antenna-sw.h"
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>

View File

@ -37,7 +37,7 @@
* *
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "antenna-sw.h" #include "antenna-sw.h"
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>

View File

@ -41,7 +41,7 @@
* An MQTT example for the cc2538-based platforms * An MQTT example for the cc2538-based platforms
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#if UIP_CONF_IPV6_RPL_LITE == 0 #if UIP_CONF_IPV6_RPL_LITE == 0
#include "rpl-private.h" #include "rpl-private.h"
#endif /* UIP_CONF_IPV6_RPL_LITE == 0 */ #endif /* UIP_CONF_IPV6_RPL_LITE == 0 */

View File

@ -35,7 +35,7 @@
* MQTT/IBM cloud service client for the CC26XX web demo. * MQTT/IBM cloud service client for the CC26XX web demo.
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#if UIP_CONF_IPV6_RPL_LITE == 0 #if UIP_CONF_IPV6_RPL_LITE == 0
#include "rpl-private.h" #include "rpl-private.h"
#endif /* UIP_CONF_IPV6_RPL_LITE == 0 */ #endif /* UIP_CONF_IPV6_RPL_LITE == 0 */

View File

@ -56,7 +56,7 @@
* nc -6u \<node IPv6 address\> REMOTE_PORT * nc -6u \<node IPv6 address\> REMOTE_PORT
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "sys/process.h" #include "sys/process.h"
#include "dev/serial-line.h" #include "dev/serial-line.h"
#include "dev/cc26xx-uart.h" #include "dev/cc26xx-uart.h"

View File

@ -33,7 +33,7 @@
* \author Simon Duquennoy <simonduq@sics.se> * \author Simon Duquennoy <simonduq@sics.se>
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "contiki-net.h" #include "contiki-net.h"
#include "net/ip/uip.h" #include "net/ip/uip.h"
#include "rpl.h" #include "rpl.h"

View File

@ -32,7 +32,7 @@
* *
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "net/netstack.h" #include "net/netstack.h"
#include "net/mac/tsch/tsch-schedule.h" #include "net/mac/tsch/tsch-schedule.h"
#include "net/mac/tsch/tsch.h" #include "net/mac/tsch/tsch.h"

View File

@ -33,7 +33,7 @@
* \author Simon Duquennoy <simonduq@sics.se> * \author Simon Duquennoy <simonduq@sics.se>
*/ */
#include "contiki-conf.h" #include "contiki.h"
#include "contiki-net.h" #include "contiki-net.h"
#include "net/ip/uip.h" #include "net/ip/uip.h"
#include "rpl.h" #include "rpl.h"

View File

@ -42,7 +42,7 @@
* An MQTT example for the nrf52dk platform * An MQTT example for the nrf52dk platform
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "mqtt.h" #include "mqtt.h"
#include "net/ip/uip.h" #include "net/ip/uip.h"
#include "net/ipv6/uip-icmp6.h" #include "net/ipv6/uip-icmp6.h"

View File

@ -32,7 +32,7 @@
#ifndef JN516X_IO_H_ #ifndef JN516X_IO_H_
#define JN516X_IO_H_ #define JN516X_IO_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "dev/uart0.h" #include "dev/uart0.h"
#include "dev/uart1.h" #include "dev/uart1.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -32,7 +32,7 @@
#ifndef CC13XX_CC26XX_IO_H_ #ifndef CC13XX_CC26XX_IO_H_
#define CC13XX_CC26XX_IO_H_ #define CC13XX_CC26XX_IO_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "dev/cc26xx-uart.h" #include "dev/cc26xx-uart.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#define sensniff_io_byte_out(b) cc26xx_uart_write_byte(b) #define sensniff_io_byte_out(b) cc26xx_uart_write_byte(b)

View File

@ -32,7 +32,7 @@
#ifndef CC2530_CC2531_IO_H_ #ifndef CC2530_CC2531_IO_H_
#define CC2530_CC2531_IO_H_ #define CC2530_CC2531_IO_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "dev/io-arch.h" #include "dev/io-arch.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#define sensniff_io_byte_out(b) io_arch_writeb(b) #define sensniff_io_byte_out(b) io_arch_writeb(b)

View File

@ -29,7 +29,7 @@
* OF THE POSSIBILITY OF SUCH DAMAGE. * OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "dev/uart.h" #include "dev/uart.h"
#include "usb/usb-serial.h" #include "usb/usb-serial.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -32,7 +32,7 @@
#ifndef MSP430_IO_H_ #ifndef MSP430_IO_H_
#define MSP430_IO_H_ #define MSP430_IO_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include "dev/uart0.h" #include "dev/uart0.h"
#include "dev/uart1.h" #include "dev/uart1.h"
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

View File

@ -32,7 +32,7 @@
#ifndef SENSNIFF_H_ #ifndef SENSNIFF_H_
#define SENSNIFF_H_ #define SENSNIFF_H_
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
#include "contiki-conf.h" #include "contiki.h"
#include <stdint.h> #include <stdint.h>
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/

Some files were not shown because too many files have changed in this diff Show More