Commit Graph

351 Commits

Author SHA1 Message Date
Gregory Nutt
b7b943067a NSH: Fix formatting of ifconfig Local Loopback output 2015-08-26 07:59:12 -06:00
Gregory Nutt
ce3a2dc0d4 NSH changes to work with the network local loopback device 2015-08-24 13:59:52 -06:00
Pavel Pisa
64fb2c63b6 Correct numerous places where NETUTILS_DNSCLIENT was instead of NETDB_DNSCLIENT 2015-08-20 16:08:45 -06:00
Gregory Nutt
74801cf38e apps/tools/mkkconfig.sh: The top-level Kconfig file is not auto-generated. The autogenerated Kconfig file will be constructed so that every second level directory that contains a Kconfig file will automatically be sourced 2015-08-11 17:49:10 -06:00
Gregory Nutt
820c5c42dd readline/NSH: Extend the tab-completion logic so that NSH commands can also be completed by pressing the tab key 2015-07-30 12:11:58 -06:00
Gregory Nutt
0c85a9f4b3 Eliminates a warning about unused variable 2015-07-29 19:57:31 -06:00
Gregory Nutt
f1b4b4d47a Fix a few mistakes I made on the last commit 2015-07-28 07:30:05 -06:00
Gregory Nutt
766886310d readline: Update initial readline commit -- make option configurable. Add an interface to de-couple the readline implementation from NSH. Misc. updates for coding style 2015-07-28 07:17:50 -06:00
Gregory Nutt
3a57f9e2ef Adjust for increased size of the scheduling policy field from 1 to 2 bits to allow additional, planned scheduling policies 2015-07-23 10:15:57 -06:00
Gregory Nutt
62853218d3 Eliminate a warning detected by nuttx/tools/testbuild.sh 2015-07-22 14:09:29 -06:00
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