Можно ли как-нибудь создать один регион памяти из двух кусков,
например что-то вроде:
????
например что-то вроде:
Код
MFlash512 (rx) : (ORIGIN = 0x20000, LENGTH = 0x1000) OR (ORIGIN = 0x40000, LENGTH = 0x1000)

Написал этот вопрос в поддержку. Посмотрим, что ответят.
Получил ответ

Цитата
Hi,
You just need to change ".boot" to ".text" in your linker script.
Full details on linker scripts can be found in the documentation at:
Help->Help Contents
Code Red Technologies Documentation
Tools Documentation
GNU Linker
Section 3 "Linker Scripts"
Best regards,
You just need to change ".boot" to ".text" in your linker script.
Full details on linker scripts can be found in the documentation at:
Help->Help Contents
Code Red Technologies Documentation
Tools Documentation
GNU Linker
Section 3 "Linker Scripts"
Best regards,
Попробовал поменять:
Код
.text : /* .boot*/
{
KEEP(*(.isr_vector));
KEEP(*(.crp_key));
KEEP(*(.macaddr));
KEEP(*(.ipaddr));
} > BOOTMEM
.text :
{
*(.text*)
*(.rodata*)
} > MFlash512
{
KEEP(*(.isr_vector));
KEEP(*(.crp_key));
KEEP(*(.macaddr));
KEEP(*(.ipaddr));
} > BOOTMEM
.text :
{
*(.text*)
*(.rodata*)
} > MFlash512
Не работает.