From ce081e2ba245347b31a5731b5cfdf583cd8b0959 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 15 Jul 2015 09:42:46 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8100 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/ports/ARMCMx/devices/STM32L0xx/cmparams.h | 2 +- os/hal/boards/ST_NUCLEO_L053R8/board.mk | 4 ++-- os/hal/ports/STM32/STM32L0xx/platform.mk | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/os/common/ports/ARMCMx/devices/STM32L0xx/cmparams.h b/os/common/ports/ARMCMx/devices/STM32L0xx/cmparams.h index 850793a0f..ad14e43b0 100644 --- a/os/common/ports/ARMCMx/devices/STM32L0xx/cmparams.h +++ b/os/common/ports/ARMCMx/devices/STM32L0xx/cmparams.h @@ -44,7 +44,7 @@ /** * @brief Number of bits in priority masks. */ -#define CORTEX_PRIORITY_BITS 4 +#define CORTEX_PRIORITY_BITS 2 /** * @brief Number of interrupt vectors. 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)),)