bootloader/common/bl.c:Fixed Wrong vec_base caculation - only effects imxrt

This commit is contained in:
David Sidrane 2024-05-23 09:16:58 -07:00 committed by Daniel Agar
parent 04e0d3475f
commit d79c5f170b

View File

@ -306,7 +306,7 @@ void
jump_to_app()
{
const uint32_t *app_base = (const uint32_t *)APP_LOAD_ADDRESS;
const uint32_t *vec_base = (const uint32_t *)app_base + APP_VECTOR_OFFSET;
const uint32_t *vec_base = (const uint32_t *)((const uint32_t)app_base + APP_VECTOR_OFFSET);
/*
* We refuse to program the first word of the app until the upload is marked