Thanks Julián! I am following the second Web page,but when I build my project,it say "linker_flash_s32k146.ld:50: syntax errorr",because I follow the steps to change some code:
MEMORY
{
int_flash_interrupts : ORIGIN = 0x00000000, LENGTH = 0x00000400 /* 1K */ /* Do not change this section */
int_flash_config : ORIGIN = 0x00000400, LENGTH = 0x00000010 /* 16bytes */ /* Do not change this section */
int_flash : ORIGIN = 0x00000410, LENGTH = 0x000FFBF0 /* ~1.0MB */
int_sram_results : ORIGIN = 0x1FFF0000, LENGTH = 0x00000100 /* 256bytes */
/*int_sram : ORIGIN = 0x1FFF0100, LENGTH = 0x0001DF00 /* ~120K */
int_sram : ORIGIN = 0x1FFF0100, LENGTH = 0x0001BF00 /* ~120K */
/* "test" Ram is used to erase flash*/
test : ORIGIN = 0x2000C000, LENGTH = 0x00002000
int_sram_stack_c0 : ORIGIN = 0x2000E000, LENGTH = 0x00001000 /* 4K */
ram_rsvd2 : ORIGIN = 0x2000F000, LENGTH = 0 /* End of SRAM */
}
.test :
{
KEEP(*(.test))
} > test
so can you tell me how to fix it? thank you!