projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Assert if HiFive1 program is too large.
[riscv-tests.git]
/
debug
/
targets
/
SiFive
/
HiFive1.lds
diff --git
a/debug/targets/SiFive/HiFive1.lds
b/debug/targets/SiFive/HiFive1.lds
old mode 100755
(executable)
new mode 100644
(file)
index
9354d3f
..
a37ca0c
--- a/
debug/targets/SiFive/HiFive1.lds
+++ b/
debug/targets/SiFive/HiFive1.lds
@@
-34,3
+34,5
@@
SECTIONS
/* End of uninitalized data segement */
_end = .;
}
+
+ASSERT(_end < 0x80004000, "program is too large")