Commit graph

1370 commits

Author SHA1 Message Date
ksb 73dfa52324 Changes IP address so it won't collide with the Tmote. 2007-09-01 10:09:11 +00:00
ksb 2bbf074f39 Added a gateway application the routes between SLIP on USB and the radio. 2007-09-01 10:06:05 +00:00
ksb 9d5a2aed80 Added USB (specifically CDC-ACM) support 2007-09-01 10:00:35 +00:00
matsutsuka 3af69d229a Added some comments. 2007-09-01 01:09:25 +00:00
matsutsuka cc2b6e58d7 Followed a coding convention of contiki, in which cast operation should not be followed by a space char. 2007-09-01 01:08:07 +00:00
matsutsuka 1a59b784b7 Followed a coding convention of contiki, in which cast operation should not be followed by a space char. 2007-09-01 00:56:03 +00:00
matsutsuka 57bd42ac9b Fixed a glitch of CC_CONF_ASSIGN_AGGREGATE. 2007-09-01 00:49:41 +00:00
fros4943 858e2682e6 platform independent simple slotted tdma mac protocol
observe: uses event timers, not real-time timers!
2007-08-31 13:42:22 +00:00
oliverschmidt 34af8fbc1a Fixed recent change. 2007-08-30 20:47:14 +00:00
oliverschmidt 02fb08e029 (Hopefully) only style alignment of recent change. 2007-08-30 20:42:58 +00:00
oliverschmidt 348a52aebe Fixed recent change. 2007-08-30 20:32:29 +00:00
matsutsuka 9d4fc0a1a8 Support for z80(sdcc) port.
In order to support, some core modules are modified as follows:

core/sys/dsc.h
- If CTK_CONF_ICONS is diabled, the whole icon-related code is disabled.
- DSC_HEADER is changed to remove extra semicolon.

core/sys/process.h
- process_data_t is expressed by void* in signatures (known bug on sdcc).

core/sys/autostart.h
- autostart_processes is changed to remove extra semicolon.

core/sys/cc.h
- CC_CONF_ASSIGN_AGGREGATE is introduced.
- CC_CONF_INC_CAST_POINTER is introduced, a workaround of a kind
  of sdcc bug for an increment.

core/net/hc.c
core/net/uip_arp.c
core/net/uaodv.c
- Aggregation assignments are changed to uip_ipaddr_copy.

core/net/psock.c
core/net/uipbuf.c
core/net/dhcpc.c
apps/shell/shell.c
core/ctk/vnc-server.c
core/ctk/vnc-out.c
- "register" keyword in a signature cannot be used in sdcc,
  CC_REGISTER_ARG is used instead.

core/net/uip-over-mesh.c
- An extra semicolon is removed.

apps/dhcp/dhcp-dsc.c
apps/shell/shell-dsc.
apps/ftp/ftp-dsc.c
apps/process-list/process-list-dsc.c
apps/email/email-dsc.c
apps/webserver/webserver-dsc.c
apps/vnc/vnc-dsc.c
apps/vnc/vnc-viewer.h
apps/webbrowser/www-dsc.c
apps/about/about-dsc.c
apps/irc/irc-dsc.c
apps/telnet/telnet-dsc.c
apps/telnetd/telnetd-dsc.c
apps/netconf/netconf-dsc.c
apps/directory/directory-dsc.c
pps/calc/calc-dsc.c
- Modify an extern type to a real declaration, which is static
  to prevent a compile error.

core/net/mac/xmac.c
- Variables cannot be defined in a head of block on sdcc.

core/ctk/ctk.h
core/ctk/ctk.c
apps/program-handler/program-handler.c
- If CTK_CONF_ICONS is diabled, the whole icon-related code is disabled.

Makefile.include
- Add a set of configuration for an assembler.
- $(CLEAN) variable is introduced for customized cleanup.

apps/process-list/process-list.c
- PROCESSLIST_CONF_HEIGHT is introduced to address smaller screen size.

core/lib/ctk-filedialog.c
- FILES_CONF_HEIGHT is introduced to address smaller screen size.
- "register" keyword in a signature cannot be used in sdcc,
  CC_REGISTER_ARG is used instead.

apps/vnc/vnc-viewer.c
- A cast is added to prevent a compile error.
- "register" keyword in a signature cannot be used in sdcc,
  CC_REGISTER_ARG is used instead.

apps/webbrowser/webclient.c
- CC_CONF_INC_CAST_POINTER is introduced, a workaround of a kind
  of sdcc bug for an increment.

core/loader/elfloader.c
- A cast is added to prevent a compile error.

core/net/rime/rimeaddr.c
- An initialization is added to prevent a compile error.

core/net/rime/rudolph0.c
- NULL is changed to 0, because NULL causes a compile error.

core/net/rime/route-discovery.c
- Add an argument to match the definition of nf_callbacks.

cpu/z80/strcasecmp.h
cpu/z80/strcasecmp.c
cpu/z80/contiki-sdcc-conf.h
cpu/z80/mtarch.c
cpu/z80/mtarch.h
cpu/z80/Makefile.z80
- New files to make compilation availble on sdcc.
- Added support for multithreading.
2007-08-30 14:39:16 +00:00
fros4943 974fcb66d4 convenience function for cooja.
converts printf()'s to log_message()'s
2007-08-23 08:14:30 +00:00
fros4943 992a715ba6 moved init routines to be executed on node specific basis 2007-08-23 07:36:34 +00:00
fros4943 6d86b77cfe setting rime id at init 2007-08-23 07:35:26 +00:00
fros4943 a147db8cc5 added simple test template 2007-08-22 11:26:21 +00:00
fros4943 b67baa7dfc set specified external tools configs read only
+ automatic formatting
2007-08-22 11:23:50 +00:00
ksb 3bb9fda749 Avoid warning about using a cast as a lvalue. 2007-08-22 10:59:56 +00:00
ksb 93861e7b77 Added memmove as a builtin function. 2007-08-22 10:57:31 +00:00
ksb 48e7ef8bc9 Changed macros to not include a trailing semicolon. 2007-08-22 10:49:48 +00:00
ksb bbdffcbc86 Use uip_ipaddr_copy in places where addresses are copied. 2007-08-22 10:47:37 +00:00
ksb 3337165590 Made it possible to override uip_ipaddr_copy .
Use uip_ipaddr_copy in some places where addresses are copied.
2007-08-22 10:45:42 +00:00
fros4943 65533c0c00 an early version of chakana, an automated test framework used with COOJA 2007-08-21 14:39:18 +00:00
fros4943 9be473e4b9 functionality for exporting current userplatforms as default external tools setting 2007-08-21 14:18:04 +00:00
fros4943 7f25afcfe4 fixed possible null pointer exception
+ some formatting
2007-08-21 13:28:52 +00:00
fros4943 d272b062f0 reimplemented receiver calls (earlier tcpip_input) from inside multithreaded environment 2007-08-21 13:09:40 +00:00
fros4943 fa6748f45a reset success ratio to 100&, and added configuration ability in plugin 2007-08-21 09:17:18 +00:00
ksb e55dbe433b Build system improvements. 2007-08-21 09:06:23 +00:00
ksb 792eae91c6 rtimer implementation (not well tested)
sprintf that use strformat, so there's no need to pull in the newlib
implementation.
Build system improvements.
2007-08-21 09:03:55 +00:00
fros4943 1ca82694f5 restructured dialog
added main random seed, nr tick lists etc.
2007-08-21 08:54:48 +00:00
fros4943 0d505b8dfd reset nr tick lists and mote startup delay, since both settings are still experimental 2007-08-21 08:51:33 +00:00
nvt-se 186a99857b minor adjustments for ip. 2007-08-20 11:39:03 +00:00
nvt-se 81174c6389 cr->lf 2007-08-20 11:01:13 +00:00
nifi ebe39794fd enabled debug information (source lines in stack traces) 2007-08-20 09:15:34 +00:00
nvt-se aee4c71200 Use test-abc instead of core. 2007-08-17 13:10:16 +00:00
nvt-se 6dffb0ed63 unnecessary file. 2007-08-17 13:08:38 +00:00
nvt-se 96e06d1dde Standardized integer types.
Removed unecessary volatility.

Make sure that the random back-off is only if the channel is busy.
2007-08-16 20:38:40 +00:00
nvt-se defbe1d9ac use new function. 2007-08-16 20:29:56 +00:00
nvt-se 9017949535 Improved interface and C standard compatibility. 2007-08-16 20:29:18 +00:00
nvt-se 6983417307 forgot return. 2007-08-16 17:10:49 +00:00
nvt-se 8b3e9477d9 call dma_init. 2007-08-16 13:54:58 +00:00
nvt-se d5027f0041 Subscribe to DMA events on line 0 for the radio. 2007-08-16 13:52:17 +00:00
nvt-se 0723f1fbc7 Make it possible to subscribe to DMA events. 2007-08-16 13:51:57 +00:00
nifi 2780aef873 Include msp430def.h for standard defines 2007-08-16 13:35:33 +00:00
nvt-se fefe56d913 Changes to standard types. 2007-08-16 13:24:57 +00:00
bg- f398e56048 * Include avrdef.h for standard defines.
* Define AODV_COMPLIANCE.
2007-08-16 13:24:20 +00:00
nvt-se 5db2990884 Use the new type definitions file for msp430. 2007-08-16 13:23:41 +00:00
bg- 0fedf8845d * Standard defines for AVR. 2007-08-16 13:20:09 +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- dcafdfe51a * Standard defines for MSP430. 2007-08-16 13:09:06 +00:00