From c67e5c72e59dbe0688ff7c937696a221d0089d7a Mon Sep 17 00:00:00 2001 From: Aditya Naik Date: Wed, 10 Jun 2020 15:19:22 -0400 Subject: Moved all F4-specific files to the HAL port directory --- ports/stm32f4/src/port.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ports/stm32f4/src/port.h (limited to 'ports/stm32f4/src/port.h') diff --git a/ports/stm32f4/src/port.h b/ports/stm32f4/src/port.h new file mode 100644 index 0000000..5007dee --- /dev/null +++ b/ports/stm32f4/src/port.h @@ -0,0 +1,7 @@ +/** + * + * @brief Port specific includes go in this file + * +*/ + +#include "stm32f4xx_hal.h" -- cgit v1.2.3 From 5d4809c50702adc40e98b360cc89723df30bd4bf Mon Sep 17 00:00:00 2001 From: Aditya Naik Date: Wed, 10 Jun 2020 15:23:15 -0400 Subject: Port macros --- ports/stm32f4/src/port.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ports/stm32f4/src/port.h') diff --git a/ports/stm32f4/src/port.h b/ports/stm32f4/src/port.h index 5007dee..ffbbe9e 100644 --- a/ports/stm32f4/src/port.h +++ b/ports/stm32f4/src/port.h @@ -4,4 +4,9 @@ * */ +#ifndef __PORT_H +#define __PORT_H + #include "stm32f4xx_hal.h" + +#endif -- cgit v1.2.3