- Sep 27, 2017
-
-
Gregory Nutt authored
drivers/usbdev/cdcacm.c: Change ordering of some operations to avoid races; Add missing uppder watermark logic that is normally in serial_io.c but must be duplicated in cdcacm.c; update comments
-
Gregory Nutt authored
drivers/usbdev/cdcacm.c: Fix confusion between flow control being enabled and being active. Different things
-
Gregory Nutt authored
drivers/usbdev/cdcacm.c: Add some missing logic when flow control is disabled. Also make sure that the flowcontrol and rxint can handle being re-entered when cdcacm_release_rxpending() is called.
-
- Sep 26, 2017
-
-
Tomasz Wozniak authored
Build break fix: define PWM_TIM2_CH1CFG for channel 1 PWM Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Tomasz Wozniak authored
-
Gregory Nutt authored
drivers/usbdev/cdcacm.c: Add a failsafe time to assure that the RX pending queue cannot stall indefinitely. I can imagine a corner case where the serial driver's RX buffer is full and it stops accepting data and where all of the read requests are queued and there is not event to restart RX processing. I am not sure that that scenario can really happen, but the failsafe timer gives me peace of mind.
-
Gregory Nutt authored
drivers/usbdev/cdcacm.c: Change design for queuing RX packets that cannot be processed. Previous design had a logic problem that could cause data loss. drivers/usbdev/cdcacm: Fixes one of two know design issues. drivers/usbdev/cdcacm: First attempt to plug data leak in input flow control design. Still missing a few things.
-
Juha Niskanen authored
-
Miha Vrhovnik authored
-
Miha Vrhovnik authored
-
- Sep 25, 2017
-
-
Gwenhael Goavec-Merou authored
-
Gregory Nutt authored
-
Bruno Herrera authored
net/socket/recvfrom.c: Check fromlen integrity before using it. net/socket/net_sockets.c: Always check for valid psock before using. net/tcp/tcp_send_unbuffered.c: Avoid using psock beforing checking its integrity. sched/timer/timer_create.c: Fix watchdog resource leak if cannot allocate a new timer.
-
Louis Mayencourt authored
-
- Sep 24, 2017
-
-
Gregory Nutt authored
drivers/net/rndis.c: Eliminate a warning when assertions disabled. Consequence of replacing assert() with DEBUGASSERT().
-
Gregory Nutt authored
drivers/usbdev/rindis.c: Change some naming to conform with coding standard. Use DEBUGASSERT vs. assert so that the assertions can be disabled.
-
Sakari Kapanen authored
-
Sakari Kapanen authored
From: Sakari Kapanen <sakari.kapanen@optofidelity.com> Date: Sun, 24 Sep 2017 13:19:25 +0300 Subject: [PATCH] ICMPv6: fix router advertisement Fixes several errors preventing icmpv6_radvertise.c from being compiled. Fixes conversions to network byte order (namely vlifetime, plifetime, mtu). IPv6 source address is set to link-local IP address instead of the address in the netdev structure. This is in compliance to RFC 4861. RA didn't work on Linux before this change. Finally, router prefix and prefix length are derived from the IPv6 address and netmask in the netdev structure. This seems to make more sense than using a predefined, separate prefix from the config.
-
- Sep 23, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
drivers/usbdev: CDC/ACM should reset all 'irregular' notifications to zero after sending the SerialState packet.
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
- Sep 22, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Jussi Kivilinna authored
-
Pavel Pisa authored
include/nuttx/net/net.h: Add missing semicolon in prototype. Fixes error in certain combinations of configuration options.
-
- Sep 21, 2017
-
-
David Sidrane authored
stm32:stm32f40xxx I2C ensure proper isr handling Injecting data errors that causes a STOP to be perceived by the driver, will continually re-enter the isr with SB not set and BTF and RxNE set. This changes allows the interrupts to be cleared and propagates a I2C_SR1_TIMEOUT to the waiting task. Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Gregory Nutt authored
-
- Sep 20, 2017
-
-
Gregory Nutt authored
In some cases, packets are still not sent behind the router. I found that NuttX sends the ARP requests not to the router but to the target. Mistake in file net/route/netdev_router.c. From Aleksandr Kazantsev
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Juha Niskanen authored
STM32L4 ADC, DFSDM: add routing of ADC data to DFSDM filters * configs/nucleo-l496zg: add DFSDM initialization * STM32L4 ADC: add option for routing ADC data to DFSDM, fix DFSDM DMA Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
- Sep 19, 2017
-
-
Gregory Nutt authored
Networking: drivers/net/loopback.c: Eliminate a warning. net/netdev/netdev_ifconfig.c: Was not returning all of the address info.
-
Gregory Nutt authored
Networking: Add implementation of logic for SIOCGIFCONF and SIOCGLIFCOF IOCTL commnds. Networking: Add definitions and stuctures to support SIOCGIFCONF and SIOCGLIFCONF IOCTL commands.
-
Gregory Nutt authored
-
Gregory Nutt authored
viewtool-stm32f107: Replace old stm32_appinit.c (now stm32_bringup.c) with 'standard' stm32_appinit.c from the STM32F4-Discovery. Add CONFIG_BOARD_INITIALIZE logic to stm32_boot.c
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-