From 87994b585685fb695310d6ef01fcd3d55c6798bc Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 28 Feb 2015 06:46:19 -0600 Subject: Update comment and documentation for board interfaces --- nuttx/Documentation/NuttxPortingGuide.html | 17 ++++++++++++++++- nuttx/include/nuttx/board.h | 13 ++++++++++--- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/nuttx/Documentation/NuttxPortingGuide.html b/nuttx/Documentation/NuttxPortingGuide.html index 1cab777e7..440487e33 100644 --- a/nuttx/Documentation/NuttxPortingGuide.html +++ b/nuttx/Documentation/NuttxPortingGuide.html @@ -12,7 +12,7 @@

NuttX RTOS Porting Guide

-

Last Updated: February 27, 2015

+

Last Updated: February 28, 2015

@@ -4087,17 +4087,32 @@ void board_led_off(int led);

diff --git a/nuttx/include/nuttx/board.h b/nuttx/include/nuttx/board.h index c923445ac..55aa85b60 100644 --- a/nuttx/include/nuttx/board.h +++ b/nuttx/include/nuttx/board.h @@ -139,9 +139,16 @@ void board_initialize(void); * things as, for example, configure GPIO pins to drive the LEDs and also * putting the LEDs in their correct initial state. * - * In most architectures, board_led_initialize() is called fromo board- - * specific initialization logic. But there are a few architectures where - * this initialization function is called from shared chip logic. + * NOTE: In most architectures, board_led_initialize() is called from + * board-specific initialization logic. But there are a few architectures + * where this initialization function is still called from common chip + * architecture logic. This interface is not, however, a common board + * interface in any event. + * + * WARNING: This interface name will eventually be removed; do not use it + * in new board ports. New implementations should use the naming + * conventions for "Microprocessor-Specific Interfaces" or the "Board- + * Specific Interfaces" as described above. * * Input Parameters: * None -- cgit v1.2.3