modified the bsp files of at32 to make them work better

This commit is contained in:
zhiqiang
2025-09-04 14:38:27 +08:00
parent 93487deab7
commit f6ca80ab13
27 changed files with 384 additions and 293 deletions

View File

@@ -47,7 +47,7 @@
// Button
#define BUTTON_PORT GPIOA
#define BUTTON_PIN GPIO_PINS_0
#define BUTTON_STATE_ACTIVE 0
#define BUTTON_STATE_ACTIVE 1
#define BUTTON_GPIO_CLK_EN() crm_periph_clock_enable(CRM_GPIOA_PERIPH_CLOCK, TRUE)
// Usart