diff --git a/os/ports/GCC/ARMCMx/STM32/vectors.c b/os/ports/GCC/ARMCMx/STM32/vectors.c index 8a0af8cde..737ebe1bb 100644 --- a/os/ports/GCC/ARMCMx/STM32/vectors.c +++ b/os/ports/GCC/ARMCMx/STM32/vectors.c @@ -36,6 +36,7 @@ #include "board.h" #endif +#if !defined(__DOXYGEN__) extern void __ram_end__(void); extern void ResetHandler(void); extern void NMIVector(void); @@ -126,6 +127,7 @@ extern void Vector144(void); extern void Vector148(void); extern void Vector14C(void); #endif +#endif /** * @brief STM32 vectors table.