Commit Graph

791 Commits

Author SHA1 Message Date
Gregory Nutt
25f144fd55 NSH: Fix compile issue from all of the recent NETDB changes. If NETDB is not enabled, we need to use inet_pton() instead of gethostbyname() 2015-07-17 08:33:22 -06:00
Gregory Nutt
25d45d642f Add an NSH nslookup command 2015-07-13 11:19:02 -06:00
Gregory Nutt
ba72767d09 apps/netutils/netlib and other files: Create netlib wrapper functions around dns_getserver() and dns_setserver() to isolate application code from changes to those interfaces. 2015-07-12 11:53:23 -06:00
Gregory Nutt
812450ebe6 If NSH or Webclient is selected, make sure that CONFIG_LIBC_NETDB is enabled; reanem dnsclient.h to dns.h 2015-07-12 09:25:39 -06:00
Gregory Nutt
c7bd1f4186 Replaces calls to non-standard dns_hostip() with calls to the standard gethostbyname() 2015-07-11 08:15:29 -06:00
Gregory Nutt
effda16cf5 DNS: Remove some unused, non-functional DNS functions 2015-07-11 07:17:11 -06:00
Gregory Nutt
5e8928d009 Remove bogus references to CONFIG_HAVE_GETHOSTBYNAME 2015-07-10 14:03:28 -06:00
Gregory Nutt
48c36800f5 apps/netuils/dnsclient and include/netutils/dnsclient.h: Move the DNS client logic into the NuttX C library. It is a necessary part for the full implementation of the netdb logic and provides more flexibility in that location. 2015-07-10 11:31:13 -06:00
Gregory Nutt
74aa0f21c5 NSH uname command: Uninitialized variable caused failures in some unlucky cases 2015-07-05 09:06:13 -06:00
Gregory Nutt
584284adc3 NSH uname, Use unknown if board name is not known 2015-07-05 08:42:00 -06:00
Gregory Nutt
fa8f6d53e1 Update README 2015-07-05 06:51:39 -06:00
Gregory Nutt
243694308e NSH uname command will now print the board directory for -i option 2015-07-05 06:47:29 -06:00
Gregory Nutt
d710b7c3b7 Add support for the NSH uname command 2015-07-04 15:13:11 -06:00
Gregory Nutt
f9afefe7e9 Fix a typo in a Kconfig file 2015-07-04 13:17:10 -06:00
Gregory Nutt
95eea325cf Add poweroff and reboot NSH commands as alternatives to the shutdown command 2015-07-04 12:44:24 -06:00
Gregory Nutt
165637ce27 The NSH shutdown option should be called --reboot, not --reset, for compatibility with the statndard shutdown command 2015-07-04 11:39:44 -06:00
Gregory Nutt
a2a1530694 The NSH shutdown command now supports the --reset option, if available in hardware 2015-07-04 11:11:16 -06:00
Gregory Nutt
fa9e1812f8 Oops.. forgot to add a file before the last commit 2015-07-04 08:44:42 -06:00
Gregory Nutt
a18ed33d99 NSH now supports a shutdown command if CONFIG_BOARDCTL_POWEROFF-y 2015-07-04 08:20:19 -06:00
Gregory Nutt
d5b6949c9f Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:14:53 -06:00
Gregory Nutt
90679a633a NSH mount command now recognizes the Union file system type 2015-06-07 08:18:07 -06:00
Gregory Nutt
fe2c662ee8 Trivial change for consistency. 2015-05-27 08:43:50 -06:00
Gregory Nutt
5f17ec1fa2 Enhanced output to NSH ping command from Max Neklyudov 2015-05-27 08:25:26 -06:00
Gregory Nutt
905f881162 Enhancements to NSH ifconfig for case of multi-link operation, TUN device and local connections. From Max Neklyudov. 2015-05-19 12:26:20 -06:00
Gregory Nutt
c07a5b2775 Local sockets: Add poll support for Unix stream sockets. From Jussi Kivilinna. 2015-05-12 07:41:12 -06:00
Gregory Nutt
49bb0ed48e time.h: Add localtime prototypes; NSH: Correct test for gmtime_r return value 2015-04-21 09:26:18 -06:00
Gregory Nutt
10fc3ed1ac configs/sim/src: Add logic to test localtime and TZ database. See apps/system/README.txt for info 2015-04-15 11:00:40 -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
4a2000e2ae Ooops accidentally committed some trash debug code 2015-04-07 12:18:08 -06:00
Gregory Nutt
6ad0579b85 Modbus: Misc cleanup 2015-04-07 12:16:15 -06:00
Gregory Nutt
9fcd34f1c4 NSH initialization now calls boardctl(BOARDIOC_INIT) instead of board_app_initaliaze. Modify all configurations: Make sure that CONFIG_LIB_BOARDCTL=y appears wherever CONFIG_NSH_ARCHINIT=y appears. Remove support for CONFIG_NSH_ARCHMAC. It is not used and there are better ways to do that operation 2015-03-31 12:14:16 -06:00
Gregory Nutt
6bad91308d Rename arch_nshinitialize() to board_app_initialize() 2015-03-31 10:21:31 -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
d8d4a3486c SAMV7 USB: Updates to early initialization logic 2015-03-24 10:05:21 -06:00
Gregory Nutt
f81be29c2f Costmetic changes name while debugging a filename issue 2015-03-15 12:22:12 -06:00
Gregory Nutt
edf876ed1a Add missing options to NSH Library Kconfig. From Freddie Chopin 2015-03-02 06:16:38 -06:00
Gregory Nutt
f5aac7178e Fix some time value changes; mostly changing greater than 1000000000 to greater than or equal to 1000000000. From Juha Niskanen 2015-02-20 07:07:36 -06:00
Gregory Nutt
ae142c0605 NSH: The default priority of the network initialization thread should be lower. It is CPU intensive and can interfere with other operations 2015-02-17 13:14:50 -06:00
Gregory Nutt
d32e66b6a2 apps/netutils/netlib: Add utilities to convert to/from prefix lengths from/to 128-bit network masks. Modify the NSH IPv6 ifconfig command to show the network mask in a more standard, human readable way. 2015-02-06 10:23:15 -06:00
Gregory Nutt
dc527f5c9d Fix errors in range of IPv6 netmask range in Kconfig files 2015-02-05 10:47:42 -06:00
Gregory Nutt
1b9d7c1522 ICMPv6: Some initial bugfix from first tests of the ICMPv6 auto-configuration logic. so far so good but a lot more testing is needed 2015-02-03 16:19:08 -06:00
Gregory Nutt
6273eb0160 ICMPv6: This completes coding of the ICMPv6 auto-configuration feature. It is not yet functional 2015-02-03 15:40:56 -06:00
Gregory Nutt
5499189417 Add netlib and application hooks for ICMPv6 auto-configuration (still incomplete 2015-02-03 08:01:55 -06:00
Gregory Nutt
3b60c71103 NSH: Fix error in conditional compilation in PS command. From Macs N 2015-02-03 07:21:56 -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
72d3a733a8 Elminate some warnings with TCP and UDP are disabled 2015-01-29 09:33:45 -06:00
Gregory Nutt
b7fa5a3359 Unix domain: A few fixes from early integration 2015-01-27 16:39:30 -06:00
Gregory Nutt
5060e08fcb Unix domain: With these changes I can build a system with no link layer enabled, only Unix domain sockets 2015-01-27 15:26:03 -06:00
Gregory Nutt
a4e66459d0 Various fixes to get Unix domain sockets to build on the simulator without Ethernet 2015-01-27 14:11:46 -06:00
Gregory Nutt
0c7864ae68 NSH: A few minor improvements/corrections to the network status presentation 2015-01-24 09:11:12 -06:00
Gregory Nutt
6d2ecf8a79 Fix another error in conditional compilation; plus some additional cosmetic changes 2015-01-24 09:04:28 -06:00
Gregory Nutt
d001ccb196 Correct a typo in conditional compilation 2015-01-24 08:38:13 -06:00
Gregory Nutt
beaa7b74a6 Networking: Clean up network status collection and presentation for IPv6 2015-01-24 08:26:12 -06:00
Gregory Nutt
55ac29ac27 Networking: Various bugfixes related to IPv6 ping 2015-01-23 14:40:09 -06:00
Gregory Nutt
b39fb98d86 apps/nshlib: Add the ping6 command to support checking IPv6 networks. NSH logic is complete but still missing some network level support 2015-01-23 12:49:49 -06:00
Gregory Nutt
c96aa9218a Correct name of fields in struct sockaddr_in6: sin6_port and sin6_family, not sin_port and sin_family 2015-01-20 18:14:09 -06:00
Gregory Nutt
27b3913c92 Fix defaults for IPv6 netmask 2015-01-20 13:48:03 -06:00
Gregory Nutt
71d2ae0fac NSH library: Disable put and get commends of TFTP client is not enabled; disable wget command if web client is not enabled 2015-01-19 10:32:46 -06:00
Gregory Nutt
8fbc907aa2 apps/nshlib: Add logic to initialize IPv6 addresses, to display IPv6 addresses, and enough IPv6 ifconfig to allocation compilation (logic still not implemented) 2015-01-19 09:59:43 -06:00
Gregory Nutt
9bff050ad0 Update ChangeLog 2015-01-19 09:03:10 -06:00
Gregory Nutt
953c0fb069 Rename IPv4 netlib functions and files to make room in the namespace for corresponding IPv6 functions and files 2015-01-18 14:17:00 -06:00
Gregory Nutt
36118a1b76 Networking: Replace all references to net_ipaddr_t with either in_addr_t on net_ipv6addr_t. The goal is to support both IPv4 and IPv6 simultaneously. This requires that the two types be distinct and not conditionally typedef'ed to net_ipaddr_t. 2015-01-16 12:30:18 -06:00
Gregory Nutt
308818b718 NSH TFTP get command: Wrong file name used for the destination. From Lazlo 2014-12-10 18:37:43 -06:00
Gregory Nutt
fa035373e4 Correct spelling: MOUNTPOINT not MOUNTPOUNT. Numerous places. Some are problems. From Woohan Lee 2014-12-01 06:41:30 -06:00
Gregory Nutt
64b8c1841c Clarify MTU/BUFSIZE in apps/ README.txt files and Documentation 2014-11-16 08:50:36 -06:00
Gregory Nutt
4542091dac NSH USB Console: Add logic to restart the console wait if an error occurs while reading from the console. In USB console startup, the logic must be able to open the USB serial and receive 3 newlines. However, it the USB driver is disconnected or otherwise fails before the 3 newlines are received, the receive loop becomes a killer, infinite loop, CPU hog. Noted by spasbyspas 2014-11-16 06:48:46 -06:00
Gregory Nutt
f9074a02ad Network: Various fixes for clean compile with both Ethernet and SLIP 2014-11-15 13:52:39 -06:00
Gregory Nutt
da8ba5dfd5 Remove use of CONFIG_MASK_TASK_ARGS from NSH 2014-11-13 06:27:29 -06:00
Gregory Nutt
eaddb9059f Emit a warning if number of arguments to builtin or file app can be truncated 2014-11-12 14:23:14 -06:00
Gregory Nutt
131b8c5946 Move CONFIG_NSH_TMPDIR to CONFIG_LIBC_TMPDIR 2014-11-05 07:49:20 -06:00
Gregory Nutt
a7121f98d9 Fix some errors that I introduced into NSH telnet this morning 2014-10-29 15:25:34 -06:00
Gregory Nutt
21d498f695 Fix some typos 2014-10-29 10:48:50 -06:00
Gregory Nutt
5d360c72b9 Fix problem with trailing whitespace (newline) in Telnet username/password. Noted by Lazlo 2014-10-29 10:29:21 -06:00
Gregory Nutt
2719815dd9 Update everything under apps/ to use the corrected syslog interfaces 2014-10-08 11:34:22 -06:00
Gregory Nutt
79169c711f fix reversed in/out file closing when an error occurs. From Ken Pettit 2014-10-03 11:22:37 -06:00
Gregory Nutt
763519b00a NSH Fix ls -l output for regular files 2014-09-30 14:41:58 -06:00
Gregory Nutt
f856424ce6 Add support for a custom NSH ROMFS startup image header file location. From Martin Lederhilger 2014-09-30 06:43:49 -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
4a3b3c2d46 Eliminate some nshlib warngings 2014-09-16 16:08:06 -06:00
Gregory Nutt
d71be2d021 Fix more errors associated with posix_spawn system calls 2014-09-12 17:09:18 -06:00
Gregory Nutt
4eadcabc1b Several commands must be disabled in the kernel build because they depend on interfaces that are not available outside of the kernel: dd, df, losetup, mkfatfs, mkdr, and ps. 2014-09-07 10:46:06 -06:00
Gregory Nutt
d6bcd1a93a Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished) 2014-09-06 08:00:47 -06:00
Gregory Nutt
00545910f0 Fix NSH PS command: If there are not argument, it would print garbage for argument list 2014-09-01 16:47:20 -06:00
Gregory Nutt
7c7a81aa69 Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL 2014-08-29 14:47:22 -06:00
Gregory Nutt
61ab95593f Update README files, Kconfig help comments, and make the network monitor not EXPERIMENTAL 2014-08-18 07:24:47 -06:00
Gregory Nutt
bf98b2bbac Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires 2014-08-17 16:51:56 -06:00
Gregory Nutt
5be7dd2140 NSH net monitor: use a seamphore instead of boolean; use sem_timedwait instead of a boolean to communicate 2014-08-17 14:48:27 -06:00
Gregory Nutt
c18504f820 Minor corrections during integration of link status monitor 2014-08-17 11:26:02 -06:00
Gregory Nutt
5943cf2c2b Extend the NSH network initialization logic. There is now an option that will create a network monitor thread that will monitor the state of the link. When the link goes down, the code will attempt to gracefully put the Ethernet driver in a down state; When the link comes back, the code will attempt to bring the network back up. 2014-08-17 09:51:26 -06:00
Gregory Nutt
1fd7fea390 More of the PHY event notification logic change: Fix some compile errors when full feature is enabled; Add some missing ioctol logic 2014-08-16 15:04:09 -06:00
Gregory Nutt
b4bc994f50 Cosmetic changed, updated README files, improved comments 2014-08-10 13:11:31 -06:00
Gregory Nutt
b651f37ce7 Remove CONFIG_DISABLE_CLOCK 2014-08-07 12:35:24 -06:00
Gregory Nutt
dc57af80fc NSH networking: There is now a configuration option that will bring up the network on an separate thread. Since the network bring-up is asynchronous, there are not serial console start-up delays due to the network negotiation time. 2014-08-06 11:59:41 -06:00
Gregory Nutt
d4aa9e7b6d NSH Networking: Also add an option to let platform-specific logic select the MAC address. 2014-08-06 10:12:10 -06:00
Gregory Nutt
16b2090ca0 NSH Networking: Software assigned MAC address is now configurable. From Lazlo 2014-08-06 09:19:26 -06:00
Gregory Nutt
6671be97cc dd support for a USB keyboard as the NxConsole and text widget input. Not fully functional as of this initial check-in. Basic functionality is there, but there are conditions were the keyboard gets lost. 2014-07-30 17:01:51 -06:00
Gregory Nutt
85f245202b SAMA5: Poll USB keyboard at a higher rate for better response 2014-07-29 08:57:35 -06:00
Gregory Nutt
ddc799d049 Fix some cloned errors in SAM GPIO interrupt setup 2014-07-07 15:54:37 -06:00
Gregory Nutt
187e4f204d NSH Keyboard Input: Worked okay until you try to disabled the keyboard 2014-07-06 08:09:33 -06:00
Gregory Nutt
633fae427d 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
069c43a5dd Remove all inclusion of uip.h 2014-07-04 16:58:22 -06:00
Gregory Nutt
14297d4e30 NSH Keyboard: Close stdin before trying to reopen. Otherwise, driver will persist 2014-07-03 17:08:59 -06:00
Gregory Nutt
9a49735c4b NSH: Add an option to take stdin from a USB keyboard device 2014-07-03 16:25:02 -06:00
Gregory Nutt
e7fedfa4a5 NET: Rename functions in apps/netutils/netlib to begin with netlib_ vs uip_ 2014-07-02 16:52:02 -06:00
Gregory Nutt
2ee5041477 NET: Rename uiplib/UIPLIB to netlib/NETLIB 2014-07-02 16:04:25 -06:00
Gregory Nutt
58424404f0 NSH: if # appears on line, need to comment ignore additinal commands on the line 2014-07-01 13:43:40 -06:00
Gregory Nutt
f4f30498f8 NET: Rename uip_ping to icmp_ping 2014-06-30 18:15:59 -06:00
Gregory Nutt
b416696205 Cosmetic changes, updates to README files, updates to some comments 2014-06-30 17:52:59 -06:00
Gregory Nutt
165e5df670 NET: Renaming of IP address types 2014-06-29 12:22:50 -06:00
Gregory Nutt
460eb3333c SAMA5D4-EK: NSH confuration now has FAT/ROMFS, /dev/zero, /dev/random via TRNG, an NSH startup script, and a RAM disk at /tmp 2014-06-28 16:11:41 -06:00
Gregory Nutt
72abff23e3 Rename uip_driver_s net_driver_s 2014-06-27 16:48:12 -06:00
Gregory Nutt
a274d4232c NSH: Networking features modified to handle the case of SLIP networks. 2014-06-27 12:46:54 -06:00
Gregory Nutt
9009a21fd9 NET: Move statistcs from uip.h to new netstats.h to remove nasty circular inclusion problem. 2014-06-26 09:32:39 -06:00
Gregory Nutt
817e256db3 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
8107c43671 Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/netdev.h 2014-06-24 09:28:44 -06:00
Gregory Nutt
2b01e7c297 Add conversion of Intel HEX to binary 2014-06-15 12:07:27 -06:00
Gregory Nutt
2b0f1ed109 Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt
7a98f10283 The alternate console device CONFIG_NSH_CONDEV must not be defined unconditionally. This causes errors when using Telnet sessions. This was solved by adding CONFIG_NSH_ALTCONDEV: CONFIG_NSH_ALTCONDEV enables or disables the feature then, if enabled, CONFIG_NSH_CONDEV provides the alternative console device name 2014-05-05 08:52:02 -06:00
Gregory Nutt
05d21a62e7 Updates to the serialrx example from Bob Doison 2014-04-22 09:31:25 -06:00
Gregory Nutt
10e5365132 CONFIG_NSH_CONDEV is type string, not bool 2014-04-21 18:59:53 -06:00
Gregory Nutt
03ec268ef9 NSH library: malloc/free IOBUFFER instead of using stack 2014-04-21 18:12:59 -06:00
Gregory Nutt
b9cf7acb1a More trailing whilespace removal 2014-04-13 16:24:28 -06:00
Gregory Nutt
171db56b69 Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
bb851fc8b5 Make sure that there is one space between while and condition 2014-04-12 13:09:48 -06:00
Gregory Nutt
17702dbad2 Make sure that there is one space between if and condition 2014-04-12 12:53:19 -06:00
Gregory Nutt
8b386385ab The rest of the resolv->DNS client naming change: Renamed directories and header files 2014-04-11 12:41:13 -06:00
Gregory Nutt
51f553c9a4 Long needed clean up of DNS resolver for coding style and naming conventions 2014-04-11 12:25:32 -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
cf6895dac0 Eliminate some warnings 2014-03-26 16:31:26 -06:00
Gregory Nutt
138f6a627e Fix version number display in NSH prompt 2014-03-23 13:10:05 -06:00
Gregory Nutt
95a646b8d0 QEMU i486: New QEMU keyboard and VGA drivers from Lizhuoyi 2014-03-08 09:24:24 -06:00
Gregory Nutt
bb0e358048 Minor cleanup of some new configurations; warning removal with GCC 4.8.2 2014-03-06 13:31:13 -06:00
Gregory Nutt
26a5862153 cosmetic changes to README files and comments 2014-02-27 13:41: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
277ecb79c7 Should CPU load on each thread in the PS command 2014-02-27 11:11:24 -06:00
Gregory Nutt
89526241af For Telnetd password/username fixes from Bertikd Van den Bergh 2014-02-22 11:55:30 -06:00
Gregory Nutt
f1628d5055 NSH telnet: Use strncpy vs strcpy to avoid overrunning username and password buffers. From Bertold Van den Bergh 2014-02-22 10:31:20 -06:00
Gregory Nutt
20f6470e83 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
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
c4c49ffbb3 More changes for a correct NSH Windows natvie build 2014-02-07 10:56:24 -06:00
Gregory Nutt
5f385c17af Update README with configuration warning 2014-02-04 08:42:42 -06:00
Gregory Nutt
281332cedf Update documentation, mostly related to the command line editor 2014-02-03 10:56:52 -06:00
Gregory Nutt
82d71bb439 Add an EMACS-like command line editor that can be used wit NSH 2014-02-02 10:25:53 -06:00
Gregory Nutt
87fe636d40 NSH cosmetic changes 2014-01-24 09:49:17 -06:00
Gregory Nutt
1919b2f6a3 Networking: Improved status reporting and new carrier management interfaces. From Max Holtzberg 2014-01-21 10:21:45 -06:00
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
Gregory Nutt
5a6f09d791 Mostly updates and corrections to .gitignore files 2013-04-04 15:39:50 -06:00
Gregory Nutt
470a04b8f9 Clone svn:ignore directory atributed to .gitignore files 2013-04-04 14:27:29 -06:00
patacongo
0b6519156e More kernel build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5716 42af7a65-404d-4744-a932-0658087f49c3
2013-03-07 14:27:47 +00:00
patacongo
dd90abae95 More LPC1788 changes from Rommel Marcelo + a few kernel build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5715 42af7a65-404d-4744-a932-0658087f49c3
2013-03-07 01:52:30 +00: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
142c478747 Fix a readline bug. If a NUL is received, it would return end-of-file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5633 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 00:46:27 +00:00
patacongo
b956e3109e LPC17xx now supports FPU needed by LPC1788; LPC17xx can not use Mike's common vectors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5623 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 00:17:54 +00:00
patacongo
a6e6cb3daa Rename _TCB to struct tcb_s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
2013-02-04 18:46:28 +00:00
patacongo
a9f6de3d3b NSH needs to call pthread_detach() to avoid memory leak
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5601 42af7a65-404d-4744-a932-0658087f49c3
2013-02-03 13:48:20 +00:00
patacongo
7f474703fa 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
cca7618daa All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5599 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 19:32:46 +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
2a9cdbc492 The USB monitor now works with configs/stm32f4discovery/usbnsh
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5581 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 18:32:04 +00:00
patacongo
bf21cdcb7a The USB monitor now works with the stm32f4discover/nsh configuration (but not with the usbnsh configuration)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5580 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 17:42:58 +00:00
patacongo
404bb36bbd Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 21:55:16 +00:00
patacongo
0cefd784cf Add psock_poll(); Fix some warnings reported by Lorenz Meier; lm4f logic from JP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5557 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 18:39:53 +00:00
patacongo
f7fa7e6e34 Beginnings of definitions for the LPC1788; convert olimex-lpc1766stk to use kconfig-frontends
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5533 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 16:37:37 +00:00
patacongo
6ab00f4a93 Add internal API task_reparent(), used in posix_spawn(). Move libc/spawn/lib_ps.c to sched/task_posixspawn.c; Move libc/spawn/spawn.h to include/nuttx/spawn.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5531 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 01:52:42 +00:00
patacongo
40a93fdac9 Misc bug fixes related to NSH file execution
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5530 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 20:25:32 +00:00
patacongo
140d3e4374 NSH will now run files from the file system; Add logic to unload and clean-up after running a task from a file system; Extensions to builtin apps from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5529 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 18:32:13 +00:00
patacongo
fefb836376 Add a binary 'loader' so that builtin applications can be executed from the BINFS file system
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5525 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 19:08:23 +00:00
patacongo
ce0a475c9f Rename apps/include/apps.h to builtin.h. Move parts of apps/builtins/exec_builtin.c to binfmt/libbuiltin/libbuiltin_utils.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5524 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 17:05:00 +00:00
patacongo
f88475494d 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
b81afc12fd 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
a66f6e6d12 Fixes for l3s, USB composite, nfsmount, apps context build problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5458 42af7a65-404d-4744-a932-0658087f49c3
2012-12-24 17:49:58 +00:00
patacongo
b104cce86b Remove .context kludge from apps/ directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5455 42af7a65-404d-4744-a932-0658087f49c3
2012-12-23 22:17:09 +00:00
patacongo
88d3058222 Rename namedapp as simply builtin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5454 42af7a65-404d-4744-a932-0658087f49c3
2012-12-23 20:22:41 +00:00
patacongo
df5cae6bd5 configs/xtrs/nsh and pashello now use kconfig-frontends and build Windows native
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5422 42af7a65-404d-4744-a932-0658087f49c3
2012-12-09 17:34:53 +00:00
patacongo
2a0167d0af Patches for NSH disable background, and ARMv7M assembly from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5398 42af7a65-404d-4744-a932-0658087f49c3
2012-11-29 13:58:53 +00:00
patacongo
2d8bb1d2cb Add chip ID funcitions for Shenzhou and Cloudctrl boards; Extened NSH ifconfig command and improve DHCPC -- All from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5393 42af7a65-404d-4744-a932-0658087f49c3
2012-11-27 16:26:54 +00:00
patacongo
08f0823241 Missing comma in EVERY DELFILE/DELDIR macro call in every Makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5373 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 15:47:41 +00:00
patacongo
1d7bb0fa07 Most of the changes needed to support Windows native clean; distclean is has a problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
2012-11-17 18:54:53 +00:00
patacongo
c729930c69 Move some (hopefully) un-necessary quotes in Makefiles for Mike
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
2012-11-15 17:43:29 +00:00
patacongo
fdb8f8a0de Changes to get a clean ez80 build using the ZDS 5.1.1 toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5341 42af7a65-404d-4744-a932-0658087f49c3
2012-11-12 15:22:27 +00:00
patacongo
3e25d82213 Correct some issues with last check-in; ez80 still does not build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5339 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 23:44:31 +00:00
patacongo
ffe4fc1c0c Partial change: Removing bash ARCHIVE loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5336 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 16:24:40 +00:00
patacongo
b60be3682d Several patches from Petteri Aimonen (mostly NxWidgets)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5324 42af7a65-404d-4744-a932-0658087f49c3
2012-11-09 14:54:29 +00:00
patacongo
416434f834 Add interfaces flags, extend ifconfig, add ifup and ifdown commands (Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5308 42af7a65-404d-4744-a932-0658087f49c3
2012-11-04 18:54:04 +00:00
patacongo
93870670fa Add support for wget POST interface; from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5301 42af7a65-404d-4744-a932-0658087f49c3
2012-11-03 00:00:56 +00:00
patacongo
74ee7af434 Documentation update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5282 42af7a65-404d-4744-a932-0658087f49c3
2012-10-31 17:53:28 +00:00
patacongo
97fd74fbdd Add apps/netutils/codecs and associated NSH commands from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5280 42af7a65-404d-4744-a932-0658087f49c3
2012-10-31 14:36:00 +00:00
patacongo
d943f61d2d DNS fixes from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5268 42af7a65-404d-4744-a932-0658087f49c3
2012-10-28 13:20:36 +00:00
patacongo
5969fde964 Update documentation for recently added configuration options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5241 42af7a65-404d-4744-a932-0658087f49c3
2012-10-20 21:42:19 +00:00
patacongo
eeb6e62b74 Ping/DNS fixes (part 2 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5236 42af7a65-404d-4744-a932-0658087f49c3
2012-10-20 14:15:59 +00:00
patacongo
9db7c9aadc DNS fixes from Darcy Gong (part 1 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5235 42af7a65-404d-4744-a932-0658087f49c3
2012-10-20 13:47:30 +00:00
patacongo
9c58ee4a6f You can now configure a login for Telnet NSH session -- from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5231 42af7a65-404d-4744-a932-0658087f49c3
2012-10-12 16:59:17 +00:00
patacongo
94acbb2e37 Resync new repository with old repo r5166
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5153 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:18:44 +00:00
patacongo
e136f3a64e Changes needed for clean ez80 compile with ZDS toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5147 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 19:33:47 +00:00
patacongo
f8e08440f7 Email address change in apps/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5143 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 16:58:49 +00:00
patacongo
5d59ee57b5 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
3f958a3e8c Kconfig: Standardize board LED and button configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5112 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 03:31:46 +00:00
patacongo
74e24323b5 More Shenzhou board logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5111 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 02:10:56 +00:00
patacongo
18a9d5dc92 Add Kconfig settings for the LPC17xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5094 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 17:20:19 +00:00
patacongo
0924661c3e Add perror()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5061 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 19:01:14 +00:00
patacongo
8aa93837e2 More patches/bugfixes from Kate
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5056 42af7a65-404d-4744-a932-0658087f49c3
2012-08-26 23:29:37 +00:00
patacongo
feec38f264 Fixes to apps/*/Make.defs files needed for auto-configuration build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5027 42af7a65-404d-4744-a932-0658087f49c3
2012-08-14 15:45:53 +00:00
patacongo
9dbb75f034 I learned how to spell PSEUDO
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5010 42af7a65-404d-4744-a932-0658087f49c3
2012-08-05 17:44:11 +00:00
patacongo
1b817a3333 Update NSH documentation; Add option to reduce size of help commnd without completely eliminating it
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5009 42af7a65-404d-4744-a932-0658087f49c3
2012-08-04 22:17:37 +00:00
patacongo
40d7a25240 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
5528942d9c Add the NSH df command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5007 42af7a65-404d-4744-a932-0658087f49c3
2012-08-04 00:37:25 +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
21d55c9185 Improve capability to traverse inodes in the NuttX psuedo-filesystem; now returns statfs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5005 42af7a65-404d-4744-a932-0658087f49c3
2012-08-03 22:04:14 +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
52fe89eb98 Lock the scheduler when starting NSH builtin applications to eliminate race conditions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4988 42af7a65-404d-4744-a932-0658087f49c3
2012-07-28 18:38:13 +00:00
patacongo
cea531d7dc PM update; NSH extension to catch return values
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4987 42af7a65-404d-4744-a932-0658087f49c3
2012-07-28 15:18:26 +00:00
patacongo
635f7151fb Fix some questionable MAC addresses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4956 42af7a65-404d-4744-a932-0658087f49c3
2012-07-19 22:32:19 +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
1b756ca24e Improve NFS retry logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4845 42af7a65-404d-4744-a932-0658087f49c3
2012-06-14 23:27:02 +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
647741e1a8 Massive naming fix: STMPE11->STMPE811
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4782 42af7a65-404d-4744-a932-0658087f49c3
2012-05-29 00:54:22 +00:00
patacongo
bf760f29b4 Add support for the USB trace cability in NSH when a USB console is used
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4774 42af7a65-404d-4744-a932-0658087f49c3
2012-05-26 18:05:26 +00:00
patacongo
cdac847a4d remove a warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4773 42af7a65-404d-4744-a932-0658087f49c3
2012-05-26 02:34:34 +00:00
patacongo
d2ef14cc47 Now have to press enter 3 times to start with USB NSH console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4772 42af7a65-404d-4744-a932-0658087f49c3
2012-05-26 01:45:37 +00:00
patacongo
66eeafb87a Fix packet size calculation in CDC/ACM and PL2303 USB serial drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4771 42af7a65-404d-4744-a932-0658087f49c3
2012-05-25 22:10:40 +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
40f3dff98c More NFS updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4639 42af7a65-404d-4744-a932-0658087f49c3
2012-04-21 00:11:17 +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
3766aebbb4 Developing a new way to handle application configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4609 42af7a65-404d-4744-a932-0658087f49c3
2012-04-14 20:01:08 +00:00
patacongo
c3d15159fa 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
330cb04348 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
08ff009855 Misc STM32 OTF FS driver fixes + More Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4590 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 17:13:04 +00:00
patacongo
fd496ea42f 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
3fe79ff511 Adding skeleton Kconfig files (part 3 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4566 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:33:17 +00:00
patacongo
bd5fd05965 Fix read() return value for the case of permissions problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4545 42af7a65-404d-4744-a932-0658087f49c3
2012-03-31 15:13:12 +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
6b6b12b09a Add a PIC32 configuration that supports only a Telnet console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4486 42af7a65-404d-4744-a932-0658087f49c3
2012-03-13 19:21:04 +00:00
patacongo
e8c43f0463 Add support for use of a USB serial device to provide NSH console I/O. Verified on the Sure PIPIC32MX board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4458 42af7a65-404d-4744-a932-0658087f49c3
2012-03-06 20:21:57 +00:00
patacongo
217e8451f9 Move all non-standard, NuttX header files into include/nuttx/net
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4450 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 23:18:34 +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
5c43eed652 FTPD daemon and example now build without errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4371 42af7a65-404d-4744-a932-0658087f49c3
2012-02-05 17:36:13 +00:00
patacongo
8c4b8c77fa Tried to get the Composite driver working on the LPC2148 (and failed)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4362 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 19:42:55 +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
53e5347643 Use realine instead of fgets in several other places
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4357 42af7a65-404d-4744-a932-0658087f49c3
2012-02-01 19:47:12 +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
37b87116bf More name changes: USBSER->PL2303 CDCSER->CDCACM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4337 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 23:04:17 +00:00
patacongo
c2266ac99a If we are using a USB serial console, then NSH must wait for the USB device to be connected
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4327 42af7a65-404d-4744-a932-0658087f49c3
2012-01-24 00:00:31 +00:00
patacongo
49ffd7577a Fix errors in gmtime and gmtime_r
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3933 42af7a65-404d-4744-a932-0658087f49c3
2011-09-01 17:56:03 +00:00
patacongo
39df853260 Add NSH date command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3932 42af7a65-404d-4744-a932-0658087f49c3
2011-09-01 15:09:49 +00:00
patacongo
298db6b143 Make NX and NXTEXT built-ins; extend stm3210e-eval/nsh2 config to run the NX example from the NX command line
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3791 42af7a65-404d-4744-a932-0658087f49c3
2011-07-16 15:52:15 +00:00
patacongo
5d5d7d7b88 Correct several errors in STM32 serial port configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3744 42af7a65-404d-4744-a932-0658087f49c3
2011-07-04 22:38:45 +00:00
patacongo
10d3d3d4bb Add stm32/nsh2 config; Add option to use any TTY for NSH console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3743 42af7a65-404d-4744-a932-0658087f49c3
2011-07-04 19:52:43 +00:00
patacongo
6be31c51a0 Remove unused header files; eliminate warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3731 42af7a65-404d-4744-a932-0658087f49c3
2011-06-21 23:53:00 +00:00
patacongo
3932092be0 Elminate some warnings on tiny systems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3719 42af7a65-404d-4744-a932-0658087f49c3
2011-06-17 18:20:14 +00:00
patacongo
33a74e2ffa More FTP bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3669 42af7a65-404d-4744-a932-0658087f49c3
2011-06-05 14:08:26 +00:00
patacongo
4287df5472 More FTP fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3666 42af7a65-404d-4744-a932-0658087f49c3
2011-06-03 22:53:36 +00:00
patacongo
da50c819f9 More FTP bugfixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3665 42af7a65-404d-4744-a932-0658087f49c3
2011-06-03 20:27:30 +00:00
patacongo
c4b747f9f9 Add a simple shell and configuration to verify the FTP client library
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3656 42af7a65-404d-4744-a932-0658087f49c3
2011-06-01 23:09:29 +00:00
patacongo
c64342388e Add E1000 PIC NIC driver from Yu Qiang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3638 42af7a65-404d-4744-a932-0658087f49c3
2011-05-21 18:25:31 +00:00
patacongo
a2ac5f8bf4 Mostly cosmetic changes from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3575 42af7a65-404d-4744-a932-0658087f49c3
2011-05-07 19:22:15 +00:00
patacongo
6140acf35e THTTPD works on LPCXpresso
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3514 42af7a65-404d-4744-a932-0658087f49c3
2011-04-16 15:43:39 +00:00
patacongo
729251122c Add time and uptime
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3506 42af7a65-404d-4744-a932-0658087f49c3
2011-04-15 14:57:53 +00:00
patacongo
75ce6ddea3 Fix error in strrch()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3501 42af7a65-404d-4744-a932-0658087f49c3
2011-04-13 22:47:04 +00:00
patacongo
9e4d576dd0 Changes for clean build of app/ directory with Windows toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3488 42af7a65-404d-4744-a932-0658087f49c3
2011-04-10 16:08:08 +00:00
patacongo
9123441ebe Fix AVR build, Add hooks for kernel threads
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3477 42af7a65-404d-4744-a932-0658087f49c3
2011-04-07 01:54:59 +00:00
patacongo
a2fafbe2cd Attach mem mgmt fault handle if MPU is enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3471 42af7a65-404d-4744-a932-0658087f49c3
2011-04-06 01:51:07 +00:00
patacongo
02d07fcafc Progress toward kernel build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3465 42af7a65-404d-4744-a932-0658087f49c3
2011-04-05 01:46:55 +00:00
patacongo
893d4dbbfe Pass __KERNEL__ define (or not) to all makes to handle small differences in user-/kernel-builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3459 42af7a65-404d-4744-a932-0658087f49c3
2011-04-03 18:42:33 +00:00
patacongo
306d0d331f New LIS331DL driver and VSN updates from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3457 42af7a65-404d-4744-a932-0658087f49c3
2011-04-03 14:26:05 +00:00
patacongo
9116f1964e Update apps/ Makefiles to fix environmental bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3450 42af7a65-404d-4744-a932-0658087f49c3
2011-04-01 15:18:02 +00:00
patacongo
9fc214c5a7 Renamed nuttapp to namedapp; add binfs to nammedapp/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3429 42af7a65-404d-4744-a932-0658087f49c3
2011-03-28 13:01:57 +00:00
patacongo
fbd30de285 Incorporate changes from Uros Platise
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3419 42af7a65-404d-4744-a932-0658087f49c3
2011-03-26 01:04:10 +00:00
patacongo
0da11876b0 apps/ initialization now occurs during the earlier context build phase
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3412 42af7a65-404d-4744-a932-0658087f49c3
2011-03-24 00:28:50 +00:00
patacongo
a30185e702 More build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3407 42af7a65-404d-4744-a932-0658087f49c3
2011-03-20 22:07:56 +00:00
patacongo
bafd2949c3 Move nuttx/examples to apps/examples
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3405 42af7a65-404d-4744-a932-0658087f49c3
2011-03-20 18:18:19 +00:00
patacongo
5b96d86bfb Move nuttx/netutils to apps/netutils
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3401 42af7a65-404d-4744-a932-0658087f49c3
2011-03-19 21:04:13 +00:00
patacongo
a399c7bddf Additional changes for clean NSH build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3400 42af7a65-404d-4744-a932-0658087f49c3
2011-03-19 17:29:36 +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