diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-21 17:17:42 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-21 17:17:42 +0000 |
commit | 2bb67b254657c5707557082da0b23449b8309c72 (patch) | |
tree | 12e921379a6979b29804391ac650ed42c4c12fd1 /nuttx/arch | |
parent | d7d1d7f99d0cd4549f676cf9e450124c9c4170cb (diff) | |
download | px4-nuttx-2bb67b254657c5707557082da0b23449b8309c72.tar.gz px4-nuttx-2bb67b254657c5707557082da0b23449b8309c72.tar.bz2 px4-nuttx-2bb67b254657c5707557082da0b23449b8309c72.zip |
Add FAT rmdir and unlink
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@247 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/sim/src/up_deviceimage.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/arch/sim/src/up_deviceimage.c b/nuttx/arch/sim/src/up_deviceimage.c index 9a28f4edd..70dfc9cab 100644 --- a/nuttx/arch/sim/src/up_deviceimage.c +++ b/nuttx/arch/sim/src/up_deviceimage.c @@ -82,7 +82,11 @@ * xxd -g 1 nuttx-test.vfat.gz >some-file * * Then manually massaged from the gzip xxd output to zlib format. See - * http://www.faqs.org/rfcs/rfc1952.html + * http://www.faqs.org/rfcs/rfc1952.html. This amounts to: + * + * Remove all of the leading bytes through the null terminator of the file name + * Remove the last 8 bytes + * Add 0x08, 0x1d to the beginning. */ static const unsigned char g_vfatdata[] = |