1
0
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:
Francisco 2020-03-23 16:06:00 +01:00 committed by GitHub
commit dc0f8dda1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 6 additions and 5 deletions

View File

@ -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
/** @} */

View File

@ -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
/** @} */

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1 +1,3 @@
FEATURES_REQUIRED += periph_uart_hw_fc
include $(RIOTBOARD)/common/nrf51/Makefile.dep

View File

@ -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

View File

@ -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

View File

@ -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
/** @} */