From 0401e5f5130321416e6399182f75a7644616709d Mon Sep 17 00:00:00 2001 From: Niel Nielsen Date: Mon, 31 Aug 2026 08:22:10 +0200 Subject: [PATCH] Change BWM_UART_BAUD to 921600 Updated BWM_UART_BAUD to 921600 for improved performance. Signed-off-by: Niel Nielsen --- armsrc/bwm_uart_at32.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/armsrc/bwm_uart_at32.h b/armsrc/bwm_uart_at32.h index 707a2f102..189dc7abf 100644 --- a/armsrc/bwm_uart_at32.h +++ b/armsrc/bwm_uart_at32.h @@ -14,12 +14,15 @@ #include "common.h" -#define BWM_UART_BAUD 460800 +// Must match UART_BAUD_RATE_DEFAULT in the ESP firmware +// (Proxmark5_BWM_esp32: components/app_uart_cmd/app_cmd_uart.h). Both ends +// step together. RX is DMA-serviced, so this can be raised well past 460800; +// the ceiling is the ESP's CONFIG_SOC_UART_BITRATE_MAX and PA0/PA1 signal +// integrity. Validate on hardware before pushing beyond 921600. +#define BWM_UART_BAUD 921600 void bwm_uart_init(void); -void UART4_IRQHandler(void); - int bwm_uart_write(const uint8_t *data, size_t len); uint16_t bwm_uart_rx_available(void);