Change BWM_UART_BAUD to 921600

Updated BWM_UART_BAUD to 921600 for improved performance.

Signed-off-by: Niel Nielsen <nieldk@gmail.com>
This commit is contained in:
Niel Nielsen authored and GitHub committed 2026-08-31 08:22:10 +02:00
1 parent 191e21e604
commit 0401e5f513
1 file changed
+6 -3
+6 -3
View File
@@ -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);