sim configuration: Add support for board_app_initialize() which is needed when CONFIG_LIB_BOARDCTL=y

This commit is contained in:
Gregory Nutt 2015-07-04 08:16:45 -06:00
parent ceda8bc73d
commit b9b8b34bca
2 changed files with 10 additions and 2 deletions

View File

@ -44,7 +44,15 @@
* Public Functions
***************************************************************************/
/* Application initialization stub for boardctl() */
/****************************************************************************
* Name: board_app_initialize
*
* Description:
* Perform application specific initialization. This function is never
* called directly from application code, but only indirectly via the
* (non-standard) boardctl() interface using the command BOARDIOC_INIT.
*
****************************************************************************/
#ifdef CONFIG_LIB_BOARDCTL
int board_app_initialize(void)

View File

@ -142,7 +142,7 @@ void board_initialize(void);
* called directly from application code, but only indirectly via the
* (non-standard) boardctl() interface using the command BOARDIOC_INIT.
*
*****************************************************************************/
****************************************************************************/
#ifdef CONFIG_LIB_BOARDCTL
int board_app_initialize(void);