diff --git a/boot/zephyr/targets/arduino_101.conf b/boot/zephyr/arduino_101.conf similarity index 100% rename from boot/zephyr/targets/arduino_101.conf rename to boot/zephyr/arduino_101.conf diff --git a/boot/zephyr/main.c b/boot/zephyr/main.c index 4e79f0a5..885f6672 100644 --- a/boot/zephyr/main.c +++ b/boot/zephyr/main.c @@ -49,8 +49,8 @@ static void do_boot(struct boot_rsp *rsp) * consecutively. Manually set the stack pointer and jump into the * reset vector */ - vt = (struct vector_table *)(rsp->br_image_addr + - rsp->br_hdr->ih_hdr_size); + vt = (struct arm_vector_table *)(rsp->br_image_addr + + rsp->br_hdr->ih_hdr_size); irq_lock(); _MspSet(vt->msp); ((void (*)(void))vt->reset)();