Improvements to the ARMCMx directories structure organization. Adjusted the affected makefiles (STM32 demos only).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2330 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
038f6463b4
commit
cf83a93613
|
@ -60,7 +60,7 @@ CHIBIOS = ../..
|
||||||
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
||||||
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/port.mk
|
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/port.mk
|
||||||
include $(CHIBIOS)/os/kernel/kernel.mk
|
include $(CHIBIOS)/os/kernel/kernel.mk
|
||||||
include $(CHIBIOS)/test/test.mk
|
include $(CHIBIOS)/test/test.mk
|
||||||
include $(CHIBIOS)/ext/fatfs/fatfs.mk
|
include $(CHIBIOS)/ext/fatfs/fatfs.mk
|
||||||
|
@ -104,7 +104,7 @@ TCPPSRC =
|
||||||
|
|
||||||
# List ASM source files here
|
# List ASM source files here
|
||||||
ASMSRC = $(PORTASM) \
|
ASMSRC = $(PORTASM) \
|
||||||
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/vectors_md.s
|
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/vectors_md.s
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
|
|
|
@ -60,7 +60,7 @@ CHIBIOS = ../..
|
||||||
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
||||||
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/port.mk
|
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/port.mk
|
||||||
include $(CHIBIOS)/os/kernel/kernel.mk
|
include $(CHIBIOS)/os/kernel/kernel.mk
|
||||||
include $(CHIBIOS)/test/test.mk
|
include $(CHIBIOS)/test/test.mk
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ TCPPSRC =
|
||||||
|
|
||||||
# List ASM source files here
|
# List ASM source files here
|
||||||
ASMSRC = $(PORTASM) \
|
ASMSRC = $(PORTASM) \
|
||||||
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/vectors_md.s
|
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/vectors_md.s
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
|
|
|
@ -60,7 +60,7 @@ CHIBIOS = ../..
|
||||||
include $(CHIBIOS)/boards/ST_STM3210C_EVAL/board.mk
|
include $(CHIBIOS)/boards/ST_STM3210C_EVAL/board.mk
|
||||||
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/port.mk
|
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/port.mk
|
||||||
include $(CHIBIOS)/os/kernel/kernel.mk
|
include $(CHIBIOS)/os/kernel/kernel.mk
|
||||||
include $(CHIBIOS)/test/test.mk
|
include $(CHIBIOS)/test/test.mk
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ TCPPSRC =
|
||||||
|
|
||||||
# List ASM source files here
|
# List ASM source files here
|
||||||
ASMSRC = $(PORTASM) \
|
ASMSRC = $(PORTASM) \
|
||||||
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/vectors_cl.s
|
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/vectors_cl.s
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
|
|
|
@ -7,5 +7,5 @@ PORTSRC = ${CHIBIOS}/os/ports/GCC/ARMCMx/chcore.c \
|
||||||
PORTASM = ${CHIBIOS}/os/ports/GCC/ARMCMx/crt0_v7m.s
|
PORTASM = ${CHIBIOS}/os/ports/GCC/ARMCMx/crt0_v7m.s
|
||||||
|
|
||||||
PORTINC = ${CHIBIOS}/os/ports/GCC/ARMCMx \
|
PORTINC = ${CHIBIOS}/os/ports/GCC/ARMCMx \
|
||||||
${CHIBIOS}/os/ports/GCC/ARMCMx/STM32F10x \
|
${CHIBIOS}/os/ports/GCC/ARMCMx/STM32 \
|
||||||
${CHIBIOS}/os/ports/GCC/ARMCMx/cmsis
|
${CHIBIOS}/os/ports/GCC/ARMCMx/cmsis
|
||||||
|
|
|
@ -71,6 +71,7 @@
|
||||||
- FIX: DMA not initialized under some conditions (bug 3099701).
|
- FIX: DMA not initialized under some conditions (bug 3099701).
|
||||||
- NEW: Added an SPI driver to the STM8 platform support.
|
- NEW: Added an SPI driver to the STM8 platform support.
|
||||||
- NEW: Added a simple STM8 SPI demo under ./testhal/STM8/SPI.
|
- NEW: Added a simple STM8 SPI demo under ./testhal/STM8/SPI.
|
||||||
|
- CHANGE: Renamed ./os/ports/GCC/ARMCMx/STM32F10x in STM32.
|
||||||
- CHANGE: Diviced the file ARMCMx/crt0.s in crt0_v6m.s and crt0_v7m.s in
|
- CHANGE: Diviced the file ARMCMx/crt0.s in crt0_v6m.s and crt0_v7m.s in
|
||||||
order to remove the preprocessor directives from assembler files.
|
order to remove the preprocessor directives from assembler files.
|
||||||
- CHANGE: Divided the file STM32/vectors.s in several files, one for each
|
- CHANGE: Divided the file STM32/vectors.s in several files, one for each
|
||||||
|
|
|
@ -60,7 +60,7 @@ CHIBIOS = ../../..
|
||||||
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
||||||
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/port.mk
|
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/port.mk
|
||||||
include $(CHIBIOS)/os/kernel/kernel.mk
|
include $(CHIBIOS)/os/kernel/kernel.mk
|
||||||
#include $(CHIBIOS)/test/test.mk
|
#include $(CHIBIOS)/test/test.mk
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ TCPPSRC =
|
||||||
|
|
||||||
# List ASM source files here
|
# List ASM source files here
|
||||||
ASMSRC = $(PORTASM) \
|
ASMSRC = $(PORTASM) \
|
||||||
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/vectors_md.s
|
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/vectors_md.s
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
|
|
|
@ -60,7 +60,7 @@ CHIBIOS = ../../..
|
||||||
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
||||||
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/port.mk
|
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/port.mk
|
||||||
include $(CHIBIOS)/os/kernel/kernel.mk
|
include $(CHIBIOS)/os/kernel/kernel.mk
|
||||||
#include $(CHIBIOS)/test/test.mk
|
#include $(CHIBIOS)/test/test.mk
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ TCPPSRC =
|
||||||
|
|
||||||
# List ASM source files here
|
# List ASM source files here
|
||||||
ASMSRC = $(PORTASM) \
|
ASMSRC = $(PORTASM) \
|
||||||
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/vectors_md.s
|
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/vectors_md.s
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
|
|
|
@ -60,7 +60,7 @@ CHIBIOS = ../../..
|
||||||
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
||||||
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/port.mk
|
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/port.mk
|
||||||
include $(CHIBIOS)/os/kernel/kernel.mk
|
include $(CHIBIOS)/os/kernel/kernel.mk
|
||||||
#include $(CHIBIOS)/test/test.mk
|
#include $(CHIBIOS)/test/test.mk
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ TCPPSRC =
|
||||||
|
|
||||||
# List ASM source files here
|
# List ASM source files here
|
||||||
ASMSRC = $(PORTASM) \
|
ASMSRC = $(PORTASM) \
|
||||||
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/vectors_md.s
|
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/vectors_md.s
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
|
|
|
@ -60,7 +60,7 @@ CHIBIOS = ../../..
|
||||||
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
||||||
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/port.mk
|
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/port.mk
|
||||||
include $(CHIBIOS)/os/kernel/kernel.mk
|
include $(CHIBIOS)/os/kernel/kernel.mk
|
||||||
#include $(CHIBIOS)/test/test.mk
|
#include $(CHIBIOS)/test/test.mk
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ TCPPSRC =
|
||||||
|
|
||||||
# List ASM source files here
|
# List ASM source files here
|
||||||
ASMSRC = $(PORTASM) \
|
ASMSRC = $(PORTASM) \
|
||||||
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/vectors_md.s
|
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/vectors_md.s
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
|
|
|
@ -60,7 +60,7 @@ CHIBIOS = ../../..
|
||||||
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
include $(CHIBIOS)/boards/OLIMEX_STM32_P103/board.mk
|
||||||
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
include $(CHIBIOS)/os/hal/platforms/STM32/platform.mk
|
||||||
include $(CHIBIOS)/os/hal/hal.mk
|
include $(CHIBIOS)/os/hal/hal.mk
|
||||||
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/port.mk
|
include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/port.mk
|
||||||
include $(CHIBIOS)/os/kernel/kernel.mk
|
include $(CHIBIOS)/os/kernel/kernel.mk
|
||||||
#include $(CHIBIOS)/test/test.mk
|
#include $(CHIBIOS)/test/test.mk
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ TCPPSRC =
|
||||||
|
|
||||||
# List ASM source files here
|
# List ASM source files here
|
||||||
ASMSRC = $(PORTASM) \
|
ASMSRC = $(PORTASM) \
|
||||||
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F10x/vectors_md.s
|
$(CHIBIOS)/os/ports/GCC/ARMCMx/STM32/vectors_md.s
|
||||||
|
|
||||||
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
|
||||||
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
|
||||||
|
|
Loading…
Reference in New Issue