Commit Graph

320 Commits

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