diff --git a/core/shared/platform/nuttx/nuttx_platform.c b/core/shared/platform/nuttx/nuttx_platform.c index 7a28005d4..da5bf8673 100644 --- a/core/shared/platform/nuttx/nuttx_platform.c +++ b/core/shared/platform/nuttx/nuttx_platform.c @@ -118,7 +118,7 @@ os_dcache_flush() up_textheap_data_sync(); #endif #ifndef CONFIG_BUILD_KERNEL - up_invalidate_dcache_all(); + up_flush_dcache_all(); #endif }