mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-24 22:43:35 +00:00
nrf5-zephyr: remove baudrate patch for 115200: new posix-h4-zephyr can use default 1000000
This commit is contained in:
parent
6807484c54
commit
b1aa03799d
@ -1,16 +1,3 @@
|
||||
diff --git a/samples/bluetooth/hci_uart/nrf5.conf b/samples/bluetooth/hci_uart/nrf5.conf
|
||||
index 8b268bc73..b00853925 100644
|
||||
--- a/samples/bluetooth/hci_uart/nrf5.conf
|
||||
+++ b/samples/bluetooth/hci_uart/nrf5.conf
|
||||
@@ -4,7 +4,7 @@ CONFIG_UART_CONSOLE=n
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
-CONFIG_UART_NRF5_BAUD_RATE=1000000
|
||||
+CONFIG_UART_NRF5_BAUD_RATE=115200
|
||||
CONFIG_UART_NRF5_FLOW_CONTROL=y
|
||||
CONFIG_MAIN_STACK_SIZE=512
|
||||
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
|
||||
diff --git a/samples/bluetooth/hci_uart/src/Makefile b/samples/bluetooth/hci_uart/src/Makefile
|
||||
index ae704cee5..833816b50 100644
|
||||
--- a/samples/bluetooth/hci_uart/src/Makefile
|
||||
@ -92,19 +79,6 @@ index ecec3ccc3..88cdba5fc 100644
|
||||
#endif
|
||||
#if defined(CONFIG_BT_CTLR_SUBVERSION_NUMBER)
|
||||
#define RADIO_BLE_SUB_VERSION_NUMBER \
|
||||
diff --git a/drivers/serial/uart_nrf5.c b/drivers/serial/uart_nrf5.c
|
||||
index e8ebfa5d9..9a5c70e1e 100644
|
||||
--- a/drivers/serial/uart_nrf5.c
|
||||
+++ b/drivers/serial/uart_nrf5.c
|
||||
@@ -227,7 +227,7 @@ static int uart_nrf5_init(struct device *dev)
|
||||
|
||||
#endif /* CONFIG_UART_NRF5_FLOW_CONTROL */
|
||||
|
||||
- DEV_DATA(dev)->baud_rate = CONFIG_UART_NRF5_BAUD_RATE;
|
||||
+ DEV_DATA(dev)->baud_rate = 115200;
|
||||
|
||||
/* Set baud rate */
|
||||
err = baudrate_set(dev, DEV_DATA(dev)->baud_rate,
|
||||
diff --git a/subsys/Kconfig b/subsys/Kconfig
|
||||
index 4966a0b81..546713963 100644
|
||||
--- a/subsys/Kconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user