Moved the cc2420 driver into a separate dev/cc2420 module
This commit is contained in:
parent
b78ab6753c
commit
0b805e4763
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "contiki-net.h"
|
||||
|
||||
#include "dev/spi.h"
|
||||
#include "dev/cc2420.h"
|
||||
#include "cc2420.h"
|
||||
|
||||
void
|
||||
__cc2420_arch_init(void)
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
@ -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"
|
@ -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);
|
||||
|
@ -32,7 +32,7 @@
|
||||
*/
|
||||
|
||||
#include "contiki.h"
|
||||
#include "dev/cc2420.h"
|
||||
#include "cc2420.h"
|
||||
#include "cmd.h"
|
||||
#include <stdio.h>
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "contiki-net.h"
|
||||
|
||||
#include "dev/spi.h"
|
||||
#include "dev/cc2420.h"
|
||||
#include "cc2420.h"
|
||||
#include "dev/leds.h"
|
||||
|
||||
void
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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;
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user