- Sep 28, 2017
-
-
Gregory Nutt authored
Addes support for read-only routing tables. Prior to this change, routing tables were only support in RAM and had to be initialized with explicit logic to add the necessary routes to the routing table. With this change, routes may be defined in the pre-initialized, read-only routing table provided by the board-specific logic This would be particularly useful, for example, in the case where there is only a single network adaptor and you want all output packets to go to the single adaptor in all cases. So for that behavior you could add a read-only routing table to the board-specific long that contains a single entry, the default route: 0.0.0.0/0. Squashed commit of the following: net/route: RAM and ROM routing tables build correctly in all IPv4 and IPv6 configurations. net/route: Verify IPv6 ROM route build; Make number of ROM routes a variable, not a configuration item. net/route: Add initial support for ROM-base, read-only routing tables. net/route: Adjust and generalize some structures, rename some functions, and add configuration and build support that will eventually support read-only routing tables. net/route: Some initial though experiments on use of a fixe, read-only routing table
-
Gregory Nutt authored
-
Louis Mayencourt authored
-
Oleg Evseev authored
STM32 PWR: Adds stm32_pwr_getsbf and stm32_pwr_getwuf functions that return the standby flag and the wakeup flag PWR power control/status register.
-
Tomasz Wozniak authored
ROMFS for STM32F4 Discovery board Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Tomasz Wozniak authored
-
- Sep 27, 2017
-
-
Gregory Nutt authored
-
Dmitriy Linikov authored
Fixed directory unlocking in tmpfs_opendir Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
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.
-
DL authored
-
- 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
-