diff --git a/cpu/stm32f2/include/vendor/stm32f2xx.h b/cpu/stm32f2/include/vendor/stm32f2xx.h
index ef30f1fc3a920b61f816dc6f6f34872d80ac2a63..32ba8baf4fea34b16e505ee328f741be64458ede 100644
--- a/cpu/stm32f2/include/vendor/stm32f2xx.h
+++ b/cpu/stm32f2/include/vendor/stm32f2xx.h
@@ -130,32 +130,6 @@
  #error "Please select first the target STM32F2xx device used in your application (in stm32f2xx.h file)"
 #endif
 
-/**
-  * @}
-  */
-
-/** @addtogroup Exported_types
-  * @{
-  */
-typedef enum
-{
-  RESET = 0,
-  SET = !RESET
-} FlagStatus, ITStatus;
-
-typedef enum
-{
-  DISABLE = 0,
-  ENABLE = !DISABLE
-} FunctionalState;
-#define IS_FUNCTIONAL_STATE(STATE) (((STATE) == DISABLE) || ((STATE) == ENABLE))
-
-typedef enum
-{
-  ERROR = 0,
-  SUCCESS = !ERROR
-} ErrorStatus;
-
 /**
   * @}
   */