Commit Graph

1996 Commits

Author SHA1 Message Date
adamdunkels
bac26c90c8 Made a primary transmission go out immediately instead of within a random interval 2008-01-08 08:26:48 +00:00
adamdunkels
06e6bf31f4 Removed debuggin symbols and indirect symbol pointers. Added calloc and strchr to builtins 2008-01-08 08:22:51 +00:00
adamdunkels
f935be10c9 Added initalization of the serial library. Changed LPM3 to LPM2 since the current serial driver does not work with LPM3 yet (we need to add start edge detection interrupt support to fix that). 2008-01-08 08:21:03 +00:00
adamdunkels
690805ebe7 Added configuration for upcoming shell improvements, removed PROCESS_CONF_FASTPOLL 2008-01-08 08:19:56 +00:00
adamdunkels
959c4f3ee2 Removed ENERGEST_CONF_ON which is present in contiki-conf.h anyway 2008-01-08 08:18:00 +00:00
adamdunkels
bd9230b4b3 Added serial input from stdin, removed uIP initialization since uIP is not used anyway, made stdout unbuffered 2008-01-08 08:08:57 +00:00
adamdunkels
b7ab95499f Added serial and cfs-posix-dir 2008-01-08 08:08:05 +00:00
adamdunkels
ff42002bc5 Added extraction of power data (not just energy) 2008-01-08 08:07:23 +00:00
adamdunkels
bfd894c7bd Made graphs nicer by using gnuplot's mulitplot functionality, added power graph 2008-01-08 08:06:41 +00:00
adamdunkels
12bbe80003 Added timestamps and radio signal noise measurements 2008-01-08 08:05:34 +00:00
adamdunkels
a46aceb5f8 Added generation of symbols.c if CORE is set 2008-01-08 08:04:41 +00:00
adamdunkels
e16b7ffcf0 Changed the return value of the inpt handler function to int so that it can wake up the CPU from LPM 2008-01-08 08:04:09 +00:00
adamdunkels
7f05b8a5ef Added a reboot function 2008-01-08 08:03:02 +00:00
adamdunkels
b50d2b02ee Reformatting to comply with code style 2008-01-08 08:01:41 +00:00
adamdunkels
345d0a8a79 Added a WERROR definition that can be used to turn -Werror on 2008-01-08 08:01:01 +00:00
adamdunkels
a20202231d Minor type change 2008-01-08 08:00:13 +00:00
adamdunkels
d2be099c0e Bugfix: queue buffers were not freed when a new packet was sent, leading to memory leakage. Added debug output. 2008-01-08 07:59:51 +00:00
adamdunkels
c6a43333d2 Call the timeout function only if it is non-NULL 2008-01-08 07:58:49 +00:00
adamdunkels
40d6216ec9 Added API for reading the routing table 2008-01-08 07:58:23 +00:00
adamdunkels
601560b1eb Added hopcount to callbacks 2008-01-08 07:55:56 +00:00
adamdunkels
0c748d7dd2 Debug formatting fixes 2008-01-08 07:55:15 +00:00
adamdunkels
f737127cca Minor type change 2008-01-08 07:55:00 +00:00
adamdunkels
16142f12c7 Removed unused code 2008-01-08 07:54:40 +00:00
adamdunkels
1640b11972 The radio driver now takes care of adjusting for the transmission time 2008-01-08 07:54:16 +00:00
adamdunkels
88a010acdc Added a simple sniffer callback, which currently is a hack - a better solution would be a list of sniffers for both outgoing and incoming packets, but this will do for now. 2008-01-08 07:53:02 +00:00
adamdunkels
5b454bbd5f Added a simple sniffer callback, which currently is a hack - a better solution would be a list of sniffers for both outgoing and incoming packets, but this will do for now. Added trickle, neighbor & route includes. 2008-01-08 07:52:31 +00:00
adamdunkels
b356ebe009 Increased the default input line length from 40 to 80 2008-01-08 07:49:51 +00:00
adamdunkels
25a5434fb5 Sending with interval 0 made explicit 2008-01-07 14:53:04 +00:00
adamdunkels
d33871facc Bugfix: hops should be at least one for all packets that are sent over the radio 2008-01-07 14:52:23 +00:00
adamdunkels
a0a524e128 Added watchdog_reboot() prototype 2008-01-07 14:42:35 +00:00
adamdunkels
cc6c6eee62 Added prototype for _on() and _off() functions 2008-01-07 14:41:34 +00:00
adamdunkels
d8e84abaae Made estimation of departure time better by locally measuring the average time per byte and adding this to the incoming timestamp. 2008-01-07 14:08:02 +00:00
oliverschmidt
26a554e7c2 Added C128 port. It runs the example webserver both in the cgi and cfs variant - although the latter only with a reduced MTU size due to memory constraints. 2008-01-05 22:30:23 +00:00
oliverschmidt
a9a1a00f27 Moved GTK port to the backyard as it doesn't work for quite some time by now. 2008-01-05 21:06:38 +00:00
oliverschmidt
00d75c8d16 Made use of uip_ipaddr_to_quad(). 2008-01-04 23:28:33 +00:00
oliverschmidt
74fc3b4576 Made netsim gateway ip addr on Windows/Cygwin configurable at the command line. 2008-01-04 23:23:29 +00:00
oliverschmidt
5bff4631e4 Minor reformatting. 2008-01-04 23:09:03 +00:00
oliverschmidt
f75d01a428 Log ip addr in the ordinary way. 2008-01-04 22:21:04 +00:00
oliverschmidt
b96c9deebc Added "usual" comments. 2008-01-04 21:53:32 +00:00
oliverschmidt
cd261f3121 Show info on saved defines only if they not empty. 2008-01-04 21:01:37 +00:00
oliverschmidt
bb19396d21 Introduced yet another high-level config macro. 2008-01-01 19:47:03 +00:00
oliverschmidt
852d2c0283 Introduced very lightweight pfs implementation based on Apple ProDOS.
ProDOS requires for each opened file a user-supplied page-aligned 1024 byte i/o buffer. This makes the generic POSIX file i/o library contained in the cc65 C-library quite heavyweight.

In contrast the lightweight pfs implementation uses the uIP packet buffer as ProDOS i/o buffer. Therefore:
- Only one file may be open at any time.
- That file may not be open while the uIP packet buffer is used by uIP. The open()/read()/close() sequence should be completed before Contiki event scheduling or inside handling a single Contiki event.
- The uIP packet buffer must be large enough to hold the ProDOS I/O buffer. Depending on the position of the uIP buffer in memory this means between 1024 and 1024 + 256 bytes. Therefore in an Ethernet environment setting the MTU_SIZE to at least 1266 is safe (So the default of 1500 is just fine).
2008-01-01 18:49:50 +00:00
oliverschmidt
216d20dabb Allow to implement cfs API on preprocessor level using a "pfs" (platform file system) by setting a new high-level config macro. 2008-01-01 17:44:24 +00:00
oliverschmidt
73027164c8 Added 'savedefines' target working like 'savetarget'. Replaced $(warning...) with $(info...). Aded user feedback for the two 'save...' targets. 2007-12-24 15:24:15 +00:00
oliverschmidt
69faf1ff4d Set sprite color. 2007-12-24 15:01:49 +00:00
oliverschmidt
faad65bddd Use cfs filesystem to allow for specific implementations. 2007-12-24 00:13:28 +00:00
oliverschmidt
af6d9a59be Adjusted value (without distinguishing between Ethernet, SLIP, ...). 2007-12-23 20:24:46 +00:00
oliverschmidt
93ff3add1f Use cfs filesystem to allow for specific implementations. 2007-12-23 15:37:28 +00:00
oliverschmidt
5592b1df6c Implement cfs API on preprocessor level using POSIX functions.. 2007-12-23 15:29:19 +00:00
oliverschmidt
1ecf65d6c2 Allow to implement cfs API on preprocessor level. The benefits are:
- Less overhead.
- Switching implementations without makefile changes.
- Compatibility with specific declaration needs. (I.e. the cc65 module loader expects the read() function to be defined as fastcall but that contradicts the cfs API declaration.)
2007-12-23 15:22:33 +00:00