Commit graph

15 commits

Author SHA1 Message Date
matsutsuka 23d5f84a46 Workaround for compiling some examples available 2009-12-16 06:47:17 +00:00
matsutsuka ebe74fed56 size-optimization option and peep-hole optimizer have been introduced.
object files have been moved to binary directory
2009-12-11 14:59:31 +00:00
matsutsuka c55d3ded6c restored specific compilation option since SDCC seems not supporting -MDD very well
introduced a snprintf macro as empty function
2009-07-09 18:26:55 +00:00
oliverschmidt 7a228fea41 Replaced classic approach of generating dependency files via rule with generating them as side effect of generating object files. The issue with "No rule to make target ..." is solved as suggested in http://make.paulandlesley.org/autodep.html.
At least with gcc (and cc65) the dependency files are generated without an additional run of the C compiler. This is especially beneficial on Cygwin because of the fork() performance issue.
2009-07-02 22:36:04 +00:00
oliverschmidt ae4978e994 Moved z80 specific line to z80 makefile. 2007-12-21 00:49:40 +00:00
matsutsuka fbb8fb409a The Micro-Executable Format (MEF) support (experimental). 2007-11-28 06:13:24 +00:00
matsutsuka 0ab5a22a47 Fixed a minor glitch 2007-10-01 23:04:02 +00:00
matsutsuka 1e6ac84151 Customized crt0 has been introduced to fix some SDCC glitches. 2007-09-29 03:57:07 +00:00
matsutsuka 7b402d38f8 The suffix for preprocessed assembler file has been changed from ".hS" to ".cS" 2007-09-19 12:41:33 +00:00
matsutsuka c258a2e83a library extension has been modified form .o to .a 2007-09-11 12:11:38 +00:00
matsutsuka cd971ff8cc sdcc-custom-rule has been added to makefile.z80 2007-09-10 15:09:28 +00:00
matsutsuka 259c5a00b9 Some gliches and filenames are changed regarding RS-232C driver. 2007-09-09 13:41:15 +00:00
matsutsuka 88c30a63a5 Directory of some sources files has been moved. 2007-09-09 12:20:12 +00:00
matsutsuka 4766593ff7 Add assembler checksum calculation support for z80 port. 2007-09-01 11:14:50 +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