From aadf193c53c133c479b4906ef7568ed5ccb86876 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 21 Apr 2014 09:59:04 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6866 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- boards/ST_STM32F401C_DISCOVERY/board.mk | 4 +- demos/ARMCM4-STM32F401C-DISCOVERY/.cproject | 133 ++++++++------------ demos/ARMCM4-STM32F401C-DISCOVERY/.project | 75 ++++++----- demos/ARMCM4-STM32F401C-DISCOVERY/Makefile | 6 +- 4 files changed, 99 insertions(+), 119 deletions(-) diff --git a/boards/ST_STM32F401C_DISCOVERY/board.mk b/boards/ST_STM32F401C_DISCOVERY/board.mk index 216e6d9f8..8f203712e 100644 --- a/boards/ST_STM32F401C_DISCOVERY/board.mk +++ b/boards/ST_STM32F401C_DISCOVERY/board.mk @@ -1,5 +1,5 @@ # List of all the board related files. -BOARDSRC = ${CHIBIOS}/boards/ST_STM32F401_DISCOVERY/board.c +BOARDSRC = ${CHIBIOS}/boards/ST_STM32F401C_DISCOVERY/board.c # Required include directories -BOARDINC = ${CHIBIOS}/boards/ST_STM32F401_DISCOVERY +BOARDINC = ${CHIBIOS}/boards/ST_STM32F401C_DISCOVERY diff --git a/demos/ARMCM4-STM32F401C-DISCOVERY/.cproject b/demos/ARMCM4-STM32F401C-DISCOVERY/.cproject index 7ed61a626..21532ee82 100644 --- a/demos/ARMCM4-STM32F401C-DISCOVERY/.cproject +++ b/demos/ARMCM4-STM32F401C-DISCOVERY/.cproject @@ -1,82 +1,51 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/demos/ARMCM4-STM32F401C-DISCOVERY/.project b/demos/ARMCM4-STM32F401C-DISCOVERY/.project index c64e3426c..1721a7c4b 100644 --- a/demos/ARMCM4-STM32F401C-DISCOVERY/.project +++ b/demos/ARMCM4-STM32F401C-DISCOVERY/.project @@ -1,32 +1,43 @@ - - - ARMCM4-STM32F401C-DISCOVERY - - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - - - org.eclipse.xtext.ui.shared.xtextBuilder - - - - - - org.eclipse.cdt.core.cnature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - org.eclipse.xtext.ui.shared.xtextNature - - + + + ARMCM4-STM32F401C-DISCOVERY + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + board + 2 + CHIBIOS/boards/ST_STM32F401C_DISCOVERY + + + os + 2 + CHIBIOS/os + + + test + 2 + CHIBIOS/test + + + diff --git a/demos/ARMCM4-STM32F401C-DISCOVERY/Makefile b/demos/ARMCM4-STM32F401C-DISCOVERY/Makefile index f094b8c64..1ef302f49 100644 --- a/demos/ARMCM4-STM32F401C-DISCOVERY/Makefile +++ b/demos/ARMCM4-STM32F401C-DISCOVERY/Makefile @@ -64,8 +64,8 @@ endif PROJECT = ch # Imported source files and paths -CHIBIOS = ../ChibiOSStandardSVNTrunk -include boards/ST_STM32F401_DISCOVERY/board.mk +CHIBIOS = ../.. +include $(CHIBIOS)/boards/ST_STM32F401C_DISCOVERY/board.mk include $(CHIBIOS)/os/hal/platforms/STM32F4xx/platform.mk include $(CHIBIOS)/os/hal/hal.mk include $(CHIBIOS)/os/ports/GCC/ARMCMx/STM32F4xx/port.mk @@ -73,7 +73,7 @@ include $(CHIBIOS)/os/kernel/kernel.mk include $(CHIBIOS)/test/test.mk # Define linker script file here -LDSCRIPT= ld/STM32F401xC.ld +LDSCRIPT= $(PORTLD)/STM32F401xC.ld # C sources that can be compiled in ARM or THUMB mode depending on the global # setting.