diff --git a/keyboards/anne_pro/.gitattributes b/keyboards/anne_pro/.gitattributes new file mode 100644 index 0000000000..f268b0b497 --- /dev/null +++ b/keyboards/anne_pro/.gitattributes @@ -0,0 +1 @@ +chibios_stm32l151.patch binary diff --git a/keyboards/anne_pro/chibios_stm32l151.patch b/keyboards/anne_pro/chibios_stm32l151.patch index 76fedda343..295b77e845 100644 --- a/keyboards/anne_pro/chibios_stm32l151.patch +++ b/keyboards/anne_pro/chibios_stm32l151.patch @@ -3,13 +3,13 @@ index e2c2344af..dcf6f83bc 100644 --- a/os/hal/ports/STM32/STM32L1xx/platform.mk +++ b/os/hal/ports/STM32/STM32L1xx/platform.mk @@ -17,8 +17,8 @@ ifneq ($(findstring HAL_USE_ADC TRUE,$(HALCONF)),) - PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c - endif - else -- $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c --PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_ext_lld_isr.c -+PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c \ -+ $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_ext_lld_isr.c - endif - - # Drivers compatible with the platform. + PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c + endif + else +- $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c +-PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_ext_lld_isr.c ++PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c \ ++ $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_ext_lld_isr.c + endif + + # Drivers compatible with the platform.