File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
hal/targets/cmsis/TARGET_Freescale/TARGET_K64F/TOOLCHAIN_GCC_ARM Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,11 @@ SECTIONS
90
90
} > m_flash_config
91
91
92
92
/* The program code and other data goes into internal flash */
93
- .text :
93
+ /* Note : The uVisor expects this section at a fixed location, as specified by
94
+ * the porting process configuration parameter : FLASH_OFFSET. */
95
+ __UVISOR_TEXT_OFFSET = 0x410;
96
+ __UVISOR_TEXT_START = ORIGIN (m_interrupts) + __UVISOR_TEXT_OFFSET;
97
+ .text __UVISOR_TEXT_START :
94
98
{
95
99
/* uVisor code and data */
96
100
. = ALIGN (4);
@@ -200,7 +204,7 @@ SECTIONS
200
204
__UVISOR_BSS_START = ORIGIN (m_data) + __UVISOR_SRAM_OFFSET;
201
205
ASSERT (__interrupts_ram_end__ <= __UVISOR_BSS_START,
202
206
"The ISR relocation region overlaps with the uVisor BSS section.")
203
- .uvisor.bss (NOLOAD) :
207
+ .uvisor.bss __UVISOR_BSS_START (NOLOAD) :
204
208
{
205
209
. = ALIGN (32);
206
210
__uvisor_bss_start = .;
You can’t perform that action at this time.
0 commit comments