Make sure the patch is commited exactly as line-endings matter
parent
bcd85df479
commit
17245e9204
|
|
@ -0,0 +1 @@
|
||||||
|
chibios_stm32l151.patch binary
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue