mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-30 17:25:22 +00:00
The __reset vector is using the 'b' instruction to jump to _PrepC. 'b' can only jump 2KB on Cortex-M0 platforms so this causes build failures when _PrepC happens to be too far away from __reset. To resolve this we use 'bl' instead as it can jump two thousand times further[0]. This can also be resolved by porting the reset vector to C or by placing the _PrepC function in a dedicated section that the linker places next to __reset. [0] http://infocenter.arm.com/help/topic/com.arm.doc.dui0489e/Cihfddaf.html Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no> |
||
---|---|---|
.. | ||
arc | ||
arm | ||
common | ||
nios2 | ||
posix | ||
riscv32 | ||
x86 | ||
xtensa | ||
CMakeLists.txt | ||
Kconfig |