From 1c62899409b6a813210173b1a5958818c1f27899 Mon Sep 17 00:00:00 2001 From: Kristofer Jonsson Date: Wed, 26 May 2021 12:02:30 +0200 Subject: Optimizations Setting NDEBUG for non debug builds. This will disabled the asserts used by the for example the Ethos-U driver. Disabling caches by default. Change-Id: I614edc09b99e9997af7e113c7565d64f273f3fa0 --- targets/corstone-300/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'targets/corstone-300') diff --git a/targets/corstone-300/CMakeLists.txt b/targets/corstone-300/CMakeLists.txt index 4e766df..85fe944 100644 --- a/targets/corstone-300/CMakeLists.txt +++ b/targets/corstone-300/CMakeLists.txt @@ -28,7 +28,7 @@ endif() set(ETHOSU_COMMAND_DEFAULT python3 ${CMAKE_CURRENT_SOURCE_DIR}/../../scripts/run_ctest.py -t corstone-300) -option(CPU_CACHE_ENABLE "Enable CPU instruction- and data cache" ON) +option(CPU_CACHE_ENABLE "Enable CPU instruction- and data cache" OFF) ############################################################################# # Project -- cgit v1.2.1