Skip to content
Commit 34b05164 authored by Lyle Zhu's avatar Lyle Zhu Committed by Maureen Helm
Browse files

boards: riscv32: rv32m1_vega: enable MCUboot for ri5cy core



1. Add flash partitions.
2. Add macro DT_START_UP_ENTRY_OFFSET. The entry of the RV32M1 is
   not the start of the vector table. Add the macro to inform the
   entry offset.
3. Update linker file to support MCUboot
   a. For normal cases (CONFIG_BOOTLOADER_MCUBOOT is cleared), the
   vector table is located last 256bytes of the flash.
   b. If CONFIG_BOOTLOADER_MCUBOOT is set, the vector table is located
   after the image header of MCUboot.

Signed-off-by: default avatarLyle Zhu <lyle.zhu@nxp.com>
parent cc2e176b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment