Sebastien Lorquet
9dcecd4b15
Add support for qencoders on various nucleo boards
2016-10-03 16:07:20 +02:00
Gregory Nutt
06c70129ed
STM32L4: Remove dependencies on STM32 F3 from Kconfig
2016-10-02 16:05:13 -06:00
Gregory Nutt
d9181b55f1
Merged in slorquet/nuttx/stm32l4_qencoder (pull request #138 )
...
Add support for quadrature encoders on STM32L4, including gpio definitions for both directions of timer channels.
2016-10-02 16:00:26 -06:00
Sebastien Lorquet
d5ef349d9a
Add support for quadrature encoders on STM32L4
2016-10-02 23:26:16 +02:00
Alan Carvalho de Assis
53fa8b7296
configs/stm32f103-minimum: Add stm32_bringup support and userled example to STM32F103 Minimum board
2016-10-02 14:45:44 -06:00
Gregory Nutt
8669183852
sched/pthread and task: When a pthread is started, there is a small bit of logic that will run on the thread of execution of the new pthread. In the case where the new pthread has a lower priority than the parent thread, then this could cause both the parent thread and the new pthread to be blocked at the priority of the lower priority pthread (assuming that CONFIG_PRIORITY_INHERITANCE is not selected).
...
This change temporarily boosts the priority of the new pthread to at least the priority of the new pthread to at least the priority of the parent thread. When that bit of logic has executed on the thread of execution of the new pthread, it will then drop to the correct priority (if necessary) before calling into the new pthread's entry point.
2016-10-01 11:38:22 -06:00
Gregory Nutt
75104b0808
Remove duplicate function prototype from wrong header file
2016-10-01 10:56:42 -06:00
Gregory Nutt
0f7b9d643f
Correct statment in a document
2016-10-01 10:13:37 -06:00
Neil Hancock
ef475eb6a9
STM32 Ethernet: Correct typo in conditional logic
2016-10-01 07:32:41 -06:00
Vytautas Lukenskas
fd1de92016
There are some small problems in LPC43xx RS485 mode configuration. In particular: 1. UART0,2,3 do not have DTR pins (different from UART1), so, Kconfig needs to be adjusted. 2. lpc43_uart.c in RS485 mode only configures DIR pin, but doesn't enable pin output for UART0,2,3. 3. should be option to reverse DIR control pin output polarity. 4. lpc43xx/chip/lpc43_uart.h doesn't have USART3 definitions. NOTE: I didn't modified and didn't tested USART1, as it has different hardware. From Vytautas Lukenskas.
2016-09-30 08:51:49 -06:00
Gregory Nutt
937a83d9e4
Merged in young-mu/nuttx (pull request #137 )
...
Add a new ioctl command (set MAXPOS) for tiva QEI
2016-09-26 08:38:53 -06:00
Young
7f32019a76
Add a new ioctl command (set MAXPOS) for tiva QEI
2016-09-26 18:10:06 +08:00
Young
3de6c210dc
Merged nuttx/nuttx into master
2016-09-26 17:31:45 +08:00
Gregory Nutt
2da3da7fd6
Costmetic changes from review of last commit
2016-09-25 17:24:39 -06:00
Gregory Nutt
0908a6c6b9
Fix calculations using MSEC_PER_TICK. If USEC_PER_TICK is less than 1000, then MSEC_PER_TICK will be zero. It will be inaccurate in any case.
2016-09-25 08:17:33 -06:00
Gregory Nutt
25cd684012
Looks like I forgot to add some files in patch from a few days ago.
2016-09-22 11:12:10 -06:00
Petteri Aimonen
69577eb0b7
libnx/nxglib: Fix handling of near-horizontal lines of width 1 in nxgl_splitline(). Missing handling for degenerate condition caused width 1 lines such as (0, 0) - (100, 10) to have gaps in the drawing.
2016-09-22 11:09:06 -06:00
Gregory Nutt
93b48ea70f
Fix a logic error introduced with last commit
2016-09-22 08:50:47 -06:00
Gregory Nutt
8221c2da64
Corrects a bad assertion noted by Pierre-noel Bouteville. Also fixes a reference counting problem in an error condition: When the mountpoint inode is found but is not an appropriate mountpoint, the reference count on the inode was not being decremented.
2016-09-22 08:22:28 -06:00
Sagitta Li
9fa1024eef
vector table should have dimension NR_IRQS, not NR_IRQS+1
2016-09-22 07:56:12 -06:00
Gregory Nutt
cec2b61592
Merged in raiden00/nuttx (pull request #136 )
...
Remove GPIO_ETH_RMII_TX_CLK. TX_CLK is not present in RMII + sched/: Define 'group' even if HAVE_GROUPID is not set
2016-09-22 07:41:46 -06:00
Mateusz Szafoni
0bc154863e
sched/: Define 'group' even if HAVE_GROUPID is not set
2016-09-22 10:44:06 +02:00
Mateusz Szafoni
9742757f26
Remove GPIO_ETH_RMII_TX_CLK. TX_CLK is not present in RMII
2016-09-22 10:05:45 +02:00
Gregory Nutt
d2e03daeb1
Fix some strange spacing apparently introduced by tools/indent.sh
2016-09-21 16:06:05 -06:00
Gregory Nutt
54eee5b303
Review of PR 135
2016-09-21 09:36:39 -06:00
Gregory Nutt
28b4082020
Merged in young-mu/nuttx (pull request #135 )
...
Add QEI lower-half driver impl. for Tiva series chip
2016-09-21 09:16:57 -06:00
Young
cf99e50b7a
Add QEI lower-half driver impl. for Tiva series chip
2016-09-21 17:08:31 +08:00
Young
8d85fe435f
Merged nuttx/nuttx into master
2016-09-21 16:31:22 +08:00
Gregory Nutt
1c20376e39
SAM GPIO: Apply Wolfgang's change for SAM3/4 to SAMA5 and SAMV7
2016-09-20 15:33:31 -06:00
Gregory Nutt
0441c53aec
Merged in gnagflow/nuttx (pull request #134 )
...
SAM3/4: Fix GPIO pull-up/down code.
2016-09-20 15:14:53 -06:00
Wolfgang Reißnegger
3f22b63321
SAM3/4: Fix GPIO pull-up/down code.
...
Enabling the pull-down resistor while the pull-up resistor is still enabled
is not possible. In this case, the write of PIO_PPDER for the relevant I/O
line is discarded. Likewise, enabling the pull-up resistor while the
pull-down resistor is still enabled is not possible. In this case, the
write of PIO_PUER for the relevant I/O line is discarded.
2016-09-20 13:32:04 -07:00
Vladimir Komendantskiy
e5cffc40fc
NET_TUN=y => NET_MULTIBUFFER=y
2016-09-20 13:06:47 -06:00
Gregory Nutt
ed22c93d7a
Tiva Ethernet: Needs support for CONFIG_NET_MULTIBUFFER=y
2016-09-20 13:02:24 -06:00
Gregory Nutt
4dc3521743
All SAM Ethernet Drivers: Add support so that the drivers can be built with CONFIG_NET_MULTIBUFFER=y
2016-09-20 08:56:36 -06:00
Marc Rechté
9838cc0cc9
Make DAC structure packed
2016-09-20 08:04:32 -06:00
Gregory Nutt
df26e80c63
Review of last commit
2016-09-17 09:21:26 -06:00
Gregory Nutt
23c89b806a
Add board support for XEN1210 driver in the STM32F4 Discovery.
2016-09-17 08:33:40 -06:00
Alan Carvalho de Assis
61980caee5
drivers/sensors: Adds support for the Sensixs XEN1210 3D-boar. This sensor is used on NANOSATC-BR2 a Brazillian CUBESAT project.
2016-09-16 12:45:53 -06:00
Gregory Nutt
141a111439
Update a comment
2016-09-16 12:31:18 -06:00
Gregory Nutt
de3e35f00a
include/nuttx/modem: Move all modem-related IOCTL commands to a common file to assure that they will be unique
2016-09-16 09:39:51 -06:00
Gregory Nutt
f0b4705d57
Correct a comment
2016-09-15 13:10:42 -06:00
Gregory Nutt
e3bbfa2d85
mq_send() was not setting the errno value on certain failures to allocate a message
2016-09-15 12:42:24 -06:00
Gregory Nutt
368f241637
Correct some comments
2016-09-15 08:46:41 -06:00
Gregory Nutt
7f1a88e243
Pierre's assertion-avoidance change should also be applied to STM32 F7 and L4
2016-09-15 08:41:49 -06:00
Pierre-noel Bouteville
829de7d5bd
Set USB address to avoid a failed assertion
2016-09-15 08:36:45 -06:00
Gregory Nutt
f61a14454d
Trivial cosmetic changes from review of PR 133
2016-09-15 08:06:33 -06:00
Gregory Nutt
7bbfc49b82
Merged in jwylder1/nuttx/stm32l476-mdk (pull request #133 )
...
Basic Support for STM32L476 MDK Board
2016-09-15 07:53:03 -06:00
Jim Wylder
cb4f1a4cec
Support basic booting and nsh on Motorola MDK
...
The Motorola MDK is based off of an earlier version
of NuttX. This only provides a basic nsh shell.
Signed-off-by: Jim Wylder <jwylder@motorola.com>
2016-09-14 15:42:10 -05:00
Jim Wylder
5d73f114b5
STM32L4: Add support for USART3-USART5
...
For STM32L4 parts, the higher number USART ports supported
varies. Add the HAVE_USARTx definitions to the configuration
to allow enabling the higher numbered USART ports.
Signed-off-by: Jim Wylder <jwylder@motorola.com>
2016-09-14 15:20:18 -05:00
Gregory Nutt
8842c2c214
Add a definition and a comment
2016-09-07 09:38:33 -06:00