Make sure the patch is commited exactly as line-endings matter

anne_pro
Michiel Visser 2019-06-26 09:30:12 +02:00
parent bcd85df479
commit 17245e9204
2 changed files with 11 additions and 10 deletions

View File

@ -0,0 +1 @@
chibios_stm32l151.patch binary

View File

@ -3,13 +3,13 @@ index e2c2344af..dcf6f83bc 100644
--- a/os/hal/ports/STM32/STM32L1xx/platform.mk --- a/os/hal/ports/STM32/STM32L1xx/platform.mk
+++ b/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)),) @@ -17,8 +17,8 @@ ifneq ($(findstring HAL_USE_ADC TRUE,$(HALCONF)),)
PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c
endif endif
else else
- $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c - $(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_ext_lld_isr.c
+PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c \ +PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c \
+ $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_ext_lld_isr.c + $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_ext_lld_isr.c
endif endif
# Drivers compatible with the platform. # Drivers compatible with the platform.