diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-07-15 09:42:46 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-07-15 09:42:46 +0000 |
commit | ce081e2ba245347b31a5731b5cfdf583cd8b0959 (patch) | |
tree | 55fc746077c0be188fb7d882a9645cfb48c38427 /os | |
parent | 302e691017f3a74c46ea52c22254d18f58b6435b (diff) | |
download | ChibiOS-ce081e2ba245347b31a5731b5cfdf583cd8b0959.tar.gz ChibiOS-ce081e2ba245347b31a5731b5cfdf583cd8b0959.tar.bz2 ChibiOS-ce081e2ba245347b31a5731b5cfdf583cd8b0959.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8100 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/common/ports/ARMCMx/devices/STM32L0xx/cmparams.h | 2 | ||||
-rw-r--r-- | os/hal/boards/ST_NUCLEO_L053R8/board.mk | 4 | ||||
-rw-r--r-- | 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)),)
|