experiments: fixed linker script.

This commit is contained in:
pca006132 2020-08-03 14:42:34 +08:00
parent 8328ffc66b
commit 36c3fbdacd
1 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,10 @@ SECTIONS
__stack0_end = .; __stack0_end = .;
. = ORIGIN(OCM) + LENGTH(OCM) - 8; . = ORIGIN(OCM) + LENGTH(OCM) - 8;
__stack0_start = .; __stack0_start = .;
/* unused heap0 to prevent the linker from complaining*/
__heap0_start = .;
__heap0_end = .;
} > OCM } > OCM
/DISCARD/ : /DISCARD/ :