|
@ -8,7 +8,7 @@ |
|
|
#define PC_DEBUG_UART huart1 |
|
|
#define PC_DEBUG_UART huart1 |
|
|
#define PC_DEBUG_UART_DMA_HANDLER hdma_usart1_rx |
|
|
#define PC_DEBUG_UART_DMA_HANDLER hdma_usart1_rx |
|
|
#define PC_DEBUG_UART_RX_BUF_SIZE 1024 |
|
|
#define PC_DEBUG_UART_RX_BUF_SIZE 1024 |
|
|
#define PC_DEBUG_LIGHT_GPIO PF9 |
|
|
|
|
|
|
|
|
#define PC_DEBUG_LIGHT_GPIO PF10 |
|
|
|
|
|
|
|
|
#define PC_SYS_DELAY_US_TIMER htim6 // US延时定时器 |
|
|
#define PC_SYS_DELAY_US_TIMER htim6 // US延时定时器 |
|
|
#define PC_SYS_ZTICKET_TIMER TIM11 // 系统ticket定时器 |
|
|
#define PC_SYS_ZTICKET_TIMER TIM11 // 系统ticket定时器 |
|
@ -21,7 +21,7 @@ |
|
|
|
|
|
|
|
|
// ---------------------------------------------------------------------- |
|
|
// ---------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
#define STATE_LIGHT_GPIO PF10 |
|
|
|
|
|
|
|
|
#define STATE_LIGHT_GPIO PF9 |
|
|
|
|
|
|
|
|
#define KEY0 PE4 |
|
|
#define KEY0 PE4 |
|
|
#define KEY1 PE3 |
|
|
#define KEY1 PE3 |
|
|