Commit Graph

111 Commits

Author SHA1 Message Date
Gregory Nutt
a62bf6727f NSH no long calls losetup() and loteardown() directly. Now it uses /dev/loop and performs these operations using ioctl() calls 2015-11-25 17:55:16 -06:00
Gregory Nutt
178c9780a8 NSH: Add support for basename and dirname commands 2015-11-23 10:21:15 -06:00
Ken Pettit
ad48d89fe2 mksmartfs: Move into apps/fsutils from kernel, now uses only open and ioctl. Add configuration option to supported multiple root directories. From Ken Petit 2015-11-23 06:59:56 -06:00
Gregory Nutt
aacfce081e Fix several cosmetic, C coding style issues 2015-10-03 11:03:42 -06:00
Gregory Nutt
e9447c6058 Standardize nameing of the pre-processor definitiongs group header 2015-10-02 14:06:11 -06:00
Gregory Nutt
7084ce0e02 Cosmetic: Move # of pre-processior command to column 1 2015-09-05 09:12:20 -06:00
Gregory Nutt
69f578d442 Correct last change to NSH file 2015-08-30 18:57:32 -06:00
Bruno Herrera
4555282571 apps/nshlib: Fix error handling in 'mv' command. On a failure to expand the second path, the memory allocated for the expansion of the first path was not being freed. From Bruno Herrera. 2015-08-30 18:28:04 -06:00
Bruno Herrera
321924c0a5 apps/nshlib: Fix error handling in 'cat' command. On a failure to allocate memory, a file was not being closed. From Bruno Herrera. 2015-08-30 18:23:25 -06:00
Gregory Nutt
62853218d3 Eliminate a warning detected by nuttx/tools/testbuild.sh 2015-07-22 14:09:29 -06:00
Gregory Nutt
23075e0b30 Allow NSH date command with no RTC. This command is useful without an RTC too. Also, this permits testing on the simulator which never has an RTC 2015-04-11 12:13:18 -06:00
Gregory Nutt
c9eff799c0 Cortex-M7: Add support for enabled the D-Cache in write only mode.
SAMV7 Ethernet:  I- and D-Cache are now enabled in the netnsh/ configuration.  D-Cache is enabled in write-though mode.  This mode is necessary because the DMA descriptors are each 8-bytes in size but the D-Cache cache line is 32-bits in size. So it is impossible make coherency for every 8-byte DMA descriptor without write-through.
2015-03-29 14:42:03 -06:00
Gregory Nutt
f81be29c2f Costmetic changes name while debugging a filename issue 2015-03-15 12:22:12 -06:00
Gregory Nutt
0724e7ccf3 drivers/ramdisk.c and include/nuttx/fs/ramdisk.h: Add logic to dispose of the drvier and RAM buffer when the RAM disk has been unlinked and all open references to the RAM disk have been closed. Add new parameters to romdisk() to specify what should be done with the RAM/ROM buffer -- Should it be freed or not? Changed all calls to ramdisk() to use these new parameters. 2015-02-01 07:24:16 -06:00
Gregory Nutt
763519b00a NSH Fix ls -l output for regular files 2014-09-30 14:41:58 -06:00
Gregory Nutt
c26939d9d8 More testing, bugfixes and integration of VFS-based named semaphores 2014-09-28 17:30:42 -06:00
Gregory Nutt
2b01e7c297 Add conversion of Intel HEX to binary 2014-06-15 12:07:27 -06:00
Gregory Nutt
03ec268ef9 NSH library: malloc/free IOBUFFER instead of using stack 2014-04-21 18:12:59 -06:00
Gregory Nutt
d224a1e4a5 mv ramlog.h and syslog.h to new include/nuttx/syslog 2014-04-10 09:29:30 -06:00
Gregory Nutt
35f8395a0b NSH cat command now adds to newline at the end of the file so that the NSH prompt is always on a newline 2014-02-27 11:13:21 -06:00
Gregory Nutt
2bc6d67866 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
c88b844190 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
b39f432020 mkdir can now be used to create empty directories in the pseudo-filesystem. 2014-02-19 10:30:50 -06:00
Gregory Nutt
b70ce5f634 rmdir now may be used to remove empty nodes from the pseudo-filesystem 2014-02-19 10:01:26 -06:00
Gregory Nutt
10d4657d15 Changes to get PX4 config to build. Also some warning removal 2014-01-14 13:30:22 -06:00
Gregory Nutt
d9f6b144bc Move ramdisk.h to include/nutt/fs/ramdisk.h 2013-12-10 09:42:58 -06:00
Gregory Nutt
564143dba8 NSH: Add an option to the mkfatfs command to specify FAT12, FAT16, or FAT32 2013-12-05 18:12:11 -06:00
Gregory Nutt
2308f45af8 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
2050443d5e Remove some warnings 2013-10-01 12:10:09 -06:00
Gregory Nutt
2ee72f55d3 NSH: Fix 'ls' output for a single file. Provided by Lorenz Meier 2013-09-13 11:41:00 -06:00
Gregory Nutt
8d7ab4ba99 NSH cmp command by Andrew Twidgell 2013-07-18 08:24:29 -06:00
Gregory Nutt
cadc8bf98f Add -h option to NSH git command; And NSH mksmartfs command. From Ken Petit 2013-04-30 18:03:04 -06:00
patacongo
d2a0163da1 Add an NSH configuration for the NuTiny-SDK-NUC120. Still does not work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5678 42af7a65-404d-4744-a932-0658087f49c3
2013-02-26 21:53:12 +00:00
patacongo
978d3212ff Add support for a login script (in addition to the init script); Add logic so that a USB console session can connect and reconnect to the USB serial device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5582 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 22:11:04 +00:00
patacongo
f5544c80cf Extend the NSH mount command so that it will enumerate mountpoints if no arguments are provided
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5006 42af7a65-404d-4744-a932-0658087f49c3
2012-08-03 23:47:32 +00:00
patacongo
e44a6924fd Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4996 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 00:42:46 +00:00
patacongo
23c742b882 Prep for 6.19 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4847 42af7a65-404d-4744-a932-0658087f49c3
2012-06-15 16:23:17 +00:00
patacongo
ff8f3e4a68 Clean up NFS user interface; Fix NFS disconnect bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4841 42af7a65-404d-4744-a932-0658087f49c3
2012-06-14 14:35:31 +00:00
patacongo
252cf94de1 Minor change to NFS interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4840 42af7a65-404d-4744-a932-0658087f49c3
2012-06-14 13:08:48 +00:00
patacongo
b721aff249 NFS just finished a major weight reduction program
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4838 42af7a65-404d-4744-a932-0658087f49c3
2012-06-14 00:47:42 +00:00
patacongo
6104a388de Add NSH mv command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4830 42af7a65-404d-4744-a932-0658087f49c3
2012-06-11 23:47:31 +00:00
patacongo
d4569952c7 First round of compile fixes for IPv6
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4813 42af7a65-404d-4744-a932-0658087f49c3
2012-06-07 22:00:19 +00:00
patacongo
fb6c8a8887 NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4746 42af7a65-404d-4744-a932-0658087f49c3
2012-05-18 01:11:57 +00:00
patacongo
8c86dc468e Update of NSH nfsmount command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4735 42af7a65-404d-4744-a932-0658087f49c3
2012-05-14 14:25:57 +00:00
patacongo
179b1249ab NxWidgets: Fix a potential deadlock that can occur waiting for toolbard geometry data
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4709 42af7a65-404d-4744-a932-0658087f49c3
2012-05-07 15:05:07 +00:00
patacongo
05a59b4751 Add configuration for testing NxWM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4708 42af7a65-404d-4744-a932-0658087f49c3
2012-05-07 12:03:33 +00:00
patacongo
4eae928050 NSH fix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4707 42af7a65-404d-4744-a932-0658087f49c3
2012-05-07 11:49:16 +00:00
patacongo
2462b79e19 Add GPIO support to STMPE11 driver; NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4701 42af7a65-404d-4744-a932-0658087f49c3
2012-05-05 23:17:25 +00:00
patacongo
db2ac36d7a NSF update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4696 42af7a65-404d-4744-a932-0658087f49c3
2012-05-03 23:37:34 +00:00
patacongo
2092af7208 NSF update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4695 42af7a65-404d-4744-a932-0658087f49c3
2012-05-03 23:32:53 +00:00
patacongo
d2582f78e4 NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4650 42af7a65-404d-4744-a932-0658087f49c3
2012-04-23 23:21:30 +00:00
patacongo
4c7fbd1357 NFS fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4649 42af7a65-404d-4744-a932-0658087f49c3
2012-04-23 21:07:03 +00:00
patacongo
e90d79595d NFS updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4647 42af7a65-404d-4744-a932-0658087f49c3
2012-04-23 20:33:25 +00:00
patacongo
4d08da0348 Kconfig updated + NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4646 42af7a65-404d-4744-a932-0658087f49c3
2012-04-23 19:55:32 +00:00
patacongo
00b45bc449 More NFS updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4638 42af7a65-404d-4744-a932-0658087f49c3
2012-04-20 23:15:41 +00:00
patacongo
8d9253461a 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
3ef447cf6e Add dmesg command that can be used to dump the syslog
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4382 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 15:27:44 +00:00
patacongo
f392209c72 NSH now uses the new Telnet daemon and built-in tasks started by NSH can be used over Telnet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4361 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 16:04:09 +00:00
patacongo
fe6136766a Move lib/stdio/lib_fgets.c to apps/system/readline; simplify fgets(); use readline instead of fgets in NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4356 42af7a65-404d-4744-a932-0658087f49c3
2012-02-01 19:07:57 +00:00
patacongo
a05c1d4bc2 Update documentation, change CONFIG_EXAMPLES_NSH to CONFIG_NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3394 42af7a65-404d-4744-a932-0658087f49c3
2011-03-18 20:35:31 +00:00
patacongo
4923fdabc1 Move NSH to apps/ as library
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3393 42af7a65-404d-4744-a932-0658087f49c3
2011-03-18 19:46:25 +00:00