aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/boards/ST_NUCLEO_L053R8/board.mk4
-rw-r--r--os/hal/ports/STM32/STM32L0xx/platform.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/boards/ST_NUCLEO_L053R8/board.mk b/os/hal/boards/ST_NUCLEO_L053R8/board.mk
index 124a7d13f..6cb56c1de 100644
--- a/os/hal/boards/ST_NUCLEO_L053R8/board.mk
+++ b/os/hal/boards/ST_NUCLEO_L053R8/board.mk
@@ -1,5 +1,5 @@
# List of all the board related files.
-BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO_L152RE/board.c
+BOARDSRC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO_L053R8/board.c
# Required include directories
-BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO_L152RE
+BOARDINC = ${CHIBIOS}/os/hal/boards/ST_NUCLEO_L053R8
diff --git a/os/hal/ports/STM32/STM32L0xx/platform.mk b/os/hal/ports/STM32/STM32L0xx/platform.mk
index 0e24b00e9..2f99f0e01 100644
--- a/os/hal/ports/STM32/STM32L0xx/platform.mk
+++ b/os/hal/ports/STM32/STM32L0xx/platform.mk
@@ -3,10 +3,10 @@ ifeq ($(USE_SMART_BUILD),yes)
HALCONF := $(strip $(shell cat halconf.h | egrep -e "define"))
PLATFORMSRC := $(CHIBIOS)/os/hal/ports/common/ARMCMx/nvic.c \
- $(CHIBIOS)/os/hal/ports/STM32/STM32L0xx/stm32_dma.c \
$(CHIBIOS)/os/hal/ports/STM32/STM32L0xx/hal_lld.c \
$(CHIBIOS)/os/hal/ports/STM32/LLD/TIMv1/st_lld.c
ifneq ($(findstring HAL_USE_ADC TRUE,$(HALCONF)),)
+ $(CHIBIOS)/os/hal/ports/STM32/STM32L0xx/stm32_dma.c \
PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L0xx/adc_lld.c
endif
ifneq ($(findstring HAL_USE_EXT TRUE,$(HALCONF)),)