Skip to content

Commit ba2acc2

Browse files
committed
fix: UART DMA REQUEST
1 parent 8a0be63 commit ba2acc2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/fw/board/boards/board_em_lb525.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
2424
#include "drivers/sf32lb/pwm_hal_definitions.h"
2525
#include "board/board_sf32lb.h"
2626

27-
#define USING_UART1
27+
// #define USING_UART1
2828
#ifdef USING_UART1
2929
#define UART_INST USART1
3030
#define UART_TX PAD_PA19
3131
#define UART_RX PAD_PA18
32-
#define UART_DMAREQ DMA_REQUEST_4
32+
#define UART_DMAREQ DMA_REQUEST_5
3333
#else
3434
#define UART_INST USART3
3535
#define UART_TX PAD_PA20
3636
#define UART_RX PAD_PA27
37-
#define UART_DMAREQ DMA_REQUEST_7
37+
#define UART_DMAREQ DMA_REQUEST_27
3838
#endif
3939

4040
static UARTDeviceState s_dbg_uart_state;

0 commit comments

Comments
 (0)