Commit graph

90 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 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
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
ksb 3bb9fda749 Avoid warning about using a cast as a lvalue. 2007-08-22 10:59:56 +00:00
oliverschmidt b16783b148 Moved unused apps file into backyard. 2007-05-26 22:18:11 +00:00
oliverschmidt 1aca43084f Moved editor app into backyard as it was never platform independent anyway (but relied on the C64 hibit cursor). 2007-05-23 23:34:05 +00:00
oliverschmidt e9e925bc6a Avoid usage of nameless unions as they are - surprisingly at least to me - not part of any C spec. 2007-05-23 21:35:18 +00:00
oliverschmidt 8ddbf4642b Made the webserver cfs support build and run. 2007-04-23 23:08:44 +00:00
oliverschmidt 9dd1bde01b Removed unreferenced source from application makefile. 2007-04-23 21:22:54 +00:00
oliverschmidt 2662a31d30 Made the webserver logging follow the popular pattern of foo_???() being declared in foo.h and defined in foo.c. 2007-04-23 21:19:55 +00:00
oliverschmidt 69952696fa Adjusted source formatting Mk II ;-) 2007-04-22 09:53:50 +00:00
oliverschmidt f70efdf7ad Adjusted source formatting. 2007-04-22 09:52:33 +00:00
oliverschmidt df278abd09 Added center alignment to network statistic columns. Now it looks nicer and is consistent with the system processes columns. 2007-04-14 13:48:33 +00:00
oliverschmidt 46824932fc Direct httpd logs to the Contiki log for non-CTK scenarios. 2007-04-14 13:40:53 +00:00
oliverschmidt 525108f957 Changed #ifdef to #if for checking CONF flag to be more consistent with predominant coding style. 2007-04-14 08:11:24 +00:00
oliverschmidt 6e5193f303 Added integration of shell event handler into shell server. This is obligatory for the 'ls' command to succeed. 2007-04-13 22:47:43 +00:00
oliverschmidt 94bd0de72d Fixed incomplete integration of shell server log gui. 2007-04-13 22:15:52 +00:00
oliverschmidt 079a4a1b54 Avoid compiler warnings. 2007-04-13 22:02:28 +00:00
oliverschmidt b0918c1516 Added memb.c. 2007-04-13 21:09:23 +00:00
oliverschmidt 7aae71934d Providing a dummy program_handler_load() made made the telnet server work without program-handler but on the other hand incompatible with an exsistng program handler :-(
Therefore I replaced that hack with a clean CONF macro, which by the way really removes the run() and exec() functionality instead of just implementing it empty.
2007-04-13 21:04:52 +00:00
oliverschmidt 2d277b846c Updated processes script output to match HTML ;-) 2007-04-08 19:39:05 +00:00
adamdunkels e66eb356e0 Updated processes HTML to match script output 2007-04-07 05:41:24 +00:00
oliverschmidt fe3e6c1a36 Ported processes cgi to Contiki 2.x. 2007-04-07 01:31:29 +00:00
oliverschmidt f25a562f4d Fixed typo. 2007-04-05 23:03:50 +00:00
oliverschmidt 661a58cddb Make lists of source files for each app available individually - i.e. for creation of dynamically loadable modules. 2007-04-05 19:50:43 +00:00
adamdunkels c870fe5656 Updated with new Contiki website URL 2007-03-29 22:21:31 +00:00
adamdunkels 3f876d6fe2 Updated for Contiki 2.0 2007-03-29 22:21:19 +00:00
adamdunkels db1587f346 Added comment in makefile on how to produce the http-strings.c file; having the actual rule in the makefile does not seem to work 2007-03-29 22:21:02 +00:00
adamdunkels 82caf5eb1a HTTP strings 2007-03-29 22:18:07 +00:00
oliverschmidt ad4a8df425 Allow to build telnet-server example for targets not defining CTK_CONF_MAXMENUITEMS. 2007-03-26 23:01:11 +00:00
adamdunkels 4fa44208eb Moved rudolph{0,1} into core/net/rime 2007-03-25 12:07:38 +00:00
adamdunkels 013701f50c Renamed rimebuf_hdrextend() to rimebuf_hdralloc() 2007-03-23 10:46:35 +00:00
adamdunkels dd276a9c8a Removed the use of CFS. Instead, provide callbacks for the using application to fill in data. 2007-03-22 23:54:40 +00:00
adamdunkels 18fbc76433 Bugfixes, added version API, larger data size 2007-03-21 23:18:23 +00:00
adamdunkels c3956ccc0f +rudolph1 2007-03-21 23:18:05 +00:00
adamdunkels 224634b88d Reliable multi-hop bulk transfer based on trickle and local uabc repairs 2007-03-21 23:14:40 +00:00
adamdunkels a43c213ff2 A simple program for reliably sending a file to all neihgboring nodes 2007-03-20 12:25:27 +00:00
ksb 7c8665fb89 Padded struct codeprop_tcphdr to 4 bytes, to get around different
alignment on different platforms.
2007-03-18 13:15:00 +00:00
adamdunkels ab4cc60e57 Moved to core/net/rime 2007-03-15 21:28:10 +00:00
adamdunkels 16e7f9f432 Initial version of a simple mesh routing protocol written with Rime 2007-03-14 01:06:42 +00:00
adamdunkels 6a81c10756 Treeroute implemented with Rime 2007-03-14 01:05:23 +00:00
oliverschmidt 9dff20305f How were the references to shell.h and shell.c supposed to be resolved without bringing in apps/shell ?!? 2007-03-03 13:26:29 +00:00
oliverschmidt ce66abfe48 It simply doesn't make sense to link in both webserver.c and webserver-nogui.c. This raises the question if examples/webserver was tested at all ;-) 2007-03-03 12:42:56 +00:00
bg- f51c7f03df * Add some assertions. 2007-01-12 18:16:56 +00:00
bg- 8944a3f6c8 More'or less a verbatim copy of the traditional elfloader but built
upon cmod and cle.
2007-01-05 17:46:26 +00:00
oliverschmidt 074e74a584 Avoid generating new CTK events if process_exit() and LOADER_UNLOAD() was already called. 2006-12-29 23:05:19 +00:00
bg- e3a501a8c1 * Resurrect traditional elfloader interface. 2006-12-20 13:38:33 +00:00
fros4943 93714fc39f updated reference to "elfloader-tmp" 2006-12-18 15:17:47 +00:00
oliverschmidt acade90174 Removed inconsistent source formatting. 2006-10-06 21:39:45 +00:00