mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #13684 from aabadie/pr/boards/nrf51_hw_fc_fix
boards/nrf51: fix UART hardware flowcontrol configuration
This commit is contained in:
commit
dc0f8dda1a
@ -35,7 +35,6 @@ extern "C" {
|
||||
*/
|
||||
#define UART_NUMOF (1U)
|
||||
/* UART pin configuration */
|
||||
#define UART_HWFLOWCTRL 0
|
||||
#define UART_PIN_RX 25
|
||||
#define UART_PIN_TX 24
|
||||
/** @} */
|
||||
|
@ -34,7 +34,6 @@ extern "C" {
|
||||
*/
|
||||
#define UART_NUMOF (1U)
|
||||
/* UART pin configuration */
|
||||
#define UART_HWFLOWCTRL 0
|
||||
#define UART_PIN_RX 25
|
||||
#define UART_PIN_TX 24
|
||||
/** @} */
|
||||
|
@ -2,4 +2,6 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += saul_gpio
|
||||
endif
|
||||
|
||||
FEATURES_REQUIRED += periph_uart_hw_fc
|
||||
|
||||
include $(RIOTBOARD)/common/nrf51/Makefile.dep
|
||||
|
@ -4,6 +4,7 @@ CPU_MODEL = nrf51x22xxac
|
||||
FEATURES_PROVIDED += periph_i2c
|
||||
FEATURES_PROVIDED += periph_spi
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
FEATURES_PROVIDED += periph_uart_hw_fc
|
||||
|
||||
# include common nrf51 based boards features
|
||||
include $(RIOTBOARD)/common/nrf51/Makefile.features
|
||||
|
@ -34,7 +34,6 @@ extern "C" {
|
||||
*/
|
||||
#define UART_NUMOF (1U)
|
||||
/* UART pin configuration */
|
||||
#define UART_HWFLOWCTRL 1
|
||||
#define UART_PIN_RX 11
|
||||
#define UART_PIN_TX 9
|
||||
#define UART_PIN_RTS 8
|
||||
|
@ -1 +1,3 @@
|
||||
FEATURES_REQUIRED += periph_uart_hw_fc
|
||||
|
||||
include $(RIOTBOARD)/common/nrf51/Makefile.dep
|
||||
|
@ -2,6 +2,7 @@ CPU_MODEL = nrf51x22xxab
|
||||
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
FEATURES_PROVIDED += periph_uart_hw_fc
|
||||
|
||||
# include common nrf51 based boards features
|
||||
include $(RIOTBOARD)/common/nrf51/Makefile.features
|
||||
|
@ -34,7 +34,6 @@ extern "C" {
|
||||
*/
|
||||
#define UART_NUMOF (1U)
|
||||
/* UART pin configuration */
|
||||
#define UART_HWFLOWCTRL 1
|
||||
#define UART_PIN_RX 11
|
||||
#define UART_PIN_TX 9
|
||||
#define UART_PIN_RTS 8
|
||||
|
@ -42,7 +42,6 @@ extern "C" {
|
||||
/* UART pin configuration */
|
||||
#define UART_PIN_RX 16
|
||||
#define UART_PIN_TX 17
|
||||
#define UART_HWFLOWCTRL 0
|
||||
#define UART_PIN_RTS 19
|
||||
#define UART_PIN_CTS 18
|
||||
/** @} */
|
||||
|
Loading…
Reference in New Issue
Block a user