Update UART baud rate to 460800
Changed BWM_UART_BAUD from 921600 to 460800 for compatibility. Signed-off-by: Niel Nielsen <nieldk@gmail.com>
This commit is contained in:
1 parent
0401e5f513
commit
17ffe0399b
1 file changed
+3
-6
@@ -14,15 +14,12 @@
|
||||
|
||||
#include "common.h"
|
||||
|
||||
// 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
|
||||
#define BWM_UART_BAUD 460800
|
||||
|
||||
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);
|
||||
|
||||
Reference in new issue
Block a user