summaryrefslogtreecommitdiff
path: root/nuttx/configs/mikroe-stm32f4/src/up_nsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/mikroe-stm32f4/src/up_nsh.c')
-rw-r--r--nuttx/configs/mikroe-stm32f4/src/up_nsh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/mikroe-stm32f4/src/up_nsh.c b/nuttx/configs/mikroe-stm32f4/src/up_nsh.c
index e3f973794..179d0eab0 100644
--- a/nuttx/configs/mikroe-stm32f4/src/up_nsh.c
+++ b/nuttx/configs/mikroe-stm32f4/src/up_nsh.c
@@ -153,7 +153,7 @@
****************************************************************************/
/* Pre-allocated simulated flash */
-#ifdef CONFIG_MTD_RAM
+#ifdef CONFIG_RAMMTD
//static uint8_t g_simflash[CONFIG_EXAMPLES_SMART_BUFSIZE];
#endif
@@ -217,7 +217,7 @@ int nsh_archinitialize(void)
/* Create a RAM MTD device if configured */
-#ifdef CONFIG_MTD_RAM
+#ifdef CONFIG_RAMMTD
{
uint8_t *start = (uint8_t *) kmalloc(CONFIG_EXAMPLES_SMART_BUFSIZE);
mtd = rammtd_initialize(start, CONFIG_EXAMPLES_SMART_BUFSIZE);
@@ -229,7 +229,7 @@ int nsh_archinitialize(void)
#endif
}
-#endif /* CONFIG_MTD_RAM */
+#endif /* CONFIG_RAMMTD */
#endif /* CONFIG_MTD */
#endif /* CONFIG_STM32_SPI3 */