Commit Graph

3028 Commits

Author SHA1 Message Date
Gregory Nutt
1f1d114901 Update some comments 2017-10-26 13:31:57 -06:00
Gregory Nutt
3788928cbf nshlib: df command no long uses the non-standard OS interface foreach_mountpoint(). No simply cats /proc/fs/blocks or /proc/fs/usage. 2017-10-26 13:28:37 -06:00
Gregory Nutt
20076688c2 nshlib: mount command no long uses the non-standard OS interface foreach_mountpoint(). No simply cats /proc/fs/mount when there are no arguments to the mount command. 2017-10-26 12:17:03 -06:00
Anthony Merlino
a8bf5718f5 apps/nshlib: ifconfig improvements 2017-10-24 17:26:17 -06:00
Gregory Nutt
a27294d788 apps/system/ping6: Use inet_ntop() to improve the appearance of the ping6 IPv6 address output. 2017-10-24 15:38:37 -06:00
Gregory Nutt
bf9bc28fcf system/ping and ping6: Fix a typo and also a place where = used when == intended. 2017-10-24 12:27:27 -06:00
Gregory Nutt
749ea9e881 This commit removes the ping6 command from NSH and replaces it with the apps/system/ping6 built-in command. The NSH ping6 command had to be removed because it violated the portable POSIX OS interface. The apps/system/ping6 command uses the sem-standard IPPROTO_ICMP6 socket interface.
Squashed commit of the following:

    apps/system ping and ping6:  Fix a backward test.
    apps/system/ping6: ping6 logic now builds without error.
    apps/system/ping and ping6:  Minor clean-up to configuration settings.
    apps/system/ping6:  Minor clean-up to be able to configure CONFIG_SYSTEM_PING6
    apps/nshlib:  Remove support for ping6 from NSH.
    apps/system/ping6:  Add IPPROTO_ICMPv6 ping6.  Initial commit is simply a clone of the IPPROTO_ICMP ping logic.
    Rename CONFIG_NET_ICMPv6_PING to CONFIG_NET_ICMPv6_SOCKET.
2017-10-24 11:19:41 -06:00
Gregory Nutt
bccf0092a4 nshlib: Remove some dangling IPv4 ping logic. system/ping: Add DNS hostname support. 2017-10-23 09:59:03 -06:00
Gregory Nutt
ed9dd1db53 Update a README.txt file 2017-10-23 09:22:42 -06:00
Gregory Nutt
c1ec7db8a9 This commite eliminates the ping command from NSH and replaces it with a ping 'built-in' at apps/system/ping. The original NSH version of ping violated the portable POSIX interface and, hence, had to be removed. The new system/ping command uses the new IPPROTO_ICMP AF_INET datagram sockets to implement ping.
Squashed commit of the following:

    apps/system/ping:  Fix some timing issues.
    apps/system/ping:  A few timing related corrections.
    apps/nshlib:  Remove support for the NSH 'ping' command.  The implementation of that command violated the portable POSIX interface and has been replaced with a ping 'built-in' command at apps/system/ping.
    apps/system/ping:  Add larger payload.  Verify content of echoed payload.
    apps/system/ping:  Various fixes for a clean compile
    system/ping: Add new build structure for system ping command.
2017-10-23 08:50:01 -06:00
Alan Carvalho de Assis
51cf069aef apps/examples/adps9960: Add ADPS-9960 example 2017-10-23 07:05:07 -06:00
Gregory Nutt
602261bacb apps/fsutils/mkfatfs: Add a file that was part of a previous commit (but I missed it). 2017-10-21 08:51:45 -06:00
Gregory Nutt
35ec1b9244 Squashed commit of the following:
apps/fsutils/mkfatfs:  New user-space fatfs appears to work fine.
    apps/fsutils/mkfatfs:  Move mkfatfs from the OS to here.  Not fully integrated on the intial commit.
2017-10-20 12:35:19 -06:00
Juha Niskanen
63e086d1f7 Merged in juniskane/apps_upstream/examples_alarm_pr (pull request #112)
examples/alarm: add options for reading alarm value and canceling it

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-17 16:43:55 +00:00
Gregory Nutt
4bff47a80f graphics/traveler: Conver to use the framebuffer driver. 2017-10-16 07:13:38 -06:00
Gregory Nutt
90d4cf6ede This removes the last traces of single-user mode. 2017-10-15 09:36:55 -06:00
Gregory Nutt
1a170dc73d Remove unused CONFIG_xyz_EXTERNINIT configuration variables. 2017-10-15 08:05:23 -06:00
Alan Carvalho de Assis
cbce879d6a Add -n samples to lm75 app and replace Centigrade with Celsius 2017-10-15 07:26:55 -06:00
Gregory Nutt
bfde560c60 exampls/nxhello: Increase the amount of time that the text is displayed before erasing it 2017-10-15 07:25:35 -06:00
Gregory Nutt
f9a9f1410a examples/nxlines now supports only multiuser mode. 2017-10-14 16:52:20 -06:00
Alan Carvalho de Assis
f5d7df6658 system/lm75: Fix a naming error in a dependency. 2017-10-14 15:24:38 -06:00
Gregory Nutt
2206b6c341 examples/nximage now supports only multiuser mode. 2017-10-14 15:09:43 -06:00
Gregory Nutt
f05351c3b5 Forgot to add a file in the last commit 2017-10-14 14:39:06 -06:00
Gregory Nutt
7e151940cc examples/nxhello now supports only multiuser mode. 2017-10-14 14:18:45 -06:00
Gregory Nutt
47dabf17aa graphics/traveler: Restore most of what was removed in the previous commit. That non-standard logic is currently needed by the simulation. It should be replaced with use of a framebuffer driver. 2017-10-14 12:25:41 -06:00
Gregory Nutt
fda6713854 graphics/traveler: No longer supports single user graphics mode. 2017-10-14 11:51:58 -06:00
Gregory Nutt
5f7fa0350f examples/lcdrw: Remove this example. It violates the portable OS interface and cannot be retaind. 2017-10-14 11:23:02 -06:00
Gregory Nutt
97e789976e examples/nxtext: The nxtext example no longer supports single user mode. 2017-10-14 11:16:34 -06:00
Gregory Nutt
25ee1352ef examples/nxterm: Minor cleanup 2017-10-14 11:04:44 -06:00
Gregory Nutt
273dd9dd3f examples/nx: The NX example no longer supports single user mode. 2017-10-14 10:55:12 -06:00
Gregory Nutt
8af55bbdcc netutils/ftpc: Fix some crazy comparisons to determine is a file is an absolute path. Noted by Anthony Merlino. 2017-10-13 15:36:36 -06:00
Gregory Nutt
fe3e7a7bad examples/ostest: Extend cancellation test to make sure that cancelable threads waiting on a message queue or on a signal can be canceled. 2017-10-12 10:44:06 -06:00
Sebastien Lorquet
e4339355e4 examples/ina219: A simple infinite loop that polls the INA219 sensor and displays the measurements. 2017-10-11 10:49:48 -06:00
Gregory Nutt
cffb1a7f9c Update some comments. 2017-10-11 10:32:59 -06:00
Gregory Nutt
73c10a2607 examples/ostest: Works around a bug in printf() when cancellation points are enabled. printf() is a cancellation point because it calls write(). This is correct according to OpenGroup.org. However, printf holds the stdio library semaphore when it is canceled and this leaves the semaphore in a bad state. No fix for the printf bug yet. 2017-10-10 14:01:49 -06:00
Mateusz Szafoni
ae41122371 Merged in raiden00/apps (pull request #111)
Add powerled driver example

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-08 17:31:41 +00:00
Gregory Nutt
1db7d34a84 examples/elf and nxff: Won't build with CONFIG_BUILD_KERNEL because the interface exec() is not available in that configuration. Also, remove a stray comma and a stray semacolon in examples/pty_test/Kconfig and examples/random/Kconfig 2017-10-06 15:13:00 -06:00
Gregory Nutt
926a52bc5e apps/examples/nxflat: A little crap was left in the file from last change. 2017-10-02 14:40:48 -06:00
Gregory Nutt
56814bec38 apps/examples: In elf and nxflat examples, remove low-level interfaces and replace with call to exec(). 2017-10-02 14:32:17 -06:00
Alan Carvalho de Assis
661a593939 apps/examples/flowc: Small improvement to break line if more than 80 . were printed 2017-09-27 12:56:47 -06:00
Alan Carvalho de Assis
0d0d62fca0 apps/examples/flowc: Rename README,.txt to README.txt 2017-09-27 12:52:41 -06:00
Gregory Nutt
976ce0550c NSH: eliminate a warning 2017-09-27 12:05:19 -06:00
Gregory Nutt
21c9b793e2 Add a README file 2017-09-27 06:08:36 -06:00
Gregory Nutt
6a7fddf41d apps/examples/flowc: Add some syslog output to flush the syslog interrupt buffer 2017-09-27 06:00:46 -06:00
Gregory Nutt
ca354f2175 apps/examples/flowc: Fix some errors in receiver's verificationg logic. Add a 'canned' data file so that we don't need to deal with the sender program; we can just 'cat' the canned data file. 2017-09-26 13:13:34 -06:00
Gregory Nutt
d02ec04ff3 Fix some conditional compilation in previous commit. 2017-09-26 10:32:47 -06:00
Gregory Nutt
778ff478e6 apps/examples/flowc: Add a delay between received packets in order to force input flow control. 2017-09-26 10:30:40 -06:00
Masayuki Ishikawa
adcce43685 Merged in masayuki2009/nuttx.apps/network_test (pull request #110)
nshlib/nsh_netcmds.c: Fix a compilation error when IPv4/IPv6 dual stack is enabled

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-09-26 03:09:22 +00:00
Masayuki Ishikawa
4822878990 nshlib/nsh_netcmds.c: Fix a compilation error when IPv4/IPv6 dual stack is enabled 2017-09-26 11:28:40 +09:00
Bruno Herrera
3fe720d1e2 Fixes for problems found by Coverity in the apps/ repository:
nshlib/nsh_parse.c: Avoid truncating the strcmp result into a unsigned char variable.

    nshlib/nsh_netcmds.c: Check for valid hostip before using it.

    nshlib/nsh_ddcmd.c: Fix resouce leak when 'if=' or 'of=' params are repeated in the command line.  For example:

       dd if=/dev/null if=/dev/zero of=/dev/null or
       dd if=/dev/zero of=/dev/zero of=/dev/null
2017-09-25 07:34:34 -06:00