- May 18, 2018
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
include/nuttx/video/fb.h: No, I was right the first time. sys/types.h is needed in some inclusion contexts.
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
include/nuttx/video/fb.h: Make type used for overlay number consistent; Use standardized types (size_t and fb_coord_t) whenever possible.
-
Dmitriy Linikov authored
As with the MCU temperature and VREFINT measurement, this patch requires user to enable the corresponding channel first. For Vbat channel the ioctl cmd is IO_ENABLE_DISABLE_VBAT_CH, and its arg should be a pointer to bool which must be true to enable and false to disable the Vbat channel. Moreover, since Vbat input contains a built-in voltage divider, it is highly suggested to disable Vbat input channel after measurement is done in order to prevent battery drain through the divider.
-
- May 17, 2018
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
Recent changes to UDP in order to correct problems with UDP connection mode introduced a new bug: The 'to' address passed to sendto() must now be NULL in connection mode. But there are errors because there was one place where the 'to' address was still being used. This commit adds logic to first check for UDP connection mode. If the UDP socket is connected, then the NULL 'to' address is ignored and saved connection address is used instead.
-
Anthony Merlino authored
net/sixlowpan: TCP send should have PSH and ACK flags set when sending. This matches the standard network (Ethernet) TCP send logic.
-
- May 16, 2018
-
-
Gregory Nutt authored
-
Gregory Nutt authored
arch/arm/src/imxrt: Add framework for eDMA support. Initial port is a rip off from the SAMA5Dx and is little more than the framework for the DMA support.
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Jake Choy authored
-
Gregory Nutt authored
-
- May 15, 2018
-
-
Gregory Nutt authored
-
William Douglas authored
commit 7fd1f0d78546fa0315f4077b779efdd884e5bd53 Author: William Douglas <william@rocklandscientific.com> Date: Tue May 15 13:19:31 2018 -0700 Add support for the second SDMMC device. The second SDMMC device was already supported but the clock was never enabled. This fixes that.
-
Gregory Nutt authored
-
Anthony Merlino authored
sixlowpan: Preserve big-endian (network order) when uncompressing address. This change is the counterpart to another recent endianness fix that occurred on compression of the ip address. Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Jake Choy authored
-
Gregory Nutt authored
arch/arm/src/imxrt: Add missing support for the Cortex-M7 caches; configs/imxrt1050-evk: Enable I- and D-Caches in the nsh configuration. Calibrate the delay loop. Add support for the on-board LED.
-
Gregory Nutt authored
arch/arm/src/imxrt/imxrt_serial.c: Fix some interrupt instabilities; must be in a critical section when modifying serial interrupts. configs/imxrt1050-evk/nsh/defconfig: Use the BASEPRI register to enable/disable interrupts; enable the PROCFS file system.
-
Juha Niskanen authored
-
Gregory Nutt authored
-
- May 14, 2018
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Anthony Merlino authored
configs/photon: Fixes build error introduced in recent rgbled changes. Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Anthony Merlino authored
Photon rgbled fix * configs/photon: Simplifies RGB led start-up logic. * configs/photon: RGB led on Photon is common anode. CONFIGS_RGBLED_INVERT is now enabled Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Anthony Merlino authored
rgbled: Fixes led issues caused by uninitialized memory with CONFIG_RGBLED_MULTICHAN. The uninitialized pwm_info_s struct caused a rogue channel to be started causing errros in the pwm driver Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Gregory Nutt authored
-
- May 13, 2018
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
net/udp: Associated with last commit. Make sure that the new connection flag is cleared when a new UDP connection structure is allocated.
-
Gregory Nutt authored
In connection-mode UDP sockets, a remote address is retained in the UDP connection structure. This determines both there send() will send the packets and which packets recv() will accept. This same mechanism is used for connection-less UDP sendto: A temporary remote address is written into the connection structure to support the sendto() operation. That address persists until the next recvfrom() when it is reset to accept any address. When UDP read-ahead buffering is enabled, however, that means that the old, invalid remote address can be left in the connection structure for some time. This can cause read-ahead buffer to fail, dropping UDP packets. Shortening the time between when he remote address is reset (i.e., immediately after the sendto() completes) is not a solution, that does not eliminate the race condition; in only makes it smaller. With this change, a flag was added to the connection structure to indicate if the UDP socket is in connection mode or if it is connection-less. This change effects only UDP receive operations: The remote address in the UDP connection is always ignored if the UDP socket is not in connection-mode. No for connection-mode sockets, that remote address behaves as before. But for connection-less sockets, it is only used by sendto().
-
- May 12, 2018
-
-
Gregory Nutt authored
arch/arm/src/kinetis + SDHC configs: Make Kinetis SDHC pullups work the same as the STM32 SDIO pullups
-