From f521be94ac5017dc6be02e6344aef2bd68dc8343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonny=20Sv=C3=A4rd?= Date: Mon, 1 Mar 2021 14:35:49 +0100 Subject: Rename .bss.NoInit section to .bss.tensor_arena Change-Id: I660cd5d2bc73eaf589598c4f0570f5e9293de28d --- applications/freertos/CMakeLists.txt | 2 +- applications/freertos/main.cpp | 2 +- applications/trustzone_inference/secure/main_secure.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'applications') diff --git a/applications/freertos/CMakeLists.txt b/applications/freertos/CMakeLists.txt index 9581fe5..74cbe45 100644 --- a/applications/freertos/CMakeLists.txt +++ b/applications/freertos/CMakeLists.txt @@ -28,6 +28,6 @@ ethosu_add_executable_test(freertos PRIVATE # Use the fast memory to support both 11.12.57 and 11.13.x release # of the FVP -# The size is defined to force the .bss.NoInit to be placed in DDR +# The size is defined to force the .bss.tensor_arena to be placed in DDR target_compile_definitions( freertos PRIVATE ETHOSU_FAST_MEMORY_SIZE=0xa0000) diff --git a/applications/freertos/main.cpp b/applications/freertos/main.cpp index 4e58646..6f92faf 100644 --- a/applications/freertos/main.cpp +++ b/applications/freertos/main.cpp @@ -41,7 +41,7 @@ using namespace InferenceProcess; #define TENSOR_ARENA_SIZE 0xa0000 -__attribute__((section(".bss.NoInit"), aligned(16))) uint8_t inferenceProcessTensorArena[TENSOR_ARENA_SIZE]; +__attribute__((section(".bss.tensor_arena"), aligned(16))) uint8_t inferenceProcessTensorArena[TENSOR_ARENA_SIZE]; namespace { diff --git a/applications/trustzone_inference/secure/main_secure.cpp b/applications/trustzone_inference/secure/main_secure.cpp index 4c1b164..24d7dfb 100644 --- a/applications/trustzone_inference/secure/main_secure.cpp +++ b/applications/trustzone_inference/secure/main_secure.cpp @@ -44,7 +44,7 @@ funcptr_ns nonsecure_result_checker = 0; ****************************************************************************/ #define TENSOR_ARENA_SIZE 0xa0000 -__attribute__((section(".bss.NoInit"), aligned(16))) uint8_t TFLuTensorArena[TENSOR_ARENA_SIZE]; +__attribute__((section(".bss.tensor_arena"), aligned(16))) uint8_t TFLuTensorArena[TENSOR_ARENA_SIZE]; InferenceProcess::InferenceProcess inferenceProcess(TFLuTensorArena, TENSOR_ARENA_SIZE); -- cgit v1.2.1