David Alessio
839efa6669
Merged in david_alessio/apps/bugfix/i2ctool-dev-clobbers-slave-config (pull request #198 )
...
Bugfix/i2ctool dev clobbers slave config
* friendlier I2C "knock-knock" uses only read request
While many I2C slave devices have multiple indexed registers, some have
only one register and it's not indexed. For example, the I2C bus switch
TCA9548A has only a Control Register, attempting to index to "Reg[0]"
alters its contents to 0x00 disabling all subordinate buses. This patch
fixes that problem by simply trying to read something/anything from the
slave. This also helps coax out slaves with register files that start
from a higher index, i.e. the AT24CS0x, FLASH chips with a UUID that
appears as a 2nd I2C slave at (address+8), report their serial number at
Reg[80]-Reg[8F] and will NAK a read of Reg[0].
* modify get/set to prevent write of reg index if not specifed
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-20 20:29:21 +00:00
Masayuki Ishikawa
811086ff85
Merged in masayuki2009/nuttx.apps/dhcpc_host_name (pull request #197 )
...
netutils/dhcpc: Add host name support to dhcp client
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-14 11:29:18 +00:00
Anthony Merlino
144a0180e2
Merged in antmerlino/apps/i8sak-eaddr2ip-fix (pull request #196 )
...
i8sak: Fixes conversion from extended address to IPv6 address.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-13 21:19:53 +00:00
Anthony Merlino
ba5b1c78da
Merged in antmerlino/apps/i8sak-energy-scan (pull request #195 )
...
wireless/ieee802154/i8sak: Adds support for energy scan result printout.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-13 21:19:29 +00:00
Anthony Merlino
c68dd23509
Merged in antmerlino/apps/i8shark_fcs_suppresion (pull request #194 )
...
i8shark: Adds support for intentionally suppressing passing the FCS so that Wireshark doesn't try to validate it.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 18:26:33 +00:00
Anthony Merlino
6228b43a72
Merged in antmerlino/apps/i8sak-seteppanid (pull request #193 )
...
i8sak: Allow setting the endpoint PAN ID
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 18:18:34 +00:00
Anthony Merlino
906f77a62d
Merged in antmerlino/apps/libmac_fcslen (pull request #192 )
...
wireless/ieee802154/libmac: Adds support for getting/setting the FCS length
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 18:17:54 +00:00
Anthony Merlino
401860c122
Merged in antmerlino/apps/i8sak-fix (pull request #191 )
...
wireless/ieee802154/i8sak: Fixes naming caused by naming change in nuttx
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 18:16:42 +00:00
Manuel Stühn
88d47e469f
Merged in manuelstuehn/nuttx-apps/feature/bsd-portable (pull request #190 )
...
change all occurences of /bin/(ba)sh to /usr/bin/env bash which appears more portable
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 17:16:33 +00:00
Gregory Nutt
e6ba3ccff8
Update comments, README's, etc. to reflect changes to nuttx/boards directory reorganization.
2019-08-09 08:40:22 -06:00
Gregory Nutt
b118c96a33
Update configurations instructions in README.txt files to show ':' delimiter vs '/' delimiter.
2019-08-05 17:01:49 -06:00
Gregory Nutt
dd36f7ca4d
Fix paths in README.txt files which have changed due to the restructuring of nuttx/boards directory.
2019-08-05 10:22:56 -06:00
Gregory Nutt
2a8dccb75d
Change name configs/ to boards/ in comments, Documentation, Tools, etc.
2019-08-05 07:33:16 -06:00
Gregory Nutt
eef399b369
apps//examples/uid/uid_main.c: Corrections/updates from futher testing.
2019-08-04 14:38:07 -06:00
Gregory Nutt
1fc73b2d45
apps/examples/uid: Demo used to verify PASSWD and GROUP interfaces.
2019-08-04 08:54:08 -06:00
Gregory Nutt
735644766f
apps/fsutils/passwd: Handle the improved the format of the /etc/passwd format. It is now a little similar to other systems.
2019-08-03 10:37:27 -06:00
Nathan Hartman
da4c2461a6
apps/README.txt: Fix typos.
2019-08-02 12:36:22 -06:00
Dave Marples
bf9a5180cd
apps/system/cle/cle.c: ASCII DEL should be treated by Delete-Left.
2019-08-01 15:26:49 -06:00
Nathan Hartman
d6a3beadfb
Remove 'executable' bit on several files
2019-08-01 14:19:02 -06:00
Masayuki Ishikawa
1980c30738
Merged in masayuki2009/nuttx.apps/gs2200m_with_dhcp (pull request #189 )
...
wireless/gs2200m: Add dhcp client handlings in ioctl_request()
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-30 10:51:07 +00:00
Gregory Nutt
49e08ca3a9
apps/nshlib/nsh_fsutils.c: As noted by David S. Alessio, 'cat' should not output any additional newline at the end of the cat'ed file content. This was done to assure that the NSH prompt was presented on a new line. However, that is not the correct behavior of 'cat' per the IEEE std: "The standard output shall contain the sequence of bytes read from the input files. Nothing else shall be written to the standard output." Reference: https://pubs.opengroup.org/onlinepubs/009695399/utilities/cat.html
...
This commit changes the function nsh_catfile() which underlies the 'cat' command and well as other NSH commands. Although this is the correct behavior for 'cat' it may not be the correct behavor for other commands implemented via nsh_catfile(). That remains to be determined.
2019-07-29 20:49:39 -06:00
Gregory Nutt
b3c705d70c
examples/dac/dac_main.c: Fix warning found in build testing. Also lots of coding standard violations.
2019-07-28 17:52:28 -06:00
Gregory Nutt
9e1cda95fb
Cosmetic fixes to spacing.
2019-07-27 08:49:34 -06:00
Nathan Hartman
3a21b0b222
apps/examples/webserver/webserver_main.c: Init network & run forever only if not builtin app. Infer from CONFIG_NSH_BUILTIN_APPS if we are a NSH built-in app or not. If built-in app (CONFIG_NSH_BUILTIN_APPS defined) then we assume network is initialized prior to webserver starting and we exit on webserver failure. If running standalone (CONFIG_NSH_BUILTIN_APPS is undefined) then behavior is unchanged: webserver initializes network and runs forever.
2019-07-26 11:04:05 -06:00
Nathan Hartman
4fd1058200
apps/netutils/netinit/netinit.c: Improve cleanup, removing 1 of 2 warnings. Unhook PHY notification signal handler when cleaning up, if an error occurs after the signal handler is put into place.
2019-07-26 10:59:28 -06:00
Anthony Merlino
28f57f1007
Merged in antmerlino/apps/i8sak-improvements (pull request #188 )
...
I8sak improvements
* wireless/ieee802154: Adds support for getting/setting maxretries and promsicuous mode from i8sak
* wireless/ieee802154/i8sak: Fixes a build warning and handles a few cases where a fault can occur due to not catching missing arguments.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-26 01:54:30 +00:00
Anthony Merlino
87098590b5
Merged in antmerlino/apps/dhcpd-arp-fix (pull request #187 )
...
netutils/dhcpd: Fixes bug where hwaddr was being used instead of ipaddr in the ARP update.
This bug seems to have been introduced 3 years ago during a rewrite to remove a direct OS call to arp. I'm not sure how others have not run into issues with this. The behavior I was observing was that the DHCPD would go to offer an IP address, but then send a ARP request for the IP instead because it didn't know where to send the data.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-26 01:52:57 +00:00
Masayuki Ishikawa
ff8d6aeed0
Merged in masayuki2009/nuttx.apps/gs2200m_with_udp (pull request #186 )
...
wireless/gs2200m: Add udp support to gs2200m_main.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-25 05:41:16 +00:00
Nathan Hartman
44a8d7c80e
netutils/netinit/Kconfig: Fix some typos.
2019-07-23 16:09:31 -06:00
Gregory Nutt
78ee91b725
ChangeLog.txt: Change the release back to 7/21.
2019-07-21 13:02:52 -06:00
Gregory Nutt
4e3d5a3320
ChangeLog.txt: Update release date. I am not going to make it today.
2019-07-21 11:24:02 -06:00
Gregory Nutt
22503f00b2
Update ChangeLog in preparation for 7.31 release.
2019-07-20 14:23:15 -06:00
Alan Carvalho de Assis
d868e2f726
apps/examples/chrono: Add chronometer apps example.
2019-07-17 12:48:39 +02:00
Gregory Nutt
8f0b299e82
Trivially cosmetic
2019-07-11 12:15:08 -06:00
Masayuki Ishikawa
2cd84d713c
Merged in masayuki2009/nuttx.apps/add_ch_setting (pull request #185 )
...
wireless/gs2200m: Add channel parameter for AP mode
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-10 11:34:09 +00:00
Masayuki Ishikawa
89d820e7d4
Merged in masayuki2009/nuttx.apps/fix_httpd_dirlist (pull request #184 )
...
neutils/webserver: Fix file corruption in httpd_dirlist.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-10 11:33:13 +00:00
Michael Jung
bf066f11e7
apps/netutils/cjson/Kconfig: stdio floating point support required. cJSON requires floating point support in printf (specifically the 'g' conversion specifier). Thus, select LIBC_FLOATINGPOINT when NETUTILS_CJSON is selected.
2019-07-07 11:33:44 -06:00
Masayuki Ishikawa
9eff955556
Merged in masayuki2009/nuttx.apps/fix_webserver_with_period (pull request #183 )
...
netutils/webserver: Fix directory listing containing period in name
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-06 13:05:45 +00:00
Masayuki Ishikawa
2bb4834775
Merged in masayuki2009/nuttx.apps/add_webserver_info (pull request #182 )
...
netutils/webserver: Add web server info based on uname()
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-05 11:42:54 +00:00
Gregory Nutt
39ad02f72e
netutils/webserver: Fix a few complaints from nutts/tools/nxstyle.
2019-07-04 21:21:26 -06:00
Masayuki Ishikawa
0b352178c1
Merged in masayuki2009/nuttx.apps/add_dirlist_to_webserver (pull request #181 )
...
netutils/webserver: Add directory listing to httpd
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-05 02:58:53 +00:00
Masayuki Ishikawa
c1317331d3
Merged in masayuki2009/nuttx.apps/mp3_on_webserver (pull request #180 )
...
netutils/webserver: Add mp3 mime type to httpd.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-04 11:28:29 +00:00
Masayuki Ishikawa
b12b61df69
Merged in masayuki2009/nuttx.apps/fix_webserver (pull request #179 )
...
apps/examples/webserver: Fix to compile with CONFIG_NETUTILS_HTTPD_SENDFILE=y
Also, in this PR, some configs such as CONFIG_NETUTILS_HTTPDFILESTATS
can be selected by menuconfig.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-03 12:20:29 +00:00
Gregory Nutt
ee8af2a59e
Fix warnings found in build testing.
2019-07-01 15:22:55 -06:00
Gregory Nutt
334b450452
wireless/gs2200m/gs2200m_main.c: Fix a warning about an uninitialized return value found in build testing.
2019-06-29 18:50:20 -06:00
Gregory Nutt
18a8032c4d
examples/vl53l1x: Remove. The driver does not compile.
2019-06-29 06:28:40 -06:00
Juan Flores
94ac7dceab
examples/vl53l1x: Add VL53L1X example demo.
2019-06-28 15:07:13 -06:00
Masayuki Ishikawa
27766d7cdf
Merged in masayuki2009/nuttx.apps/fix_apps_industry (pull request #178 )
...
apps/industry: Add .gitignore for Kconfig
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-28 11:19:32 +00:00
Masayuki Ishikawa
d2f3ad91e2
Merged in masayuki2009/nuttx.apps/wireless_gs2200m (pull request #177 )
...
apps/wireless/gs2200m: Moved from apps/system/gs2200m
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-27 00:54:19 +00:00
Masayuki Ishikawa
2c8e349552
Merged in masayuki2009/nuttx.apps/add_system_gs2200m (pull request #176 )
...
apps/system/gs2200m: Add usrsock daemon for Tilt GS2200M Wi-Fi module
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-06-18 13:45:31 +00:00