Gregory Nutt
efd1279025
apps/examples/ltdc: Remove apps/examples/ltdc. It violates the portable POSIX interface by calling directly into OS code.
2017-11-06 11:31:32 -06:00
Gregory Nutt
7a0d29fc59
apps/examples/userfs: Handle the O_TRUNC open flag.
2017-11-06 07:15:20 -06:00
Gregory Nutt
3dd64af3db
apps/examples/userfs: Fixes a bug with double freeing open data when dup'ed files are closed.
2017-11-05 17:43:04 -06:00
Gregory Nutt
9ce13f74e7
apps/examples/userfs: Add some (unnecessary) checks for NULL pointers.
2017-11-05 12:33:38 -06:00
Mateusz Szafoni
568c2638e8
Merged in raiden00/apps (pull request #121 )
...
smps, powerled examples: fix floating point format in printf
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-05 14:18:08 +00:00
Mateusz Szafoni
6d37b6a570
Merged in raiden00/apps (pull request #120 )
...
examples: add SMPS driver example
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-05 12:33:06 +00:00
Anthony Merlino
115dff06e7
Merged in antmerlino/apps/i8sak-fixes (pull request #119 )
...
i8sak: Channel setting is now saved locally, so when performing a startpan or assoc, the channel previously set is still used, even though the MAC layer gets reset. Also fixes a few build issues
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-03 16:23:42 +00:00
Gregory Nutt
a7157d0e3c
include/netutils/netlib.h: In order to avoid pre-processing warnings, NETLIB_SOCK_FAMILY must always be assigned a value, even if there is no real meaning value for it.
2017-11-03 09:57:33 -06:00
Dmitriy Linikov
dea8d93f64
Merged in hardlulz/modem-3.0-nuttx-apps/fix-compile-nsh_routecmds (pull request #118 )
...
Fixed the compilation of nsh_routecmds.c, broken after commit 6b9d23c6aa
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-03 12:28:19 +00:00
Gregory Nutt
35da4e7fd4
fsutils/mkfatfs: Remove more unused macros
2017-11-02 19:03:50 -06:00
Gregory Nutt
92a44978db
fsutils/mkfatfs: Remove some unused macros
2017-11-02 19:02:04 -06:00
Gregory Nutt
782526aa21
apps/fsutils/mkfatfs: When fsutils/mkfats was split off from the operating system, there were a few dangling things left. Some references to functions in the OS (which are not available in the protected and kernel modes) and several types and function prototeypes that don't exist is apps/fsutils/mkfatfs.
2017-11-02 18:45:55 -06:00
Gregory Nutt
7556eb3814
nshlib/: Fix some botched conditional compilation.
2017-11-02 17:13:49 -06:00
Gregory Nutt
20119c3647
apps/examples/userfs: Fix check for open with write+append mode.
2017-11-01 16:59:28 -06:00
Anthony Merlino
b0bcca49ed
Merged in antmerlino/apps/i8shark (pull request #116 )
...
Adds i8shark, a sniffer "adapter" that captures all 802.15.4 traffic, packages it into a Wireshark ZEP packet, and sends it to a host running Wireshark.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-01 20:38:22 +00:00
Anthony Merlino
0c2adff987
Merged in antmerlino/apps/i8sak_update (pull request #115 )
...
i8sak: Changes 'notif' to 'primitive' corresponding to the changes in the Kernel
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-01 20:32:29 +00:00
Gregory Nutt
342b51e9a6
apps/examples/userfs: Fix bad logic in test stat() implementation.
2017-11-01 09:15:40 -06:00
Dmitriy Linikov
9170155838
Merged in hardlulz/modem-3.0-nuttx-apps/fix-misprint-in-cmd_wget (pull request #114 )
...
Fixed misprint in cmd_wget
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-01 13:04:49 +00:00
Dmitriy Linikov
65e9205344
Merged in hardlulz/modem-3.0-nuttx-apps/fix-i2ctool-write (pull request #113 )
...
Fixed i2ctool write operation in `no restart` mode (flag `-n`).
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-11-01 13:03:54 +00:00
DL
bf209bcf1d
Fixed misprint in cmd_wget
2017-11-01 06:18:40 +03:00
DL
42ec1aad65
Fixed i2ctool write operation in no restart
mode (flag -n
).
...
It seems that I2C driver has changed a bit since i2ctool was written,
so now i2ctool sends repeated start even if `no restart` flag (-n)
was passed to it.
2017-11-01 06:11:53 +03:00
Gregory Nutt
769ffb8a4b
apps/examples/userfs: Add a test case for verifying UserFS.
2017-10-31 09:00:49 -06:00
Gregory Nutt
6b9d23c6aa
Correct and standardize some naming used in the previous commits.
2017-10-30 14:16:37 -06:00
Gregory Nutt
dafc88ed25
include/netutils/netlib.h: Broaden socket definitions of previous commit.
2017-10-30 14:11:42 -06:00
Gregory Nutt
51b369589b
include/netutils/netlib.h: Add definitions needed when only local Unix domain sockets are supported.
2017-10-30 11:34:59 -06:00
Alan Carvalho de Assis
8aa72a0ad4
apps/examples/obd2: Add OBD2 example application
2017-10-28 13:38:47 -06:00
Alan Carvalho de Assis
a1f1f68b72
apps/canutils/libobd2: Add libobd2 for NuttX
2017-10-28 13:33:30 -06:00
Gregory Nutt
ef353ed632
Fix parsing of empty strings when CONFIG_NSH_CMDPARMS is not defined. Problem noted by Juha Niskanen.
2017-10-27 06:41:26 -06:00
Gregory Nutt
62f7838c5e
nshlib: Tighten up some conditional logic
2017-10-26 16:07:42 -06:00
Gregory Nutt
40d9701ea0
nshlib: Remove a dangling function that is no longer used after last mount/df chagnes
2017-10-26 13:38:30 -06:00
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