- Aug 31, 2017
-
-
Sergei Ustinov authored
I'm worried about the stm32_tim_getcounter funtion. It returns always 32 bits. But major stm32 timers have 16 bits counters. I think, it's not a good idea to return the memory behind the TIMx_CNT register. This changes adds the register size checking.
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Alan Carvalho de Assis authored
-
Gregory Nutt authored
Work queue: In a recent change for a problem noted by Pascal Speck, it was noted (again by Pascal Speck) that the cancellation of existing work and replacement with new work must be atomic. Thanks, Pascal.
-
Gregory Nutt authored
-
Gregory Nutt authored
Networking: Fix a race condition. The accept() operation is performed with the network locked. However, the network is unlocked BEFORE the connected state is set. Therefore, a context switch may occur and the socket may no longer be connected when it is marked so. Noted by Pascal Speck.
-
- Aug 30, 2017
-
-
Gregory Nutt authored
ARM syscall logic: Clear bit 0 in PC settings. Bit 0 is the thumb mode indication and should not be set in the PC.
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Oleg Evseev authored
-
Oleg Evseev authored
-
Gregory Nutt authored
-
Gregory Nutt authored
Mostly cosmetic changes from review of last PR. Also same inappropriate use of _info changes to configurable debug macros. Remember folks, if it has a _ or __ in front, it is not intended for use outside of the header file. It is an internal private definition.
-
Juha Niskanen authored
configs: update STM32L4 configs for ADC changes Approved-by:
Gregory Nutt <gnutt@nuttx.org>
-
Juha Niskanen authored
Signed-off-by:
Juha Niskanen <juha.niskanen@haltian.com>
-
- Aug 29, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
Networking: Clean up some naming that has bothered me for a long time... There are no interrupts and no interrupt handlers in the network. There are events and event handler (there used to to be interrupt logic in there years ago but that is long, long gone).
-
Gregory Nutt authored
Networking: A placeholder for some missing logic in the previous change related to monitoring network status for dup'ed sockets. If one of the dup'ed socket's is closed, then network monitor resources associated with that one socket must be recovered. Also, in the event that socket is being used on one thread, but then closed on another, any threads waiting for events from the socket should be informed of the closure. That latter requirement is not implemented because current data structures do not support it.
-
Gregory Nutt authored
Networking: Fix a runaway recursion problem introduced the previous fixe for shutting down dup'ed sockets.
-
Gregory Nutt authored
-
Gregory Nutt authored
Networking: TCP disconnection callbacks are not retained in a list. This will support mutiple callbacks per lower-level TCP connection structure. That is necessary for the cae where a socket is dup'ed and shares the same lower-level connection structure. NOTE: There still needs to be a call to tcp_start_monitor() when the socket is dup'ed.
-
Gregory Nutt authored
Networking: Move two more TCP specific files from inet/ to tcp/. There is other TCP-specific logic in inet/ that should be moved sometime, but those are more entangled.
-
Gregory Nutt authored
Networking: Move net/inet/net_monitor.c to net/tcp/tcp_monitor.c in preparation for design change to fix monitoring of duplicated sockets.
-
- Aug 28, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Mateusz Szafoni authored
stm32_hrtim: add DMA configuration Approved-by:
Gregory Nutt <gnutt@nuttx.org>
-
raiden00pl authored
-
Gregory Nutt authored
work_queue() must cancel existing work prior to queuing new work, otherwise the work queue can become corrupted. Problem noted by Pascal Speck.
-
Juha Niskanen authored
-
Juha Niskanen authored
-
Juha Niskanen authored
-
Juha Niskanen authored
-
Alan Carvalho de Assis authored
-
- Aug 27, 2017
-
-
Mateusz Szafoni authored
stm32_dac.c: support external triggering for DMA transfer Approved-by:
Gregory Nutt <gnutt@nuttx.org>
-
raiden00pl authored
-
Mateusz Szafoni authored
Master * stm32f0/Kconfig: remove references to HRTIM * STM32F33: missing SYSCFG CFGR3 definitions * stm32_hrtim.h: remove redundant definitions * stm32_hrtim.c: fix DAC triggers configuration * stm32_hritm.c: warning message when default value selected * stm32_hrtim.c: missing master timer logic * stm32_hrtim.c: add more assertions * stm32_dac.c: fix conditional * stm32_dac.c: conditional logic for timer triggering * stm32_dac.c: fix TSEL configuration when HRTIM * stm32_dac.c: unnecessary condition * stm32_dac.c: DMA request remapping * stm32_dac.c: fix commpilation errors * stm32_dac.c: add DMA buffers initialization logic * stm32_hrtim.c: enable DAC triggering * analog/comp.c: fix compilation errors when poll disabled * stm32_hrtim.c: remove doubled assertions Approved-by:
Gregory Nutt <gnutt@nuttx.org>
-