Skip to content
Commit d400b813 authored by Peter Marheine's avatar Peter Marheine Committed by Carles Cufí
Browse files

arch/riscv: support CONFIG_CODE_DATA_RELOCATION



This implements support for relocating code to chosen memory regions via
the `zephyr_code_relocate` CMake function for RISC-V SoCs. ARM-specific
assumptions that were made by gen_relocate_app.py need to be corrected,
in particular not assuming any particular name for the default RAM
section (which is 'SRAM' for most ARM pltaforms) and not assuming 32-bit
pointers (so the test works on RV64).

Signed-off-by: default avatarPeter Marheine <pmarheine@chromium.org>
parent c30833da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment