Moved the cc2520 driver into its own dev/cc2520 module
This commit is contained in:
parent
837a697dc8
commit
c9efe3c3c4
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
#include "dev/spi.h"
|
#include "dev/spi.h"
|
||||||
#include "dev/cc2520.h"
|
#include "dev/cc2520/cc2520.h"
|
||||||
#include "isr_compat.h"
|
#include "isr_compat.h"
|
||||||
|
|
||||||
extern volatile uint8_t cc2520_sfd_counter;
|
extern volatile uint8_t cc2520_sfd_counter;
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include "contiki-net.h"
|
#include "contiki-net.h"
|
||||||
|
|
||||||
#include "dev/spi.h"
|
#include "dev/spi.h"
|
||||||
#include "dev/cc2520.h"
|
#include "dev/cc2520/cc2520.h"
|
||||||
#include "isr_compat.h"
|
#include "isr_compat.h"
|
||||||
|
|
||||||
#ifdef CC2520_CONF_SFD_TIMESTAMPS
|
#ifdef CC2520_CONF_SFD_TIMESTAMPS
|
||||||
|
|
|
@ -35,8 +35,8 @@
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
|
|
||||||
#include "dev/spi.h"
|
#include "dev/spi.h"
|
||||||
#include "dev/cc2520.h"
|
#include "dev/cc2520/cc2520.h"
|
||||||
#include "dev/cc2520_const.h"
|
#include "dev/cc2520/cc2520_const.h"
|
||||||
|
|
||||||
#include "net/packetbuf.h"
|
#include "net/packetbuf.h"
|
||||||
#include "net/rime/rimestats.h"
|
#include "net/rime/rimestats.h"
|
|
@ -43,7 +43,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/cc2520_const.h"
|
#include "dev/cc2520/cc2520_const.h"
|
||||||
|
|
||||||
int cc2520_init(void);
|
int cc2520_init(void);
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "dev/cc2520.h"
|
#include "dev/cc2520/cc2520.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"
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lib/sensors.h"
|
#include "lib/sensors.h"
|
||||||
#include "dev/cc2520.h"
|
#include "dev/cc2520/cc2520.h"
|
||||||
#include "dev/radio-sensor.h"
|
#include "dev/radio-sensor.h"
|
||||||
|
|
||||||
const struct sensors_sensor radio_sensor;
|
const struct sensors_sensor radio_sensor;
|
||||||
|
|
Loading…
Reference in a new issue