Commit Graph

553 Commits

Author SHA1 Message Date
Gregory Nutt
b7227f0088 Cosmetic changes, mostly to comments 2014-07-29 12:49:40 -06:00
Gregory Nutt
befcb1c961 Fix some cloned errors in SAM GPIO interrupt setup 2014-07-07 15:54:37 -06:00
Gregory Nutt
60246e613b NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed. 2014-07-04 19:13:08 -06:00
Gregory Nutt
0bb153b8cb Remove all inclusion of uip.h 2014-07-04 16:58:22 -06:00
Gregory Nutt
cce35ce975 NET: More renaming 2014-07-04 15:40:49 -06:00
Gregory Nutt
cc0fb1ec67 CCM PROCFS: Missing change in last commits 2014-07-03 09:28:36 -06:00
Gregory Nutt
dd4caf172f CCM PROCFS: Changed the configuration a bit. I am still not happy about the coupling between procfs, mtd, and now STM32 2014-07-03 08:50:24 -06:00
Gregory Nutt
64cd7a81ed Add STM32 CCM heep procfs 2014-07-03 08:18:24 -06:00
Gregory Nutt
a2741940f9 SAMA54D-EK: Don't disable any features in the NSH configuration. Comments updated in several files 2014-07-02 08:54:53 -06:00
Gregory Nutt
5d1f8180d4 Move the remaining files from include/nuttx/net/uip to include/nuttx/net; Rename *_internal.h header files in net/ to just *.h 2014-06-24 10:14:15 -06:00
Gregory Nutt
626469e30c Move include/nuttx/net/uipopt.h to include/nuttx/net/netconfig.h 2014-06-24 08:53:28 -06:00
Gregory Nutt
5df14c7d40 Misc changes to get a clean compilation after incorporating all of Bob Doison's changes 2014-04-22 10:38:08 -06:00
Gregory Nutt
3d8e313995 Misc SAM4S-related changes from Bob Doison 2014-04-21 19:32:15 -06:00
Gregory Nutt
1f31597466 Correct some procfs conditional compilation. From Bob Doiron 2014-04-21 17:21:43 -06:00
Gregory Nutt
f8024cf409 More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
f7e5953804 Cosmetic changes for coding style; removal of dangling spaces at the end of lines 2014-04-13 13:18:06 -06:00
Gregory Nutt
494387b33b Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
056aed1274 Make sure that there is one space between while and condition 2014-04-12 13:09:48 -06:00
Gregory Nutt
303cc1902b Make sure that there is one space between if and condition 2014-04-12 12:53:19 -06:00
Gregory Nutt
2fcc57edb0 mv ramlog.h and syslog.h to new include/nuttx/syslog 2014-04-10 09:29:30 -06:00
Gregory Nutt
d1257082f3 NXFFS: Missing call to nxffs_freeentry() caused a memory leak 2014-03-06 08:01:56 -06:00
Gregory Nutt
4f6d6a6aa2 Fix a FAT file corruption problem. From Andrew Tridgell 2014-03-04 11:34:54 -06:00
Gregory Nutt
b348464779 procfs: Remove newline from the end of the cpuload and loadavg outputs so that the returned percentages can be printed on the same line as other data. 2014-02-27 11:18:28 -06:00
Gregory Nutt
3b2a3991dd A few fixes for the per-process load average calculation 2014-02-23 12:50:51 -06:00
Gregory Nutt
cf4a362ab5 CPU load calculations now available for all threads. Available in /proc/pid/loadavg 2014-02-23 10:55:01 -06:00
Gregory Nutt
59769d44f1 Add logic to meaure and calculate the CPU load percentage. From David Alessio 2014-02-22 15:20:12 -06:00
Gregory Nutt
d092f888fb Add CONFIG_DEFAULT_SMALL that will select default values for configuration settings based upon either more features or smaller footprint. Turns out not be be useful for modifying existing defconfig files because the defaults do not apply in that case 2014-02-20 18:49:45 -06:00
Gregory Nutt
bebb5d8c4d unlink/rm can now be used on nodes in the pseudo-filesystem. There is new configuration option to suppress these costly and mostly useless operations on the pseudo-filesystem 2014-02-20 18:14:02 -06:00
Gregory Nutt
d000752cf5 Need to build fs_rename.c even if mountpoints are disabled 2014-02-20 15:40:34 -06:00
Gregory Nutt
e013c96358 Typo fix from last commits. From Alan Carvalho de Assis 2014-02-20 07:39:36 -06:00
Gregory Nutt
916308efc1 SAMD20: Move some common SERCOM logic to a separate file where it can be shared 2014-02-19 14:47:04 -06:00
Gregory Nutt
c55ac71603 Nodes in the pseudo-filesystem can now be renamed or moved within the pseduo-filesystem 2014-02-19 13:14:39 -06:00
Gregory Nutt
dda275242d Cosmetic updates to comments 2014-02-19 10:56:54 -06:00
Gregory Nutt
834ee93cae mkdir can now be used to create empty directories in the pseudo-filesystem. 2014-02-19 10:30:50 -06:00
Gregory Nutt
5bae65fa6c rmdir now may be used to remove empty nodes from the pseudo-filesystem 2014-02-19 10:01:26 -06:00
Gregory Nutt
66a0cfe88f FS: directory operations will now work on empty directory nodes in the pseudo-filesystem 2014-02-19 09:21:38 -06:00
Gregory Nutt
91b002a043 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt
c9cb7972fb FAT: Fix some root directory logic that was conditionally done only for FAT32. Apparently this needs to be done for all FAT types. From Tridge via Lorenz Meier 2014-01-14 18:24:21 -06:00
Gregory Nutt
85e7e13bb0 Fix a FAT cluster allocation bug. From Tridge 2014-01-14 13:45:26 -06:00
Gregory Nutt
803cdfdaf1 Changes to get PX4 config to build. Also some warning removal 2014-01-14 13:30:22 -06:00
Gregory Nutt
9e416c2363 Looks like an error all all kernel build linker scripts 2013-12-30 17:57:20 -06:00
Gregory Nutt
7fdf57b7bb procfs now shows stack thread information 2013-12-15 14:35:47 -06:00
Gregory Nutt
1f115c76eb procfs now shows information about the group that each thread belongs: Like parents, group member, open file, and open sockets 2013-12-15 11:22:48 -06:00
Gregory Nutt
e13e5685cb /proc task directories can now have sub-directories 2013-12-15 10:31:07 -06:00
Gregory Nutt
7cb765e52d Trivial enhancement to /proc/uptime 2013-12-15 07:16:26 -06:00
Gregory Nutt
7a173d58b5 /proc/uptime logic needs to sample timer in case multiple reads are used to read the time 2013-12-14 15:25:23 -06:00
Gregory Nutt
46b77e2544 Support /proc/uptime 2013-12-14 10:34:08 -06:00
Gregory Nutt
9f01df47ea Create procfs_utils.c; File missed from last commit; + remove warning from mm_memalign.c (how did this work before?) 2013-12-14 08:53:23 -06:00
Gregory Nutt
d6b81cc7ef A10: Timer interrupt handler 2013-12-13 12:42:26 -06:00
Gregory Nutt
f97be5131c Various fixes to the recent, big procfs checkin 2013-12-12 11:08:20 -06:00
Gregory Nutt
e4471dc8e0 procfs/: Extenstive architectural changes and enhancements by Ken Pettit 2013-12-12 09:21:55 -06:00
Gregory Nutt
f821e74ebb Move smart.h to include/nuttx/fs/smart.h 2013-12-10 09:38:48 -06:00
Gregory Nutt
40e0253189 mkfatfs: Fix an error in logic that determines if FAT16 is possible 2013-12-05 18:17:22 -06:00
Gregory Nutt
692b087d07 LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks 2013-12-05 10:37:55 -06:00
Gregory Nutt
2318531d93 Condition out most of the recent NXFFS changes for NAND. NXFFS will never be able to support NAND 2013-12-03 13:11:11 -06:00
Gregory Nutt
875b49913a SAMA5 NAND: Only CS3 can have NAND 2013-12-03 06:59:22 -06:00
Gregory Nutt
7fad495e1d Cosmetic changes to debug output 2013-12-02 19:00:59 -06:00
Gregory Nutt
b3d3f59363 NXFFS: more NAND-Releated changes; don't fail if a block read fails. That might just be a NAND uncorrectable bit error. Make scanning of the device on startup optional. This might have introduced some NXFFS issure -- To be determined 2013-12-02 17:19:22 -06:00
Gregory Nutt
5b9d07e5c0 NXFFS: When dumping the MTD content, don't abort on a read error. For NAND, the read error probably just means that an uncorrectable ECC was encountered 2013-12-01 20:17:09 -06:00
Gregory Nutt
5c1f0946c2 NXFFS: First of many changes for NAND. NAND reports read errors on ECC failures. NXFFS can't just give up in these cases and must treat read failures like bad blocks 2013-12-01 18:22:33 -06:00
Gregory Nutt
15274c82fc SAMA5 NAND: Don't use HSMC interrupts. They occur to quickly and cause mysterious race conditions 2013-11-29 11:52:47 -06:00
Gregory Nutt
de797768cd LPC31 EHCI: Make stream disable a configurable option 2013-11-28 13:30:06 -06:00
Gregory Nutt
2aa0809e8b Inode semaphore must be entrant or a deadlock can occur in certain scenarios 2013-11-28 13:12:14 -06:00
Gregory Nutt
1ea447867a SAMA5 NAND: Still debugging 2013-11-28 12:21:33 -06:00
Gregory Nutt
641a3387ab Add README file for SMARTFS. From Ken Pettit 2013-11-23 06:44:17 -06:00
Gregory Nutt
897572a552 Moved include/nuttx/mtd.h to include/nuttx/mtd/mtd.h 2013-11-15 11:22:23 -06:00
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
fb2988042e FS mount logic: Fix error in conditional compilation. Reported by Daniel Palmer 2013-11-15 07:21:52 -06:00
Gregory Nutt
015072a4d4 fs/binfs/README.txt: Add a README file 2013-11-13 16:40:03 -06:00
Gregory Nutt
7f9a982416 Updated README 2013-11-13 16:03:20 -06:00
Gregory Nutt
6e7c9b93c6 fs/procfs: Add a tiny, primitive procfs file system. Might get more interesting in the future 2013-11-13 15:59:14 -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
417f67c132 Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt
1f88a2907c The last checkin replaced some impossible error handling with DEBUGASSERT. Except that one of the case is actually possible in one cornercase and had to be restored 2013-09-28 15:37:16 -06:00
Gregory Nutt
41f0c86cad Optimized sendfile() from Max Holtzberg 2013-09-28 14:47:49 -06:00
Gregory Nutt
9468590596 Back out part of a recent, incorrect ROMFS change 2013-09-14 12:29:17 -06:00
Gregory Nutt
a28c697cfb ROMFS: Fix for file names longer than 15 characters. Provided by Lorenz Meier 2013-09-13 11:29:58 -06:00
Gregory Nutt
f7573b3fa0 Remove NXFFS compile warning 2013-09-12 12:25:03 -06:00
Gregory Nutt
0d02d854ed Cleanup some compilation warnings in NXFFS 2013-09-12 09:42:34 -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
65c32bea59 Fix an bug where long ROMFS file names are not read correctly. From Mike Smith 2013-08-25 16:58:41 -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
eee506f11d Fix SF bug #15: Typo replace error with ERROR 2013-07-03 06:19:13 -06:00
Gregory Nutt
4748599a43 .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00
Gregory Nutt
7554d2888e Upate .gitignore files. Add .dSYM. Make sure / is present where needed. Add some missing .gitignore files 2013-05-30 14:45:31 -06:00
Gregory Nutt
d69228b5f7 poll again; if fd is less than zero, it should set revents to zero, not POLLNVAL 2013-05-23 15:41:15 -06:00
Gregory Nutt
b5dd706120 poll needs to set POLLNVAL if file descriptor is bad 2013-05-23 07:48:32 -06:00
Gregory Nutt
16d04c7aa7 poll should ignore invalid file descriptors 2013-05-23 07:02:44 -06:00
Gregory Nutt
88c0911fb1 Various changes and bigfixes for problems detected by CppCheck 2013-05-09 14:23:34 -06:00
Gregory Nutt
72179b7773 Rearchitecting of some MTD, partition, SMART interfaces, and FLASH drivers to: Better use the byte write capbility when available and to use smaller erase sectors for the erase sector size when available). 2013-05-03 12:52:33 -06:00
Gregory Nutt
7ed7749a40 Add Ken Pettit's SMART FS 2013-04-30 20:13:30 -06:00
Gregory Nutt
f9be47ead2 Add configuration and example to test MTD partitions 2013-04-30 15:54:02 -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
Gregory Nutt
23db0682b7 Clone svn:ignore directory atributed to .gitignore files 2013-04-04 14:27:29 -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
fa1d47e4f0 Add apps/system/ramtest. I will use this for the LPC1788 SDRAM bringup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5791 42af7a65-404d-4744-a932-0658087f49c3
2013-03-27 00:03:25 +00:00