diff --git a/platforms/nuttx/src/bootloader/common/bl.c b/platforms/nuttx/src/bootloader/common/bl.c index 354bdcfcaefc..c42d0ef3e046 100644 --- a/platforms/nuttx/src/bootloader/common/bl.c +++ b/platforms/nuttx/src/bootloader/common/bl.c @@ -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 *)app_base + APP_VECTOR_OFFSET_WORDS; /* * We refuse to program the first word of the app until the upload is marked