From 7ebcccf199ccfc3f442f77837a6f88836cad897f Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Wed, 8 Oct 2025 15:32:52 -0500 Subject: [PATCH] bsps/dev/spi/xqspipsu_flash_config.h: Make flash config table static This is now used by multiple files and can cause a multiple definitions error when linking. Make the structure static to avoid this problem. --- bsps/include/dev/spi/xqspipsu_flash_config.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsps/include/dev/spi/xqspipsu_flash_config.h b/bsps/include/dev/spi/xqspipsu_flash_config.h index 367b99ef67..389f321cf1 100644 --- a/bsps/include/dev/spi/xqspipsu_flash_config.h +++ b/bsps/include/dev/spi/xqspipsu_flash_config.h @@ -215,6 +215,9 @@ typedef struct{ } FlashInfo; /************************** Variable Definitions *****************************/ +#ifdef __rtems__ +static +#endif FlashInfo Flash_Config_Table[] = { /* Spansion */ /*s25fl064l*/