Commit graph

352 commits

Author SHA1 Message Date
adamdunkels
959c4f3ee2 Removed ENERGEST_CONF_ON which is present in contiki-conf.h anyway 2008-01-08 08:18:00 +00:00
oliverschmidt
00d75c8d16 Made use of uip_ipaddr_to_quad(). 2008-01-04 23:28:33 +00:00
nvt-se
692da8fd47 swapped the currents for lpm and cpu. 2007-12-17 18:47:17 +00:00
adamdunkels
381f5dc4cc Initialize Rime address from hardware MAC address if no node ID has been configured. Be more explicit on how Rime address is assigned from node ID. Set time synch authority level from Rime address rather than node ID. Fix bug that put CPU in LPM2 instead of LPM3. 2007-12-17 12:35:23 +00:00
adamdunkels
2b4f33a4dd Enabled support for CC2420 timestamps 2007-12-16 15:05:04 +00:00
adamdunkels
d13648292e Added initialization of the time synchronization module 2007-12-16 15:03:35 +00:00
adamdunkels
b2f030897c Removed unused file rom.c 2007-11-28 23:31:53 +00:00
adamdunkels
be300d6765 Removed inclusion of unused file cxmac.h 2007-11-28 23:28:35 +00:00
adamdunkels
f21225eb1c More reasonable current draw numbers + multiply by voltage 2007-11-28 17:06:55 +00:00
adamdunkels
40d9045a2d Moved energy estimation initialization before starting processes so that processes may turn things on and off without messing up the energy estimates 2007-11-28 14:45:22 +00:00
nifi
d16836d9bb changed to show Contiki version, node id, and autostarted processes at startup 2007-11-21 16:41:44 +00:00
adamdunkels
58d442ab2f Removed buggy button.c that is and should not be used 2007-11-18 12:02:49 +00:00
adamdunkels
ff45f9d2c4 Added watchdog support 2007-11-17 10:29:33 +00:00
adamdunkels
f1271464fd Turned on energy estimation and profiling by default 2007-11-13 21:10:50 +00:00
adamdunkels
2140576ac9 Added battery-sensor.c 2007-11-13 20:37:18 +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
adamdunkels
ca6abb286b Added LEDs notification. THe program won't compile without a nodeid=XXX now 2007-11-10 20:45:00 +00:00
adamdunkels
d5430dc4dc Added better boot-up behaviour of the LEDs - they can now be used to determine where in the boot sequence the node hangs (if it hangs) 2007-11-10 20:44:30 +00:00
adamdunkels
0ce1708c76 #ifdef around RF_CHANNEL 2007-11-06 20:28:09 +00:00
adamdunkels
dd8469ee4a Added inclusion of Tmote Sky bulk upload makefile 2007-10-25 13:28:15 +00:00
adamdunkels
d2f90802de Compile profiling support only if PROFILE_CONF_ON is defined 2007-10-25 10:21:48 +00:00
adamdunkels
a9e4287cbe Changed the energy estimation type ENERGEST_TYPE_RECEIVE to ENERGEST_TYPE_LISTEN to highlight that energy is spent on idle listening, not just the actual reception of packets 2007-10-25 09:30:39 +00:00
adamdunkels
910c9ea161 Added profiling support, made rime/mac initialization nicer 2007-10-23 21:29:40 +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
nvt-se
406cc6d5a8 Set channel to RF_CHANNEL after simple_cc2420_init.
Otherwise the init function would reset the channel to 11.
2007-10-12 12:47:32 +00:00
nifi
9d75d6d153 enabled inline functions 2007-09-19 14:09:31 +00:00
bg-
a20c9e6abb * Include msp430def.h for standard defines.
* Remove obsolete LPM_CONF_OFF definition.
2007-08-16 13:10:53 +00:00
bg-
0e515a5472 * Initialise rand package. 2007-06-04 18:09:14 +00:00
bg-
2e7c6b59fb * The sources for crtk.o and service.o have been retired. 2007-05-31 14:26:58 +00:00
bg-
ceb423c007 * Add sht11_off. 2007-05-28 16:24:58 +00:00
adamdunkels
be2a7e954c Added initialization of MAC and Rime 2007-05-25 08:08:36 +00:00
adamdunkels
ca356ea2e2 Added CC2420 driver 2007-05-25 08:08:21 +00:00
adamdunkels
dab63c4c6b Added energy estimation, leds instead of minileds to be able to do energy estimation on leds 2007-05-22 21:16:37 +00:00
adamdunkels
8811fe23fd Added sht11, energy estimation, xmac, diabled uIP (for now) 2007-05-22 21:13:26 +00:00
adamdunkels
1f835946ca Added X-MAC configuration, reduced ELF loader text memory size 2007-05-22 21:12:15 +00:00
bg-
95d95a63ac * s/uip-fw-service/uip-fw-drv/ 2007-05-21 14:22:05 +00:00
bg-
a3f5123c44 * s/uip-fw-service/uip-fw-drv/ 2007-05-21 14:21:07 +00:00
oliverschmidt
d4528e427f Changed Contiki File System (cfs) from a service to a plain library.
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:16:08 +00:00
adamdunkels
71573a4968 Added sht11 driver, energy estimation. Removed IP/SLIP support for now 2007-05-15 08:11:59 +00:00
adamdunkels
d9a4c02fab Platform-specific energy estimation code 2007-05-15 07:42:22 +00:00
oliverschmidt
4fd1e3ece0 Added signed 32 bit data type. 2007-05-12 20:58:12 +00:00
bg-
242f8085be * Add cle_msp430.o 2007-04-26 13:39:52 +00:00
bg-
8754cbd4cd * Use mknmlist-ansi and sym.o. 2007-04-25 15:49:43 +00:00
bg-
b32db9763e * Bump maximum number of udp sockets to 16.
* Remove unused stuff.
2007-04-11 15:22:05 +00:00
bg-
738a970660 * Also print channel number. 2007-04-11 10:13:59 +00:00
bg-
8f822c42b1 * Device driver for the SHT1x on the Tmote sky. 2007-04-04 12:48:50 +00:00
bg-
9205ceda12 * rm uip_log.
* more forced inclusions.
2007-04-04 11:41:38 +00:00
bg-
48c5cae451 * More routing and forwarding cache entries. 2007-04-04 11:39:49 +00:00
bg-
0d4799a415 * rm uip_log. 2007-04-04 11:38:35 +00:00
adamdunkels
04a5405540 Added initialization of rtimers 2007-04-03 19:04:50 +00:00
adamdunkels
576cb01fb4 Short description of the Tmote Sky platform 2007-03-29 23:13:39 +00:00
adamdunkels
913e33c434 Increased RAM for loadable modules 2007-03-25 21:54:06 +00:00
adamdunkels
ea33b82b1a Set Rime address on boot up, activate button sensor 2007-03-25 17:21:49 +00:00
adamdunkels
6914fd8ae0 Removed loader/ subdirectory 2007-03-25 17:21:33 +00:00
nifi
14892592c6 changed to use msp430-bsl to upload programs 2007-03-23 16:27:14 +00:00
nifi
84413ddc99 restore of node id + changed to use cfs xmem (external flash) 2007-03-23 16:05:47 +00:00
nifi
09d8a870c7 Program for 'permanently' burning a node ID to external flash 2007-03-23 16:03:11 +00:00
nifi
52b9210b57 added cfs xmem size 2007-03-23 12:15:50 +00:00
nifi
54228ae6e4 Node IDs are stored in external memory and restored on bootup 2007-03-23 09:59:08 +00:00
adamdunkels
3950632b20 Removed non-functional cfs-xmem, replaced with cfs-ram 2007-03-23 00:00:29 +00:00
adamdunkels
4d9a716a50 ELF loader memory size, CFS RAM memory size 2007-03-23 00:00:15 +00:00
adamdunkels
aea251f807 added radio-sensor 2007-03-22 23:59:54 +00:00
adamdunkels
c5aeed9d00 Radio sensor (RSSI) interface 2007-03-22 23:53:56 +00:00
adamdunkels
630ec03ba1 Added IP/SLIP support 2007-03-22 19:04:43 +00:00
adamdunkels
67f08c398e Added CFS xmem 2007-03-21 23:26:34 +00:00
adamdunkels
70c1652c13 Added CFS xmem conf 2007-03-21 23:26:25 +00:00
adamdunkels
13938ab079 Added CFS xmem module 2007-03-21 23:26:12 +00:00
adamdunkels
8fe031f3de Fading LEDs 2007-03-21 23:17:28 +00:00
adamdunkels
9adc7dc49b Added LPM and IRQ configuration to make Tmote Sky port build with the Contiki build system 2007-03-15 21:59:44 +00:00
adamdunkels
c50e402743 Added uip-ipchksum.o 2007-03-15 21:50:23 +00:00
adamdunkels
de76880582 Button sensor driver 2007-03-15 21:44:51 +00:00
adamdunkels
cccd13ca75 Files for incorporating the Tmote Sky port into the Contiki build system 2007-03-15 21:44:28 +00:00
bg-
429d41defd * General stuff for different baudrates:
- ubr argument to slip_arch_int

    - macros for calculating ubr

    - argument -Bbaudrate to tools tunslip and scat
2007-02-02 13:26:48 +00:00
bg-
f96f17f629 * Use LEDS_ALL. 2007-02-01 14:34:10 +00:00
bg-
f70131f7b4 * Make minimal use of explicit ../ references. 2007-01-29 14:28:10 +00:00
bg-
26f9d3847b * Tmote sky has a CC2420_RADIO. 2007-01-24 16:31:40 +00:00
bg-
6a56b5de79 * Switch to using cmod by default.
* FreeBSD 6 comment.
2007-01-12 18:24: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-
8adcee17c3 * Typo in comment.
* Use nm and awk to create namelist.
2006-12-20 13:46:14 +00:00
fros4943
bd2b6a9a53 bug fix:
&uip_buf[UIP_LLH_LEN]
may not always be equal to
 uip_buf
2006-12-11 15:19:34 +00:00
bg-
d8e0b4eb26 * New rule for making .ko:s. 2006-12-05 16:19:43 +00:00
bg-
7b1dd9627a * Switch to channel 15.
* We are powered via USB and there is really no need to put the CPU to
  sleep when CPU is idle.
2006-12-01 14:58:58 +00:00
bg-
b9f81cf915 Move to channel 15. 2006-12-01 14:57:19 +00:00
bg-
60e930a64d Kernel with static IP configuration. 2006-12-01 14:56:39 +00:00
bg-
5345925ce6 * Kernel ssd.c is gone.
* New kernel client.c with static IP configuration.

* Replace elfloader.c with new cle.c and elfloader_compat.c. Taken
  together they requires less ROM and RAM than the old version.
2006-12-01 14:55:15 +00:00
bg-
fc368b6946 ssd is gone 2006-12-01 14:50:06 +00:00
bg-
9ead26e626 Like the dhclient.c kernel but with static IP configuration.
172.16.0.9/16 and default router 172.16.0.1.
2006-10-27 13:08:15 +00:00
bg-
2c85f3b19f Use leds_toggle rather than leds_(on|off). 2006-10-10 18:25:36 +00:00
bg-
3ccac34c3d Forgot to add sample kernel. 2006-10-10 08:30:48 +00:00
bg-
7b981562ad Use minileds by default. 2006-09-27 10:00:42 +00:00
bg-
fa02e72526 Bit-banging I2C master. 2006-09-27 09:43:55 +00:00
bg-
4485e50351 Add ssd kernel and uip-udp-packet.o. 2006-09-26 15:52:37 +00:00
bg-
fbd527bc8f Different and hopefully correct low power management. 2006-08-17 15:42:42 +00:00
oliverschmidt
62fa3b8c01 Changed the Contiki Interface declaration macros from CCI/CLI to CCIF/CLIF because of already existing macros: Both CCI and CLI :-( 2006-08-15 14:46:33 +00:00
oliverschmidt
48609fb3a3 Added defines for declaring functions/data which are part of the CCI (Contiki Core Interface) and CLI (Contiki Loadable Interface). Both defines are empty for all platforms but the upcoming Win32 port. 2006-08-13 15:06:08 +00:00
bg-
0bf3db5df7 Make malloc machine independent by relying on dependent sbrk(2). 2006-08-11 13:41:31 +00:00
bg-
361cd531b6 Assertions are useful. 2006-08-11 13:37:21 +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
bg-
fb94d50410 Change typedef of uip_ipaddr_t from a vector type to a union.
typedef union uip_ip4addr_t {
  u16_t u16[2];
  u8_t  u8[4];
} uip_ip4addr_t;

typedef uip_ip4addr_t uip_ipaddr_t;

This implies that one must consistently pass pointers to
uip_ipaddr_t:s and not mix and match pointers with
uip_ipaddr_t:s as was done earlier.
2006-08-09 16:13:39 +00:00
bg-
7b791de692 Import of files for the Tmote sky platform. 2006-08-02 14:44:46 +00:00