Commit graph

1384 commits

Author SHA1 Message Date
matsutsuka 582a7476d4 *-dsc.c files have been changed to remove forward reference for struct_icon variable, bacause it is strange that this variable is used wholly inside the C source file and declared extern for the forward reference. 2007-09-06 01:36:10 +00:00
matsutsuka ee76163a8c the order of assembler parameters were changed, because some compiler like SDCC requires the output file at the last place. 2007-09-06 01:09:53 +00:00
fros4943 e04e128a59 updated jni_tests to new external tools configuration 2007-09-05 18:39:42 +00:00
fros4943 e097e17a15 minor fix 2007-09-05 14:08:04 +00:00
fros4943 d5d6e5d48c added some explanations 2007-09-05 14:01:56 +00:00
fros4943 db74bb6566 changed link argument sent to makefile:
instead of using linker, user may specify linker line including tools
2007-09-05 14:00:59 +00:00
fros4943 661a76408a changed link argument sent to makefile:
instead of using linker, user may specify linker line including tools
2007-09-05 13:58:08 +00:00
oliverschmidt 89e81f9eed Renamed 6502-conf.h into 6502def.h to be in line with similiar files created in the meanwhile and added C99 names. 2007-09-05 10:59:10 +00:00
nvt-se 1d1b99c0aa refer to PSOCK_NEWDATA. 2007-09-04 12:39:00 +00:00
bg- e6630a6ccb include contiki.h and use standard data types. 2007-09-04 08:48:54 +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
ksb 6441821fc3 Forgot to add this file 2007-09-01 11:17:25 +00:00
matsutsuka 4766593ff7 Add assembler checksum calculation support for z80 port. 2007-09-01 11:14:50 +00:00
ksb af9bf1810c The file is generated from string-descriptors.xml, but since it probably won't change and not everyone has xsltproc I'm putting it in CVS. 2007-09-01 10:12:54 +00:00
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