Update some changes for AT32F415 (#24766)

* Fixed SPI can't compiled issue

* Added solenoid support and use 256KB ldscript for Onekey board
This commit is contained in:
HorrorTroll
2025-01-04 03:33:22 +07:00
committed by GitHub
parent 9a0f4e586a
commit cc3823f767
3 changed files with 7 additions and 2 deletions

View File

@@ -8,3 +8,7 @@
#define BACKLIGHT_PWM_DRIVER PWMD5
#define BACKLIGHT_PWM_CHANNEL 1
#define SOLENOID_PIN B12
#define SOLENOID_PINS { B12, B13, B14, B15 }
#define SOLENOID_PINS_ACTIVE_STATE { high, high, low }

View File

@@ -0,0 +1 @@
MCU_LDSCRIPT = AT32F415xC