1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

making include directives consistent

This commit is contained in:
Oleg Hahm 2013-12-16 17:54:58 +01:00
parent 825c0e614d
commit 903ec54a43
102 changed files with 295 additions and 306 deletions

View File

@ -48,8 +48,6 @@
//#define DEBUG
#ifdef DEBUG
#include "stdio.h"
static unsigned long time_value;
static void set_time(void)

View File

@ -23,25 +23,23 @@
*/
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include "lpc23xx.h" /* LPC23XX/24xx Peripheral Registers */
#include "cpu.h"
#include "lpm.h"
//#include "PatrecInit.h"
#include "VIC.h"
#include "kernel.h"
#include "ssp0-board.h"
#include "smb380-board.h"
#include "hwtimer.h"
#include <stdio.h>
#include <malloc.h>
// for fk_thread:
#include "sched.h"
#include "msg.h"
#include "irq.h"
//#include "hal-board.h"
#include "gpioint.h"
#include "stdlib.h"
#include "math.h"
#include "lpc2387.h"

View File

@ -24,7 +24,7 @@
#ifndef BOARDCONF_H_
#define BOARDCONF_H_
#include <bitarithm.h>
#include "bitarithm.h"
#include "msba2_common.h"
#define FEUERWARE_CONF_BOARD_NAME "FU Berlin AVSEXTREM BOARD"

View File

@ -24,7 +24,7 @@
#ifndef SMB380_H_
#define SMB380_H_
#include <stdint.h>
#include <bitarithm.h>
#include "bitarithm.h"
#define SMB380_DEBUG_MESSAGE "SMB380 Driver Error: "

View File

@ -1,7 +1,7 @@
#include <stdint.h>
#include <board.h>
#include <cpu.h>
#include <irq.h>
#include "board.h"
#include "cpu.h"
#include "irq.h"
void cc430_cpu_init(void)
{

View File

@ -1,6 +1,6 @@
#include <stdint.h>
#include <cc430f6137.h>
#include <cc430-adc.h>
#include "cc430-adc.h"
uint32_t battery_get_voltage(void)
{

View File

@ -1,7 +1,7 @@
#include <stdint.h>
#include <buzzer.h>
#include <hwtimer.h>
#include <cc430f6137.h>
#include "buzzer.h"
#include "hwtimer.h"
void buzzer_beep(uint8_t pitch, uint16_t duration)
{

View File

@ -1,13 +1,11 @@
#include <stdint.h>
#include <cpu.h>
#include <irq.h>
#include <cc110x_ng.h>
#include <cc110x-arch.h>
//#include <cc430_.h>
#include <cc430f6137.h>
//#include <msp430/rf1a.h>
#include "cpu.h"
#include "irq.h"
#include "cc110x_ng.h"
#include "cc110x-arch.h"
#define CC1100_GDO0 (RF1AIN & BIT0)
#define CC1100_GDO1 (RF1AIN & BIT1)

View File

@ -44,7 +44,7 @@
/* driver */
#include <cc430f6137.h>
#include <display.h>
#include "display.h"
/**************************************************************************************************

View File

@ -40,7 +40,7 @@
/* Include section */
#include <stdint.h>
#include <cc430f6137.h>
#include <display.h>
#include "display.h"
/* ************************************************************************************************* */
/* Global Variable section */

View File

@ -1,6 +1,6 @@
#include <stdio.h>
#include <display.h>
#include <string.h>
#include "display.h"
extern int toupper(int c);
extern void (*_putchar)(int c);

View File

@ -1,8 +1,8 @@
#include <stdint.h>
#include <string.h>
#include <board-conf.h>
#include <config.h>
#include <flashrom.h>
#include "board-conf.h"
#include "config.h"
#include "flashrom.h"
void config_load(void)
{

View File

@ -39,7 +39,7 @@ and the mailinglist (subscription via web site)
* @author Freie Universität Berlin, Computer Systems & Telematics, RIOT
*
*/
#include "msp430x16x.h"
#include <msp430x16x.h>
#include "bitarithm.h"
/* SCK = P3B5

View File

@ -1,12 +1,12 @@
#include <stdio.h>
#include "board.h"
#include "kernel.h"
#include "board_uart0.h"
#define UART1_TX TXBUF1
#define UART1_WAIT_TXDONE() while( (UTCTL1 & TXEPT) == 0 ) { _NOP(); }
#include <stdio.h>
#include <kernel.h>
#include <board_uart0.h>
int putchar(int c)
{

View File

@ -19,12 +19,12 @@ Boston, MA 02111-1307, USA. */
#include <stdio.h>
#include <board.h>
#include <cpu.h>
#include <irq.h>
#include "board.h"
#include "cpu.h"
#include "irq.h"
#include <cc110x_ng.h>
#include <cc110x-arch.h>
#include "cc110x_ng.h"
#include "cc110x-arch.h"
#define CC1100_GDO0 (P2IN & 0x02) // read serial I/O (GDO0)
#define CC1100_GDO1 (P3IN & 0x04) // read serial I/O (GDO1)

View File

@ -40,13 +40,13 @@ and the mailinglist (subscription via web site)
* @author Zakaria Kasmi <zkasmi@inf.fu-berlin.de>
* @note $Id$
*/
#include <board.h>
#include <lpc23xx.h>
#include <VIC.h>
#include <cpu.h>
#include <config.h>
#include <string.h>
#include <flashrom.h>
#include "board.h"
#include "lpc23xx.h"
#include "VIC.h"
#include "cpu.h"
#include "config.h"
#include "flashrom.h"
#define PCRTC BIT9
#define CL_CPU_DIV 4

View File

@ -1,7 +1,7 @@
#include <stdint.h>
#include <string.h>
#include <config.h>
#include <flashrom.h>
#include "config.h"
#include "flashrom.h"
void config_load(void) {
extern char configmem[];

View File

@ -42,8 +42,8 @@ and the mailinglist (subscription via web site)
* @note $Id$
*/
#include <lpc23xx.h>
#include <board.h>
#include "lpc23xx.h"
#include "board.h"
#define SHT11_SCK_LOW FIO1CLR = BIT25; // serial clock line low
#define SHT11_SCK_HIGH FIO1SET = BIT25; // serial clock line high

View File

@ -40,13 +40,13 @@ and the mailinglist (subscription via web site)
#include <stdio.h>
#include <stddef.h>
// core
#include <cpu.h>
#include <irq.h>
#include "cpu.h"
#include "irq.h"
// sys
#include <cc110x_ng.h>
#include <cc110x-arch.h>
#include <cc110x_spi.h>
#include <gpioint.h>
#include "cc110x_ng.h"
#include "cc110x-arch.h"
#include "cc110x_spi.h"
#include "gpioint.h"
#define CC1100_GDO0 (FIO0PIN & BIT27) // read serial I/O (GDO0)
#define CC1100_GDO1 (FIO1PIN & BIT23) // read serial I/O (GDO1)
@ -63,8 +63,6 @@ and the mailinglist (subscription via web site)
//#define DEBUG
#ifdef DEBUG
#include "stdio.h"
static unsigned long time_value;
static void set_time(void)

View File

@ -35,9 +35,9 @@ and the mailinglist (subscription via web site)
#include <stdio.h>
#include "lpc23xx.h"
#include "VIC.h"
#include <kernel.h>
#include "kernel.h"
#include <board_uart0.h>
#include "board_uart0.h"
/**
* @file

View File

@ -24,9 +24,8 @@
* @note $Id$
*/
#include <board.h>
#include <cpu.h>
#include "board.h"
#include "cpu.h"
void loop_delay(void)
{

View File

@ -18,7 +18,7 @@
#include <stdio.h>
#include <stdint.h>
#include <config.h>
#include "config.h"
/**
* XXX: loading not implemented

View File

@ -38,9 +38,9 @@ and the mailinglist (subscription via web site)
* @author Kaspar Schleiser
*
*/
#include <board.h>
#include <VIC.h>
#include <cpu.h>
#include "board.h"
#include "VIC.h"
#include "cpu.h"
#define PCRTC BIT9
#define CL_CPU_DIV 4

View File

@ -40,8 +40,8 @@ and the mailinglist (subscription via web site)
#ifndef __BOARD_H
#define __BOARD_H
#include <lpc2387.h>
#include <cpu-conf.h>
#include "lpc2387.h"
#include "cpu-conf.h"
#define VICIntEnClear VICIntEnClr

View File

@ -9,12 +9,12 @@
#include <stdio.h>
#include <board.h>
#include <cpu.h>
#include <irq.h>
#include <hwtimer.h>
#include "board.h"
#include "cpu.h"
#include "irq.h"
#include "hwtimer.h"
#include <cc2420.h>
#include "cc2420.h"
#define ENABLE_DEBUG (1)
#include "debug.h"

View File

@ -7,9 +7,9 @@
#include <stdint.h>
#include <string.h>
#include <board-conf.h>
#include <config.h>
#include <flashrom.h>
#include "board-conf.h"
#include "config.h"
#include "flashrom.h"
void config_load(void) {
if (*((uint16_t*) INFOMEM) == CONFIG_KEY) {

View File

@ -6,15 +6,15 @@
* Version 3. See the file LICENSE for more details.
*/
#include <stdio.h>
#include "board.h"
#define UART0_TX U0TXBUF
#define UART0_WAIT_TXDONE() while( (U0TCTL & TXEPT) == 0 ) { _NOP(); }
#include <stdio.h>
#include <kernel.h>
#include "kernel.h"
#include <board_uart0.h>
#include "board_uart0.h"
int putchar(int c)
{

View File

@ -9,12 +9,12 @@
#include <stdio.h>
#include <board.h>
#include <cpu.h>
#include <irq.h>
#include "board.h"
#include "cpu.h"
#include "irq.h"
#include <cc110x_ng.h>
#include <cc110x-arch.h>
#include "cc110x_ng.h"
#include "cc110x-arch.h"
#define CC1100_GDO0 (P1IN & 0x08) // read serial I/O (GDO0)
#define CC1100_GDO1 (P5IN & 0x04) // read serial I/O (GDO1)

View File

@ -9,12 +9,12 @@
#include <stdio.h>
#include <board.h>
#include <cpu.h>
#include <irq.h>
#include <hwtimer.h>
#include "board.h"
#include "cpu.h"
#include "irq.h"
#include "hwtimer.h"
#include <cc2420.h>
#include "cc2420.h"
#define CC2420_RESETn_PIN 0x80
#define CC2420_VREGEN_PIN 0x01

View File

@ -16,7 +16,7 @@
* @}
*/
#include <cib.h>
#include "cib.h"
void cib_init(cib_t *cib, unsigned int size)
{

View File

@ -35,7 +35,7 @@
#define __HWTIMER_H
#include <stdint.h>
#include <hwtimer_cpu.h>
#include "hwtimer_cpu.h"
/**
* @def HWTIMER_SPEED

View File

@ -23,7 +23,7 @@
#define _SCHEDULER_H
#include <stddef.h>
#include <bitarithm.h>
#include "bitarithm.h"
#include "tcb.h"
#define MAXTHREADS 32

View File

@ -22,10 +22,10 @@
#define TCB_H_
#include <stdint.h>
#include <queue.h>
#include <clist.h>
#include <cib.h>
#include <msg.h>
#include "queue.h"
#include "clist.h"
#include "cib.h"
#include "msg.h"
/* uneven means has to be on runqueue */
#define STATUS_NOT_FOUND (0x0000)

View File

@ -23,8 +23,8 @@
#define __THREAD_H
#include <kernel.h>
#include <tcb.h>
#include "kernel.h"
#include "tcb.h"
/** Minimum stack size */
#ifndef MINIMUM_STACK_SIZE

View File

@ -22,14 +22,14 @@
#include <stdint.h>
#include <stdbool.h>
#include <errno.h>
#include <tcb.h>
#include <kernel.h>
#include <kernel_internal.h>
#include <sched.h>
#include <flags.h>
#include <cpu.h>
#include <lpm.h>
#include <thread.h>
#include "tcb.h"
#include "kernel.h"
#include "kernel_internal.h"
#include "sched.h"
#include "flags.h"
#include "cpu.h"
#include "lpm.h"
#include "thread.h"
#ifdef MODULE_AUTO_INIT
#include <auto_init.h>

View File

@ -19,7 +19,7 @@
* @}
*/
#include <lifo.h>
#include "lifo.h"
int lifo_empty(int *array)
{

View File

@ -20,15 +20,15 @@
* @}
*/
#include <stddef.h>
#include <inttypes.h>
#include "kernel.h"
#include "sched.h"
#include "msg.h"
#include "queue.h"
#include "tcb.h"
#include <stddef.h>
#include <irq.h>
#include <cib.h>
#include <inttypes.h>
#include "irq.h"
#include "cib.h"
#include "flags.h"

View File

@ -29,7 +29,7 @@
#include <stdlib.h>
#define ENABLE_DEBUG (0)
#include <debug.h>
#include "debug.h"
extern void *sbrk(int incr);

View File

@ -22,11 +22,11 @@
*/
#include <stdint.h>
#include <sched.h>
#include <kernel.h>
#include <kernel_internal.h>
#include <clist.h>
#include <bitarithm.h>
#include "sched.h"
#include "kernel.h"
#include "kernel_internal.h"
#include "clist.h"
#include "bitarithm.h"
#include "thread.h"
#if SCHEDSTATISTICS
@ -34,7 +34,7 @@
#endif
#define ENABLE_DEBUG (0)
#include <debug.h>
#include "debug.h"
volatile int num_tasks = 0;

View File

@ -32,8 +32,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <kernel.h>
#include <thread.h>
#include "kernel.h"
#include "thread.h"
void FIQ_Routine(void) __attribute__((interrupt("FIQ")));
//void SWI_Routine (void) __attribute__((interrupt("SWI")));

View File

@ -1,9 +1,9 @@
#include <irq.h>
#include <cc110x-defaultSettings.h>
#include <cc110x-reg.h>
#include <stdint.h>
#include <board.h>
#include <hwtimer.h>
#include "irq.h"
#include "cc110x-defaultSettings.h"
#include "cc110x-reg.h"
#include "board.h"
#include "hwtimer.h"
/**************************************************************************************************
* @fn Strobe

View File

@ -37,9 +37,9 @@
#include <legacymsp430.h>
#include <cpu.h>
#include <cc430-adc.h>
#include <hwtimer.h>
#include "cpu.h"
#include "cc430-adc.h"
#include "hwtimer.h"
uint16_t adc12_result;
uint8_t adc12_data_ready;

View File

@ -20,11 +20,11 @@ See the file LICENSE in the top level directory for more details.
#include <stdlib.h>
#include <legacymsp430.h>
#include <gpioint.h>
#include <bitarithm.h>
#include <cpu.h>
#include <irq.h>
#include <hwtimer.h>
#include "gpioint.h"
#include "bitarithm.h"
#include "cpu.h"
#include "irq.h"
#include "hwtimer.h"
/** min and max portnumber to generate interrupts */
#define PORTINT_MIN (1)

View File

@ -20,9 +20,9 @@ See the file LICENSE in the top level directory for more details.
#include <string.h>
#include <legacymsp430.h>
#include <irq.h>
#include <cpu.h>
#include <cc430-rtc.h>
#include "irq.h"
#include "cpu.h"
#include "cc430-rtc.h"
//static volatile time_t epoch;
static struct tm time_to_set;

View File

@ -1,11 +1,11 @@
#include <legacymsp430.h>
#include <board.h>
#include <hwtimer.h>
#include <hwtimer_arch.h>
#include <cpu.h>
#include "board.h"
#include "hwtimer.h"
#include "hwtimer_arch.h"
#include "cpu.h"
#define ENABLE_DEBUG (0)
#include <debug.h>
#include "debug.h"
static uint32_t ticks = 0;

View File

@ -12,8 +12,8 @@ See the file LICENSE in the top level directory for more details.
#ifndef CC430_RTC_H
#define CC430_RTC_H
#include <rtc.h>
#include <time.h>
#include "rtc.h"
#include "time.h"
/**
* @defgroup cc430_rtc CC430 Real Time Clock

View File

@ -31,7 +31,7 @@ See the file LICENSE in the top level directory for more details.
#include "lpc2387.h"
#include "gpioint.h"
#include "cpu.h"
#include <irq.h>
#include "irq.h"
struct irq_callback_t {
fp_irqcb callback;

View File

@ -34,9 +34,9 @@ See the file LICENSE in the top level directory for more details.
* @note $Id: lpc2387-rtc.h 1998 2010-03-16 13:05:41Z baar $
*/
#include <rtc.h>
#include <time.h>
#include <sys/time.h>
#include "rtc.h"
#include "lpc2387.h"
/* ------------------------------------------------------------------------- */

View File

@ -9,8 +9,8 @@
#ifndef __LPC2387_H
#define __LPC2387_H
#include <lpc23xx.h>
#include <bitarithm.h>
#include "lpc23xx.h"
#include "bitarithm.h"
#define F_CCO 288000000
#define CL_CPU_DIV 4 ///< CPU clock divider

View File

@ -42,7 +42,7 @@ extern void init_clks1(void);
extern void init_clks2(void);
#define ENABLE_DEBUG (0)
#include <debug.h>
#include "debug.h"
void lpm_init(void)
{

View File

@ -1,6 +1,6 @@
#include <stdint.h>
#include <flashrom.h>
#include <iap.h>
#include "flashrom.h"
#include "iap.h"
uint8_t iap_get_sector(uint32_t addr)
{

View File

@ -36,7 +36,7 @@ See the file LICENSE in the top level directory for more details.
#define PREFRAC_RTC 0x000061C0 /* Prescaler value, fraction portion, PCLK = 15Mhz */
#define ENABLE_DEBUG (0)
#include <debug.h>
#include "debug.h"
/**
* @brief epoch time in hour granularity

View File

@ -4,14 +4,14 @@
*
*/
#include <irq.h>
#include <flashrom.h>
#include <iap.h>
#include "irq.h"
#include "flashrom.h"
#include "iap.h"
/* TODO: replace by a lpc generic header */
#include <lpc2387.h>
#include "lpc2387.h"
#define ENABLE_DEBUG (0)
#include <debug.h>
#include "debug.h"
/* pointer to reserved flash rom section for configuration data */
__attribute((aligned(256))) char configmem[256] __attribute__((section(".configmem")));

View File

@ -12,7 +12,7 @@
#define GPIO_H
// TODO: why do we need to include this for macro expansion?
#include "stdint.h"
#include <stdint.h>
/* Structure-based GPIO access
Example usage:

View File

@ -1,5 +1,5 @@
#include <atomic.h>
#include <cpu.h>
#include "atomic.h"
#include "cpu.h"
unsigned int atomic_set_return(unsigned int *val, unsigned int set)
{

View File

@ -12,12 +12,12 @@ See the file LICENSE in the top level directory for more details.
#include <stdint.h>
#include <cpu.h>
#include <hwtimer.h>
#include <hwtimer_arch.h>
#include "cpu.h"
#include "hwtimer.h"
#include "hwtimer_arch.h"
#define ENABLE_DEBUG (0)
#include <debug.h>
#include "debug.h"
void (*int_handler)(int);

View File

@ -27,8 +27,8 @@ See the file LICENSE in the top level directory for more details.
#include <stdio.h>
#include <legacymsp430.h>
#include "board.h"
#include <msp430.h>
#include "board.h"
#include "sched.h"
#include "msp430_types.h"

View File

@ -1,5 +1,5 @@
#include <stdio.h>
#include <kernel_internal.h>
#include "kernel_internal.h"
extern void board_init(void);

View File

@ -14,9 +14,9 @@
* @}
*/
#include <atomic.h>
#include <irq.h>
#include <debug.h>
#include "atomic.h"
#include "irq.h"
#include "debug.h"
unsigned int atomic_set_return(unsigned int *val, unsigned int set)
{

View File

@ -6,10 +6,10 @@
* Version 2. See the file LICENSE for more details.
*/
#include <at86rf231.h>
#include "at86rf231.h"
//#define ENABLE_DEBUG
#include <debug.h>
#define ENABLE_DEBUG (0)
#include "debug.h"
static uint16_t radio_pan;
static uint8_t radio_channel;

View File

@ -1,12 +1,12 @@
#include <at86rf231.h>
#include <at86rf231_arch.h>
#include "at86rf231.h"
#include "at86rf231_arch.h"
#include <transceiver.h>
#include <msg.h>
#include "transceiver.h"
#include "msg.h"
//#define ENABLE_DEBUG
#include <debug.h>
#define ENABLE_DEBUG (0)
#include "debug.h"
at86rf231_packet_t at86rf231_rx_buffer[AT86RF231_RX_BUF_SIZE];
uint8_t buffer[AT86RF231_RX_BUF_SIZE][AT86RF231_MAX_PKT_LENGTH];

View File

@ -1,6 +1,6 @@
#include <at86rf231_spi.h>
#include <at86rf231_arch.h>
#include <at86rf231_settings.h>
#include "at86rf231_spi.h"
#include "at86rf231_arch.h"
#include "at86rf231_settings.h"
void at86rf231_reg_write(uint8_t addr, uint8_t value)
{

View File

@ -1,5 +1,5 @@
#include <at86rf231.h>
#include <at86rf231_arch.h>
#include "at86rf231.h"
#include "at86rf231_arch.h"
static void at86rf231_xmit(uint8_t *data, uint8_t length);
static void at86rf231_gen_pkt(uint8_t *buf, at86rf231_packet_t *packet);

View File

@ -6,7 +6,7 @@
#include "ieee802154_frame.h"
#include <at86rf231_settings.h>
#include "at86rf231_settings.h"
#define AT86RF231_MAX_PKT_LENGTH 127
#define AT86RF231_MAX_DATA_LENGTH 118

View File

@ -29,13 +29,13 @@ and Telematics group (http://cst.mi.fu-berlin.de).
#include <stdlib.h>
#include <string.h>
#include <cc1100.h>
#include <cc1100_phy.h>
#include <cc1100-csmaca-mac.h>
#include "cc1100.h"
#include "cc1100_phy.h"
#include "cc1100-csmaca-mac.h"
#include "protocol-multiplex.h"
#include "hwtimer.h"
#include <vtimer.h>
#include "vtimer.h"
/*---------------------------------------------------------------------------*/

View File

@ -34,7 +34,7 @@ and Telematics group (http://cst.mi.fu-berlin.de).
#include <string.h>
#include "hwtimer.h"
#include <vtimer.h>
#include "vtimer.h"
#include "cc1100.h"
#include "cc1100_spi.h"

View File

@ -17,18 +17,18 @@
* @}
*/
#include <cc110x_ng.h>
#include <cc110x-internal.h>
#include <cc110x-config.h>
#include <cc110x-defaultSettings.h>
#include <cc110x_spi.h>
#include <cc110x-reg.h>
#include "cc110x_ng.h"
#include "cc110x-internal.h"
#include "cc110x-config.h"
#include "cc110x-defaultSettings.h"
#include "cc110x_spi.h"
#include "cc110x-reg.h"
#include <hwtimer.h>
#include <msg.h>
#include <transceiver.h>
#include "hwtimer.h"
#include "msg.h"
#include "transceiver.h"
#include <cpu-conf.h>
#include "cpu-conf.h"
#include "cpu.h"
#ifdef DBG_IGNORE

View File

@ -18,16 +18,14 @@
*/
#include <stdio.h>
#include <cc110x_ng.h>
#include <cc110x-defaultSettings.h>
#include <cc110x-internal.h>
#include <cc110x-arch.h>
#include <cc110x_spi.h>
#include <cc110x-reg.h>
#include "cc110x_ng.h"
#include "cc110x-defaultSettings.h"
#include "cc110x-internal.h"
#include "cc110x-arch.h"
#include "cc110x_spi.h"
#include "cc110x-reg.h"
#include <irq.h>
//#include <board.h>
#include "irq.h"
int8_t cc110x_send(cc110x_packet_t *packet)
{

View File

@ -16,20 +16,20 @@
* @author Oliver Hahm <oliver.hahm@inria.fr>
* @}
*/
#include <cc110x_ng.h>
#include <cc110x-arch.h>
#include <cc110x-config.h>
#include <cc110x-defaultSettings.h>
#include <cc110x-internal.h>
#include <cc110x_spi.h>
#include <cc110x-reg.h>
#include "cc110x_ng.h"
#include "cc110x-arch.h"
#include "cc110x-config.h"
#include "cc110x-defaultSettings.h"
#include "cc110x-internal.h"
#include "cc110x_spi.h"
#include "cc110x-reg.h"
#include <hwtimer.h>
#include <config.h>
#include "hwtimer.h"
#include "config.h"
#include "cpu.h"
#define ENABLE_DEBUG (0)
#include <debug.h>
#include "debug.h"
/* some externals */
extern uint8_t pa_table[]; ///< PATABLE with available output powers

View File

@ -19,8 +19,8 @@
#ifndef CC1100_CONFIG_H
#define CC1100_CONFIG_H
#include <timex.h>
#include <stdint.h>
#include "timex.h"
/** CC1100 register configuration */
typedef struct {

View File

@ -22,10 +22,10 @@
#ifndef CC1100_H
#define CC1100_H
#include <radio/radio.h>
#include <radio/types.h>
#include <stdint.h>
#include <cc110x-config.h>
#include "radio/radio.h"
#include "radio/types.h"
#include "cc110x-config.h"
#define CC1100_MAX_DATA_LENGTH (58)

View File

@ -6,14 +6,14 @@
* Version 2. See the file LICENSE for more details.
*/
#include <cc2420.h>
#include <cc2420_spi.h>
#include <cc2420_settings.h>
#include <cc2420_arch.h>
#include <hwtimer.h>
#include "cc2420.h"
#include "cc2420_spi.h"
#include "cc2420_settings.h"
#include "cc2420_arch.h"
#include "hwtimer.h"
#define ENABLE_DEBUG (0)
#include <debug.h>
#include "debug.h"
static uint16_t radio_channel;
static uint16_t radio_address;

View File

@ -8,15 +8,15 @@
#include <stdio.h>
#include <cc2420.h>
#include <cc2420_settings.h>
#include <cc2420_arch.h>
#include <cc2420_spi.h>
#include <ieee802154_frame.h>
#include "cc2420.h"
#include "cc2420_settings.h"
#include "cc2420_arch.h"
#include "cc2420_spi.h"
#include "ieee802154_frame.h"
#include <transceiver.h>
#include <msg.h>
#include <debug.h>
#include "transceiver.h"
#include "msg.h"
#include "debug.h"
cc2420_packet_t cc2420_rx_buffer[CC2420_RX_BUF_SIZE];
volatile uint8_t rx_buffer_next;

View File

@ -6,11 +6,11 @@
* Version 2. See the file LICENSE for more details.
*/
#include <cc2420_spi.h>
#include <cc2420_arch.h>
#include "cc2420_spi.h"
#include "cc2420_arch.h"
#include <cc2420_settings.h>
#include <irq.h>
#include "cc2420_settings.h"
#include "irq.h"
/* reg */
void cc2420_write_reg(uint8_t addr, uint16_t value) {

View File

@ -8,13 +8,13 @@
#include <stdio.h>
#include <cc2420.h>
#include <cc2420_spi.h>
#include <cc2420_settings.h>
#include <cc2420_arch.h>
#include <ieee802154_frame.h>
#include "cc2420.h"
#include "cc2420_spi.h"
#include "cc2420_settings.h"
#include "cc2420_arch.h"
#include "ieee802154_frame.h"
#include <irq.h>
#include "irq.h"
#define ENABLE_DEBUG (0)
#include "debug.h"

View File

@ -76,8 +76,8 @@ Frame type value:
#ifndef CC2420_H
#define CC2420_H
#include <ieee802154_frame.h>
#include <cc2420_settings.h>
#include "ieee802154_frame.h"
#include "cc2420_settings.h"
#define CC2420_MAX_PKT_LENGTH 127
#define CC2420_MAX_DATA_LENGTH (118)

View File

@ -1,7 +1,7 @@
#ifndef __LTC4150_H
#define __LTC4150_H
#include <ltc4150_arch.h>
#include "ltc4150_arch.h"
void ltc4150_init(void);
void ltc4150_start(void);

View File

@ -29,10 +29,10 @@
#include <stdbool.h>
#include <string.h>
#include <math.h>
#include <msg.h>
#include <thread.h>
#include <vtimer.h>
#include <timex.h>
#include "msg.h"
#include "thread.h"
#include "vtimer.h"
#include "timex.h"
#include "lpc2387.h"
#include "gpioint.h"
#include "i2c.h"

View File

@ -25,10 +25,10 @@
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <msg.h>
#include <vtimer.h>
#include <timex.h>
#include <thread.h>
#include "msg.h"
#include "vtimer.h"
#include "timex.h"
#include "thread.h"
#include "hwtimer.h"
#include "srf02-ultrasonic-sensor.h"
#include "i2c.h"

View File

@ -23,23 +23,23 @@
#define AUTO_INIT_H
#ifdef MODULE_HWTIMER
#include <hwtimer.h>
#include "hwtimer.h"
#endif
#ifdef MODULE_SHT11
#include <sht11.h>
#include "sht11.h"
#endif
#ifdef MODULE_GPIOINT
#include <gpioint.h>
#include "gpioint.h"
#endif
#ifdef MODULE_CC110X
#include <cc1100-interface.h>
#include "cc1100-interface.h"
#endif
#ifdef MODULE_LTC4150
#include <ltc4150.h>
#include "ltc4150.h"
#endif
void auto_init(void);

View File

@ -8,7 +8,7 @@
#ifndef __CHARDEV_THREAD_H
#define __CHARDEV_THREAD_H
#include <ringbuffer.h>
#include "ringbuffer.h"
void chardev_loop(ringbuffer_t *rb);

View File

@ -1,7 +1,7 @@
#ifndef __SHELL_COMMANDS_H
#define __SHELL_COMMANDS_H
#include <shell.h>
#include "shell.h"
#define DISK_GET_SECTOR_SIZE "dget_ssize"
#define DISK_GET_SECTOR_COUNT "dget_scount"

View File

@ -37,7 +37,7 @@
#endif
#ifdef MODULE_AT86RF231
#include <at86rf231.h>
#include "at86rf231.h"
#endif
/* Stack size for transceiver thread */

View File

@ -15,11 +15,12 @@
* @}
*/
#include <thread.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "thread.h"
#include "destiny.h"
#include "vtimer.h"

View File

@ -5,7 +5,6 @@
* Author: Oliver
*/
#include <thread.h>
#include <stdio.h>
#include "thread.h"

View File

@ -6,8 +6,8 @@
*/
#include <stdio.h>
#include <thread.h>
#include <string.h>
#include "thread.h"
#include "net_help.h"

View File

@ -13,7 +13,7 @@
//For debugging purposes
#define ENABLE_DEBUG (0)
#include <debug.h>
#include "debug.h"
#if ENABLE_DEBUG
#define ETX_BEACON_STACKSIZE (4500)

View File

@ -17,9 +17,9 @@
*/
#include <string.h>
#include <vtimer.h>
#include <thread.h>
#include <mutex.h>
#include "vtimer.h"
#include "thread.h"
#include "mutex.h"
#include "msg.h"
#include "rpl.h"

View File

@ -15,8 +15,8 @@
* @}
*/
#include <vtimer.h>
#include <thread.h>
#include "vtimer.h"
#include "thread.h"
#define TRICKLE_TIMER_STACKSIZE (KERNEL_CONF_STACKSIZE_DEFAULT)
#define TRICKLE_INTERVAL_STACKSIZE (KERNEL_CONF_STACKSIZE_MAIN)

View File

@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <thread.h>
#include <msg.h>
#include "thread.h"
#include "msg.h"
#include "cc110x/cc1100.h"
#include "lpc2387.h"
@ -9,7 +9,7 @@
#include "vtimer.h"
#include "timex.h"
#include "gpioint.h"
#include <ping.h>
#include "ping.h"
ping_payload *pipa;
protocol_t protocol_id = 0;

View File

@ -15,10 +15,10 @@
* @}
*/
#include <thread.h>
#include <msg.h>
#include "thread.h"
#include "msg.h"
#include <posix_io.h>
#include "posix_io.h"
static int _posix_fileop(int pid, int op, int flags)

View File

@ -18,11 +18,11 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <cc1100-interface.h>
#include "cc1100-interface.h"
#ifdef MODULE_CC110X
#include <msg.h>
#include <transceiver.h>
#include "msg.h"
#include "transceiver.h"
#ifdef MODULE_TRANSCEIVER
#define TEXT_SIZE CC1100_MAX_DATA_LENGTH

View File

@ -18,10 +18,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <transceiver.h>
#include <cc110x_ng.h>
#include <msg.h>
#include <inttypes.h>
#include "transceiver.h"
#include "cc110x_ng.h"
#include "msg.h"
#define TEXT_SIZE CC1100_MAX_DATA_LENGTH

View File

@ -1,9 +1,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <transceiver.h>
#include <cc2420.h>
#include <msg.h>
#include "transceiver.h"
#include "cc2420.h"
#include "msg.h"
#define TEXT_SIZE CC2420_MAX_DATA_LENGTH

View File

@ -17,8 +17,8 @@
#include <stdio.h>
#include <string.h>
#include <config.h>
#include <stdlib.h>
#include "config.h"
void _id_handler(char *id)
{

View File

@ -16,7 +16,7 @@
*/
#include <stdio.h>
#include <ltc4150.h>
#include "ltc4150.h"
void _get_current_handler(char *unused)
{

View File

@ -20,7 +20,7 @@
#include <string.h>
#ifdef MODULE_RTC
#include <rtc.h>
#include "rtc.h"
void _gettime_handler(void)
{

View File

@ -18,8 +18,8 @@
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <sht11.h>
#include <string.h>
#include "sht11.h"
#ifdef MODULE_SHT11

View File

@ -19,8 +19,8 @@
* @}
*/
#include <shell_commands.h>
#include <stdlib.h>
#include "shell_commands.h"
extern void _id_handler(char *id);
extern void _heap_handler(char *unused);

View File

@ -28,10 +28,10 @@
#include <string.h>
#include <stdio.h>
#include <shell.h>
#include <shell_commands.h>
#include <stdint.h>
#include <stdlib.h>
#include "shell.h"
#include "shell_commands.h"
static void(*find_handler(const shell_command_t *command_list, char *command))(char *)
{

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