From 6b89dc82e90d7baf6470a55f2691e1b160cc02e5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 1 Aug 2025 17:04:12 -0500 Subject: [PATCH] stm32h7/.../stm32h743i-eval/ext-mem-ctl.c: Add prototype Fixed missing prototype for SystemInit_ExtMemCtl(). This file is STM code and SystemInit_ExtMemCtl() is protyped for BSP use in bsp.h. We do not want to include that in this file to avoid potential conflicts. --- bsps/arm/stm32h7/boards/stm/stm32h743i-eval/ext-mem-ctl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bsps/arm/stm32h7/boards/stm/stm32h743i-eval/ext-mem-ctl.c b/bsps/arm/stm32h7/boards/stm/stm32h743i-eval/ext-mem-ctl.c index a2ab9d8f1f..a16bc84083 100644 --- a/bsps/arm/stm32h7/boards/stm/stm32h743i-eval/ext-mem-ctl.c +++ b/bsps/arm/stm32h7/boards/stm/stm32h743i-eval/ext-mem-ctl.c @@ -38,6 +38,10 @@ #define DATA_IN_ExtSRAM #define DATA_IN_ExtSDRAM +#ifdef __rtems__ +/* needs prototype and do not want to include */ +void SystemInit_ExtMemCtl(void); +#endif void SystemInit_ExtMemCtl(void) {