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 "collect-view.h"
#include "dev/cc2420.h" #include "cc2420.h"
#include "dev/leds.h" #include "dev/leds.h"
#include "dev/light-sensor.h" #include "dev/light-sensor.h"
#include "dev/battery-sensor.h" #include "dev/battery-sensor.h"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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