Moved the cc2420 driver into a separate dev/cc2420 module

This commit is contained in:
Adam Dunkels 2013-11-28 14:04:34 +01:00
parent b78ab6753c
commit 0b805e4763
28 changed files with 30 additions and 30 deletions

View File

@ -1,5 +1,5 @@
#include "collect-view.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/leds.h"
#include "dev/light-sensor.h"
#include "dev/battery-sensor.h"

View File

@ -1,5 +1,5 @@
#include "collect-view.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/leds.h"
#include "dev/i2cmaster.h"
#include "dev/tmp102.h"

View File

@ -44,7 +44,7 @@
#include "net/rime.h"
#include "net/netstack.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/leds.h"
#include "dev/sht11.h"
#include "dev/light-sensor.h"

View File

@ -48,7 +48,7 @@
#include "lib/assert.h"
#ifdef CC2420_RADIO
#include "dev/cc2420.h"
#include "cc2420.h"
#define RSSI_THRESHOLD -39 /* accept -39 ... xx */
#endif

View File

@ -34,7 +34,7 @@
#include "contiki-net.h"
#include "dev/spi.h"
#include "dev/cc2420.h"
#include "cc2420.h"
void
__cc2420_arch_init(void)

View File

@ -30,7 +30,7 @@
#include "contiki.h"
#include "dev/spi.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "isr_compat.h"
extern volatile uint8_t cc2420_sfd_counter;

View File

@ -32,7 +32,7 @@
#include "contiki-net.h"
#include "dev/spi.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "isr_compat.h"
#ifdef CC2420_CONF_SFD_TIMESTAMPS

View File

@ -38,8 +38,8 @@
*/
#include "contiki.h"
#include "dev/cc2420.h"
#include "dev/cc2420-aes.h"
#include "cc2420.h"
#include "cc2420-aes.h"
#include "dev/spi.h"
#define KEYLEN 16

View File

@ -43,8 +43,8 @@
#include "dev/leds.h"
#include "dev/spi.h"
#include "dev/cc2420.h"
#include "dev/cc2420_const.h"
#include "cc2420.h"
#include "cc2420_const.h"
#include "net/packetbuf.h"
#include "net/rime/rimestats.h"

View File

@ -44,7 +44,7 @@
#include "contiki.h"
#include "dev/spi.h"
#include "dev/radio.h"
#include "dev/cc2420_const.h"
#include "cc2420_const.h"
int cc2420_init(void);

View File

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

View File

@ -37,7 +37,7 @@
#include "dev/watchdog.h"
#include "net/rime.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/leds.h"
#include "dev/light.h"
#include "dev/sht11.h"

View File

@ -47,7 +47,7 @@
#include "net/rime.h"
#include "dev/leds.h"
#include "dev/button-sensor.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include <stdio.h>
#include <string.h>

View File

@ -43,8 +43,8 @@
#include "net/netstack.h"
#include "dev/leds.h"
#include "dev/cc2420.h"
#include "dev/cc2420_const.h"
#include "cc2420.h"
#include "cc2420_const.h"
#include "dev/spi.h"
#include <stdio.h>

View File

@ -48,7 +48,7 @@
#include "dev/light-sensor.h"
#include "dev/sht11-sensor.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include <stdio.h>
#include <string.h>
#include "contiki-net.h"

View File

@ -43,7 +43,7 @@
#include "webserver-nogui.h"
#include "dev/temperature-sensor.h"
#include "dev/battery-sensor.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/leds.h"
#include <stdio.h>

View File

@ -43,8 +43,8 @@
#include "net/netstack.h"
#include "dev/leds.h"
#include "dev/cc2420.h"
#include "dev/cc2420_const.h"
#include "cc2420.h"
#include "cc2420_const.h"
#include "dev/spi.h"
#include <stdio.h>

View File

@ -33,7 +33,7 @@
#include "contiki-net.h"
#include "dev/spi.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/leds.h"
#include "isr_compat.h"

View File

@ -34,7 +34,7 @@
#include <stdarg.h>
#include "dev/button-sensor.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/flash.h"
#include "dev/leds.h"
#include "dev/serial-line.h"

View File

@ -38,7 +38,7 @@
#include "contiki-net.h"
#include "dev/spi.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/leds.h"
void

View File

@ -43,7 +43,7 @@
#include <avr/pgmspace.h>
#include "contiki.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/rs232.h"
#include "dev/slip.h"
#include "dev/leds.h"

View File

@ -31,7 +31,7 @@
#include <stdio.h>
#include <string.h>
#include "contiki.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/ds2411.h"
#include "dev/leds.h"
#include "dev/serial-line.h"

View File

@ -31,7 +31,7 @@
*/
#include "lib/sensors.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/radio-sensor.h"
const struct sensors_sensor radio_sensor;

View File

@ -33,7 +33,7 @@
#include <stdarg.h>
#include "contiki.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/leds.h"
#include "dev/serial-line.h"
#include "dev/slip.h"

View File

@ -31,7 +31,7 @@
#include "contiki.h"
#include "contiki-net.h"
#include "dev/spi.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "isr_compat.h"
#ifndef CONF_SFD_TIMESTAMPS

View File

@ -31,7 +31,7 @@
*/
#include "lib/sensors.h"
#include "dev/cc2420.h"
#include "cc2420.h"
#include "dev/radio-sensor.h"
const struct sensors_sensor radio_sensor;