aboutsummaryrefslogtreecommitdiffstats
path: root/os/ext/CMSIS/ST/stm32f37x.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/ext/CMSIS/ST/stm32f37x.h')
-rw-r--r--os/ext/CMSIS/ST/stm32f37x.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/os/ext/CMSIS/ST/stm32f37x.h b/os/ext/CMSIS/ST/stm32f37x.h
index 08c7f271c..fa281aa7a 100644
--- a/os/ext/CMSIS/ST/stm32f37x.h
+++ b/os/ext/CMSIS/ST/stm32f37x.h
@@ -63,7 +63,7 @@
*/
#if !defined (STM32F37X)
- #define STM32F37X
+/* #define STM32F37X */
#endif
/* Tip: To avoid modifying this file each time you need to switch between these
@@ -71,7 +71,9 @@
*/
#if !defined (STM32F37X)
- #error "Please select first the target STM32F37X device used in your application (in stm32f37x.h file)"
+/* CHIBIOS FIX */
+#include "board.h"
+// #error "Please select first the target STM32F37X device used in your application (in stm32f37x.h file)"
#endif
#if !defined (USE_STDPERIPH_DRIVER)