Skip to content

Commit

Permalink
platforms/nuttx/src/bootloader/common/bl.c: Fix initialization of vec…
Browse files Browse the repository at this point in the history
…_base address

The default address was wrong. It doesn't cause harm, as it is anyhow set in the NuttX
initialization again.

Signed-off-by: Jukka Laitinen <[email protected]>
  • Loading branch information
jlaitine committed Feb 13, 2024
1 parent ad5207b commit 83bdb28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/nuttx/src/bootloader/common/bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83bdb28

Please sign in to comment.