Commit Graph

14732 Commits

Author SHA1 Message Date
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
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