From d20ac4036667e9cbf41c4a8011e53ca53a5a2a64 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Tue, 24 May 2016 21:37:39 -0400 Subject: Work around the fact that stm-fmc.h now pulls in CMSIS HAL symbols. --- hal_io_fmc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hal_io_fmc.c b/hal_io_fmc.c index 9dd3578..5742e56 100644 --- a/hal_io_fmc.c +++ b/hal_io_fmc.c @@ -37,6 +37,10 @@ #include #include "stm-fmc.h" + +/* stm32f4xx_hal_def.h and hal.h both define HAL_OK as an enum value */ +#define HAL_OK HAL_OKAY + #include "hal.h" #include "hal_internal.h" -- cgit v1.2.3