nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gn...@apache.org
Subject [incubator-nuttx] 02/02: boards/arm/stm32h7/stm32h747i-disco: fix style issues
Date Thu, 07 May 2020 16:29:16 GMT
This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 608e0920d409fd6d8556228843be82096b299a7d
Author: Pierre-Olivier Vauboin <po@lambdaconcept.com>
AuthorDate: Wed May 6 17:50:50 2020 +0200

    boards/arm/stm32h7/stm32h747i-disco: fix style issues
---
 boards/arm/stm32h7/stm32h747i-disco/include/board.h | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/boards/arm/stm32h7/stm32h747i-disco/include/board.h b/boards/arm/stm32h7/stm32h747i-disco/include/board.h
index f911e41..ac378b7 100644
--- a/boards/arm/stm32h7/stm32h747i-disco/include/board.h
+++ b/boards/arm/stm32h7/stm32h747i-disco/include/board.h
@@ -78,7 +78,8 @@
  *
  * PLL source is HSE = 25,000,000
  *
- * When STM32_HSE_FREQUENCY / PLLM <= 2MHz VCOL must be selected. VCOH otherwise.
+ * When STM32_HSE_FREQUENCY / PLLM <= 2MHz VCOL must be selected.
+ * VCOH otherwise.
  *
  * PLL_VCOx = (STM32_HSE_FREQUENCY / PLLM) * PLLN
  * Subject to:
@@ -279,7 +280,7 @@
 
 #define STM32_SDMMC_INIT_CLKDIV     (250 << STM32_SDMMC_CLKCR_CLKDIV_SHIFT)
 
-/* Just set these to 25 MHz for now, PLL1Q/(2*4), for default speed 12.5MB/s */
+/* Just set these to 25 MHz for now, PLL1Q/(2*4), default speed 12.5MB/s */
 
 #define STM32_SDMMC_MMCXFR_CLKDIV   (4 << STM32_SDMMC_CLKCR_CLKDIV_SHIFT)
 #define STM32_SDMMC_SDXFR_CLKDIV    (4 << STM32_SDMMC_CLKCR_CLKDIV_SHIFT)
@@ -351,8 +352,8 @@
  * LD3 Red     PI14
  * LD4 Blue    PI15
  *
- * If CONFIG_ARCH_LEDS is not defined, then the user can control the LEDs in any way.
- * The following definitions are used to access individual LEDs.
+ * If CONFIG_ARCH_LEDS is not defined, then the user can control the LEDs
+ * in any way. The following definitions are used to access individual LEDs.
  */
 
 /* LED index values for use with board_userled() */
@@ -376,13 +377,14 @@
 #define BOARD_LED4_BIT    (1 << BOARD_LED4)
 
 /* If CONFIG_ARCH_LEDS is defined, the usage by the board port is defined in
- * include/board.h and src/stm32_leds.c. The LEDs are used to encode OS-related
- * events as follows:
+ * include/board.h and src/stm32_leds.c. The LEDs are used to encode
+ * OS-related events as follows:
  *
  *
  *   SYMBOL                     Meaning                      LED state
  *                                                        Red   Green Blue
- *   ----------------------  --------------------------  ------ ------ ---- */
+ *   ----------------------  --------------------------  ------ ------ ----
+ */
 
 #define LED_STARTED        0 /* NuttX has been started   OFF    OFF   OFF   */
 #define LED_HEAPALLOCATE   1 /* Heap has been allocated  OFF    OFF   ON    */
@@ -409,7 +411,7 @@
 #define GPIO_USART1_RX     GPIO_USART1_RX_2  /* PA10 */
 #define GPIO_USART1_TX     GPIO_USART1_TX_2  /* PA9 */
 
-/* UART4 ( PMOD/STMOD )*/
+/* UART4 ( PMOD/STMOD ) */
 
 #define GPIO_UART4_CTS     GPIO_UART4_CTS_2  /* PB15 */
 #define GPIO_UART4_RTS     GPIO_UART4_RTS_2  /* PB14 */


Mime
View raw message