From 5bc38f77f6d14c39547a71bbeefc08ca26aed090 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Tue, 21 May 2024 15:31:14 +0900 Subject: [PATCH] NuttX: Rename a few recently-added nuttx options (#3449) from: ARCH_TEXT_HEAP_SEPARATE_DATA_ADDRESS ARCH_TEXT_HEAP_WORD_ALIGNED_READ to: ARCH_HAVE_TEXT_HEAP_SEPARATE_DATA_ADDRESS ARCH_HAVE_TEXT_HEAP_WORD_ALIGNED_READ --- core/shared/platform/nuttx/nuttx_platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/shared/platform/nuttx/nuttx_platform.c b/core/shared/platform/nuttx/nuttx_platform.c index cb5674f4..f14d49e2 100644 --- a/core/shared/platform/nuttx/nuttx_platform.c +++ b/core/shared/platform/nuttx/nuttx_platform.c @@ -106,7 +106,7 @@ void os_dcache_flush() { #if defined(CONFIG_ARCH_USE_TEXT_HEAP) \ - && defined(CONFIG_ARCH_TEXT_HEAP_SEPARATE_DATA_ADDRESS) + && defined(CONFIG_ARCH_HAVE_TEXT_HEAP_SEPARATE_DATA_ADDRESS) up_textheap_data_sync(); #endif } @@ -120,7 +120,7 @@ void * os_get_dbus_mirror(void *ibus) { #if defined(CONFIG_ARCH_USE_TEXT_HEAP) \ - && defined(CONFIG_ARCH_TEXT_HEAP_SEPARATE_DATA_ADDRESS) + && defined(CONFIG_ARCH_HAVE_TEXT_HEAP_SEPARATE_DATA_ADDRESS) return up_textheap_data_address(ibus); #else return ibus;