Commit graph

79 commits

Author SHA1 Message Date
adamdunkels 1586d8f36f Changed filename of the CC2420 driver from simple-cc2420 to cc2420. 2008-07-01 21:02:51 +00:00
adamdunkels 2569a8fc69 Removed unused file 2008-07-01 20:59:44 +00:00
joxe 57dedee38f enabled ADC IRQs if ADC sensors active 2008-04-25 15:53:55 +00:00
adamdunkels da49b950d4 Count the number of times the watchdog has been stopped to avoid starting it when someone else has stopped it 2008-02-11 10:45:19 +00:00
adamdunkels 660b7f9a78 Initialize watchdog instead of stopping and starting it 2008-02-11 10:44:49 +00:00
adamdunkels cf5ff2bbb2 Made SLIP code coexist with ordinary serial code. If WITH_UIP=1, the SLIP code is used instead. 2008-02-03 20:59:35 +00:00
adamdunkels e68d669265 Added improvements suggested by Hardy Greich: define CPU speed in one place only (contiki-conf.h), added nop to XTAL settlement delay 2008-02-03 20:58:11 +00:00
adamdunkels a4d5ca833c Update the periodic watchdog only if it is not stopped 2008-01-21 10:39:23 +00:00
adamdunkels e16b7ffcf0 Changed the return value of the inpt handler function to int so that it can wake up the CPU from LPM 2008-01-08 08:04:09 +00:00
adamdunkels 7f05b8a5ef Added a reboot function 2008-01-08 08:03:02 +00:00
adamdunkels b50d2b02ee Reformatting to comply with code style 2008-01-08 08:01:41 +00:00
adamdunkels 345d0a8a79 Added a WERROR definition that can be used to turn -Werror on 2008-01-08 08:01:01 +00:00
adamdunkels 6e0e6e1279 Removed -Werror since LPM*_EXIT; and friends trigger an internal mspgcc compiler error 2007-11-26 23:23:20 +00:00
joxe a4985fd1f7 removed offset in rtimer_arch 2007-11-19 22:38:57 +00:00
adamdunkels 2132462716 Updated to use the watchdog API 2007-11-17 10:28:04 +00:00
adamdunkels 19b7bd9217 Fixed watchdog support for the MSP430. It now works as intended 2007-11-17 10:16:48 +00:00
adamdunkels 22cb35e9f6 Added -Werror to turn compiler warnings into errors to ensure that code always compile without warnings 2007-11-17 10:11:58 +00:00
adamdunkels f192211444 Added a hack function called clock_counter() to make the current prototype profiling code run on the MSP430 platform 2007-11-12 21:07:39 +00:00
adamdunkels 585f00a804 Removed old codeprop-tmp.c 2007-11-06 20:35:42 +00:00
joxe 7fe87db86a fixed some timer interrupt bugs and reimplemented clock_fine to avoid disabling interrupts 2007-10-04 20:45:29 +00:00
fros4943 5f63995265 support for delayed interrupts
earlier TACCR1 could be set to already passed time if timer A interrupts was delayed
2007-10-04 14:14:58 +00:00
nvt-se 1d4db3e2cc The function was missing the case when the stack was used completely,
and didn't return a value then.
2007-09-14 20:21:01 +00:00
nvt-se b4f3ab5af7 Added support for configurable callbacks of uart1 input. 2007-09-06 11:45:08 +00:00
joxe aaae9f4cf8 removed redundant code - configuration of basic clock subsystem in clock and rtimer_arch 2007-09-03 19:22:37 +00:00
bg- dcafdfe51a * Standard defines for MSP430. 2007-08-16 13:09:06 +00:00
adamdunkels 2c53a38075 Architecture dependent code for the CC2420 driver 2007-05-25 08:07:54 +00:00
adamdunkels 00b1e371cf Added energy estimation, disabled IRQs for A/D converting as it used close to 100% CPU time 2007-05-22 21:01:32 +00:00
adamdunkels 3872d004bc Reading timer now quicker, embryo for possible future drift configuration 2007-05-22 21:00:09 +00:00
adamdunkels 432d242a3c Added energy estimation, embryo for possible future drift configuration 2007-05-22 20:59:47 +00:00
adamdunkels 9a5bac6282 Added energy estimation 2007-05-22 20:59:11 +00:00
bg- 3f4ec3cf44 * Use _end rather than nonstandard __bss_end. 2007-05-21 15:29:46 +00:00
oliverschmidt ae2073cac9 Factored out setup directory search path for source files into Makefile.include.
- All compilers used support the -I option for setting an include search directory.

- The Contiki source tree follows the (common) approach of placing declarations (in headerf iles) in the same directory as definitions (in source files).

As a result it makes sense to use the -I compiler option for just the same set of directories used for the vpath gnumake directive.

Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-19 07:54:53 +00:00
adamdunkels 4364a9929a Removed WITH_UIP 2007-05-15 08:09:45 +00:00
oliverschmidt 237b1617b5 Factored out setup directory search path for source files into Makefile.include.
- Search target specific directories before CPU specific directories.
- Search CPU specific directories before generic directories.

Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-13 08:41:11 +00:00
adamdunkels b2b750e83b rtimer_arch_now() now returns the correct value 2007-04-07 05:45:08 +00:00
bg- 8aa34f1ea4 * remove author. 2007-04-04 11:53:07 +00:00
adamdunkels 08d825c450 Added rtimer-arch.c 2007-04-03 19:05:13 +00:00
adamdunkels b108ca702a Fixed description 2007-04-03 19:04:27 +00:00
adamdunkels 00645113e5 MSP430 real-time rtimer support using timerb1 2007-04-03 19:03:09 +00:00
joxe 8add3d4660 corrected comments 2007-04-02 16:32:20 +00:00
adamdunkels 92e5e7a13c Removed clock_delay() 2007-03-29 23:43:59 +00:00
adamdunkels d2683224e9 Added clock_delay() between characters to avoid dropping them 2007-03-25 21:52:41 +00:00
adamdunkels 6a8d8e3abf Added experimental clock_fine() function 2007-03-25 21:51:31 +00:00
nifi f0ce3a5292 Moved buildscripts from cpu/msp430 to platform/esb. 2007-03-23 16:19:41 +00:00
adamdunkels 199e0cb30d Added NM definition 2007-03-22 23:57:33 +00:00
adamdunkels 011306ce54 LPM4_EXIT instead of LPM_AWAKE() 2007-03-21 23:23:43 +00:00
adamdunkels 5a5313aa80 Added uip include and asmv definition to make it compile 2007-03-15 21:51:12 +00:00
adamdunkels 8f9aa7b2f7 Moved uip_ipchksum() into a separate file to allow the Tmote Sky port to be compiled entirely without uIP 2007-03-15 21:47:45 +00:00
adamdunkels b7107c0eea Added uart1.c and the dev/ subdirectory 2007-03-15 21:46:43 +00:00
adamdunkels 329bb14d94 +copyright header 2007-03-15 21:39:23 +00:00