1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/platforms/chibios
Sergey Vlasov 81ca83296f
analog.c: Fix pinToMux() for STM32F0xx (#19658)
The `adc_read()` code for STM32F0xx expects to get the 0-based channel
number in `mux.input`, but the `pinToMux()` code for STM32F0xx was
attempting to pass the CHSELR bit mask in that field, which resulted in
selecting a wrong channel, therefore `analogReadPin()` did not work
properly for the STM32F0xx chips.  Fix `pinToMux()` to put the channel
number in that field (this matches the behavior for other supported
chips and also allows selection of channels 16...18, which can be used
to access the builtin temperature, reference voltage and VBAT sensors).
2023-01-25 01:47:55 +00:00
..
boards Merge remote-tracking branch 'origin/master' into develop 2023-01-19 01:06:08 +00:00
bootloaders Add mmoskal/uf2-stm32f103 bootloader support (#19594) 2023-01-15 15:04:32 +00:00
converters Add alias support for converters (#19563) 2023-01-18 23:16:33 +00:00
drivers analog.c: Fix pinToMux() for STM32F0xx (#19658) 2023-01-25 01:47:55 +00:00
vendors/RP [Bug] rp2040: fix timer wrap deadlock in ws2812 vendor driver (#19652) 2023-01-23 22:24:21 +01:00
_pin_defs.h [Core] Add Raspberry Pi RP2040 support (#14877) 2022-06-30 13:19:27 +02:00
_timer.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
_wait.c Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
_wait.h [Fix] Make ChibiOS _wait.h independent of quantum.h (#17645) 2022-07-12 21:54:33 +02:00
atomic_util.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
bootloader.mk De-duplicate platform detection (#19603) 2023-01-19 00:27:00 +00:00
chibios_config.h [Core] Adjust PWM hardware audio driver for RP2040 (#17723) 2022-10-27 19:26:16 +02:00
flash.mk Add mmoskal/uf2-stm32f103 bootloader support (#19594) 2023-01-15 15:04:32 +00:00
gd32v_compatibility.h Fix GD32VF103 WS2812 PWM driver (#18067) 2022-08-15 18:00:22 +01:00
gpio.h Refactor writePin to work with statements (#16738) 2022-03-27 15:07:25 -07:00
hardware_id.c Fix some rp2040 hardware ID errors (#18617) 2022-10-06 00:36:48 +01:00
platform.c Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
platform.mk De-duplicate platform detection (#19603) 2023-01-19 00:27:00 +00:00
platform_deps.h Move tmk_core/common/<plat> (#13918) 2021-11-19 10:41:02 -08:00
sleep_led.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
suspend.c Initial migration of suspend callbacks (#16067) 2022-02-05 05:10:00 +11:00
synchronization_util.c [Core] Use a mutex guard for split shared memory (#16647) 2022-04-19 20:56:16 +10:00
syscall-fallbacks.c Format code according to conventions (#16322) 2022-02-12 18:29:31 +00:00
timer.c ChibiOS 21.11.1 update. (#16251) 2022-03-07 21:04:22 +11:00
wait.c ChibiOS 21.11.1 update. (#16251) 2022-03-07 21:04:22 +11:00