From 7c7864eae29e37534cf896849c8815f3d1d3e4e8 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Sat, 12 Feb 2011 14:01:54 -0500 Subject: [PATCH 1/4] add autoacking --- doc/autoack | 34 ++++++++ lib/include/maca.h | 9 +++ lib/include/packet.h | 1 + lib/maca.c | 28 +++++-- tests/Makefile | 1 + tests/autoack-rx.c | 109 +++++++++++++++++++++++++ tests/autoack-tx.c | 189 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 366 insertions(+), 5 deletions(-) create mode 100644 doc/autoack create mode 100644 tests/autoack-rx.c create mode 100644 tests/autoack-tx.c diff --git a/doc/autoack b/doc/autoack new file mode 100644 index 000000000..3c5b0ea62 --- /dev/null +++ b/doc/autoack @@ -0,0 +1,34 @@ +The known details about autoacking. + +1) Auto-acking is disabled if promiscuous mode in enabled. Auto-acking + is enabled when promiscuous mode is disabled. A more proper name + for this bit would be promiscuous/#autoack. + +2) If promiscuous mode is disabled and a recieved packet 1) matches + the address filters and 2) has the ack request bit set, then an + auto-ack will be sent (provided you do item 3 properly). The + sequence number is stuffed and transmitted automatically. Note: you + must have the address set properly in the maca hardware. That means + the EUI registers for long addressing and the PANID and short + addr. for short addressing. + +3) You must wait 200 maca clocks or so after receiving a packet that + needs an ack. This is necessary for the maca to do it's thing. If + you don't wait enough then it either will not send the ack, or if + you wait a little more (but not enough), the ack DSN will be zero. + +4) The following must be set properly, TXACKDELAY, RXACKDELAY, + RXEND. The best way to set these is to use a scope and the TX_ON + and RX_ON signals. You set TXACKDELAY so that the ack is + transmitted 12 symbols after the received packet (192 us). You set + RXACKDELAY to start before the ack is due to arrive (I'm doing + 100us before). And you set RXEND to be long enough to receive the + ACK (I'm doing a 700us window or so). + +4b) CCA has its own set of timings. + +5) The transmitter must set TXSEQNR before MACA_DMATX. + +6) The status of the next "action complete" on the TX side tells you + if the ack was received or not. Status will be 0 (success) if you + got the ack and 5 (no_ack) if you did not. diff --git a/lib/include/maca.h b/lib/include/maca.h index 24c10ce3d..fa484b5c6 100644 --- a/lib/include/maca.h +++ b/lib/include/maca.h @@ -62,6 +62,11 @@ void set_demodulator_type(uint8_t demod); extern volatile uint8_t fcs_mode; #define set_fcs_mode(x) fcs_mode = (x) +/* set_prm_mode(PROMISC) to disable address filtering */ +/* set_prm_mode(AUTOACK) to enable address filtering AND autoack */ +extern volatile uint8_t prm_mode; +#define set_prm_mode(x) prm_mode = (x) + /* maca packet interface */ void tx_packet(volatile packet_t *p); volatile packet_t* rx_packet(void); @@ -105,6 +110,10 @@ enum { NO_FCS = 1, }; #define PRM 11 /* set for promiscuous mode */ +enum { + AUTOACK = 0, + PROMISC = 1, +}; #define REL 10 /* 1 for relative, 0 for absolute */ #define ASAP 9 /* 1 start now, 0 timer start */ #define BCN 8 /* 1 beacon only, 0 for a */ diff --git a/lib/include/packet.h b/lib/include/packet.h index 295257421..a792d8a1b 100644 --- a/lib/include/packet.h +++ b/lib/include/packet.h @@ -52,6 +52,7 @@ struct packet { /* On RX this should be 1 since the maca puts the length as the first byte*/ uint8_t offset; uint8_t lqi; + uint8_t status; #if PACKET_STATS uint8_t seen; uint8_t post_tx; diff --git a/lib/maca.c b/lib/maca.c index 0936eb3b0..025625af9 100644 --- a/lib/maca.c +++ b/lib/maca.c @@ -102,6 +102,7 @@ enum posts { static volatile uint8_t last_post = NO_POST; volatile uint8_t fcs_mode = USE_FCS; +volatile uint8_t prm_mode = PROMISC; /* call periodically to */ /* check that maca_entry is changing */ @@ -181,7 +182,9 @@ void maca_init(void) { /* initial radio command */ /* nop, promiscuous, no cca */ - *MACA_CONTROL = (1 << PRM) | (NO_CCA << MODE); + *MACA_CONTROL = + (prm_mode << PRM) | + (NO_CCA << MODE); enable_irq(MACA); *INTFRC = (1 << INT_NUM_MACA); @@ -364,8 +367,8 @@ void post_receive(void) { *MACA_CONTROL = ( (1 << maca_ctrl_asap) | ( 4 << PRECOUNT) | ( fcs_mode << NOFC ) | + ( prm_mode << PRM) | (1 << maca_ctrl_auto) | - (1 << maca_ctrl_prm) | (maca_ctrl_seq_rx)); /* status bit 10 is set immediately */ /* then 11, 10, and 9 get set */ @@ -405,7 +408,8 @@ void post_tx(void) { #if PACKET_STATS dma_tx->post_tx++; #endif - *MACA_TXLEN = (uint32_t)((dma_tx->length) + 2); + *MACA_TXSEQNR = dma_tx->data[2]; + *MACA_TXLEN = (uint32_t)((dma_tx->length) + 2) | (3 << 16); /* set rx len to ACK length */ *MACA_DMATX = (uint32_t)&(dma_tx->data[ 0 + dma_tx->offset]); if(dma_rx == 0) { dma_rx = get_free_packet(); @@ -429,7 +433,8 @@ void post_tx(void) { *MACA_TMREN = (1 << maca_tmren_cpl); enable_irq(MACA); - *MACA_CONTROL = ( (1 << maca_ctrl_prm) | ( 4 << PRECOUNT) | + *MACA_CONTROL = ( ( 4 << PRECOUNT) | + ( prm_mode << PRM) | (maca_ctrl_mode_no_cca << maca_ctrl_mode) | (1 << maca_ctrl_asap) | (maca_ctrl_seq_tx)); @@ -610,8 +615,17 @@ void maca_isr(void) { *MACA_CLRIRQ = (1 << maca_irq_di); dma_rx->length = *MACA_GETRXLVL - 2; /* packet length does not include FCS */ dma_rx->lqi = get_lqi(); -// PRINTF("maca data ind %x %d\n\r", dma_rx, dma_rx->length); + + /* check if received packet needs an ack */ + if(dma_rx->data[1] & 0x20) { + /* this wait is necessary to auto-ack */ + volatile uint32_t wait_clk; + wait_clk = *MACA_CLK + 200; + while(*MACA_CLK < wait_clk) { continue; } + } + if(maca_rx_callback != 0) { maca_rx_callback(dma_rx); } + add_to_rx(dma_rx); dma_rx = 0; } @@ -634,6 +648,7 @@ void maca_isr(void) { if(action_complete_irq()) { /* PRINTF("maca action complete %d\n\r", get_field(*MACA_CONTROL,SEQUENCE)); */ if(last_post == TX_POST) { + tx_head->status = get_field(*MACA_STATUS,CODE); if(maca_tx_callback != 0) { maca_tx_callback(tx_head); } dma_tx = 0; free_tx_head(); @@ -669,6 +684,9 @@ void init_phy(void) *MACA_TXCCADELAY = 0x00000025; *MACA_FRAMESYNC0 = 0x000000A7; *MACA_CLK = 0x00000008; + *MACA_RXACKDELAY = 30; + *MACA_RXEND = 180; + *MACA_TXACKDELAY = 68; *MACA_MASKIRQ = ((1 << maca_irq_rst) | (1 << maca_irq_acpl) | (1 << maca_irq_cm) | diff --git a/tests/Makefile b/tests/Makefile index 5e8dff878..b664694da 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -16,6 +16,7 @@ TARGETS := blink-red blink-green blink-blue blink-white blink-allio \ # this space is initialized with a rom call to rom_data_init TARGETS_WITH_ROM_VARS := nvm-read nvm-write romimg flasher \ rftest-rx rftest-tx \ + autoack-rx autoack-tx \ per ################################################## diff --git a/tests/autoack-rx.c b/tests/autoack-rx.c new file mode 100644 index 000000000..88dad71fe --- /dev/null +++ b/tests/autoack-rx.c @@ -0,0 +1,109 @@ +/* + * Copyright (c) 2010, Mariano Alvira and other contributors + * to the MC1322x project (http://mc1322x.devl.org) + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the Institute nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * This file is part of libmc1322x: see http://mc1322x.devl.org + * for details. + * + * $Id$ + */ + +#include +#include +#include + +#include "tests.h" +#include "config.h" + +#define LED LED_GREEN + +void maca_rx_callback(volatile packet_t *p) { + (void)p; + gpio_data_set(1ULL<< LED); + gpio_data_reset(1ULL<< LED); +} + +void main(void) { + volatile packet_t *p; + volatile uint8_t t=20; + uint8_t chan; + char c; + + gpio_data(0); + + gpio_pad_dir_set( 1ULL << LED ); + /* read from the data register instead of the pad */ + /* this is needed because the led clamps the voltage low */ + gpio_data_sel( 1ULL << LED); + + /* trim the reference osc. to 24MHz */ + trim_xtal(); + + uart_init(INC, MOD, SAMP); + + vreg_init(); + + maca_init(); + + /* sets up tx_on, should be a board specific item */ + *GPIO_FUNC_SEL2 = (0x01 << ((44-16*2)*2)); + gpio_pad_dir_set( 1ULL << 44 ); + + set_power(0x0f); /* 0dbm */ + chan = 0; + set_channel(chan); /* channel 11 */ + + *MACA_MACPANID = 0xaaaa; + *MACA_MAC16ADDR = 0x1111; + *MACA_TXACKDELAY = 68; /* 68 puts the tx ack at about the correct spot */ + set_prm_mode(AUTOACK); + + print_welcome("rftest-rx"); + while(1) { + + /* call check_maca() periodically --- this works around */ + /* a few lockup conditions */ + check_maca(); + + if((p = rx_packet())) { + /* print and free the packet */ + printf("autoack-rx --- "); + print_packet(p); + free_packet(p); + } + + if(uart1_can_get()) { + c = uart1_getc(); + if(c == 'z') t++; + if(c == 'x') t--; + *MACA_TXACKDELAY = t; + printf("tx ack delay: %d\n\r", t); + } + + } +} diff --git a/tests/autoack-tx.c b/tests/autoack-tx.c new file mode 100644 index 000000000..8621ab8b0 --- /dev/null +++ b/tests/autoack-tx.c @@ -0,0 +1,189 @@ +/* + * Copyright (c) 2010, Mariano Alvira and other contributors + * to the MC1322x project (http://mc1322x.devl.org) + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the Institute nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * This file is part of libmc1322x: see http://mc1322x.devl.org + * for details. + * + * $Id$ + */ + +#include +#include +#include + +#include "tests.h" +#include "config.h" + +#define LED LED_RED + +/* 802.15.4 PSDU is 127 MAX */ +/* 2 bytes are the FCS */ +/* therefore 125 is the max payload length */ +#define PAYLOAD_LEN 16 +#define DELAY 100000 + +void fill_packet(volatile packet_t *p) { + static volatile uint8_t count=0; + + p->length = 16; + p->offset = 0; + p->data[0] = 0x71; /* 0b 10 01 10 000 1 1 0 0 001 data, ack request, short addr */ + p->data[1] = 0x98; /* 0b 10 01 10 000 1 1 0 0 001 data, ack request, short addr */ + p->data[2] = count++; /* dsn */ + p->data[3] = 0xaa; /* pan */ + p->data[4] = 0xaa; + p->data[5] = 0x11; /* dest. short addr. */ + p->data[6] = 0x11; + p->data[7] = 0x22; /* src. short addr. */ + p->data[8] = 0x22; + + /* payload */ + p->data[9] = 'a'; + p->data[10] = 'c'; + p->data[11] = 'k'; + p->data[12] = 't'; + p->data[13] = 'e'; + p->data[14] = 's'; + p->data[15] = 't'; + +} + +void maca_tx_callback(volatile packet_t *p) { + switch(p->status) { + case 0: + printf("TX OK\n\r"); + break; + case 3: + printf("CRC ERR\n\r"); + break; + case 5: + printf("NO ACK\n\r"); + break; + default: + printf("unknown status: %d\n", (int)p->status); + } +} + +void main(void) { + volatile packet_t *p; + char c; + uint16_t r=30; /* start reception 100us before ack should arrive */ + uint16_t end=180; /* 750 us receive window*/ + + /* trim the reference osc. to 24MHz */ + trim_xtal(); + + uart_init(INC, MOD, SAMP); + + vreg_init(); + + maca_init(); + + set_channel(0); /* channel 11 */ +// set_power(0x0f); /* 0xf = -1dbm, see 3-22 */ +// set_power(0x11); /* 0x11 = 3dbm, see 3-22 */ + set_power(0x12); /* 0x12 is the highest, not documented */ + + /* sets up tx_on, should be a board specific item */ + GPIO->FUNC_SEL_44 = 1; + GPIO->PAD_DIR_SET_44 = 1; + + GPIO->FUNC_SEL_45 = 2; + GPIO->PAD_DIR_SET_45 = 1; + + *MACA_RXACKDELAY = r; + + printf("rx warmup: %d\n\r", (int)(*MACA_WARMUP & 0xfff)); + + *MACA_RXEND = end; + + printf("rx end: %d\n\r", (int)(*MACA_RXEND & 0xfff)); + + set_prm_mode(AUTOACK); + + print_welcome("rftest-tx"); + + while(1) { + + /* call check_maca() periodically --- this works around */ + /* a few lockup conditions */ + check_maca(); + + while((p = rx_packet())) { + if(p) { + printf("RX: "); + print_packet(p); + free_packet(p); + } + } + + if(uart1_can_get()) { + c = uart1_getc(); + + switch(c) { + case 'z': + r++; + if(r > 4095) { r = 0; } + *MACA_RXACKDELAY = r; + printf("rx ack delay: %d\n\r", r); + break; + case 'x': + if(r == 0) { r = 4095; } else { r--; } + *MACA_RXACKDELAY = r; + printf("rx ack delay: %d\n\r", r); + break; + case 'q': + end++; + if(r > 4095) { r = 0; } + *MACA_RXEND = end; + printf("rx end: %d\n\r", end); + break; + case 'w': + end--; + if(r == 0) { r = 4095; } else { r--; } + *MACA_RXEND = end; + printf("rx end: %d\n\r", end); + break; + default: + p = get_free_packet(); + if(p) { + fill_packet(p); + + printf("autoack-tx --- "); + print_packet(p); + + tx_packet(p); + } + break; + } + } + + } + +} From 0058fdc824980d4ef307fe838ed4954cd0c1fee1 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Sat, 12 Feb 2011 15:33:19 -0500 Subject: [PATCH 2/4] fixes to remove warnings when building with DEBUG_MACA --- lib/maca.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/lib/maca.c b/lib/maca.c index 025625af9..e4c4039f9 100644 --- a/lib/maca.c +++ b/lib/maca.c @@ -589,7 +589,7 @@ void decode_status(void) { } default: { - PRINTF("status: %x", *MACA_STATUS); + PRINTF("status: %x", (unsigned int)*MACA_STATUS); ResumeMACASync(); } @@ -661,7 +661,7 @@ void maca_isr(void) { decode_status(); if (*MACA_IRQ != 0) - { PRINTF("*MACA_IRQ %x\n\r", *MACA_IRQ); } + { PRINTF("*MACA_IRQ %x\n\r", (unsigned int)*MACA_IRQ); } if(tx_head != 0) { post_tx(); @@ -920,7 +920,7 @@ void radio_init(void) { PRINTF("radio_init: ctov parameter 0x%02x\n\r",ram_values[3]); for(i=0; i<16; i++) { ctov[i] = get_ctov(i,ram_values[3]); - PRINTF("radio_init: ctov[%d] = 0x%02x\n\r",i,ctov[i]); + PRINTF("radio_init: ctov[%d] = 0x%02x\n\r",(int)i,ctov[i]); } @@ -1109,18 +1109,20 @@ uint32_t exec_init_entry(volatile uint32_t *entries, uint8_t *valbuf) if(entries[0] <= ROM_END) { if (entries[0] == 0) { /* do delay command*/ - PRINTF("init_entry: delay 0x%08x\n\r", entries[1]); + PRINTF("init_entry: delay 0x%08x\n\r", (unsigned int)entries[1]); for(i=0; i= 16) && (entries[0] < 0xfff1)) { /* store bytes in valbuf */ - PRINTF("init_entry: store in valbuf 0x%02x position %d\n\r", entries[1],(entries[0]>>4)-1); + PRINTF("init_entry: store in valbuf 0x%02x position %d\n\r", + (unsigned int)entries[1], + (unsigned int)(entries[0]>>4)-1); valbuf[(entries[0]>>4)-1] = entries[1]; return 2; } else if (entries[0] == ENTRY_EOF) { @@ -1128,12 +1130,14 @@ uint32_t exec_init_entry(volatile uint32_t *entries, uint8_t *valbuf) return 0; } else { /* invalid command code */ - PRINTF("init_entry: invaild code 0x%08x\n\r",entries[0]); + PRINTF("init_entry: invaild code 0x%08x\n\r",(unsigned int)entries[0]); return 0; } } else { /* address isn't in ROM space */ /* do store value in address command */ - PRINTF("init_entry: address value pair - *0x%08x = 0x%08x\n\r",entries[0],entries[1]); + PRINTF("init_entry: address value pair - *0x%08x = 0x%08x\n\r", + (unsigned int)entries[0], + (unsigned int)entries[1]); reg(entries[0]) = entries[1]; return 2; } @@ -1157,7 +1161,7 @@ uint32_t init_from_flash(uint32_t addr) { PRINTF("nvm_read returned: 0x%02x\n\r",err); for(j=0; j<4; j++) { - PRINTF("0x%08x\n\r",buf[j]); + PRINTF("0x%08x\n\r",(unsigned int)buf[j]); } if(buf[0] == FLASH_INIT_MAGIC) { From e951e350dfc13cbe16f8be59fdf3861103f2e405 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Sat, 12 Feb 2011 15:34:21 -0500 Subject: [PATCH 3/4] print status messages with DEBUG_MACA --- lib/maca.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/maca.c b/lib/maca.c index e4c4039f9..513e855eb 100644 --- a/lib/maca.c +++ b/lib/maca.c @@ -542,21 +542,21 @@ void decode_status(void) { { case ABORTED: { -// PRINTF("maca: aborted\n\r"); + PRINTF("maca: aborted\n\r"); ResumeMACASync(); break; } case NOT_COMPLETED: { -// PRINTF("maca: not completed\n\r"); + PRINTF("maca: not completed\n\r"); ResumeMACASync(); break; } case CODE_TIMEOUT: { -// PRINTF("maca: timeout\n\r"); + PRINTF("maca: timeout\n\r"); ResumeMACASync(); break; @@ -570,7 +570,7 @@ void decode_status(void) { } case EXT_TIMEOUT: { -// PRINTF("maca: ext timeout\n\r"); + PRINTF("maca: ext timeout\n\r"); ResumeMACASync(); break; From a4ef14f204a7ca7a87fab4225cce1edc6c38a384 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Sat, 12 Feb 2011 18:12:45 -0500 Subject: [PATCH 4/4] strip cvs style keywords from everything --- COPYING | 2 +- board/freescale-ncb.h | 2 +- board/quahogcon.h | 2 +- board/redbee-dev.h | 2 +- board/redbee-econotag.h | 2 +- board/redbee-r1.h | 2 +- board/redbee-usb.h | 2 +- board/std_conf.h | 2 +- lib/gpio.c | 2 +- lib/include/crm.h | 2 +- lib/include/gpio.h | 2 +- lib/include/isr.h | 2 +- lib/include/kbi.h | 2 +- lib/include/maca.h | 2 +- lib/include/mc1322x.h | 2 +- lib/include/nvm.h | 2 +- lib/include/packet.h | 2 +- lib/include/tmr.h | 2 +- lib/include/uart1.h | 2 +- lib/include/utils.h | 2 +- lib/maca.c | 2 +- lib/nvm.c | 2 +- lib/printf.c | 4 ++-- lib/tmr.c | 2 +- lib/uart1.c | 2 +- src/default_lowlevel.c | 2 +- src/default_lowlevel.h | 2 +- src/isr.c | 2 +- tests/autoack-rx.c | 2 +- tests/autoack-tx.c | 2 +- tests/blink-allio.c | 2 +- tests/blink-blue.c | 2 +- tests/blink-green.c | 2 +- tests/blink-red.c | 2 +- tests/blink-white.c | 2 +- tests/config.h | 2 +- tests/flasher.c | 2 +- tests/led.h | 2 +- tests/nvm-read.c | 2 +- tests/nvm-write.c | 2 +- tests/per.c | 2 +- tests/printf.c | 2 +- tests/put.c | 2 +- tests/put.h | 2 +- tests/rftest-rx.c | 2 +- tests/rftest-tx.c | 2 +- tests/romimg.c | 2 +- tests/sleep.c | 2 +- tests/tests.c | 2 +- tests/tests.h | 2 +- tests/tmr-ints.c | 2 +- tests/tmr.c | 2 +- tests/uart1-loopback.c | 2 +- tools/ftditools/bbmc.c | 2 +- 54 files changed, 55 insertions(+), 55 deletions(-) diff --git a/COPYING b/COPYING index 42a7c50d4..35f329c4c 100644 --- a/COPYING +++ b/COPYING @@ -30,6 +30,6 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ diff --git a/board/freescale-ncb.h b/board/freescale-ncb.h index f81f5e041..d1b7b2f8d 100644 --- a/board/freescale-ncb.h +++ b/board/freescale-ncb.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef BOARD_FREESCALE_NCB_H diff --git a/board/quahogcon.h b/board/quahogcon.h index b3606ae62..6de1ec76d 100644 --- a/board/quahogcon.h +++ b/board/quahogcon.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef BOARD_QUAHOG10_H diff --git a/board/redbee-dev.h b/board/redbee-dev.h index 92d6b0ae5..c54488a14 100644 --- a/board/redbee-dev.h +++ b/board/redbee-dev.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef BOARD_REDBEE_DEV_H diff --git a/board/redbee-econotag.h b/board/redbee-econotag.h index fdbe1f265..3cfc49d37 100644 --- a/board/redbee-econotag.h +++ b/board/redbee-econotag.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef BOARD_REDBEE_ECONOTAG_H diff --git a/board/redbee-r1.h b/board/redbee-r1.h index 734d41d58..f63e3ea54 100644 --- a/board/redbee-r1.h +++ b/board/redbee-r1.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef BOARD_REDBEE_R1_H diff --git a/board/redbee-usb.h b/board/redbee-usb.h index b18e628d9..6ddb372b8 100644 --- a/board/redbee-usb.h +++ b/board/redbee-usb.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef BOARD_REDBEE_USB_H diff --git a/board/std_conf.h b/board/std_conf.h index 089986cf8..4c1c9b82c 100644 --- a/board/std_conf.h +++ b/board/std_conf.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef STDCONF_H diff --git a/lib/gpio.c b/lib/gpio.c index ed1582ce1..d442a1c08 100644 --- a/lib/gpio.c +++ b/lib/gpio.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/lib/include/crm.h b/lib/include/crm.h index f63a72db1..2590dfb37 100644 --- a/lib/include/crm.h +++ b/lib/include/crm.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef CRM_H diff --git a/lib/include/gpio.h b/lib/include/gpio.h index 955fed13b..58b868946 100644 --- a/lib/include/gpio.h +++ b/lib/include/gpio.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef GPIO_H diff --git a/lib/include/isr.h b/lib/include/isr.h index 6e5102526..5fd653e1a 100644 --- a/lib/include/isr.h +++ b/lib/include/isr.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef ISR_H diff --git a/lib/include/kbi.h b/lib/include/kbi.h index f84e40722..a6a1ce7e8 100644 --- a/lib/include/kbi.h +++ b/lib/include/kbi.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef KBI_H diff --git a/lib/include/maca.h b/lib/include/maca.h index fa484b5c6..2f567a9ac 100644 --- a/lib/include/maca.h +++ b/lib/include/maca.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef _MACA_H_ diff --git a/lib/include/mc1322x.h b/lib/include/mc1322x.h index a05a48744..df19b19c2 100644 --- a/lib/include/mc1322x.h +++ b/lib/include/mc1322x.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef MC1322X_H diff --git a/lib/include/nvm.h b/lib/include/nvm.h index 5a78be441..65ba23d11 100644 --- a/lib/include/nvm.h +++ b/lib/include/nvm.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef NVM_H diff --git a/lib/include/packet.h b/lib/include/packet.h index a792d8a1b..58eaa37b9 100644 --- a/lib/include/packet.h +++ b/lib/include/packet.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef PACKET_H diff --git a/lib/include/tmr.h b/lib/include/tmr.h index 456791328..ca71b2708 100644 --- a/lib/include/tmr.h +++ b/lib/include/tmr.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef TMR_H diff --git a/lib/include/uart1.h b/lib/include/uart1.h index 3feab2279..d80eac65d 100644 --- a/lib/include/uart1.h +++ b/lib/include/uart1.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef UART1_H diff --git a/lib/include/utils.h b/lib/include/utils.h index 10e03eba7..5172835f7 100644 --- a/lib/include/utils.h +++ b/lib/include/utils.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef UTILS_H diff --git a/lib/maca.c b/lib/maca.c index 513e855eb..0e6e63e1f 100644 --- a/lib/maca.c +++ b/lib/maca.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/lib/nvm.c b/lib/nvm.c index 00d6e0d47..83dd8ecc7 100644 --- a/lib/nvm.c +++ b/lib/nvm.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include "nvm.h" diff --git a/lib/printf.c b/lib/printf.c index d43ea1c28..c716b5893 100644 --- a/lib/printf.c +++ b/lib/printf.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ /** @@ -42,7 +42,7 @@ * * Created on : 17-mar-2009 * - * $Id$ + * */ /* diff --git a/lib/tmr.c b/lib/tmr.c index c6136c52c..1d1792590 100644 --- a/lib/tmr.c +++ b/lib/tmr.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/lib/uart1.c b/lib/uart1.c index 87ac10223..2dc0a9c51 100644 --- a/lib/uart1.c +++ b/lib/uart1.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/src/default_lowlevel.c b/src/default_lowlevel.c index 9ce0b65a6..918567bbe 100644 --- a/src/default_lowlevel.c +++ b/src/default_lowlevel.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/src/default_lowlevel.h b/src/default_lowlevel.h index 891ddee57..e91ec949b 100644 --- a/src/default_lowlevel.h +++ b/src/default_lowlevel.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef LOWLEVEL_H diff --git a/src/isr.c b/src/isr.c index a0b252339..3799bae34 100644 --- a/src/isr.c +++ b/src/isr.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/autoack-rx.c b/tests/autoack-rx.c index 88dad71fe..878aacd57 100644 --- a/tests/autoack-rx.c +++ b/tests/autoack-rx.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/autoack-tx.c b/tests/autoack-tx.c index 8621ab8b0..698881a57 100644 --- a/tests/autoack-tx.c +++ b/tests/autoack-tx.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/blink-allio.c b/tests/blink-allio.c index ce2c1c0b3..568b542d7 100644 --- a/tests/blink-allio.c +++ b/tests/blink-allio.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/blink-blue.c b/tests/blink-blue.c index ea12eb208..50231cddd 100644 --- a/tests/blink-blue.c +++ b/tests/blink-blue.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/blink-green.c b/tests/blink-green.c index 489f68417..426f5918d 100644 --- a/tests/blink-green.c +++ b/tests/blink-green.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/blink-red.c b/tests/blink-red.c index 330de174c..648ebc0d4 100644 --- a/tests/blink-red.c +++ b/tests/blink-red.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/blink-white.c b/tests/blink-white.c index 36fb5cdc6..eba64f680 100644 --- a/tests/blink-white.c +++ b/tests/blink-white.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/config.h b/tests/config.h index b5117bdac..4d776b629 100644 --- a/tests/config.h +++ b/tests/config.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef CONFIG_H diff --git a/tests/flasher.c b/tests/flasher.c index f2cb29a76..4049c1bed 100644 --- a/tests/flasher.c +++ b/tests/flasher.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/led.h b/tests/led.h index c08e0b57c..e490493ec 100644 --- a/tests/led.h +++ b/tests/led.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef LED_H diff --git a/tests/nvm-read.c b/tests/nvm-read.c index 9e90a7d3b..6d8760ee8 100644 --- a/tests/nvm-read.c +++ b/tests/nvm-read.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/nvm-write.c b/tests/nvm-write.c index c868ff0bf..76ca12695 100644 --- a/tests/nvm-write.c +++ b/tests/nvm-write.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/per.c b/tests/per.c index a298d220a..303505e05 100644 --- a/tests/per.c +++ b/tests/per.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/printf.c b/tests/printf.c index c39bab08b..66a235f06 100644 --- a/tests/printf.c +++ b/tests/printf.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/put.c b/tests/put.c index 4b1b36e49..aa0b0eeb1 100644 --- a/tests/put.c +++ b/tests/put.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/put.h b/tests/put.h index 776daaaa0..d8f0601c2 100644 --- a/tests/put.h +++ b/tests/put.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef PUT_H diff --git a/tests/rftest-rx.c b/tests/rftest-rx.c index 608313835..bb4a04143 100644 --- a/tests/rftest-rx.c +++ b/tests/rftest-rx.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/rftest-tx.c b/tests/rftest-tx.c index ae7bf89c6..b6038d7d3 100644 --- a/tests/rftest-tx.c +++ b/tests/rftest-tx.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/romimg.c b/tests/romimg.c index ab9e7d21f..dcf6d4637 100644 --- a/tests/romimg.c +++ b/tests/romimg.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/sleep.c b/tests/sleep.c index 546c993d9..d45723640 100644 --- a/tests/sleep.c +++ b/tests/sleep.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/tests.c b/tests/tests.c index 8bcb906d1..75850492f 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/tests.h b/tests/tests.h index 2cb905b65..dd1266be1 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #ifndef TESTS_H diff --git a/tests/tmr-ints.c b/tests/tmr-ints.c index 4b6a4bdd6..41fbb4102 100644 --- a/tests/tmr-ints.c +++ b/tests/tmr-ints.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/tmr.c b/tests/tmr.c index 08888d191..3424b763c 100644 --- a/tests/tmr.c +++ b/tests/tmr.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tests/uart1-loopback.c b/tests/uart1-loopback.c index 697b2e79f..dc51d246e 100644 --- a/tests/uart1-loopback.c +++ b/tests/uart1-loopback.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ #include diff --git a/tools/ftditools/bbmc.c b/tools/ftditools/bbmc.c index ae9b2c3a5..62a177f54 100644 --- a/tools/ftditools/bbmc.c +++ b/tools/ftditools/bbmc.c @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id$ + * */ /* control reset and VREF2 lines */