Commit Graph

24 Commits

Author SHA1 Message Date
adamdunkels
eced8a3ec2 Removed left-over debug printouts 2008-01-24 23:07:05 +00:00
adamdunkels
af73a358f4 Added const to constant arguments 2008-01-24 13:08:35 +00:00
adamdunkels
bf5ba0fdea Added missing filesize field 2008-01-09 08:12:52 +00:00
adamdunkels
bac526c5f1 Fixed handling of CFS_WRITE and CFS_APPEND 2008-01-08 14:27:06 +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
oliverschmidt
f67506ba2a Set truncate flag to make sure that overwriting a existing file doesn't result in a mix of old and new content. 2007-12-23 14:12:44 +00:00
oliverschmidt
0564cc50fd Splitted POSIX based cfs implementation to avoid pulling in potentially large POSIX directory I/O functions without needing them at all. 2007-12-21 01:36:01 +00:00
oliverschmidt
034111b106 Made cfs implementation adhere to (new) cfs interface, streamlined implementation, reduced header dependencies and removed the 'cfs-root/' prefix. The reasoning behind the latter:
- Productive embedded targets don't use the posix based variant anyway.
- For testing purposes the prefix is a hurdle as the documentation doesn't mention it ;-))
- The prefix is incompatible with posix implementations lacking directory support (like the C64).
2007-11-22 11:37:34 +00:00
oliverschmidt
df1c80ee79 Made cfs implementation adhere to (new) cfs interface. 2007-11-22 11:29:13 +00:00
oliverschmidt
c69a49b2a2 Improved cfs interface. 2007-11-22 11:27:08 +00:00
oliverschmidt
6f1c485d8e Removed compiler warnings. 2007-11-17 21:01:31 +00:00
oliverschmidt
3b057f7966 Removed used variable that caused compiler warning. 2007-11-17 20:04:44 +00:00
adamdunkels
1e1e44a3f8 Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:01:00 +00:00
oliverschmidt
9f97290665 Changed Contiki File System (cfs) from a service to a plain library.
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:05:48 +00:00
nifi
ae64aa1764 changed counters to unsigned 2007-03-23 15:52:13 +00:00
nifi
e3bdae0e47 added erase of xmem and size checks 2007-03-23 12:15:08 +00:00
adamdunkels
f94cbb21e1 Added a CFS_APPEND option, set CFS_READ and CFS_WRITE to new numbers 2007-03-22 23:55:32 +00:00
adamdunkels
ea6f2942bd Added file size 2007-03-22 23:55:03 +00:00
adamdunkels
897bd980e1 CFS implementation over the xmem module 2007-03-21 23:15:31 +00:00
oliverschmidt
424fde144d Added the CCIF (Contiki Core InterFace) declarations used by the applications which are currently part of the Win32 build. 2006-08-26 23:54:00 +00:00
nifi
649afd342b Avoid compiler warning. 2006-08-15 09:38:33 +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
adamdunkels
c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00