From 17245e920410c008d30307299e4484e8c60cb7ec Mon Sep 17 00:00:00 2001 From: Michiel Visser Date: Wed, 26 Jun 2019 09:30:12 +0200 Subject: [PATCH] Make sure the patch is commited exactly as line-endings matter --- keyboards/anne_pro/.gitattributes | 1 + keyboards/anne_pro/chibios_stm32l151.patch | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 keyboards/anne_pro/.gitattributes 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.