oliverschmidt
ec2411d5ea
Structured the cc65 makefile like all the other makefiles in the Contiki 2.x build system.
2007-04-21 15:04:23 +00:00
oliverschmidt
fe0e1fca17
Added minimal support for handling assembler sources.
2007-04-21 14:56:52 +00:00
oliverschmidt
5d62bbd039
Used SED to replace the assembler sources with the objects in the dependency file generated by the cc65 compiler. This allows to hide the assembler sources from GNU make which solves several issues. Now the cc65 toolchain behaves very similiar to gcc from the GNU make perspective.
2007-04-21 13:23:47 +00:00
oliverschmidt
48977bd89f
Replaced the PROJECT_OBJECTFILES hack with puting the Contiki library (containing contiki-main.o) and the cc65 libary into a cc65 "library group" which allows mutual crossreferences between the libraries in the group.
2007-04-18 22:52:22 +00:00
oliverschmidt
ffe5f48d55
Replace (very uncommon) 'tab' in prerequisites with 'space'.
2007-04-18 22:38:44 +00:00
oliverschmidt
f3502e2ca4
Added NOP headers in order to allow build.
2007-04-18 21:38:55 +00:00
oliverschmidt
dba1672323
Make use of __inline (just as making use of __fastcall) in order to check that CC_CONF_INLINE (just as CC_CONF_FASTCALL) are used in a syntactically correct manner.
2007-04-18 21:36:44 +00:00
oliverschmidt
0acdd92457
Improved compatibility with different platforms - and inline documentation.
2007-04-18 21:28:28 +00:00
oliverschmidt
195cf8cafb
Made it build, but certainly _NOT_ work on non-gcc platforms.
2007-04-18 21:26:09 +00:00
oliverschmidt
33eeb8ccbb
- Switched from from a CTK draw service to a statically linked CTK draw implementation.
...
- Workarounded the following CTK glitch:
ctk.c calls ctk_arch_keyavail() and ctk_arch_getkey() and needs therefore appropriate declarations (or macros) but it doesn't include a ctk_arch.h or alike to bring those in. So it's necessary to bring those declarations in via contiki-conf.h.
But ctk_arch_getkey() is supposed to return a ctk_arch_key_t - and this typedef'ed in ctk.h which means that ctk.h would need to be included in contiki-conf.h before declaring ctk_arch_getkey().
This IS rather undesirable so the current workaround is to declare ctk_arch_getkey() as returning a char - this is btw done similiar in platform/gtk as well. See ctk/ctk-gtksim.h:
guint ctk_arch_getkey(void);
2007-04-15 13:30:16 +00:00
oliverschmidt
13cdcbe393
- Removed ctk_arch_isprint() definition as it is - nomen est omen - platform specific.
...
- Avoided compiler warnings.
- Rearranged headers.
2007-04-15 13:14:40 +00:00
oliverschmidt
eec5ae40c9
Avoid compiler warnings.
2007-04-15 13:09:23 +00:00
oliverschmidt
f16d041476
Provided a meaningful clock_time() implementation - which btw. makes the Cygwin variant finally work :-)
2007-04-14 23:23:15 +00:00
oliverschmidt
8b7de528fb
Consistently use curly brackets for function calls.
2007-04-14 18:37:06 +00:00
oliverschmidt
c7e8ac499e
Consistently use curly brackets for function calls (and add the same disclaimer as used in "my" other makefiles).
2007-04-14 15:55:50 +00:00
oliverschmidt
9cf544c45e
Added the same disclaimer as used in the header file.
2007-04-14 15:48:42 +00:00
oliverschmidt
3a8fb3ad9f
Initializing the console Just-In-Time on CTK startup and starting up the WinPcap before CTK allows WinPcap to print initialization errors (especially a missing command line arg) without clearing the shell output.
2007-04-14 14:57:19 +00:00
oliverschmidt
c1b0a3f0d3
Cygin (in opposite to VC++) doesn't call exit() - and thus our atexit function - on Ctrl-C. Therefore we install an explict ConsoleCtrlHandler which calls exit(). For the sake of simplicity it's not #ifdef'ed _CYGWIN_.
2007-04-14 14:28:19 +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
8f0753c402
Link in and start the POSIX file system to make the telnet-server example 'ls' command generally work. Typically it will complain about not finding 'cfs-root/.'
2007-04-13 23:08:52 +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
766878f5c9
Added the shell server to the Win32 platform.
2007-04-13 21:55:55 +00:00
oliverschmidt
59c2158274
Removed minor redundancy.
2007-04-13 21:47:09 +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
bg-
87971c35db
* Bump maximum number of udp sockets to 16 and fwcache size.
...
* Remove unused stuff.
2007-04-11 15:24:39 +00:00
bg-
b32db9763e
* Bump maximum number of udp sockets to 16.
...
* Remove unused stuff.
2007-04-11 15:22:05 +00:00
fros4943
eeed4115c4
colors helping a user manually enter project paths
2007-04-11 14:00:27 +00:00
fros4943
f2f5ea682b
added empty rtimer files to remove compilation errors
...
OBS: not implemented yet; rtimer does not work with COOJA
2007-04-11 12:46:13 +00:00
bg-
738a970660
* Also print channel number.
2007-04-11 10:13:59 +00:00
oliverschmidt
36f6efd21c
Build the web server with CTK support.
2007-04-11 01:08:46 +00:00
oliverschmidt
743ec10b21
Added copyright notice.
2007-04-11 01:07:47 +00:00
oliverschmidt
902e2226b6
Use the cpu/native/net WinPcap driver for platform/win32 as well.
2007-04-11 00:33:08 +00:00
oliverschmidt
0b140bdec4
Integrated WinPcap driver into platform/win32 Cygwin build.
2007-04-11 00:32:31 +00:00
oliverschmidt
4bf1ecc20e
Made endianess configuration actually work.
2007-04-11 00:25:38 +00:00
oliverschmidt
274afdb55c
Made driver compilable with both Cygwin and VC++ (and usable for platform/win32 by using logging API).
2007-04-11 00:21:28 +00:00
oliverschmidt
ee6180dec6
Use the cpu/native/net WinPcap driver for platform/win32 as well.
2007-04-11 00:17:25 +00:00
oliverschmidt
2edc0246a3
Removed unnecessary directory reference.
2007-04-10 21:02:59 +00:00
oliverschmidt
38c3950d66
Link WinPcap packet driver statically into the main binary in preparation of removing the services.
2007-04-09 11:57:15 +00:00
oliverschmidt
9cc1871810
Fixed stupid bug. I have no idea how I didn't run into this one for months ! The development platforms have 400-600 bytes buffer size. So every incoming 1500 packet overwrote ~ 1000 bytes of uIP variables. And this happens very easily as every packet coming in for the Windows IP stack is seen by uIP as well (and discarded because of the wrong IP address).
2007-04-08 20:06:56 +00:00
oliverschmidt
2d277b846c
Updated processes script output to match HTML ;-)
2007-04-08 19:39:05 +00:00
adamdunkels
b2b750e83b
rtimer_arch_now() now returns the correct value
2007-04-07 05:45:08 +00:00
adamdunkels
336246f406
Makefile
2007-04-07 05:43:52 +00:00
adamdunkels
d335cb8087
Power saving MAC protocol based on X-MAC [SenSys 2006]
2007-04-07 05:43:31 +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