HAL_ChibiOS: setup for LEDs on KakuteF4

this makes Kopis1 display LEDs properly
This commit is contained in:
Andrew Tridgell 2019-09-10 08:03:25 +10:00
parent a4924e1c0b
commit cbe0af2463
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,4 @@
# setup for LEDs on chan5
SERVO5_FUNCTION 120
NTF_LED_TYPES 256

View File

@ -118,7 +118,8 @@ PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51)
PA3 TIM5_CH4 TIM5 PWM(3) GPIO(52)
PA2 TIM5_CH3 TIM5 PWM(4) GPIO(53)
# PC8 TIM8_CH3 TIM2 GPIO(54) # LED strip
PC8 TIM8_CH3 TIM8 PWM(5) GPIO(54) # LED strip
define HAL_NEOPIXEL_COUNT 8
define HAL_STORAGE_SIZE 15360
define STORAGE_FLASH_PAGE 2