添加M999命令发送版本号

This commit is contained in:
2025-09-16 16:26:14 +08:00
parent 14fa262d35
commit 5ac3d5afa7
3 changed files with 24 additions and 2 deletions

View File

@@ -39,6 +39,14 @@ void usart1_irq_handler(void);
/******************************************************************************/
#define MCU_CODE 23u
#define FW_VERSION_MAJOR 0
#define FW_VERSION_MINOR 0
#define FW_VERSION_PATCH 3
/******************************************************************************/
#define RCU_GPIO_I2C RCU_GPIOF
#define RCU_I2C RCU_I2C0
#define I2C_SCL_PORT GPIOF