qmk-dactyl-manuform-a/keyboards/handwired/onekey/blackpill_f411
Sergey Vlasov 7ddae97c89
Fix backlight for F401/F411 blackpill onekey examples (#10320)
Fix configs to make the `handwired/onekey/blackpill_f401:backlight` and
`handwired/onekey/blackpill_f411:backlight` examples actually compile
and work:

 - Use `PWMD5` instead of `PWMD2` for backlight, which matches the
   default value of `BACKLIGHT_PAL_MODE` (AF02 for pin A0 is `TIM5_CH1`)
   and does not conflict with the default value of `STM32_ST_USE_TIMER`.

 - Enable `HAL_USE_PWM` in halconf.h and `STM32_PWM_USE_TIM5` in
   mcuconf.h, so that `PWMD5` could be used.
2020-09-21 22:50:39 -07:00
..
config.h Fix backlight for F401/F411 blackpill onekey examples (#10320) 2020-09-21 22:50:39 -07:00
halconf.h Fix backlight for F401/F411 blackpill onekey examples (#10320) 2020-09-21 22:50:39 -07:00
mcuconf.h Fix backlight for F401/F411 blackpill onekey examples (#10320) 2020-09-21 22:50:39 -07:00
readme.md Add f401 and f411 blackpill examples (#7930) 2020-03-06 01:40:39 +00:00
rules.mk Add STM32F401/F411 to mcu_selection.mk (#10278) 2020-09-18 20:00:18 -07:00

readme.md

f411 blackpill onekey

Supported Hardware: STM32F411CEU6 WeAct v1.3.

To trigger keypress, short together pins B0 and A7.