diff --git a/configs/omnibusf4/src/stm32_bringup.c b/configs/omnibusf4/src/stm32_bringup.c index 6eda07ff224..5456b8517ed 100644 --- a/configs/omnibusf4/src/stm32_bringup.c +++ b/configs/omnibusf4/src/stm32_bringup.c @@ -302,7 +302,7 @@ int stm32_bringup(void) if (ret < 0) { serr("ERROR: Failed to mount romfs at %s: %d\n", - STM32_ROMFS_MOUNTPOINT, ret); + CONFIG_STM32_ROMFS_MOUNTPOINT, ret); } #endif diff --git a/configs/stm32f4discovery/src/stm32_bringup.c b/configs/stm32f4discovery/src/stm32_bringup.c index 801cfa8d374..e9408703f12 100644 --- a/configs/stm32f4discovery/src/stm32_bringup.c +++ b/configs/stm32f4discovery/src/stm32_bringup.c @@ -397,7 +397,7 @@ int stm32_bringup(void) if (ret < 0) { serr("ERROR: Failed to mount romfs at %s: %d\n", - STM32_ROMFS_MOUNTPOINT, ret); + CONFIG_STM32_ROMFS_MOUNTPOINT, ret); } #endif