aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/ARMCMx/port.dox
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-05 14:05:25 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-05 14:05:25 +0000
commitd5853de4bd4603ba507999d45075031779b13912 (patch)
tree21dd80337abd8bf10e2017773ddf7dbd9393e98b /os/ports/GCC/ARMCMx/port.dox
parent2891f7d645c4be187ac96ee4011207531d25c34a (diff)
downloadChibiOS-d5853de4bd4603ba507999d45075031779b13912.tar.gz
ChibiOS-d5853de4bd4603ba507999d45075031779b13912.tar.bz2
ChibiOS-d5853de4bd4603ba507999d45075031779b13912.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2235 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/ARMCMx/port.dox')
-rw-r--r--os/ports/GCC/ARMCMx/port.dox14
1 files changed, 14 insertions, 0 deletions
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 <tt>board.h</tt>:
+ * - @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
+ * <tt>./os/ports/GCC/ARMCMx/STM32F10x/vectors.s</tt>.
+ * - The Cortex-Mx port is perfectly generic, support for more devices can be
+ * easily added by adding a subdirectory under <tt>./os/ports/GCC/ARMCMx</tt>
+ * 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
*/