David S. Alessio
29612c40c5
drivers/mmcsd/mmcsd_sdio.c: Align DMA buffer for MBURST size.
2019-10-31 07:18:47 -06:00
David Sidrane
43a3a0f400
Merged in david_s5/nuttx/master_k66_ethernet (pull request #1064 )
...
NXP k66 Ethernet
* Kinetis:Add TJA1100 Phy
* Kinetis:enet.c formated with nxstyle
* net:mii Cleanup TJA1100 Support
Formating and adding mask and shifts
* net:Kconfig Cleanup formatting
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-30 18:29:54 +00:00
Gregory Nutt
e3665c1fb4
drivers/wireless/ieee80211: Add tools/nxstyle to all of the C files in this directory.
2019-10-29 16:56:24 -06:00
Gregory Nutt
2a22a64f36
drivers/wireless/ieee80211/mmc_sdio.c: In sdio_io_rw_extended(), the behavior of the DMA setup differs, depending on the hardware capability SDIO_CAPS_DMABEFOREWRITE. If this capability is set, then the DMA setup much be done before the transfer setup. Dave Marples modified this file for the i.MXRT USDHC which does have the SDIO_CAPS_DMABEFOREWRITE (commit 970295d0fe
). Xiao Xiang reports that this change breaks the Wifi on the Photon which does not report the SDIO_CAPS_DMABEFOREWRITE and suggests reverting the change. In reality both changes are correct but must be conditioned on the DMA capability of the underlying SDIO device.
2019-10-29 16:02:33 -06:00
David Sidrane
5f65012449
drivers/mmcsd/mmcsd_sdio.c: Enter a removed card state On a failure. If we fail to read cardstatus in mmcsd_transferready consider this a hard error and set the card to removed.
2019-10-29 10:05:10 -06:00
David Sidrane
b7073a366b
drivers/mmcsd/mmcsd_sdio.c: Set wrbusy after success of all the operations. Any failure could leave wrbusy set when it should not be if the operation failed.
2019-10-29 10:03:18 -06:00
Xiang Xiao
824666db9a
drivers/wireless/ieee80211/bcmf_chip_43362.c: Fix bcmf_chip_43362 compile error.
2019-10-29 08:01:55 -06:00
Xiang Xiao
4fc41b55b3
drivers/mtd/gd25.c and gd5f.c: Change missed in previous patch set. Without this change, the compiler will complain that spi_devid cannot be found.
2019-10-29 07:48:17 -06:00
Gregory Nutt
2852b3a8c8
drivers/power: Run tools/nxstyle against all .c and .h files in this directory.
2019-10-28 18:28:41 -06:00
DisruptiveNL
41d9365f06
drivers/can/mcp2515.c and boards/arm/stm32/nucleo-f4x1re: MCP2525 SPI STD-EXT ID fixes. Verified on MCP2525 tested on nucleo-f4x1re.
2019-10-28 08:02:15 -06:00
Gregory Nutt
9628582ced
drivers/mkrd.c: Fix a warning found in build testing that occurs when CONFIG_DEBUG_INFO is enabled.
2019-10-26 16:54:59 -06:00
Gregory Nutt
6a10254915
drivers/Kconfig: If CONFIG_DRVR_MKRD is selected, then we must also auto-select CONFIG_FS_READABLE.
2019-10-26 16:18:55 -06:00
Gregory Nutt
2549d07494
drivers/Kconfig: If CONFIG_DRVR_MKRD is selected, then we must auto-select CONFIG_FS_WRITABLE.
2019-10-26 15:56:41 -06:00
Gregory Nutt
07edaa088c
drivers/Kconfig: Add an option, CONFIG_DRVR_MKRD, to control whether or not the mkrd() implementation is build. Otherwise, if mkrd() is built unconditionally, it will be drawn into every build whether it is used or not and will increase the build size.
2019-10-26 11:43:34 -06:00
Gregory Nutt
03bf18d097
drivers/mkrd.c: Forgot to add file in last commit.
2019-10-26 10:24:04 -06:00
Gregory Nutt
be325924fb
This commit corrects a problem with NSH: NSH was calling the OS internal function ramdisk_register() in violation of the portable POSIX interface. This commit solves the problem by introducing a new boardctl() function BOARDIOC_MKRD which moves the RAM disk creation into the OS.
...
Squashed commit of the following:
drivers/: Run tools/nxstyle against all drivers/*.c.
boards/boardctl.c: Add new boardctl() command, BOARDIOC_MKRD, that can be used to create a RAM disk. This will replace the illegal call to ramdisk_register() currently used by NSH.
drivers/mkrd.c: Add wrapper around ramdisk_register() for creating a proper ramdisk.
2019-10-26 09:35:32 -06:00
Gregory Nutt
dae3640dc5
drivers/modem/altair/Kconfig: Default for CONFIG_MODEM_ALTMDM should be 'n' and it must depend on CONFIG_SPI_EXCHANGE.
2019-10-25 16:12:59 -06:00
YanLin Zhu
6d63ba711b
drivers/mtd/gd25.c: Add 4byte address operation for capacity larger than 128Mbit.
2019-10-25 07:31:41 -06:00
Gregory Nutt
3e4449eb1f
drivers/usbhost/Kconfig: Change default for CONFIG_HIDKBD_POLLUSEC per recommendation of Jeff Theusch.
2019-10-23 09:07:23 -06:00
Jeff Theusch
f745166bfd
drivers/usbhost/usbhost_hidkbd.c: Fix keyboard debounce algorithm used when CONFIG_HIDKBD_NODEBOUNCE is undefined.
2019-10-23 08:39:09 -06:00
Alin Jerpelea
f7af996f1d
Merged in alinjerpelea/nuttx (pull request #1059 )
...
boards: cxd56xx: spresense: add board_timerhook function
* boards: cxd56xx: spresense: add board_timerhook function
in preparation for SDK we muts have a weak board_timerhook function
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* drivers: usbhost: add missing endif
By accident an endif was missing.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* boards: cxd56xx: audio: add build barrier
The audio implementation should not be beuilt if the config
CONFIG_CXD56_AUDIO is not set.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* arch:arm:cxd56xx: add ge2d.h header
The header is used by imageproc.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-23 13:12:21 +00:00
Gregory Nutt
ca14affc46
Fix a trivial typo introduced in the last commit.
2019-10-22 17:47:49 -06:00
Gregory Nutt
88de97a926
drivers/usbhost: Remove all traces of support for the installable GPL RTL8187 USB host driver.
2019-10-22 17:44:16 -06:00
Masayuki Ishikawa
7389f86561
Merged in masayuki2009/nuttx.nuttx/stm32f4dis_with_gs2200m (pull request #1057 )
...
stm32f4dis with gs2200m
* drivers: wireless: Add SPI_SELECT() to _read/write_data() in gs2200m.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* boards: stm32f4discovery: Add support for gs2200m
NOTE: GS2200M for Spresense works with mikroe STM32F4 Discovery Shield (slot3)
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-22 13:38:41 +00:00
Gregory Nutt
230c80b8e1
Cosmetic changes from review of last PR.
2019-10-21 08:51:47 -06:00
Alin Jerpelea
07f9154e5b
Merged in alinjerpelea/nuttx (pull request #1056 )
...
boards: cxd56xx: add board support for LTE modem and modem driver
* drivers: modem: add altair modem driver
Add modem driver for the altair modem
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* boards: cxd56xx: add board support for LTE modem
Add the Altair LTE modem support on the Spresense board
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* boards: cxd56xx: spresense: add LTE defconfig
Add the Altair LTE modem defconfig for spresense board
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-21 14:14:33 +00:00
Masayuki Ishikawa
dacd041a94
Merged in masayuki2009/nuttx.nuttx/fix_serial_driver_for_smp (pull request #1052 )
...
drivers: serial: Fix data corruption when outputting data in SMP mode
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-16 13:09:03 +00:00
Masayuki Ishikawa
2c16d756cc
Merged in masayuki2009/nuttx.nuttx/gs2200m_with_reset (pull request #1050 )
...
Gs2200m with reset
* include: wireless: Add reset handler to struct gs2200m_lower_s
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* drivers: wireless: Add reset and unreset sequence in gs2200m.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* boards: cxd56xx: Add reset handler to cxd56_gs2200m.c
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-15 21:03:33 +00:00
Anjana
fae7e63479
We have ported NuttX on Renesas RX65N Micro-controller. This port includes following interfaces
...
1. Serial (UART) driver (13 ports)
2. Ethernet driver
This port is provided on two boards
1. RSK RX65N-2MB
2. GR-Rose
The port is built on Cygwin environment.
As part of this port, we have created two documents
1. Readme.txt for each board
2. User manual to provide information about development environment setup
Both these documents are placed under
1. /boards/renesas/rx65n/rx65n-grrose
2. /boards/renesas/rx65n/rx65n-rsk2mb
We have run 'nxstyle' for coding guidelines and 'ostest' for testing NuttX features on test platform.
We have shared the log with no errors as confirmation of valid port.
2019-10-11 23:36:57 +08:00
raiden00pl
df1bcc4229
Merged in raiden00/nuttx_sim (pull request #1047 )
...
drivers/pipes/fifo.c: mkfifo should return -1 and set errno on failure
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-11 08:03:44 +00:00
Gregory Nutt
6a683b0b54
Fix some typos in comments.
2019-10-11 15:53:17 +08:00
Juha Niskanen
b4f6a3a878
drivers/usbdev/cdcacm.c: Fix memory leak of RX failsafe timer.
2019-10-08 08:01:30 -06:00
Dave Marples
83e458873f
drivers/wireless/bluetooth/bt_uart_bcm4343x.c: Fix small a small bug
...
found during testing.
drivers/wireless/bluetooth/bt_uart_shim.c: Change the task tname for
the HCI receiver task to bring it into line with the transmitter task.
2019-10-08 07:55:47 -06:00
Xiang Xiao
3bc62f1ccc
Change space to tab and help to ---help--- in Kconfig files.
2019-10-05 21:39:12 -06:00
Dave Marples
de70e689cd
drivers/wireless/bluetooth/bt_uart_bcm4343x.c: BCM4343x HCIUART support.
2019-10-04 09:29:51 -06:00
Gregory Nutt
d9e47a17b8
Fix a typo introduced with 0dbb22f61c
.
2019-10-02 15:31:07 -06:00
Gregory Nutt
0dbb22f61c
drivers/wireless/ieee802154/mrf24j40/mrf24j40.c: Correct erroneous isolation of address mode field and subsequent bad comparison.
2019-10-02 12:50:43 -06:00
Gregory Nutt
5058911f46
drivers/crypto/dev_urandom.c: Revert part of fe983a4471
. The change was ill informed and introduced warnings when CONFIG_DEV_URANDOM_RANDOM_POOL is selected. As noted by Juha Niskanen in commit comments.
2019-10-01 07:13:19 -06:00
Nathan Hartman
46aaec7ba0
Fix minor typos in docs and comments.
2019-09-29 12:52:20 -06:00
Bernd Walter
338f09acfc
drivers/net and net/: Use ntoh() when printing IPv6 addresses so that the addresses appear in friendlier host order vs. network order.
2019-09-24 10:06:42 -06:00
Gregory Nutt
fe983a4471
Minor, cosmetic changes.
2019-09-23 12:58:31 -06:00
Dave Marples
05bbbec3e1
Add support for the BCM43438A1 Bluetooth capability. It also adds a serial 'shim' to allow any regular serial port that can support a Bluetooth H4 interface (i.e. it has RTS/CTS) to be used to drive a Bluetooth device (Get a handle to it via hci_uart_getdevice("/dev/xxx") and then pass it to the btuart_register function.
...
Most of the bluetooth and wifi chips appear to need external firmware, and the 43438 is no exception. Fortunately, since Cypress got involved, these are much more straightforward to obtain and are shipped as part of their SDK, which is downloadable from their website. Those firmwares are already provided as C arrays, so their names just need updating to;
const unsigned char bt_firmware_hcd -> The bt firmware array.
const int bt_firmware_len = sizeof(bt_firmware_hcd);
2019-09-21 07:16:37 -06:00
Juha Niskanen
e8b5dd4528
Fix use of undefined pp-token #errror, other typos.
2019-09-19 18:19:18 -06:00
Alin Jerpelea
54ef3efc35
Merged in alinjerpelea/nuttx (pull request #1033 )
...
boards: spresense: Add board initialization for isx012
Add isx012 initialization to the board and include the needed headers
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-18 11:42:35 +00:00
Masayuki Ishikawa
2154a02fa1
Merged in masayuki2009/nuttx.nuttx/fix_comments_in_gs2200m (pull request #1032 )
...
drivers/wireless/gs2200m.c: Fix comments
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-18 11:34:00 +00:00
Juha Niskanen
ebc6f51641
Fix some typos
2019-09-17 10:46:23 -06:00
Juha Niskanen
8fa646f0e8
drivers/syslog: syslog_force does not set errno so do not test against it. Some changes to comments.
2019-09-16 07:48:48 -06:00
YanLin Zhu
bcdf9074fe
drivers/mtd/gd5f.c: Add gigadevice SPI NAND FLASH driver.
2019-09-15 08:33:22 -06:00
YanLin Zhu
8b10b8ad25
drivers/mtd/gd25.c: Add support for GD25 device with 256-Mbit capacity.
2019-09-15 08:19:06 -06:00
zhangbo_a
636d180219
drivers/mtd/gd25.c: Add support for a new FLASH vendor.
2019-09-15 08:17:19 -06:00