From b9b8b34bcad3b91497e8bb61c5ed01e029329930 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 4 Jul 2015 08:16:45 -0600 Subject: [PATCH] sim configuration: Add support for board_app_initialize() which is needed when CONFIG_LIB_BOARDCTL=y --- arch/sim/src/up_appinit.c | 10 +++++++++- include/nuttx/board.h | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/sim/src/up_appinit.c b/arch/sim/src/up_appinit.c index 714edc7d8a..606186fe88 100644 --- a/arch/sim/src/up_appinit.c +++ b/arch/sim/src/up_appinit.c @@ -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) diff --git a/include/nuttx/board.h b/include/nuttx/board.h index 4ecd712d72..a807bbbfe9 100644 --- a/include/nuttx/board.h +++ b/include/nuttx/board.h @@ -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);