From d5853de4bd4603ba507999d45075031779b13912 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 5 Oct 2010 14:05:25 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2235 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/ARMCMx/port.dox | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'os/ports/GCC') diff --git a/os/ports/GCC/ARMCMx/port.dox b/os/ports/GCC/ARMCMx/port.dox index 3556d3196..2f91f27f3 100644 --- a/os/ports/GCC/ARMCMx/port.dox +++ b/os/ports/GCC/ARMCMx/port.dox @@ -106,6 +106,20 @@ * stack where all the interrupts and exceptions are processed. * - The threads are started in thread-privileged mode. * - Interrupt nesting and the other advanced core/NVIC features are supported. + * - When using an STM32 one of the following macros must be defined on the + * compiler command line or in a file named board.h: + * - @p STM32F10X_LD + * - @p STM32F10X_MD + * - @p STM32F10X_HD + * - @p STM32F10X_CL + * . + * This is required in order to include a vectors table with the correct + * length for the STM32 model, see the file + * ./os/ports/GCC/ARMCMx/STM32F10x/vectors.s. + * - The Cortex-Mx port is perfectly generic, support for more devices can be + * easily added by adding a subdirectory under ./os/ports/GCC/ARMCMx + * and giving it the name of the new device, then copy the files from another + * device into the new directory and customize them for the new device. * . * @ingroup gcc */ -- cgit v1.2.3