mirror of
https://github.com/apache/nuttx.git
synced 2026-08-29 13:20:45 +00:00
rndis on spresense
* arch/arm/src/cxd56xx: Fix ep0 out packet handling in cxd56_usbdev.c
This change fixes to handle ep0 out packet which exceeds EP0_MAXSIZE.
For example, 76 bytes of out packet is sent from rndis host during
rndis negotiation and finally the packet is split into two out packets
(64 bytes out packet + 12 bytes out packet). To handle these packets,
actual ep0reqlen is stored during ep0 out setup stage, and if all
out packets are received, it dispatches to cxd56_ep0setup(), otherwise,
it sets up the internal USB DMA to receive remaining out packets.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
* configs/spresense: Add support for rndis configuration
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
|
||
|---|---|---|
| .. | ||
| include | ||
| nsh | ||
| rndis | ||
| scripts | ||
| src | ||
| usbnsh | ||
| Kconfig | ||
| README.txt | ||
README ====== Spresense is a compact development board based on Sony’s power-efficient multicore microcontroller CXD5602. It allows developers to create IoT applications in a very short time and is supported by the Arduino IDE as well as the more advanced NuttX based SDK. - Integrated GPS The embedded GNSS with support for GPS, QZSS and GLONASS enables applications where tracking is required. - Hi-res audio output and multi mic inputs Advanced 192kHz/24 bit audio codec and amplifier for audio output, and support for up to 8 mic input channels. - Multicore microcontroller Spresense is powered by Sony's CXD5602 microcontroller (ARM® Cortex®-M4F × 6 cores), with a clock speed of 156 MHz. Refer to https://developer.sony.com/develop/spresense/ for further information about this board.