Commit Graph

492 Commits

Author SHA1 Message Date
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