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

This commit is contained in:
David Sidrane
2024-06-05 11:15:45 -04:00
committed by Daniel Agar
parent 5903a815b7
commit 82a259cebe
+1 -1
View File
@@ -294,7 +294,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