arm: linker.ld: Port the CC32xx flash header to zephyr_linker_sources()
Add the .dbghdr sections via its own linker script snippet. Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
This commit is contained in:
parent
54c1af861c
commit
b1026da300
4 changed files with 15 additions and 13 deletions
|
@ -137,12 +137,6 @@ SECTIONS
|
|||
|
||||
SECTION_PROLOGUE(_TEXT_SECTION_NAME,,)
|
||||
{
|
||||
#if defined(CONFIG_CC3220SF_DEBUG) || defined(CONFIG_CC3235SF_DEBUG)
|
||||
/* Add CC32xx flash header to disable flash verification */
|
||||
. = 0x0;
|
||||
KEEP(*(.dbghdr))
|
||||
KEEP(*(".dbghdr.*"))
|
||||
#endif
|
||||
|
||||
. = CONFIG_TEXT_SECTION_OFFSET;
|
||||
|
||||
|
|
|
@ -134,13 +134,6 @@ SECTIONS
|
|||
|
||||
SECTION_PROLOGUE(_TEXT_SECTION_NAME,,)
|
||||
{
|
||||
#ifdef CONFIG_CC3220SF_DEBUG
|
||||
/* Add CC3220SF flash header to disable flash verification */
|
||||
. = 0x0;
|
||||
KEEP(*(.dbghdr))
|
||||
KEEP(*(".dbghdr.*"))
|
||||
#endif
|
||||
|
||||
. = CONFIG_TEXT_SECTION_OFFSET;
|
||||
|
||||
/* Located in generated directory. This file is populated by the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue