Commit Graph

193 Commits

Author SHA1 Message Date
Gregory Nutt
2b6a1fa186 NSH: More break documentation 2014-01-18 10:26:12 -06:00
Gregory Nutt
8d06f9d04d NSH: Improved documentation of the break command 2014-01-18 10:20:22 -06:00
Gregory Nutt
612d8ed14c NSH: Add a break command; if-then-else and looping behavior can not be configured out of the build for small systems that need minimal scripting capability 2014-01-18 09:39:16 -06:00
Gregory Nutt
45121c8709 NSH: Loosen up if-then-else-fi syntx so that a command can be on the same line as the 'then' and 'else' tokens. This allows, as an example, 'if true; then echo true; else echo false; fi' which is much more bash-like 2014-01-17 18:03:23 -06:00
Gregory Nutt
cfb7c77ed3 NSH: Add support for while-do-done and until-do-done loops 2014-01-17 15:56:32 -06:00
Gregory Nutt
97e1d8b535 Add true and false commands; repartition some logic to better support forthcoming looping 2014-01-17 13:24:44 -06:00
Gregory Nutt
dd9c8ab4f9 NSH: Fix redirection of output to a file. That was broken with recent changes 2014-01-16 07:30:15 -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
b889cae796 Cosmetic clean-up in preparation for TCP write buffering change 2014-01-13 08:21:18 -06:00
Gregory Nutt
3698289943 Recent NSH changes broke the minimal NSH configuration 2014-01-12 18:09:19 -06:00
Gregory Nutt
5cc656d71d Fix a memory leak in last NSH change: Forgot to close a temporary file 2014-01-12 14:16:05 -06:00
Gregory Nutt
b034b169fb NSH can not handle command arguments that are concatenations of constant strings, command output, application program output, and environment varaible values. 2014-01-11 13:18:12 -06:00
Gregory Nutt
65b4921b23 Back quoted NSH arguments now functional 2014-01-11 09:50:54 -06:00
Gregory Nutt
d499f287ad Add support for backquoated commands as command arguments 2014-01-10 18:42:24 -06:00
Gregory Nutt
09d0aa815d NSH parser: Separate logic that executes a command into a separate function 2014-01-10 16:15:14 -06:00
Gregory Nutt
819a4b5779 NSH: Separate command line parsing from command execution. Add support for multiple, semicolone separated commands on each line 2014-01-10 15:23:26 -06:00
Gregory Nutt
f1540e461c NSH: Separate command line parsing from command execution 2014-01-10 13:50:36 -06:00
Gregory Nutt
de324350b5 NSH: Code expects CONFIG_NSH_DRIPADDR and CONFIG_NSH_NETMASK even if DHCPC is necessary. For now, just removed the dependency on DHCPC in the Kconfig file, but more thought is needed. 2014-01-09 13:39:40 -06:00
Gregory Nutt
700b3989fb Add support for the XPT2046 touchscreen controller on the Viewtool LCD module 2014-01-09 10:57:17 -06:00
Gregory Nutt
e0156d95a1 NSH Configuration: Refactor networking and netutils dependencies 2014-01-09 10:46:28 -06:00
Gregory Nutt
dfeb2b1910 README and other cosmetic updates 2014-01-04 08:38:05 -06:00
Gregory Nutt
0b4d203c7b Move nuttx/configs/stm3240g-eval/src/up_cxxinitialize.c to apps/platform/stm3240g-eval/ 2013-12-29 15:02:51 -06:00
Gregory Nutt
46184187b3 procfs/: Extenstive architectural changes and enhancements by Ken Pettit 2013-12-12 09:21:55 -06:00
Gregory Nutt
1b4869300a Modified NSH 'df -h' command to do some saner conversions. From Ken Pettit 2013-12-12 08:50:21 -06:00
Gregory Nutt
d9f6b144bc Move ramdisk.h to include/nutt/fs/ramdisk.h 2013-12-10 09:42:58 -06:00
Gregory Nutt
4efd07e14b SAMA5 NAND: bugfixes 2013-12-06 11:34:29 -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
36345c7234 NSH mount count updated from Ken Pettit 2013-11-17 12:30:04 -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
cdd15a12f6 NSH library: Allow USB trace without a USB console 2013-11-06 07:09:00 -06:00
Gregory Nutt
74b0933088 Add skip= and count= options to the NSH hexdump command. From Ken Pettit 2013-11-01 07:15:14 -06:00
Gregory Nutt
95be6425a9 Another case where we should use the routing table: There may be multiple routers on the same network. In that case, we have to search for the routing table for the router that forwards to the destination address. We do this when we determine the MAC address we want in the ARP logic 2013-10-05 19:08:57 -06:00
Gregory Nutt
28915376e5 Fix some delroute errors 2013-10-05 10:34:38 -06:00
Gregory Nutt
ff88e86ef2 Add NSH addroute and delroute commands 2013-10-05 15:42:20 -06:00
Gregory Nutt
2050443d5e Remove some warnings 2013-10-01 12:10:09 -06:00
Gregory Nutt
f6e948fa04 More improvements to the minimal NSH when there is no file system and when print fieldwidths are suppressed 2013-10-01 11:52:35 -06:00
Gregory Nutt
c4e46f5b62 Changes to NSH and readline to permit NSH to work on a platform with no file system 2013-09-30 11:34:04 -06:00
Gregory Nutt
cbd35d4fee Fix NSH default IP address 2013-09-17 15:51:33 -06:00
Gregory Nutt
fd832f1c4a Eliminate a warning when DHCP is not enabled 2013-09-17 10:48:30 -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
4bb75f9a3f More ARMv7-A files that are just copies of the ARMv4/5 files for now 2013-07-19 11:43:04 -06:00
Gregory Nutt
8d7ab4ba99 NSH cmp command by Andrew Twidgell 2013-07-18 08:24:29 -06:00
Gregory Nutt
60e6546ffb Add missing NSH configuration settings. Correct some conditional logic for STM32 FALSH pre-fetch settings. From Lorenz Meier 2013-06-02 13:16:35 -06:00
Gregory Nutt
b673cbebb9 Updates to README files 2013-06-01 17:25:16 -06:00
Gregory Nutt
424fbe6583 .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00
Gregory Nutt
f9ab52bb5a 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
dba4210e37 Fix STM32L15X vector definitions; Fix STM32L-Discovery LED controls. The NSH configuration is now fully functional on the STM32L-Discovery board. 2013-05-21 11:25:30 -06:00
Gregory Nutt
f2139ef029 Misc changes for clean built od mikroe-stm32f4 configurations 2013-05-01 09:21:13 -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
Gregory Nutt
16f8dea77e Fix test of range of skip= argument in NSH dd command. From Ken Petit 2013-04-24 07:02:32 -06:00