Commit Graph

13543 Commits

Author SHA1 Message Date
oliverschmidt
df0bcd5555 More uip_ipaddr_t fixes (and avoid compiler warning). 2006-08-21 21:37:37 +00:00
oliverschmidt
5c83d00fb4 Avoid compiler warning. 2006-08-21 21:36:18 +00:00
oliverschmidt
92e39a92a1 Avoid compiler warnings. 2006-08-21 21:32:24 +00:00
oliverschmidt
a89fd34530 Made declaration match definition. 2006-08-21 21:31:34 +00:00
fros4943
f9ca17629a updated uAODV process for new uIP 2006-08-21 15:32:29 +00:00
fros4943
facdd73eda compile contiki library update:
* including selected Contiki process source files automatically at compilation time.
-> removes the need for manually adding all source files in the cooja.config:s
-> only selected source files are compiled
2006-08-21 15:05:14 +00:00
fros4943
e81861a0cd added cooja; 'The Contiki OS Java Simulator' 2006-08-21 12:11:16 +00:00
bg-
fbd527bc8f Different and hopefully correct low power management. 2006-08-17 15:42:42 +00:00
bg-
20bac141ca Use LPM4_EXIT to return from sleep on msp430. 2006-08-17 15:41:13 +00:00
bg-
e4e3a11b8b New function process_nevents(). 2006-08-17 15:39:24 +00:00
bg-
b065b27759 * Deal with numerical overflows. 2006-08-17 15:25:46 +00:00
bg-
f0a14fbeae * Some ntohs stuff.
* Etimer package only allows you to sleep half as many ticks as one
  would expect. Adjust for this.
2006-08-17 12:51:07 +00:00
nifi
d16b9ad15d bug fix: LPM_AWAKE() on MSP430 modifies the stack and may only be called in the interrupt 2006-08-17 08:27:54 +00:00
oliverschmidt
155b37491c Some object files made from *_dsc.c files get linked both into the Contiki core (for desktop icons) as well as into *.dsc files. So make sure that the *_dsc symbol gets exported regardless in which context the object files are made. 2006-08-16 22:47:01 +00:00
oliverschmidt
52947189d0 Added main header include. 2006-08-16 22:12:46 +00:00
oliverschmidt
1f7391e7de Avoid compiler warnings. 2006-08-16 22:09:51 +00:00
oliverschmidt
62fa3b8c01 Changed the Contiki Interface declaration macros from CCI/CLI to CCIF/CLIF because of already existing macros: Both CCI and CLI :-( 2006-08-15 14:46:33 +00:00
nifi
649afd342b Avoid compiler warning. 2006-08-15 09:38:33 +00:00
oliverschmidt
d4a00f67fe The program_handler_add() mechanism relied on being used after the initialization of the program_handler (and the ctk) process but before entering the event handling. In Contiki 2.x there's no such explicit process initialization anymore - and the implicit asynchronous initialization runs after program_handler_add(). Therefore the initialization of the data structures modified by program_handler_add() had to be removed from that asynchronous process initialization. Instead C-langugae global data.initialization is used. 2006-08-15 00:11:45 +00:00
oliverschmidt
ad7bbcdf17 Now that they assumed a shape ... 2006-08-14 23:53:55 +00:00
oliverschmidt
15154b071e The *-arch.h files seem to be out of style in Contiki 2.x so removed the only Win32 one - most of the content will show up in the (one and only) Win32 conf header. 2006-08-14 23:50:51 +00:00
oliverschmidt
56b07d90a6 Improved code clarity by moving the API macros definitions to the support function declarations. 2006-08-14 23:46:43 +00:00
oliverschmidt
bace5b3481 Removed obsolete header include. 2006-08-14 23:42:33 +00:00
oliverschmidt
43e9e3caa0 Added main header include. 2006-08-14 23:39:23 +00:00
oliverschmidt
f429f73b59 Added PROCESS_NAME() for the CTK conio service. 2006-08-14 23:36:14 +00:00
oliverschmidt
5bd04b9c0d Avoid compiler warnings. 2006-08-14 23:31:40 +00:00
bg-
a99f0ca352 * More uip_ipaddr_t fixes. 2006-08-14 14:01:02 +00:00
bg-
eb7fcb54b4 * Change uip_ipaddr_t to be initialized from bytes rather than 2006-08-14 13:58:28 +00:00
oliverschmidt
96d97031d6 Added a Win32 dll loader for loading/unloading *.prg and *.dsc files. It requires at least WinXP as it uses GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS flag for unloading. The "self-unloading" via LOADER_UNLOAD() is implemented by defering the actual unload until back in the main loop using a user-mode APC (Asynchronous Procedure Call). 2006-08-13 16:49:43 +00:00
oliverschmidt
f0e9388fed Added a Win32 Console Program based CTK (Contiki Tool Kit) conio low level library. Beside the core/lib/libconio.h interface it implements the CTK mouse interface. 2006-08-13 16:36:01 +00:00
oliverschmidt
92c982f829 Added a Win32 CFS (Contiki File System) service. The opendir() parameter "/" is mapped to the directory containing contiki.exe. That allows easy access to *.prg and *.dsc files which are supposed to reside in the same directory. 2006-08-13 16:23:10 +00:00
oliverschmidt
48609fb3a3 Added defines for declaring functions/data which are part of the CCI (Contiki Core Interface) and CLI (Contiki Loadable Interface). Both defines are empty for all platforms but the upcoming Win32 port. 2006-08-13 15:06:08 +00:00
oliverschmidt
ffb4edc3e3 Removed designated union initializers from recent change to avoid dependence on ISO C99 compliant compilers. 2006-08-13 14:53:45 +00:00
oliverschmidt
be675345ad Avoid compiler warnings. 2006-08-13 14:08:43 +00:00
oliverschmidt
fab4acbfe4 Avoid compiler warning. 2006-08-13 14:06:24 +00:00
oliverschmidt
6973e29dfc Don't exit application on every _BUT_ exit messages ;-) 2006-08-13 14:05:20 +00:00
oliverschmidt
7eeed4d6af Reactivated application core functionality (and avoid compiler warning). 2006-08-13 14:02:07 +00:00
oliverschmidt
8594c5f75f Added header necessary for petsciiconv_toascii(). 2006-08-13 13:59:07 +00:00
bg-
0bf3db5df7 Make malloc machine independent by relying on dependent sbrk(2). 2006-08-11 13:41:31 +00:00
bg-
361cd531b6 Assertions are useful. 2006-08-11 13:37:21 +00:00
bg-
9009d8dc06 More uip_ipaddr_t fixes. 2006-08-10 19:22:23 +00:00
bg-
e8030141f2 More uip_ipaddr_t fixes. 2006-08-10 16:43:32 +00:00
bg-
7f7a6ae577 * Avoid using FASTSPI_TX to reduce size of object code.
* Use off_t to avoid overflows.
2006-08-10 16:42:11 +00:00
bg-
5dacf0be11 Move misc. routines to new file. 2006-08-09 17:39:39 +00:00
bg-
fb94d50410 Change typedef of uip_ipaddr_t from a vector type to a union.
typedef union uip_ip4addr_t {
  u16_t u16[2];
  u8_t  u8[4];
} uip_ip4addr_t;

typedef uip_ip4addr_t uip_ipaddr_t;

This implies that one must consistently pass pointers to
uip_ipaddr_t:s and not mix and match pointers with
uip_ipaddr_t:s as was done earlier.
2006-08-09 16:13:39 +00:00
adamdunkels
2fe1ccf8c5 Changed linking to use CC instead of LD to make things work with the current Makefiles (particularly platform/native). Not sure if this change is a good thing; it not, it should be reverted once we get the other Makefiles up to speed. 2006-08-08 13:06:54 +00:00
bg-
7b791de692 Import of files for the Tmote sky platform. 2006-08-02 14:44:46 +00:00
bg-
87b0aa552a Read error messages from device file and print to stdout. 2006-08-02 14:41:30 +00:00
bg-
c94a70e0b3 Import of userspace SLIP implementation. 2006-08-02 14:40:47 +00:00
bg-
4eee7b8bf4 Slightly outdated versions were imported to sf. 2006-08-02 14:33:36 +00:00