aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-05-24 21:31:32 -0400
committerPaul Selkirk <paul@psgd.org>2016-05-24 21:31:32 -0400
commitb0c4128a39061fa79de14c6ea34a0ec721a0ac91 (patch)
tree6ac846c42aeb550dbc5fbf10c4b0419a67462293
parentebe70741a4771698423e4c61939e88d6db66460d (diff)
#include stm32f4xx_hal.h since stm-fmc.h now references HAL symbols.
This has a knock-on effect in hal_io_fmc.c, but that's in another repo.
-rw-r--r--stm-fmc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stm-fmc.h b/stm-fmc.h
index 1e6a670..8c37bd7 100644
--- a/stm-fmc.h
+++ b/stm-fmc.h
@@ -35,6 +35,8 @@
#ifndef __STM_FMC_H
#define __STM_FMC_H
+#include "stm32f4xx_hal.h"
+
#define FMC_FPGA_BASE_ADDR 0x60000000
#define FMC_FPGA_ADDR_MASK 0x03FFFFFC // there are 26 physical lines, but "only" 24 usable for now
#define FMC_FPGA_NWAIT_MAX_POLL_TICKS 10