mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
STM32F4-Discover: Initialize the ELF loaded in the board startup logic. From Leo aloe3132
This commit is contained in:
@@ -154,5 +154,15 @@ int stm32_bringup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ELF
|
||||
/* Initialize the ELF binary loader */
|
||||
|
||||
ret = elf_initialize();
|
||||
if (ret < 0)
|
||||
{
|
||||
sdbg("ERROR: Initialization of the ELF loader failed: %d\n", ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user