Commit graph

489 commits

Author SHA1 Message Date
Mariano Alvira c0b21702ed add a cast to a debug message to remove a warning. 2011-02-18 11:11:31 -05:00
Mariano Alvira a4ef14f204 strip cvs style keywords from everything 2011-02-12 18:12:45 -05:00
Mariano Alvira e951e350df print status messages with DEBUG_MACA 2011-02-12 15:34:21 -05:00
Mariano Alvira 0058fdc824 fixes to remove warnings when building with DEBUG_MACA 2011-02-12 15:33:19 -05:00
Mariano Alvira 7c7864eae2 add autoacking 2011-02-12 15:29:11 -05:00
Mariano Alvira 9f82e06861 use network 230 --- 802.15.4 no-FCS 2011-01-18 11:40:35 -05:00
Mariano Alvira 377f849a02 moved timer.c and .h into tmr.c and .h so that these names don't
conflict with the timers in Contiki.
2011-01-17 10:10:38 -05:00
Mariano Alvira 53e4a06ac9 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x 2011-01-17 09:56:00 -05:00
Mariano Alvira f133321b03 remove extra semicolon from macro definition 2011-01-17 09:55:37 -05:00
Mariano Alvira e4f644f7b1 fix a race condition regarding advancement of the softclock. Without
this, the advancment would fail to trigger a tx cycle
occasionally. This would cause the packet to get deferred until the
next expiration of the softclock.
2011-01-17 07:41:44 -05:00
Mariano Alvira 92164e7eff more note about autoack --- requires proper hardware addressing 2011-01-16 12:38:34 -05:00
Mariano Alvira fc7c0ad3c1 note about how contiki isn't using 802.15.4 acks so there isn't much
point to implement them
2011-01-16 12:01:13 -05:00
Mariano Alvira 8967d8a85e notes about acking 2011-01-16 09:32:57 -05:00
Mariano Alvira f4a2efa221 fix parsing and pcap generation for packets with multiple output lines
(those that are > 16 bytes).
2011-01-07 11:29:07 -05:00
Mariano Alvira 5660024bcd update rftest parser to new output format 2010-12-29 18:10:45 -08:00
Mariano Alvira d8d8c77a2c cycle channel on keypress. 2010-12-24 14:30:06 -05:00
Mariano Alvira 92e5a4f78d add -nodefaultlibs
pulling in from libc generally causes problems.
2010-11-23 15:00:45 -05:00
Mariano Alvira a27dde6d17 add timer setup routines 2010-11-21 17:05:49 -05:00
Mariano Alvira 5a899bea08 add stdint.h 2010-11-20 13:06:29 -05:00
Mariano Alvira b3373d38a4 add cmdline options to set the intercharacter delays. 2010-11-20 11:48:29 -05:00
Mariano Alvira 9de2fc5997 need these stubs if you are using a linux toolchain 2010-11-20 11:46:07 -05:00
Mariano Alvira 504933f27b Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x 2010-11-17 15:02:47 -05:00
Mariano Alvira 47fe336c51 Use the CS toolchain by default:
http://www.codesourcery.com/sgpp/lite/arm/portal/release642
2010-11-17 15:02:35 -05:00
Mariano Alvira 731b29f30e include crm.h 2010-11-10 16:14:20 -05:00
Mariano Alvira 3ec4b267fc use stdint.h instead of custom types.h
stdint.h is more portable across compilers
2010-11-10 15:52:17 -05:00
Mariano Alvira 57a8a204b2 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x 2010-11-10 13:41:17 -05:00
Mariano Alvira 43d23d4764 update ring_osc_on and _off to the new bit structs 2010-11-06 22:12:46 -04:00
Mariano Alvira 1750388ec0 fix labels and update model 2010-10-27 11:18:56 -04:00
Mariano Alvira 181cc6f58d moved to lqi-pdr 2010-10-25 18:04:13 -04:00
Mariano Alvira 64564003c4 lqi to pdr map and model 2010-10-25 17:29:25 -04:00
Mariano Alvira 8a717ce8d2 plotting lqi data 2010-10-25 17:05:55 -04:00
Mariano Alvira 89b00b0fcc moved to lqi-pdr directory 2010-10-25 16:24:31 -04:00
Mariano Alvira 6b93b57029 lqi pdr data for 64 byte payloads 2010-10-25 16:23:54 -04:00
Mariano Alvira 581e2b10d9 Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x 2010-10-16 13:28:59 -04:00
Jim Paris d5118ba63d Always make directories before building files in OBJDIR
This lets us put things like fatfs/ff.o in COBJS
2010-10-16 13:28:20 -04:00
Jim Paris 1b4de5d8e7 Add gpio_set and gpio_reset
Use them like gpio_set(GPIO_xx) and gpio_reset(GPIO_xx).
These macros efficiently set the DATA_SET and DATA_RESET bits without
reading the registers first, as a direct GPIO->DATA_SET.GPIO_xx would do
2010-10-16 13:28:20 -04:00
Jim Paris e6bd2a1318 Name the GPIO structure so we can set multiple bits at once 2010-10-16 13:28:20 -04:00
Mariano Alvira 0bdcac3457 add a memory section for RAM so that the linker will warn when you've
made your program too big.
2010-10-16 13:28:20 -04:00
Jim Paris b2c64dc233 Provide a function to change timer interrrupt handlers
Function irq_register_timer_handler(int timer, void (*isr)(void))
lets you change the handler at runtime.  This lets us set handlers
without necessarily knowing the name at link-time.  The old way of
having weakly-linked tmr0_isr functions should still work.
2010-10-16 13:28:20 -04:00
Jim Paris 76563958fe Add the disable_int({}) macro
This is similar to safe_irq_enable and disable
2010-10-16 13:27:20 -04:00
Mariano Alvira 4eb5ce4c9b add a memory section for RAM so that the linker will warn when you've
made your program too big.
2010-10-01 15:22:07 -04:00
Jim Paris 62400bd07f Move stack near BSS so it doesn't take up space in the .bin 2010-09-28 16:30:55 -04:00
Jim Paris ae70d57d75 Clear BSS at startup 2010-09-28 16:29:36 -04:00
Jim Paris 03293b60ad Fix a makefile dependency with libraries
Using the implicit rules for libraries leads to problems if one of the
objects fails to build, but the others are still OK.  Just make all
library rules explicit to avoid this.
2010-09-28 16:01:15 -04:00
Jim Paris 6b4d6a9ade Use a variable for all target objects
Instead of specifying them individually.  This lets included makefiles
(like my audio/Makefile.include) append objects.
2010-09-28 02:54:23 -04:00
Jim Paris 036b80e3c1 Support hardcoded dependencies, for generated files 2010-09-28 02:15:43 -04:00
Jim Paris 0e6d5bc9dc Another rule to disassemble board objects 2010-09-27 20:04:24 -04:00
Jim Paris c7c79fc9b4 Add TMR_ADDR helper 2010-09-27 19:32:10 -04:00
Jim Paris 00f4a66bb8 Add rule to disassemble .o files 2010-09-27 17:32:59 -04:00
Jim Paris 9cd46dfd4a Add some useful timer macros 2010-09-27 17:30:02 -04:00