From 071aaea66b4a7e310f8e6c754f3806e26aee7e48 Mon Sep 17 00:00:00 2001 From: Renz Bagaporo Date: Tue, 21 Aug 2018 13:08:26 +0800 Subject: [PATCH] Place embedded data on flash --- tools/cmake/scripts/data_file_embed_asm.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/cmake/scripts/data_file_embed_asm.cmake b/tools/cmake/scripts/data_file_embed_asm.cmake index 71329ade5..291f9fea2 100644 --- a/tools/cmake/scripts/data_file_embed_asm.cmake +++ b/tools/cmake/scripts/data_file_embed_asm.cmake @@ -67,6 +67,7 @@ endif() append_line(" */") append_line(".data") +append_line(".section .rodata.embedded") append_identifier("${varname}") append_identifier("_binary_${varname}_start" "for objcopy compatibility") append("${data}")