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:
parent
e725111562
commit
ce5149d84f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user