From 98cf4e16e8d9f6a2ed107ad1bb5a06b8f61fbf41 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 2 Oct 2016 06:40:57 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9836 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/startup/ARMCMx/compilers/GCC/vectors.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'os/common/startup/ARMCMx/compilers/GCC/vectors.h') diff --git a/os/common/startup/ARMCMx/compilers/GCC/vectors.h b/os/common/startup/ARMCMx/compilers/GCC/vectors.h index a793a26bf..3a76aaab3 100644 --- a/os/common/startup/ARMCMx/compilers/GCC/vectors.h +++ b/os/common/startup/ARMCMx/compilers/GCC/vectors.h @@ -27,6 +27,16 @@ #include "cmparams.h" +/* This inclusion can be used to remap vectors using different names. + * Example: + * #define Vector7C UartRX_Handler + * This can be useful when using 3rd part libraries that assume specific + * vector names. + */ +#if defined(VECTORS_USE_CONF) +#include "vectorsconf.h" +#endif + /*===========================================================================*/ /* Module constants. */ /*===========================================================================*/ -- cgit v1.2.3