Commit Graph

106 Commits

Author SHA1 Message Date
Gregory Nutt f1671bb6a7 Alloc CONFIG_FS_READABLE/WRITABLE to be defined in Kconfig files while preserving backward compatibility with legacy configurations (for the time being) 2013-11-15 09:49:27 -06:00
Gregory Nutt af4c5246b0 FAT: Fix error return value. In one failure case, success was being returned 2013-11-01 11:49:13 -06:00
Gregory Nutt f479f5d698 Enhanced the FAT32 filesystem code to understand DMA preflight failures, and to use the file sector buffer as a bounce buffer when a user-supplied buffer is not suitable for DMA. From Mike Smith 2013-10-18 08:38:44 -06:00
Gregory Nutt bc46b447dc Fix all occurrences of "the the" in documentation and comments 2013-08-27 09:40:19 -06:00
Gregory Nutt d60e9e14f6 Remove some pre-processor warnings that I am more than tired of seeing 2013-08-10 09:18:57 -06:00
Gregory Nutt 619cd66f33 Fix some cache-related issues with the SAMA5 DMA driver 2013-08-09 15:25:13 -06:00
Gregory Nutt f9b9875952 Various Kconfig files still have references to CONFIG_ variables. Some in harmless comments, some in config definionts which is not harmless. All removed 2013-04-25 15:52:00 -06:00
Gregory Nutt c23ad7963f Fixes to strchr, mkfats, and NxWidgets from Petteri Aimonen 2013-04-22 08:01:43 -06:00
Gregory Nutt 2848f657ed Fix comments, references to the old SVN, and links to the old SVN. Replace with equivalent GIT info 2013-04-19 18:35:06 -06:00
patacongo bc247a45a0 FAT fixes for extending directory entries with long file names. From RonenV
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5802 42af7a65-404d-4744-a932-0658087f49c3
2013-03-31 13:06:22 +00:00
patacongo 3bf2c1b355 Change prototypes of up_create_stack and up_release_stack to include a task type parameter
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5765 42af7a65-404d-4744-a932-0658087f49c3
2013-03-20 18:22:21 +00:00
patacongo d5d9fa89ab Fix a FAT error when trying to create file in a non-existent directory. Reported by Andrew Tridgell.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5764 42af7a65-404d-4744-a932-0658087f49c3
2013-03-20 15:26:50 +00:00
patacongo 1c52dce216 More changes for a kernel-mode allocator (more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5724 42af7a65-404d-4744-a932-0658087f49c3
2013-03-09 21:12:20 +00:00
patacongo 9ee24b19de LPC1788 updates -- OS test configuration now works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5704 42af7a65-404d-4744-a932-0658087f49c3
2013-03-04 18:00:07 +00:00
patacongo 30a0cdf33e Correct a memory leak in NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5600 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 23:56:54 +00:00
patacongo 329328e5df New interface task_spawn(); exec_builtin() now uses task_spawn(); All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5598 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 19:31:30 +00:00
patacongo 4587760eee Additional patches from Petteri Aimonen for FAT, STM32 SPI, and AT25
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5593 42af7a65-404d-4744-a932-0658087f49c3
2013-02-01 15:32:39 +00:00
patacongo a1045c27e7 apps/builtin/binfs.c moved to nuttx/fs/binfs/fs_binfs.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5523 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 15:41:27 +00:00
patacongo fd1189a6fe Implement redirection of output from NSH builtin commands to a file in a mounted volume
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5521 42af7a65-404d-4744-a932-0658087f49c3
2013-01-15 21:01:37 +00:00
patacongo 5a2eda210b Finish dup logic for open files; fix bug in sigtimedwait(), would return wrong signo value if the signal was already pending
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5517 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 19:22:32 +00:00
patacongo 555e3fe1f5 Add support for dup2'ing files. Infrastructure and ROMFS done. Still need FAT, BINFS, NXFFS, and NFS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5516 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 15:42:03 +00:00
patacongo 7a9457bb07 Email address change in nuttx/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5145 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 18:32:24 +00:00
patacongo a30e2f4a27 Add beginning of a simple granule allocator to support DMA IO buffer allocation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5129 42af7a65-404d-4744-a932-0658087f49c3
2012-09-11 18:22:27 +00:00
patacongo 870b6511ea Add support for DMA memory allocator to FAT file system
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5127 42af7a65-404d-4744-a932-0658087f49c3
2012-09-11 13:53:44 +00:00
patacongo a93d7eb69e Shenzhou board is first to use ONLY Kconfig for configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5114 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 13:56:21 +00:00
patacongo 9224a95952 Important FAT fix. Bad test would cause many un-necessary writes to FLASH.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5102 42af7a65-404d-4744-a932-0658087f49c3
2012-09-06 14:46:08 +00:00
patacongo 8e9e6b1103 Fix max filename size report by FAT statfs with long file names; Add missing logic to support fieldwidth and justification for %s format; Add extended help options. Default help command just shows a short list of commands. Verbose and single command help options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5008 42af7a65-404d-4744-a932-0658087f49c3
2012-08-04 22:00:18 +00:00
patacongo a65d283e96 Fix some warnings and fix some simulator builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4688 42af7a65-404d-4744-a932-0658087f49c3
2012-05-02 15:36:19 +00:00
patacongo 30cd61c07d Kconfig updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4608 42af7a65-404d-4744-a932-0658087f49c3
2012-04-14 18:01:45 +00:00
patacongo e45c3b97b3 Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4597 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 21:52:04 +00:00
patacongo 6c49d9aa54 Add a little more configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4587 42af7a65-404d-4744-a932-0658087f49c3
2012-04-10 23:49:13 +00:00
patacongo f5c6b8fe47 A little bit of file system configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4586 42af7a65-404d-4744-a932-0658087f49c3
2012-04-10 23:01:40 +00:00
patacongo 330b89ca0e Add kconfig documentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4567 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:45:52 +00:00
patacongo 4b8c0c41c8 Adding skeleton Kconfig files (part 1 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4564 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 15:49:35 +00:00
patacongo 2fe4ad52f8 Move file-system header files to include/nuttx/fs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 18:01:07 +00:00
patacongo 28dc73fd3b Fix a bug in the FAT statfs() implementation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4375 42af7a65-404d-4744-a932-0658087f49c3
2012-02-07 00:29:06 +00:00
patacongo c998760feb STM32 F4 I2C updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4330 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 00:09:58 +00:00
patacongo 67631ddea7 On a failure to recognize a FAT file system, the mount logic should return -EINVAL, not -ENODEV
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4297 42af7a65-404d-4744-a932-0658087f49c3
2012-01-11 16:31:45 +00:00
patacongo 39fd93278c PIC32 NSH configuration now builds without errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4220 42af7a65-404d-4744-a932-0658087f49c3
2011-12-23 00:58:00 +00:00
patacongo 15e7a497ca Update ADC header file for the STM32F40xxx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4105 42af7a65-404d-4744-a932-0658087f49c3
2011-11-20 14:01:44 +00:00
patacongo acf0e4160b Revised FAT bugfix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4104 42af7a65-404d-4744-a932-0658087f49c3
2011-11-19 20:30:39 +00:00
patacongo 8036b2969a Fix error in FAT time (date value was being used)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4099 42af7a65-404d-4744-a932-0658087f49c3
2011-11-18 12:45:00 +00:00
patacongo 4064c8257c clock_gettime() not settime() in FAT time logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4094 42af7a65-404d-4744-a932-0658087f49c3
2011-11-17 03:59:54 +00:00
patacongo bdd0e9e973 Fix an error in FAT needed for interoperability with Windows when access first entry in root directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4093 42af7a65-404d-4744-a932-0658087f49c3
2011-11-15 22:37:14 +00:00
patacongo 0fe0a10e9f Add support for more FAT partitions; support for SD cards greater than 4Gb; TSC2007 touchscreen driver improvements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4092 42af7a65-404d-4744-a932-0658087f49c3
2011-11-15 16:44:45 +00:00
patacongo 1d9602b67b Add FAT date/time stamp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4008 42af7a65-404d-4744-a932-0658087f49c3
2011-10-02 17:53:17 +00:00
patacongo f47d7adcd4 Back out a portion of the last FAT LFN change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3986 42af7a65-404d-4744-a932-0658087f49c3
2011-09-28 12:32:06 +00:00
patacongo c4b3e3185f Cosmetic changes to fat and mass storage device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3985 42af7a65-404d-4744-a932-0658087f49c3
2011-09-28 01:46:31 +00:00
patacongo be64d255fc Move MSC descriptors to a separate file; File 13 char long file names.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3983 42af7a65-404d-4744-a932-0658087f49c3
2011-09-27 22:04:03 +00:00
patacongo 48e30073db Fix a stray write into the FAT
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3958 42af7a65-404d-4744-a932-0658087f49c3
2011-09-16 14:07:17 +00:00