Commit graph

91 commits

Author SHA1 Message Date
nvt-se fc34a4572b Removed the deprecated COFFEE_DIR_CACHE_ENTRIES parameter. 2009-09-22 16:31:36 +00:00
adamdunkels bddd31abf2 Fixed compiler warnings 2009-09-09 21:06:51 +00:00
nvt-se b0431cc688 removed obsolete offset type definitions. 2009-07-13 20:02:16 +00:00
nvt-se 1e0ca9ceac Made the use of micro logs configurable to make file modifications
more efficient on storage types that support inline updates.

The sky platform uses logs, and the native platform uses no logs.
2009-06-29 13:30:16 +00:00
adamdunkels 00890caca8 Make sure that symbols.c is included in every native cpu build, not just the native target 2009-05-12 17:23:23 +00:00
adamdunkels 0076bfe8a5 Changed the name of the 'serial' module to 'serial-line' to signify that the module is about lines of data from the serial port, not individual bytes, and to make sdcc happy 2009-03-17 15:56:32 +00:00
nvt-se 9b548619ed removed redundant definitions. 2009-02-25 23:57:13 +00:00
nvt-se d0a546b049 A long refactoring session yielded the following.
Technical changes:

* Factored out file specific information from the file descriptor
  structure into a new file structure.

  - Useful file metadata can be stored after the file is closed.
  - File descriptors become much smaller.
  - Significantly reduces the need to scan for the file end.

* Use correct types in all function signatures.
* Removed the directory cache.

Results:

* Enormous speed increase when opening cached files (10x-20x.)
* Multiple fd:s pointing to the same file have the correct semantics.
* About 100 bytes smaller ROM size.
* Slightly smaller static RAM size.
2009-02-08 17:08:13 +00:00
oliverschmidt 7ac49a573b Reverted recent change as there's now a general (and actually working) solution in Makefile.include. 2008-11-17 22:40:10 +00:00
zhitao 29b0d010d5 added #define for platform check 2008-11-13 14:25:47 +00:00
adamdunkels ba43d94ef7 Define IPv6 options only if UIP_CONF_IPV6 is defined (which should be defined by the Makefile.include if IPv6 is enabled) 2008-10-15 09:14:25 +00:00
julienabeille 08465a6c19 new-ipv6 compiles on native cygwin 2008-10-14 14:00:58 +00:00
julienabeille 4f9bc05f90 ping-ipv6 example compiles on native cygwin 2008-10-14 13:39:12 +00:00
nvt-se 10639bc982 use abstract types for offsets and pages so that we can easily port it to
very large or small memories.
2008-10-03 19:27:28 +00:00
adamdunkels 6bfe18bce1 Changed startup message 2008-07-09 20:58:25 +00:00
adamdunkels 710f9cf54b Removed debug printout 2008-07-09 09:37:50 +00:00
adamdunkels 2023a692d4 Added clock_second() implementation to make th shell work 2008-07-09 09:34:29 +00:00
adamdunkels c6579d4f08 CFS Coffee arch file for the native platform 2008-07-03 23:13:55 +00:00
adamdunkels 84a42a0bb3 xmem implementation for the native platform 2008-07-03 23:11:27 +00:00
oliverschmidt 2632f8f937 Removed finally unnecessary cast. 2008-02-10 22:36:36 +00:00
adamdunkels 0cb1efe718 Added cfs-posix 2008-01-08 14:27:28 +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 8a6309aa45 Changed UIP_UDP -> UIP_CONF_UDP 2007-11-28 15:32:25 +00:00
adamdunkels a725de0f79 Reimplemented waiting with select() instead of nanosleep(). Let's see if Linux compiles this code now... 2007-11-28 12:54:41 +00:00
adamdunkels 4eae027dd3 Changed usleep() to nanosleep() 2007-11-26 23:28:33 +00:00
oliverschmidt f52ae57d99 Declare strcasecmp here as it isn't part of C99. 2007-11-18 00:46:26 +00:00
adamdunkels 1e1e44a3f8 Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:01:00 +00:00
adamdunkels d9eebf7e17 Fixed compiler warnings 2007-11-17 10:46:25 +00:00
oliverschmidt 2e1ac205e2 Avoid compiler warnings. 2007-05-22 21:33:31 +00:00
oliverschmidt 237b1617b5 Factored out setup directory search path for source files into Makefile.include.
- Search target specific directories before CPU specific directories.
- Search CPU specific directories before generic directories.

Note: I checked several builds but nevertheless one or the other might need some additional adjustsments. Sorry for the inconvenience.
2007-05-13 08:41:11 +00:00
oliverschmidt 4fd1e3ece0 Added signed 32 bit data type. 2007-05-12 20:58:12 +00:00
oliverschmidt 4bf1ecc20e Made endianess configuration actually work. 2007-04-11 00:25:38 +00:00
adamdunkels b7ab1bb721 Removed reliance on x86 cpu 2007-03-28 20:24:45 +00:00
adamdunkels 227a3fa633 Removed old rt-arch and replaced it with rtimer-arch in cpu/native 2007-03-28 20:21:42 +00:00
adamdunkels 45e2b19940 Architecture-specific code for the real-time module, for the native and netsim platforms 2007-03-19 00:26:54 +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
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
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
nifi 51f38adaf4 removed unused constants (BEEP_ON/BEEP_OFF) 2006-07-07 06:38:53 +00:00
adamdunkels c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00