Commit graph

11273 commits

Author SHA1 Message Date
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
nifi
8ed2e44003 changed to use constant instead of numeric value 2006-07-07 06:45:45 +00:00
nifi
51f38adaf4 removed unused constants (BEEP_ON/BEEP_OFF) 2006-07-07 06:38:53 +00:00
nifi
fa9a97e9db removed unneeded constants (BEEP_ON/BEEP_OFF) and simplified the code for beep_on()/beep_off() 2006-07-07 06:36:38 +00:00
nifi
cb3f6db77e fixed compiler warnings 2006-07-06 14:55:21 +00:00
nifi
a63bbe05ba changed to terminate the event data with a zero character instead of line feed character 2006-07-03 11:29:16 +00:00
nifi
d376b3fe9d fixed doxygen warnings, problems with the images, and updated for contiki-2.x 2006-06-29 19:04:37 +00:00
nifi
effc657baf removed unused file (use contiki-conf.h instead) 2006-06-29 08:00:58 +00:00
gpz
5dec29ce00 added some ifdefs to allow overiding some rules by arch specific makefiles 2006-06-26 02:01:30 +00:00
gpz
940dc6ccaa initial creation of toplevel makefile 2006-06-24 19:05:53 +00:00
gpz
82170f0015 added cast in line 254 to make cc65 happy 2006-06-24 17:59:28 +00:00
adamdunkels
8ee4f7fc3d Removed out-commented stuff from Makefiles 2006-06-24 06:23:47 +00:00
adamdunkels
46ad48666c GTK makefile 2006-06-24 06:06:19 +00:00
adamdunkels
6c96877cdf Added the RUNES component model (crtk.c) to the Makefile. (Note: the function names in the crtk.c must be fixed to comply with the Contiki nameing model before becoming a part of Contiki.) 2006-06-23 07:37:15 +00:00
nifi
c649818fe5 fix to allow projects to extend the linker flags 2006-06-22 14:24:49 +00:00
nifi
05f6bb5feb Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-22 14:22:42 +00:00
nifi
c2ae514a13 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-21 13:39:11 +00:00
nifi
9eb477f8f5 added autostart + replaced codeprop_event_quit with PROCESS_EVENT_EXIT 2006-06-21 12:40:14 +00:00
adamdunkels
62e32d2b23 Added missing includes and made Ethernut 1 & 2 ports to compile again 2006-06-20 21:23:09 +00:00
adamdunkels
7100179654 Deleted unused files 2006-06-18 08:22:12 +00:00
adamdunkels
d7305d07f5 Code imported from the SICS CVS server 2006-06-18 08:19:10 +00:00