Please sign in to comment.
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: Lyle Zhu <email@example.com>
- Loading branch information...
Showing with 83 additions and 4 deletions.