Commit 840fee14 authored by Piotr Zierhoffer's avatar Piotr Zierhoffer
Browse files

Renode: fix vector table offset in the script.

The cc2538-node.resc script was vulnerable to changing the position of
the vector table.
It also had a wrong hardcoded value. Now it will automatically verify
the position of the `vectors` symbol and set the vtor position
parent 236a6964
......@@ -24,7 +24,7 @@ macro reset
sysbus LoadBinary @ 0x0
sysbus LoadELF $bin
cpu VectorTableOffset 0x200000
cpu VectorTableOffset `sysbus GetSymbolAddress "vectors"`
runMacro $reset
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment