Skip to content

Commit

Permalink
imxrt: Fix bootloader_main prototype for newer NuttX
Browse files Browse the repository at this point in the history
Signed-off-by: Jukka Laitinen <[email protected]>
  • Loading branch information
jlaitine committed Feb 14, 2024
1 parent e119c3c commit 4c064a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/nuttx/src/bootloader/nxp/imxrt_common/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ arch_do_jump(const uint32_t *app_base)
}

int
bootloader_main(void)
CONFIG_INIT_ENTRYPOINT(int argc, char *argv[])
{
bool try_boot = true; /* try booting before we drop to the bootloader */
unsigned timeout = BOOTLOADER_DELAY; /* if nonzero, drop out of the bootloader after this time */
Expand Down

0 comments on commit 4c064a8

Please sign in to comment.