1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/nrf51d*: fix hardware flowcontrol configuration

Use the periph_uart_hw_fc module and remove the unused UART_HWFLOWCTRL macro
This commit is contained in:
Alexandre Abadie 2020-03-23 10:12:55 +01:00
parent e725111562
commit ce5149d84f
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
6 changed files with 6 additions and 2 deletions

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