From ffc1f39f3bf3c1b8d358172d415c686cbef9995c Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Fri, 19 May 2017 15:06:41 -0500 Subject: [PATCH] Add static to NRF5 SDK11 macro definition --- .../libraries/experimental_section_vars/section_vars.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_SDK11/libraries/experimental_section_vars/section_vars.h b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_SDK11/libraries/experimental_section_vars/section_vars.h index abd489b06c..8b0bf6152b 100644 --- a/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_SDK11/libraries/experimental_section_vars/section_vars.h +++ b/targets/TARGET_NORDIC/TARGET_NRF5/TARGET_SDK11/libraries/experimental_section_vars/section_vars.h @@ -242,7 +242,7 @@ #elif defined(__ICCARM__) #define NRF_SECTION_VARS_ADD(section_name, type_def) \ - __root type_def @ #section_name + static __root type_def @ #section_name #endif