Commit Graph

51 Commits

Author SHA1 Message Date
Adam Dunkels
944537fccf Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
Niclas Finne
684c3edfa6 Cross compiler interrupt service routine compatibility definitions for MSP430 based platforms based on isr_compat.h by Steve Underwood. 2012-03-07 23:04:52 +01:00
Joakim Eriksson
5b1d9617c4 moved io and signal and IAR-GCC checks from driver files into contiki include file 2011-09-26 10:38:41 +02:00
Joakim Eriksson
95dde73618 fixed Sky platform for IAR compiler 2011-09-11 17:18:02 +02:00
Lionel Debroux
5cb49e8b07 Several compiler warning fixes:
* msp430: fix "implicit declaration of function" warnings in clock.c, by including watchdog.h;
     * sky: fix a couple pointer target signedness warnings;
     * core: fix several signed/unsigned comparison warnings;
     * framer-802154: "const static" -> "static const" to fix compiler warnings;
     * core: comment or remove unused variables and function definitions.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Signed-off-by: Mariano Alvira <mar@devl.org>
2011-02-20 19:28:14 -05:00
nvt-se
00ac8cfaa0 Moved watchdog_periodic into the lowest level to avoid multiple redundant calls higher up 2011-01-18 14:03:55 +00:00
nifi
9a4d17fe7c Bug fix: put device in standby mode at startup in case it has previously been put in deep power-down mode; patch by Martin Bor 2010-10-12 22:55:11 +00:00
nifi
14873a923b Added temperature sensor for the builtin temperature sensor in MSP430 2010-08-25 19:34:06 +00:00
nifi
198db63c3b Moved the ADC configuration to sky-sensors.c and sensors now only need to specify their sample channel. This helps to avoid conflicts when using multiple sensors. 2010-08-25 19:30:52 +00:00
joxe
80942abaf7 split hw config into platform-conf and adapted to new SPI and CC2420 naming 2010-06-23 10:18:05 +00:00
nifi
4aba60ad25 acc-sensor and ext-sensor moved to the jcreate platform 2010-05-06 13:55:21 +00:00
nifi
0299aab5e4 Fixed to use sky-sensors to setup ADC12 2010-03-15 23:37:01 +00:00
joxe
3a2eec2b1a fixed ext-sensor for jcreate 2010-02-13 11:20:48 +00:00
nifi
978d383395 Corrected include path 2010-02-08 00:02:39 +00:00
joxe
1da7c3eccd convert registers upto 9 instead of upto 4 2010-02-06 18:28:26 +00:00
adamdunkels
3717c39431 Updated the ext-sensor to use the new sensor API; patch by Jesper Karlsson 2010-02-06 14:41:24 +00:00
nifi
18f5ef71f0 added missing include 2010-02-03 20:30:07 +00:00
joxe
09c3ba2753 minor cleanup 2010-02-02 21:17:44 +00:00
joxe
fd4aebdf7f refactored some ADC code into sky-sensors and made it possible to turn off sensors to save energy 2010-02-02 20:59:45 +00:00
nifi
c9a48aa752 Updated to match the new sensors API 2010-01-15 21:37:15 +00:00
adamdunkels
46753473fa Added constants for light sensor values 2010-01-14 20:23:02 +00:00
nifi
dbe56e4666 Updated to match the new sensors API 2010-01-14 20:01:18 +00:00
joxe
3c0dcb45c7 fixed for updated sensors API 2010-01-14 15:50:13 +00:00
joxe
31ea888b75 fixed Sky platform for new sensor APIs 2010-01-14 14:00:38 +00:00
joxe
4a3953204f changed sky sensors to new api 2010-01-14 13:53:06 +00:00
nifi
d4b619bcc5 Renamed SPI_WAITFOREOTxBUF to SPI_WAITFORTxREADY for clarity and generalized SPI transmission status checks to work with both AVR and MSP430 2009-09-07 11:31:26 +00:00
nifi
3a8ee769cb Changed to monitor the UART transmitter buffer ready flag instead of the UART transmitter empty flag. This almost doubles the speed of transmitting data to CC2420. Patch by James Brown. 2009-08-31 12:06:34 +00:00
adamdunkels
b71faae330 ext-sensor: new driver for external sensors (e.g. Phidgets) on the Sentilla JCreate, developed by Marcus Lunden 2009-08-25 16:24:49 +00:00
nvt-se
74e9bc8789 Added flash reads and writes to energest. 2009-05-11 15:26:24 +00:00
joxe
6a7bc4c3a5 added mcu-chip temperature to accelerometer sensor - value 3 2009-05-08 16:03:50 +00:00
fros4943
603740b13b removed compiler warning by returning 0 at undefined value 2009-01-23 17:08:17 +00:00
adamdunkels
9f0006fde0 Driver for the acceleromenter sensors on the JCreate board 2009-01-15 21:06:02 +00:00
joxe
5b1c229754 fixed battery sensor for sky platform 2008-09-18 21:29:06 +00:00
adamdunkels
51f4ab8b2c Changed type from off_t (that potentially conflicts with existing types.h typedefs) to unsigned long 2008-07-03 23:12:10 +00:00
adamdunkels
66876625d4 Changed name of the simple-cc2420 module to cc2420: changed all function names and variable names from simple_cc2420_* to cc2420_*. 2008-07-02 09:05:40 +00:00
adamdunkels
1586d8f36f Changed filename of the CC2420 driver from simple-cc2420 to cc2420. 2008-07-01 21:02:51 +00:00
adamdunkels
8058a49d21 Code style fix 2008-02-11 10:43:31 +00:00
nvt-se
6005437b27 Disable the watchdog during the whole erase operation. 2008-01-21 10:40:26 +00:00
nvt-se
bed0963769 Call watchdog_periodic before erasing each sector, because this operation
takes approximately 1s.
2008-01-21 10:28:44 +00:00
adamdunkels
d34f8e0dcc Preliminary untested code for the internal MSP430 battery sensor 2007-11-13 20:29:07 +00:00
adamdunkels
b51977a693 Added Doxygen documentation 2007-11-10 20:45:29 +00:00
nifi
217056b8bd sht11 architecture support for Sky 2007-10-23 08:53:50 +00:00
nvt-se
0c9db3caa3 Moved to core/dev. 2007-10-22 12:19:31 +00:00
bg-
ceb423c007 * Add sht11_off. 2007-05-28 16:24:58 +00:00
bg-
8f822c42b1 * Device driver for the SHT1x on the Tmote sky. 2007-04-04 12:48:50 +00:00
adamdunkels
c5aeed9d00 Radio sensor (RSSI) interface 2007-03-22 23:53:56 +00:00
adamdunkels
de76880582 Button sensor driver 2007-03-15 21:44:51 +00:00
bg-
c42988b78b * Change return type of i2c_start() to int.
* Move macros I2C_ENABLE() and I2C_DISABLE() to header file.
2007-01-12 13:41:57 +00:00
bg-
fa02e72526 Bit-banging I2C master. 2006-09-27 09:43:55 +00:00
bg-
7f7a6ae577 * Avoid using FASTSPI_TX to reduce size of object code.
* Use off_t to avoid overflows.
2006-08-10 16:42:11 +00:00