generated from hulk/gd32e23x_template_cmake_vscode
Merge branch 'dev' of https://gitea.hulk.wang/hulk/ldc1612_cmake_vscode into dev
This commit is contained in:
@@ -27,8 +27,19 @@
|
||||
// #define EDDY_DRIVE_CURRENT_DETECTION // Eddy Drive Current Detection : Enable
|
||||
#undef EDDY_DRIVE_CURRENT_DETECTION // Eddy Drive Current Detection : Disable
|
||||
|
||||
/* >>>>>>>>>>>>>>>>>>>>>[LDC1612 DEBUG]<<<<<<<<<<<<<<<<<<<< */
|
||||
|
||||
// #define LDC_DEBUG // LDC1612 Driver Debug : Enable
|
||||
#undef LDC_DEBUG // LDC1612 Driver Debug : Disable
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
#define MCU_CODE 24U
|
||||
|
||||
#define FW_VERSION_MAJOR 1
|
||||
#define FW_VERSION_MINOR 1
|
||||
#define FW_VERSION_PATCH 3
|
||||
|
||||
/* Dynamic USART Configuration Structure */
|
||||
typedef struct {
|
||||
uint32_t rcu_usart;
|
||||
@@ -58,9 +69,9 @@ void usart1_irq_handler(void);
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
#define LED_RCU RCU_GPIOA
|
||||
#define LED_PORT GPIOA
|
||||
#define LED_PIN GPIO_PIN_7
|
||||
#define LED_RCU RCU_GPIOB
|
||||
#define LED_PORT GPIOB
|
||||
#define LED_PIN GPIO_PIN_1
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user