You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2025/11/02 14:33:53 UTC
(nuttx-apps) 02/04: testing/mm/cachetest/cachetest_main.c: fix compilation error
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 0a906edd816997bc70c51551b7dc12becf6bcb80
Author: raiden00pl <ra...@railab.me>
AuthorDate: Sun Nov 2 12:05:23 2025 +0100
testing/mm/cachetest/cachetest_main.c: fix compilation error
fix compilation error:
cachetest_main.c: In function ‘cachetest_main’:
cachetest_main.c:240:7: error: implicit declaration of function ‘up_flush_dcache’ [-Wimplicit-function-declaration]
240 | up_flush_dcache((uintptr_t)info.waddr, (uintptr_t)info.waddr +
Signed-off-by: raiden00pl <ra...@railab.me>
---
testing/mm/cachetest/cachetest_main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testing/mm/cachetest/cachetest_main.c b/testing/mm/cachetest/cachetest_main.c
index ff7fe645d..b2616ca13 100644
--- a/testing/mm/cachetest/cachetest_main.c
+++ b/testing/mm/cachetest/cachetest_main.c
@@ -25,6 +25,8 @@
****************************************************************************/
#include <nuttx/config.h>
+#include <nuttx/cache.h>
+
#include <stdio.h>
#include <syslog.h>