You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/11/28 11:20:38 UTC

[incubator-nuttx] branch master updated (630d5a5 -> b1a0427)

This is an automated email from the ASF dual-hosted git repository.

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


    from 630d5a5  configs/rc: enable irtest tool
     new c56785b  style/Makefile: remove unnecessary trailing whitespace
     new 049c991  style/Kconfig: remove unnecessary trailing whitespace
     new e5f5f66  style/script: remove unnecessary trailing whitespace
     new 32ba194  style/code: remove unnecessary trailing whitespace
     new 069f481  style/Make.defs: remove unnecessary trailing whitespace
     new b1a0427  style/Document: remove unnecessary trailing whitespace

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 DISCLAIMER-WIP                                     | 22 ++++----
 LICENSE                                            |  2 +-
 README.md                                          | 10 ++--
 arch/arm/src/kinetis/Kconfig                       | 28 +++++-----
 arch/arm/src/s32k1xx/Kconfig                       | 52 +++++++++---------
 arch/arm/src/s32k1xx/Make.defs                     |  2 +-
 arch/arm/src/samd5e5/Kconfig                       |  4 +-
 arch/arm/src/stm32l4/hardware/stm32l4_adc.h        |  6 +-
 arch/mips/src/Makefile                             |  2 +-
 arch/mips/src/pic32mz/pic32mz_head.S               |  6 +-
 arch/misoc/src/Makefile                            |  2 +-
 arch/renesas/src/Makefile                          |  2 +-
 arch/renesas/src/rx65n/Kconfig                     | 64 +++++++++++-----------
 arch/sim/src/Makefile                              |  2 +-
 arch/x86/src/Makefile                              |  2 +-
 arch/x86_64/src/Makefile                           |  2 +-
 arch/x86_64/src/intel64/Kconfig                    |  4 +-
 arch/x86_64/src/intel64/Make.defs                  |  2 +-
 arch/x86_64/src/intel64/intel64_head.S             | 12 ++--
 arch/x86_64/src/intel64/intel64_saveusercontext.S  |  6 +-
 arch/x86_64/src/intel64/intel64_vectors.S          |  2 +-
 arch/xtensa/Kconfig                                |  2 +-
 arch/xtensa/src/Makefile                           |  2 +-
 arch/xtensa/src/common/xtensa_backtrace.S          |  2 +-
 arch/xtensa/src/esp32/Kconfig                      | 10 ++--
 arch/xtensa/src/esp32/esp32_wtd.c                  |  2 +-
 arch/xtensa/src/esp32/esp32_wtd_lowerhalf.c        |  8 +--
 arch/z80/src/Makefile.zdsiil                       |  2 +-
 audio/Makefile                                     |  2 +-
 binfmt/Makefile                                    |  2 +-
 boards/Makefile                                    |  2 +-
 boards/arm/kinetis/freedom-k28f/Kconfig            |  2 +-
 boards/arm/sama5/giant-board/README.md             | 20 +++----
 boards/renesas/rx65n/rx65n-grrose/README.txt       |  2 +-
 .../renesas/rx65n/rx65n-grrose/include/README.TXT  |  2 +-
 boards/renesas/rx65n/rx65n-rsk2mb/README.txt       |  2 +-
 boards/renesas/rx65n/rx65n-rsk2mb/src/Makefile     |  6 +-
 boards/x86_64/intel64/qemu-intel64/README.txt      | 10 ++--
 boards/xtensa/esp32/esp32-core/README.txt          | 24 ++++----
 boards/xtensa/esp32/esp32-core/include/board.h     |  2 +-
 boards/xtensa/esp32/esp32-core/src/esp32_bringup.c |  2 +-
 crypto/Makefile                                    |  2 +-
 drivers/Makefile                                   |  2 +-
 drivers/can/Kconfig                                |  2 +-
 drivers/power/Kconfig                              | 12 ++--
 drivers/usbhost/Kconfig                            |  6 +-
 fs/Makefile                                        |  2 +-
 libs/libc/Makefile                                 |  2 +-
 libs/libc/bin/Makefile                             |  2 +-
 libs/libdsp/Makefile                               |  2 +-
 libs/libnx/Makefile                                |  2 +-
 libs/libnx/README.txt                              | 22 ++++----
 libs/libnx/kbin/Makefile                           |  2 +-
 mm/Makefile                                        |  4 +-
 net/Makefile                                       |  2 +-
 net/can/Kconfig                                    | 26 ++++-----
 net/netdev/Kconfig                                 |  2 +-
 net/socket/Kconfig                                 |  4 +-
 pass1/Makefile                                     |  2 +-
 sched/Makefile                                     |  2 +-
 tools/Makefile.unix                                |  6 +-
 tools/Makefile.win                                 |  4 +-
 tools/simhostroute.sh                              |  4 +-
 video/Makefile                                     |  2 +-
 wireless/Makefile                                  |  2 +-
 65 files changed, 229 insertions(+), 229 deletions(-)


[incubator-nuttx] 05/06: style/Make.defs: remove unnecessary trailing whitespace

Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 069f481f293dc319b549f86d6d31f6f74b1ce642
Author: chao.an <an...@xiaomi.com>
AuthorDate: Sat Nov 28 11:52:49 2020 +0800

    style/Make.defs: remove unnecessary trailing whitespace
    
    N/A
    
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 arch/arm/src/s32k1xx/Make.defs    | 2 +-
 arch/x86_64/src/intel64/Make.defs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/src/s32k1xx/Make.defs b/arch/arm/src/s32k1xx/Make.defs
index 46bf525..4a53e22 100644
--- a/arch/arm/src/s32k1xx/Make.defs
+++ b/arch/arm/src/s32k1xx/Make.defs
@@ -105,7 +105,7 @@ endif
 
 ifeq ($(CONFIG_S32K1XX_EEEPROM),y)
 CHIP_CSRCS += s32k1xx_eeeprom.c
-endif 
+endif
 
 # Source files specific to the ARM CPU family and to the S32K1xx chip family
 
diff --git a/arch/x86_64/src/intel64/Make.defs b/arch/x86_64/src/intel64/Make.defs
index 30bbcbe..c0c8976 100644
--- a/arch/x86_64/src/intel64/Make.defs
+++ b/arch/x86_64/src/intel64/Make.defs
@@ -34,7 +34,7 @@ CMN_CSRCS += up_map_region.c
 # Required Intel64 files
 
 CHIP_ASRCS  = intel64_saveusercontext.S intel64_fullcontextrestore.S intel64_vectors.S intel64_head.S
-CHIP_CSRCS  = intel64_handlers.c intel64_idle.c intel64_lowsetup.c 
+CHIP_CSRCS  = intel64_handlers.c intel64_idle.c intel64_lowsetup.c
 CHIP_CSRCS += intel64_serial.c intel64_rng.c intel64_check_capability.c
 
 # Configuration-dependent intel64 files


[incubator-nuttx] 03/06: style/script: remove unnecessary trailing whitespace

Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit e5f5f6657da29b9711f78eef740fe1b3ddae49da
Author: chao.an <an...@xiaomi.com>
AuthorDate: Sat Nov 28 14:51:35 2020 +0800

    style/script: remove unnecessary trailing whitespace
    
    N/A
    
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 tools/simhostroute.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/simhostroute.sh b/tools/simhostroute.sh
index 4d15325..ff9c900 100755
--- a/tools/simhostroute.sh
+++ b/tools/simhostroute.sh
@@ -21,7 +21,7 @@
 #****************************************************************************
 
 # Helper script to set up host route to NuttX simulator
-# and set up IP Tables to allow it to access the 
+# and set up IP Tables to allow it to access the
 # internet.
 #
 # This script needs to be run as root.
@@ -51,7 +51,7 @@ if [ "$STATUS" == "on" ]; then
     ifconfig $IF_BRIDGE $IP_HOST
     ifconfig $IF_BRIDGE up
     ifconfig -a
-    ip addr add $IP_HOST dev $IF_BRIDGE 
+    ip addr add $IP_HOST dev $IF_BRIDGE
     ifconfig $IF_BRIDGE netmask $IP_NETMASK
     ip route delete $IP_NET
     ip route add $IP_NET dev $IF_BRIDGE src $IP_HOST


[incubator-nuttx] 04/06: style/code: remove unnecessary trailing whitespace

Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 32ba1943728e7796251b8b728bbfd5ce38c89629
Author: chao.an <an...@xiaomi.com>
AuthorDate: Sat Nov 28 11:51:54 2020 +0800

    style/code: remove unnecessary trailing whitespace
    
    N/A
    
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 arch/arm/src/stm32l4/hardware/stm32l4_adc.h        |  6 +++---
 arch/mips/src/pic32mz/pic32mz_head.S               |  6 +++---
 arch/x86_64/src/intel64/intel64_head.S             | 12 ++++++------
 arch/x86_64/src/intel64/intel64_saveusercontext.S  |  6 +++---
 arch/x86_64/src/intel64/intel64_vectors.S          |  2 +-
 arch/xtensa/src/common/xtensa_backtrace.S          |  2 +-
 arch/xtensa/src/esp32/esp32_wtd.c                  |  2 +-
 arch/xtensa/src/esp32/esp32_wtd_lowerhalf.c        |  8 ++++----
 boards/xtensa/esp32/esp32-core/include/board.h     |  2 +-
 boards/xtensa/esp32/esp32-core/src/esp32_bringup.c |  2 +-
 10 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/arch/arm/src/stm32l4/hardware/stm32l4_adc.h b/arch/arm/src/stm32l4/hardware/stm32l4_adc.h
index 5fa3e9a..80aebb2 100644
--- a/arch/arm/src/stm32l4/hardware/stm32l4_adc.h
+++ b/arch/arm/src/stm32l4/hardware/stm32l4_adc.h
@@ -269,7 +269,7 @@
 #define ADC_CFGR_DISCEN              (1 << 16)                         /* Bit 16: Discontinuous mode on regular channels */
 #define ADC_CFGR_DISCNUM_SHIFT       (17)                              /* Bits 17-19: Discontinuous mode channel count */
 #define ADC_CFGR_DISCNUM_MASK        (7 << ADC_CFGR_DISCNUM_SHIFT)
-#  define ADC_CFGR_DISCNUM(n)        (((n) - 1) << ADC_CFGR_DISCNUM_SHIFT) 
+#  define ADC_CFGR_DISCNUM(n)        (((n) - 1) << ADC_CFGR_DISCNUM_SHIFT)
                                                                        /* n = 1..8 channels */
 
 #define ADC_CFGR_JDISCEN             (1 << 20) /* Bit 20: Discontinuous mode on injected channels */
@@ -457,7 +457,7 @@
                                                                   /* n=1..4 */
 #define ADC_JSQR_JEXTSEL_SHIFT       (2)                          /* Bits 2-5: External Trigger Selection for injected group */
 #define ADC_JSQR_JEXTSEL_MASK        (15 << ADC_JSQR_JEXTSEL_SHIFT)
-#  define ADC_JSQR_JEXTSEL(event)    ((event) << ADC_JSQR_JEXTSEL_SHIFT) 
+#  define ADC_JSQR_JEXTSEL(event)    ((event) << ADC_JSQR_JEXTSEL_SHIFT)
                                                                   /* Event = 0..15 */
 #  define ADC_JEXTSEL_T1TRGO         ADC_JSQR_JEXTSEL(0)          /* 0000 TIM1_TRGO */
 #  define ADC_JEXTSEL_T1CC4          ADC_JSQR_JEXTSEL(1)          /* 0001 TIM1_CH4 */
@@ -577,7 +577,7 @@
 #    define ADC_CCR_DUAL_ALT         (9 << ADC_CCR_DUAL_SHIFT)   /* Alternate trigger mode only */
 #  define ADC_CCR_DELAY_SHIFT        (8)                         /* Bits 8-11: Delay between 2 sampling phases */
 #  define ADC_CCR_DELAY_MASK         (15 << ADC_CCR_DELAY_SHIFT)
-#    define ADC_CCR_DELAY(n)         (((n)-1) << ADC_CCR_DELAY_SHIFT) 
+#    define ADC_CCR_DELAY(n)         (((n)-1) << ADC_CCR_DELAY_SHIFT)
                                                                  /* n * TADCCLK, 1-13 */
 #  define ADC_CCR_DMACFG             (1 << 13)                   /* Bit 13: DMA configuration (for dual ADC mode) */
 #  define ADC_CCR_MDMA_SHIFT         (14)                        /* Bits 14-15: Direct memory access mode for dual ADC mode */
diff --git a/arch/mips/src/pic32mz/pic32mz_head.S b/arch/mips/src/pic32mz/pic32mz_head.S
index b8f5447..77bac48 100644
--- a/arch/mips/src/pic32mz/pic32mz_head.S
+++ b/arch/mips/src/pic32mz/pic32mz_head.S
@@ -84,13 +84,13 @@
  *    End(+1): _ebss + CONFIG_IDLETHREAD_STACKSIZE
  * 6) Optional interrupt stack
  *    Start:   _ebss + CONFIG_IDLETHREAD_STACKSIZE
- *    End(+1): _ebss + CONFIG_IDLETHREAD_STACKSIZE + 
+ *    End(+1): _ebss + CONFIG_IDLETHREAD_STACKSIZE +
                (CONFIG_ARCH_INTERRUPTSTACK & ~3)
  * 6a) Heap (without interrupt stack)
  *    Start:   _ebss + CONFIG_IDLETHREAD_STACKSIZE
  *    End(+1): to the end of memory
  * 6b) Heap (with interrupt stack)
- *    Start: _ebss + CONFIG_IDLETHREAD_STACKSIZE + 
+ *    Start: _ebss + CONFIG_IDLETHREAD_STACKSIZE +
              (CONFIG_ARCH_INTERRUPTSTACK & ~3)
  *    End(+1): to the end of memory
  */
@@ -472,7 +472,7 @@ __start:
 	ehb
 
   la   t0, pic32mz_consoleinit
-  jalr ra, t0 
+  jalr ra, t0
   nop
 
   showprogress 'A'
diff --git a/arch/x86_64/src/intel64/intel64_head.S b/arch/x86_64/src/intel64/intel64_head.S
index 3297bc8..d43839e 100644
--- a/arch/x86_64/src/intel64/intel64_head.S
+++ b/arch/x86_64/src/intel64/intel64_head.S
@@ -172,7 +172,7 @@ start32:
     // Popluate the lower 4GB as non-present
     // for ecx = 0...512 * 4 : Loop and setup the page directories
     mov     $0x800, %ecx // 512 * 4
-epd_loop: 
+epd_loop:
     mov     %esi,   %edx
     or      $(X86_PAGE_WR | X86_PAGE_PRESENT), %edx
     mov     %edx, 0(%edi)
@@ -198,7 +198,7 @@ ept_loop:
 
     // for ecx = 0...64 : Loop and setup 64x 2MB page directories
     mov     $64,    %ecx
-pd_loop: 
+pd_loop:
     mov     %eax, 0(%edi)
     add     $(HUGE_PAGE_SIZE), %eax
     add     $(X86_PAGE_ENTRY_SIZE), %edi
@@ -221,7 +221,7 @@ pd_loop:
     mov     %eax,   %cr4
 
     // Load the 4 level page table
-    // Level 1 and 2 were preset at build time in assembly for this loading 
+    // Level 1 and 2 were preset at build time in assembly for this loading
     // process
     // 4KiB page table is used
     // Kernel mapped to 1GB HiMem
@@ -323,7 +323,7 @@ __revoke_low_memory:
 
     // for ecx = 0...64 : Loop and setup 64x 2MB page directories
     mov     $64,   %ecx
-npd_loop: 
+npd_loop:
     mov     %esi,   %edx
     or      $(X86_PAGE_WR | X86_PAGE_PRESENT), %edx
     mov     %edx, 0(%edi)
@@ -354,12 +354,12 @@ __enable_sse_avx:
     mov     $(X86_CR0_EM), %rbx
     not     %rbx
     and     %rbx,   %rax
-    or      $(X86_CR0_MP), %rax 
+    or      $(X86_CR0_MP), %rax
     mov     %rax,   %cr0
 
     // Enable Saving XMM context
     mov     %cr4,   %rax
-    or      $(X86_CR4_OSXFSR | X86_CR4_XMMEXCPT),   %rax 
+    or      $(X86_CR4_OSXFSR | X86_CR4_XMMEXCPT),   %rax
     mov     %rax,   %cr4
 
     // Setup MXCSR, masking all SSE precision exception
diff --git a/arch/x86_64/src/intel64/intel64_saveusercontext.S b/arch/x86_64/src/intel64/intel64_saveusercontext.S
index d16e0ef..fd51be0 100644
--- a/arch/x86_64/src/intel64/intel64_saveusercontext.S
+++ b/arch/x86_64/src/intel64/intel64_saveusercontext.S
@@ -74,8 +74,8 @@
  *  modified upon return from a subroutine call.  On a context switch
  *  back to user mode, it will appear as a return from this function.
  *
- *  According to the SysV x86_64 ABI, the RAX, RDI, RSI, RDX, RCX, r8 and r9 
- *  are to be free for use within a procedure or function, and need not 
+ *  According to the SysV x86_64 ABI, the RAX, RDI, RSI, RDX, RCX, r8 and r9
+ *  are to be free for use within a procedure or function, and need not
  *  be preserved.
  *
  *  On entry,
@@ -87,7 +87,7 @@
     .globl    up_saveusercontext
     .type    up_saveusercontext, @function
 up_saveusercontext:
-    
+
     // callee saved regs
     movq    %rbx, (8*REG_RBX)(%rdi)
     movq    %r12, (8*REG_R12)(%rdi)
diff --git a/arch/x86_64/src/intel64/intel64_vectors.S b/arch/x86_64/src/intel64/intel64_vectors.S
index f7d703d..c67a715 100644
--- a/arch/x86_64/src/intel64/intel64_vectors.S
+++ b/arch/x86_64/src/intel64/intel64_vectors.S
@@ -268,7 +268,7 @@ isr_common:
     /* save xmm registers */
     leaq -512(%rsp), %rsp
     fxsaveq (%rsp)
-    
+
 
 	/* The current value of the SP points to the beginning of the state save
 	 * structure.  Save that in RDI as the input parameter to isr_handler.
diff --git a/arch/xtensa/src/common/xtensa_backtrace.S b/arch/xtensa/src/common/xtensa_backtrace.S
index f436046..e5204b4 100644
--- a/arch/xtensa/src/common/xtensa_backtrace.S
+++ b/arch/xtensa/src/common/xtensa_backtrace.S
@@ -89,7 +89,7 @@ xtensa_backtrace_start:
   /* a2, a3, a4 should be out arguments for i SP, i PC, i-1 PC respectively.
    * Use a5 and a6 as scratch.
    */
-  
+
   l32e    a5, sp, -16     /* Get i PC, which is ret addres of i+1 */
   s32i    a5, a2, 0       /* Store i PC to arg *pc */
   l32e    a6, sp, -12     /* Get i+1 SP. Used to access i BS */
diff --git a/arch/xtensa/src/esp32/esp32_wtd.c b/arch/xtensa/src/esp32/esp32_wtd.c
index 080bffb..e86c7dd 100644
--- a/arch/xtensa/src/esp32/esp32_wtd.c
+++ b/arch/xtensa/src/esp32/esp32_wtd.c
@@ -26,7 +26,7 @@
 #include <nuttx/irq.h>
 #include <stdbool.h>
 #include "xtensa.h"
-#include "hardware/esp32_tim.h" 
+#include "hardware/esp32_tim.h"
 #include "hardware/esp32_rtccntl.h"
 #include "esp32_wtd.h"
 #include "esp32_cpuint.h"
diff --git a/arch/xtensa/src/esp32/esp32_wtd_lowerhalf.c b/arch/xtensa/src/esp32/esp32_wtd_lowerhalf.c
index ca05afa..35ca89e 100644
--- a/arch/xtensa/src/esp32/esp32_wtd_lowerhalf.c
+++ b/arch/xtensa/src/esp32/esp32_wtd_lowerhalf.c
@@ -49,15 +49,15 @@
  */
 
 #define MS_CYCLES_TIMER          2          /* 1 ms/(12.5 ns*PRE_VALUE) */
-#define STAGE_0                  0     
+#define STAGE_0                  0
 #define STAGE_1                  1
 #define STAGE_2                  2
-#define STAGE_3                  3 
+#define STAGE_3                  3
 #define RESET_SYSTEM_RTC         4          /* Reset Main System + RTC */
-#define RESET_SYSTEM_TIMER       3          /* Reset Main System */   
+#define RESET_SYSTEM_TIMER       3          /* Reset Main System */
 #define INTERRUPT_ON_TIMEOUT     1
 #define STAGES                   4
-#define FULL_STAGE               0xffffffff /* ((2^32)-1) */     
+#define FULL_STAGE               0xffffffff /* ((2^32)-1) */
 #define MAX_MWDT_TIMEOUT_MS      0x7fffffff /* ((2^32)-1)/cycles */
 
 /****************************************************************************
diff --git a/boards/xtensa/esp32/esp32-core/include/board.h b/boards/xtensa/esp32/esp32-core/include/board.h
index ce90452..094eed1 100644
--- a/boards/xtensa/esp32/esp32-core/include/board.h
+++ b/boards/xtensa/esp32/esp32-core/include/board.h
@@ -90,6 +90,6 @@
 /* Define how many LEDs this board has (needed by userleds) */
 
 #define BOARD_NLEDS       1
-#define GPIO_LED1         2  
+#define GPIO_LED1         2
 
 #endif /* __BOARDS_XTENSA_ESP32_ESP32_CORE_INCLUDE_BOARD_H */
diff --git a/boards/xtensa/esp32/esp32-core/src/esp32_bringup.c b/boards/xtensa/esp32/esp32-core/src/esp32_bringup.c
index 5ba1c71..d3caff8 100644
--- a/boards/xtensa/esp32/esp32-core/src/esp32_bringup.c
+++ b/boards/xtensa/esp32/esp32-core/src/esp32_bringup.c
@@ -175,7 +175,7 @@ int esp32_bringup(void)
 
 #ifdef CONFIG_ESP32_SPIFLASH_ENCRYPTION_TEST
   esp32_spiflash_encrypt_test();
-#endif 
+#endif
 
   ret = esp32_spiflash_init();
   if (ret)


[incubator-nuttx] 01/06: style/Makefile: remove unnecessary trailing whitespace

Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit c56785bd0d59fe17202b6f57e211eb5de126e8b3
Author: chao.an <an...@xiaomi.com>
AuthorDate: Sat Nov 28 11:43:30 2020 +0800

    style/Makefile: remove unnecessary trailing whitespace
    
    N/A
    
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 arch/mips/src/Makefile                         | 2 +-
 arch/misoc/src/Makefile                        | 2 +-
 arch/renesas/src/Makefile                      | 2 +-
 arch/sim/src/Makefile                          | 2 +-
 arch/x86/src/Makefile                          | 2 +-
 arch/x86_64/src/Makefile                       | 2 +-
 arch/xtensa/src/Makefile                       | 2 +-
 arch/z80/src/Makefile.zdsiil                   | 2 +-
 audio/Makefile                                 | 2 +-
 binfmt/Makefile                                | 2 +-
 boards/Makefile                                | 2 +-
 boards/renesas/rx65n/rx65n-rsk2mb/src/Makefile | 6 +++---
 crypto/Makefile                                | 2 +-
 drivers/Makefile                               | 2 +-
 fs/Makefile                                    | 2 +-
 libs/libc/Makefile                             | 2 +-
 libs/libc/bin/Makefile                         | 2 +-
 libs/libdsp/Makefile                           | 2 +-
 libs/libnx/Makefile                            | 2 +-
 libs/libnx/kbin/Makefile                       | 2 +-
 mm/Makefile                                    | 4 ++--
 net/Makefile                                   | 2 +-
 pass1/Makefile                                 | 2 +-
 sched/Makefile                                 | 2 +-
 tools/Makefile.unix                            | 6 +++---
 tools/Makefile.win                             | 4 ++--
 video/Makefile                                 | 2 +-
 wireless/Makefile                              | 2 +-
 28 files changed, 34 insertions(+), 34 deletions(-)

diff --git a/arch/mips/src/Makefile b/arch/mips/src/Makefile
index cdbd2a8..c280df8 100644
--- a/arch/mips/src/Makefile
+++ b/arch/mips/src/Makefile
@@ -146,7 +146,7 @@ makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 ifeq ($(BOARDMAKE),y)
 	$(Q) $(MAKE) -C board depend
 endif
-	$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)"	
+	$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)"
 	$(Q) touch $@
 
 depend: .depend
diff --git a/arch/misoc/src/Makefile b/arch/misoc/src/Makefile
index d6e2eb5..88e3880 100644
--- a/arch/misoc/src/Makefile
+++ b/arch/misoc/src/Makefile
@@ -149,7 +149,7 @@ makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 ifeq ($(BOARDMAKE),y)
 	$(Q) $(MAKE) -C board depend
 endif
-	$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)"	
+	$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)"
 	$(Q) touch $@
 
 depend: .depend
diff --git a/arch/renesas/src/Makefile b/arch/renesas/src/Makefile
index 8c62b8d..d2421d0 100644
--- a/arch/renesas/src/Makefile
+++ b/arch/renesas/src/Makefile
@@ -157,7 +157,7 @@ makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 ifeq ($(BOARDMAKE),y)
 	$(Q) $(MAKE) -C board depend
 endif
-	$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common"	
+	$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common"
 	$(Q) touch $@
 
 depend: .depend
diff --git a/arch/sim/src/Makefile b/arch/sim/src/Makefile
index 611f09a..9f9fa87 100644
--- a/arch/sim/src/Makefile
+++ b/arch/sim/src/Makefile
@@ -199,7 +199,7 @@ endif
 ifeq ($(CONFIG_SIM_HCISOCKET),y)
   HOSTSRCS += up_hcisocket_host.c
   CSRCS += up_hcisocket.c
-endif 
+endif
 
 ifeq ($(CONFIG_I2C_RESET),y)
   HOSTCFLAGS += -DCONFIG_I2C_RESET=1
diff --git a/arch/x86/src/Makefile b/arch/x86/src/Makefile
index fa2cfd3..036d769 100644
--- a/arch/x86/src/Makefile
+++ b/arch/x86/src/Makefile
@@ -161,7 +161,7 @@ makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 ifeq ($(BOARDMAKE),y)
 	$(Q) $(MAKE) -C board depend
 endif
-	$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)"	
+	$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)"
 	$(Q) touch $@
 
 depend: .depend
diff --git a/arch/x86_64/src/Makefile b/arch/x86_64/src/Makefile
index dac9743..db2050e 100644
--- a/arch/x86_64/src/Makefile
+++ b/arch/x86_64/src/Makefile
@@ -156,7 +156,7 @@ makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 ifeq ($(BOARDMAKE),y)
 	$(Q) $(MAKE) -C board depend
 endif
-	$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)"	
+	$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)"
 	$(Q) touch $@
 
 depend: .depend
diff --git a/arch/xtensa/src/Makefile b/arch/xtensa/src/Makefile
index 31a4544..247d9e7 100644
--- a/arch/xtensa/src/Makefile
+++ b/arch/xtensa/src/Makefile
@@ -147,7 +147,7 @@ makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 ifeq ($(BOARDMAKE),y)
 	$(Q) $(MAKE) -C board depend
 endif
-	$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)"	
+	$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)"
 	$(Q) touch $@
 
 depend: .depend
diff --git a/arch/z80/src/Makefile.zdsiil b/arch/z80/src/Makefile.zdsiil
index 1b47539..668aa15 100644
--- a/arch/z80/src/Makefile.zdsiil
+++ b/arch/z80/src/Makefile.zdsiil
@@ -50,7 +50,7 @@ WARCHCMNDIR = ${shell cygpath -w $(ARCHCMDDIR)}
 USRINCLUDES = -usrinc:'$(WSCHEDSRCDIR);$(WARCHCHIPDIR);$(WARCHCMNDIR)'
 
 INCLUDES = $(ARCHSTDINCLUDES) $(USRINCLUDES)
-CFLAGS := $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(INCLUDES) $(ARCHDEFINES) 
+CFLAGS := $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(INCLUDES) $(ARCHDEFINES)
 CPPFLAGS += -I$(ARCHSRCDIR) -I$(ZDSSTDINCDIR) -I$(ZDSZILOGINCDIR)
 LDFLAGS  += @nuttx.linkcmd
 
diff --git a/audio/Makefile b/audio/Makefile
index a8c7829..c679ade 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -68,7 +68,7 @@ $(COBJS): %$(OBJEXT): %.c
 
 $(BIN): $(OBJS)
 	$(call ARCHIVE, $@, $(OBJS))
-  
+
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/binfmt/Makefile b/binfmt/Makefile
index fd52995..ed25a9e 100644
--- a/binfmt/Makefile
+++ b/binfmt/Makefile
@@ -80,7 +80,7 @@ $(BINFMT_COBJS): %$(OBJEXT): %.c
 
 $(BIN): $(BINFMT_OBJS)
 	$(call ARCHIVE, $@, $(BINFMT_OBJS))
-  
+
 makedepfile: $(BINFMT_CSRCS:.c=.ddc) $(BINFMT_ASRCS:.S=.dds)
 	$(call CATFILE, Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/boards/Makefile b/boards/Makefile
index 8169ebd..d272093 100644
--- a/boards/Makefile
+++ b/boards/Makefile
@@ -98,7 +98,7 @@ $(CXXOBJS): %$(OBJEXT): %.cxx
 
 $(BIN): $(OBJS)
 	$(call ARCHIVE, $@, $(OBJS))
-  
+
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(CXXSRCS:.cxx=.ddx)
 	$(call CATFILE, Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/boards/renesas/rx65n/rx65n-rsk2mb/src/Makefile b/boards/renesas/rx65n/rx65n-rsk2mb/src/Makefile
index 5ef1468..c463332 100644
--- a/boards/renesas/rx65n/rx65n-rsk2mb/src/Makefile
+++ b/boards/renesas/rx65n/rx65n-rsk2mb/src/Makefile
@@ -7,15 +7,15 @@
 # ASF licenses this file to you under the Apache License, Version 2.0 (the
 # "License"); you may not use this file except in compliance with the
 # License.  You may obtain a copy of the License at
-# 
+#
 #   http://www.apache.org/licenses/LICENSE-2.0
-# 
+#
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
 # License for the specific language governing permissions and limitations
 # under the License.
-# 
+#
 ############################################################################
 
 include $(TOPDIR)/Make.defs
diff --git a/crypto/Makefile b/crypto/Makefile
index 68eb31a..a9112a4 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -89,7 +89,7 @@ $(COBJS): %$(OBJEXT): %.c
 
 $(BIN): $(OBJS)
 	$(call ARCHIVE, $@, $(OBJS))
-  
+
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/drivers/Makefile b/drivers/Makefile
index 1c1139d..d58a78b 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -119,7 +119,7 @@ $(COBJS): %$(OBJEXT): %.c
 
 $(BIN): $(OBJS)
 	$(call ARCHIVE, $@, $(OBJS))
-  
+
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/fs/Makefile b/fs/Makefile
index 6d7717a..815088b 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -97,7 +97,7 @@ $(BIN):	$(OBJS)
 	$(call ARCHIVE, $@, $(OBJS))
 
 context::
-  
+
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/libs/libc/Makefile b/libs/libc/Makefile
index 8371b11..dcb415a 100644
--- a/libs/libc/Makefile
+++ b/libs/libc/Makefile
@@ -159,7 +159,7 @@ endif
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, bin/Make.dep, $^)
 	$(call DELFILE, $^)
-  
+
 makekdepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, kbin/Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/libs/libc/bin/Makefile b/libs/libc/bin/Makefile
index dedc963..ffccef3 100644
--- a/libs/libc/bin/Makefile
+++ b/libs/libc/bin/Makefile
@@ -37,7 +37,7 @@ include $(TOPDIR)/Make.defs
 
 all:
 .PHONY: clean distclean
-  
+
 # Clean Targets:
 
 clean:
diff --git a/libs/libdsp/Makefile b/libs/libdsp/Makefile
index 6d1ed1a..29c9b95 100644
--- a/libs/libdsp/Makefile
+++ b/libs/libdsp/Makefile
@@ -49,7 +49,7 @@ $(COBJS): %$(OBJEXT): %.c
 
 $(BIN): $(OBJS)
 	$(call ARCHIVE, $@, $(OBJS))
-  
+
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/libs/libnx/Makefile b/libs/libnx/Makefile
index 2408eee..ff83529 100644
--- a/libs/libnx/Makefile
+++ b/libs/libnx/Makefile
@@ -238,7 +238,7 @@ endif
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, bin/Make.dep, $^)
 	$(call DELFILE, $^)
-  
+
 makekdepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, kbin/Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/libs/libnx/kbin/Makefile b/libs/libnx/kbin/Makefile
index dd4e30e..e347523 100644
--- a/libs/libnx/kbin/Makefile
+++ b/libs/libnx/kbin/Makefile
@@ -37,7 +37,7 @@ include $(TOPDIR)/Make.defs
 
 all:
 .PHONY: clean distclean
-  
+
 # Clean Targets:
 
 clean:
diff --git a/mm/Makefile b/mm/Makefile
index a2b6cb5..81b6c90 100644
--- a/mm/Makefile
+++ b/mm/Makefile
@@ -85,13 +85,13 @@ endif
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, bin/Make.dep, $^)
 	$(call DELFILE, $^)
-  
+
 makekdepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, kbin/Make.dep, $^)
 	$(call DELFILE, $^)
 
 .depend: Makefile $(SRCS) $(TOPDIR)$(DELIM).config
-	$(Q) $(MAKE) makedepfile 
+	$(Q) $(MAKE) makedepfile
 ifneq ($(CONFIG_BUILD_FLAT),y)
 	$(Q) $(MAKE) makekdepfile CFLAGS="$(CFLAGS) $(KDEFINE)"
 endif
diff --git a/net/Makefile b/net/Makefile
index 7cf01a1..94d92a2 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -91,7 +91,7 @@ $(COBJS): %$(OBJEXT): %.c
 
 $(BIN): $(OBJS)
 	$(call ARCHIVE, $@, $(OBJS))
-  
+
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/pass1/Makefile b/pass1/Makefile
index d9a9029..a791862 100644
--- a/pass1/Makefile
+++ b/pass1/Makefile
@@ -57,7 +57,7 @@ $(COBJS): %$(OBJEXT): %.c
 
 $(BIN): $(OBJS)
 	$(call ARCHIVE, $@, $(OBJS))
-  
+
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/sched/Makefile b/sched/Makefile
index fb3bd8d..9f7c7ca 100644
--- a/sched/Makefile
+++ b/sched/Makefile
@@ -58,7 +58,7 @@ $(COBJS): %$(OBJEXT): %.c
 
 $(BIN): $(OBJS)
 	$(call ARCHIVE, $@, $(OBJS))
-  
+
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/tools/Makefile.unix b/tools/Makefile.unix
index 58d80df..b9a79fe 100644
--- a/tools/Makefile.unix
+++ b/tools/Makefile.unix
@@ -327,10 +327,10 @@ endif
 	$(Q) touch $@
 
 dirlinks: include/arch include/arch/board include/arch/chip $(ARCH_SRC)/board $(ARCH_SRC)/chip drivers/platform
-	$(Q) $(MAKE) -C libs/libxx dirlinks 
-	$(Q) $(MAKE) -C boards dirlinks 
+	$(Q) $(MAKE) -C libs/libxx dirlinks
+	$(Q) $(MAKE) -C boards dirlinks
 	$(Q) $(MAKE) -C openamp dirlinks
-	$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks 
+	$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks
 
 # context
 #
diff --git a/tools/Makefile.win b/tools/Makefile.win
index 0369c62..6c5fb11 100644
--- a/tools/Makefile.win
+++ b/tools/Makefile.win
@@ -306,8 +306,8 @@ endif
 	$(Q) touch $@
 
 dirlinks: include\arch include\arch\board include\arch\chip $(ARCH_SRC)\board $(ARCH_SRC)\chip drivers\platform
-	$(Q) $(MAKE) -C libs/libxx dirlinks 
-	$(Q) $(MAKE) -C boards dirlinks 
+	$(Q) $(MAKE) -C libs/libxx dirlinks
+	$(Q) $(MAKE) -C boards dirlinks
 	$(Q) $(MAKE) -C openamp dirlinks
 	$(Q) $(MAKE) -C $(CONFIG_APPS_DIR) dirlinks
 
diff --git a/video/Makefile b/video/Makefile
index 8775229..92f91ae 100644
--- a/video/Makefile
+++ b/video/Makefile
@@ -55,7 +55,7 @@ $(COBJS): %$(OBJEXT): %.c
 
 $(BIN):	$(OBJS)
 	$(call ARCHIVE, $@, $(OBJS))
-  
+
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, Make.dep, $^)
 	$(call DELFILE, $^)
diff --git a/wireless/Makefile b/wireless/Makefile
index b2c46fa..66d8fb5 100644
--- a/wireless/Makefile
+++ b/wireless/Makefile
@@ -60,7 +60,7 @@ $(COBJS): %$(OBJEXT): %.c
 
 $(BIN): $(OBJS)
 	$(call ARCHIVE, $@, $(OBJS))
-  
+
 makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
 	$(call CATFILE, Make.dep, $^)
 	$(call DELFILE, $^)


[incubator-nuttx] 02/06: style/Kconfig: remove unnecessary trailing whitespace

Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 049c991d286c73a8c4a0db2ac20ef1c8ddbe25d2
Author: chao.an <an...@xiaomi.com>
AuthorDate: Sat Nov 28 11:48:10 2020 +0800

    style/Kconfig: remove unnecessary trailing whitespace
    
    N/A
    
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 arch/arm/src/kinetis/Kconfig            | 28 +++++++--------
 arch/arm/src/s32k1xx/Kconfig            | 52 +++++++++++++--------------
 arch/arm/src/samd5e5/Kconfig            |  4 +--
 arch/renesas/src/rx65n/Kconfig          | 64 ++++++++++++++++-----------------
 arch/x86_64/src/intel64/Kconfig         |  4 +--
 arch/xtensa/Kconfig                     |  2 +-
 arch/xtensa/src/esp32/Kconfig           | 10 +++---
 boards/arm/kinetis/freedom-k28f/Kconfig |  2 +-
 drivers/can/Kconfig                     |  2 +-
 drivers/power/Kconfig                   | 12 +++----
 drivers/usbhost/Kconfig                 |  6 ++--
 net/can/Kconfig                         | 26 +++++++-------
 net/netdev/Kconfig                      |  2 +-
 net/socket/Kconfig                      |  4 +--
 14 files changed, 109 insertions(+), 109 deletions(-)

diff --git a/arch/arm/src/kinetis/Kconfig b/arch/arm/src/kinetis/Kconfig
index c648bb6..5cdc32b 100644
--- a/arch/arm/src/kinetis/Kconfig
+++ b/arch/arm/src/kinetis/Kconfig
@@ -512,7 +512,7 @@ config KINETIS_RNGB
 	select ARCH_HAVE_RNG
 	---help---
 		Support the random number generator(K6x only)
-		
+
 config KINETIS_FLEXCAN
 	bool
 	default n
@@ -956,7 +956,7 @@ config KINETIS_ENET_NORXER
 	---help---
 		If selected, then the MII/RMII RXER output will be configured as a
 		GPIO and pulled low.
-		
+
 choice
 	prompt "RMII Clock Source"
 	default KINETIS_EMAC_RMIICLKEXTAL
@@ -980,32 +980,32 @@ config FLEXCAN0_BITRATE
 	int "CAN bitrate"
 	depends on !NET_CAN_CANFD
 	default 1000000
-	
+
 config FLEXCAN0_SAMPLEP
 	int "CAN sample point"
 	depends on !NET_CAN_CANFD
 	default 75
-	
+
 config FLEXCAN0_ARBI_BITRATE
 	int "CAN FD Arbitration phase bitrate"
 	depends on NET_CAN_CANFD
 	default 1000000
-	
+
 config FLEXCAN0_ARBI_SAMPLEP
 	int "CAN FD Arbitration phase sample point"
 	depends on NET_CAN_CANFD
 	default 80
-	
+
 config FLEXCAN0_DATA_BITRATE
 	int "CAN FD Arbitration phase bitrate"
 	depends on NET_CAN_CANFD
 	default 4000000
-	
+
 config FLEXCAN0_DATA_SAMPLEP
 	int "CAN FD Arbitration phase sample point"
 	depends on NET_CAN_CANFD
 	default 90
-	
+
 endmenu # KINETIS_FLEXCAN0
 
 menu "Kinetis FLEXCAN1 Configuration"
@@ -1015,32 +1015,32 @@ config FLEXCAN1_BITRATE
 	int "CAN bitrate"
 	depends on !NET_CAN_CANFD
 	default 1000000
-	
+
 config FLEXCAN1_SAMPLEP
 	int "CAN sample point"
 	depends on !NET_CAN_CANFD
 	default 75
-	
+
 config FLEXCAN1_ARBI_BITRATE
 	int "CAN FD Arbitration phase bitrate"
 	depends on NET_CAN_CANFD
 	default 1000000
-	
+
 config FLEXCAN1_ARBI_SAMPLEP
 	int "CAN FD Arbitration phase sample point"
 	depends on NET_CAN_CANFD
 	default 80
-	
+
 config FLEXCAN1_DATA_BITRATE
 	int "CAN FD Arbitration phase bitrate"
 	depends on NET_CAN_CANFD
 	default 4000000
-	
+
 config FLEXCAN1_DATA_SAMPLEP
 	int "CAN FD Arbitration phase sample point"
 	depends on NET_CAN_CANFD
 	default 90
-	
+
 endmenu # KINETIS_FLEXCAN1
 
 menu "Kinetis SDHC Configuration"
diff --git a/arch/arm/src/s32k1xx/Kconfig b/arch/arm/src/s32k1xx/Kconfig
index 59700ae..a37c8bc 100644
--- a/arch/arm/src/s32k1xx/Kconfig
+++ b/arch/arm/src/s32k1xx/Kconfig
@@ -149,11 +149,11 @@ config S32K1XX_HAVE_LPSPI1
 config S32K1XX_HAVE_LPSPI2
 	bool
 	default n
-	
+
 config S32K1XX_HAVE_FLEXCAN1
 	bool
 	default n
-	
+
 config S32K1XX_HAVE_FLEXCAN2
 	bool
 	default n
@@ -192,7 +192,7 @@ config S32K1XX_FLEXCAN
 	bool
 	select NET_CAN_HAVE_CANFD
 	default n
-	
+
 # Peripheral Selection
 
 menu "S32K1XX Peripheral Selection"
@@ -211,14 +211,14 @@ config S32K1XX_FLEXCAN0
 	select S32K1XX_FLEXCAN
 	select NET_CAN_HAVE_TX_DEADLINE
 	default n
-	
+
 config S32K1XX_FLEXCAN1
 	bool "FLEXCAN1"
 	select S32K1XX_FLEXCAN
 	select NET_CAN_HAVE_TX_DEADLINE
 	default n
 	depends on S32K1XX_HAVE_FLEXCAN1
-	
+
 config S32K1XX_FLEXCAN2
 	bool "FLEXCAN2"
 	select S32K1XX_FLEXCAN
@@ -327,7 +327,7 @@ config S32K1XX_LPUART2
 config S32K1XX_RTC
 	bool "RTC"
 	default n
-	
+
 config S32K1XX_PROGMEM
     bool PROGMEM
     default n
@@ -342,7 +342,7 @@ config S32K1XX_EEEPROM
 	default n
     ---help---
        Enables Emulated EEPROM function which uses the FlexRAM and FlexNVM
-       memory to emulate non-volatile memory. The EEEPROM wil be registered 
+       memory to emulate non-volatile memory. The EEEPROM wil be registered
        as a ramdisk block device
 
 endmenu # S32K1XX Peripheral Selection
@@ -691,32 +691,32 @@ config FLEXCAN0_BITRATE
 	int "CAN bitrate"
 	depends on !NET_CAN_CANFD
 	default 1000000
-	
+
 config FLEXCAN0_SAMPLEP
 	int "CAN sample point"
 	depends on !NET_CAN_CANFD
 	default 80
-	
+
 config FLEXCAN0_ARBI_BITRATE
 	int "CAN FD Arbitration phase bitrate"
 	depends on NET_CAN_CANFD
 	default 1000000
-	
+
 config FLEXCAN0_ARBI_SAMPLEP
 	int "CAN FD Arbitration phase sample point"
 	depends on NET_CAN_CANFD
 	default 80
-	
+
 config FLEXCAN0_DATA_BITRATE
 	int "CAN FD Arbitration phase bitrate"
 	depends on NET_CAN_CANFD
 	default 4000000
-	
+
 config FLEXCAN0_DATA_SAMPLEP
 	int "CAN FD Arbitration phase sample point"
 	depends on NET_CAN_CANFD
 	default 90
-	
+
 endmenu # S32K1XX_FLEXCAN0
 
 menu "FLEXCAN1 Configuration"
@@ -726,32 +726,32 @@ config FLEXCAN1_BITRATE
 	int "CAN bitrate"
 	depends on !NET_CAN_CANFD
 	default 1000000
-	
+
 config FLEXCAN1_SAMPLEP
 	int "CAN sample point"
 	depends on !NET_CAN_CANFD
 	default 80
-	
+
 config FLEXCAN1_ARBI_BITRATE
 	int "CAN FD Arbitration phase bitrate"
 	depends on NET_CAN_CANFD
 	default 1000000
-	
+
 config FLEXCAN1_ARBI_SAMPLEP
 	int "CAN FD Arbitration phase sample point"
 	depends on NET_CAN_CANFD
 	default 80
-	
+
 config FLEXCAN1_DATA_BITRATE
 	int "CAN FD Arbitration phase bitrate"
 	depends on NET_CAN_CANFD
 	default 4000000
-	
+
 config FLEXCAN1_DATA_SAMPLEP
 	int "CAN FD Arbitration phase sample point"
 	depends on NET_CAN_CANFD
 	default 90
-	
+
 endmenu # S32K1XX_FLEXCAN1
 
 menu "FLEXCAN2 Configuration"
@@ -761,37 +761,37 @@ config FLEXCAN2_BITRATE
 	int "CAN bitrate"
 	depends on !NET_CAN_CANFD
 	default 1000000
-	
+
 config FLEXCAN2_SAMPLEP
 	int "CAN sample point"
 	depends on !NET_CAN_CANFD
 	default 80
-	
+
 config FLEXCAN2_ARBI_BITRATE
 	int "CAN FD Arbitration phase bitrate"
 	depends on NET_CAN_CANFD
 	default 1000000
-	
+
 config FLEXCAN2_ARBI_SAMPLEP
 	int "CAN FD Arbitration phase sample point"
 	depends on NET_CAN_CANFD
 	default 80
-	
+
 config FLEXCAN2_DATA_BITRATE
 	int "CAN FD Arbitration phase bitrate"
 	depends on NET_CAN_CANFD
 	default 4000000
-	
+
 config FLEXCAN2_DATA_SAMPLEP
 	int "CAN FD Arbitration phase sample point"
 	depends on NET_CAN_CANFD
 	default 90
-	
+
 endmenu # S32K1XX_FLEXCAN0
 
 menu "PROGMEM Configuration"
 	depends on S32K1XX_PROGMEM
-	
+
 config PROGMEM_SIZE
 	int "Progmem size (KB)"
 	default 64 if ARCH_CHIP_S32K14X
diff --git a/arch/arm/src/samd5e5/Kconfig b/arch/arm/src/samd5e5/Kconfig
index 63363cc..3f4e2d4 100644
--- a/arch/arm/src/samd5e5/Kconfig
+++ b/arch/arm/src/samd5e5/Kconfig
@@ -519,7 +519,7 @@ config SAMD5E5_TICKLESS_ONESHOT
 	---help---
 		If the Tickless OS feature is enabled, the one clock must be
 		assigned to provided the one-shot timer needed by the OS.
-		NOTE: Use even timers (0, 2 or 4) because timers are program 
+		NOTE: Use even timers (0, 2 or 4) because timers are program
 		in 32-bit mode (1, 3 and 5 are slaves).
 
 config SAMD5E5_TICKLESS_FREERUN
@@ -529,7 +529,7 @@ config SAMD5E5_TICKLESS_FREERUN
 	---help---
 		If the Tickless OS feature is enabled, the one clock must be
 		assigned to provided the free-running timer needed by the OS.
-		NOTE: Use even timers (0, 2 or 4) because timers are program 
+		NOTE: Use even timers (0, 2 or 4) because timers are program
 		in 32-bit mode (1, 3 and 5 are slaves).
 
 endif
diff --git a/arch/renesas/src/rx65n/Kconfig b/arch/renesas/src/rx65n/Kconfig
index 3d24ede..a8c7b66 100644
--- a/arch/renesas/src/rx65n/Kconfig
+++ b/arch/renesas/src/rx65n/Kconfig
@@ -272,11 +272,11 @@ config RX65N_RSPI2
 
 endif
 
-config RX65N_RIIC0 
+config RX65N_RIIC0
 	bool "RIIC0"
 	default n
 	depends on I2C && I2C_DRIVER
-	
+
 if RX65N_RIIC0
 
 config RX65N_RIIC0_BITRATE
@@ -292,13 +292,13 @@ if RX65N_RIIC0_NF
 config RX65N_RIIC0_NF_STAGE
 	int "RIIC0 Noise Filter Stages"
 	default 2
-	
+
 endif #RX65N_RIIC0_NF
 
 config RX65N_RIIC0_SDA_DELAY
 	bool "Enable SDA Output Delay"
 	default n
-	
+
 if RX65N_RIIC0_SDA_DELAY
 
 config RX65N_RIIC0_DELAY_CNT
@@ -310,19 +310,19 @@ endif #RX65N_RIIC0_SDA_DELAY
 config RX65N_RIIC0_RCV_CONTINUOUS
 	bool "RIIC0 receive continuously"
 	default n
-	
+
 config RX65N_RIIC0_RCV_IN_BYTE_UNITS
 	bool "RIIC0 receive in byte units"
 	default y
 	depends on !RX65N_RIIC0_RCV_CONTINUOUS
-	
+
 endif #RX65N_RIIC0
-	
+
 config RX65N_RIIC1
 	bool "RIIC1"
 	default n
 	depends on I2C && I2C_DRIVER
-	
+
 if RX65N_RIIC1
 
 config RX65N_RIIC1_BITRATE
@@ -338,13 +338,13 @@ if RX65N_RIIC1_NF
 config RX65N_RIIC1_NF_STAGE
 	int "RIIC1 Noise Filter Stages"
 	default 2
-	
+
 endif #RX65N_RIIC1_NF
 
 config RX65N_RIIC1_SDA_DELAY
 	bool "Enable SDA Output Delay"
 	default n
-	
+
 if RX65N_RIIC1_SDA_DELAY
 
 config RX65N_RIIC1_DELAY_CNT
@@ -356,19 +356,19 @@ endif #RX65N_RIIC1_SDA_DELAY
 config RX65N_RIIC1_RCV_CONTINUOUS
 	bool "RIIC1 receive continuously"
 	default n
-	
+
 config RX65N_RIIC1_RCV_IN_BYTE_UNITS
 	bool "RIIC1 receive in byte units"
 	default y
 	depends on !RX65N_RIIC1_RCV_CONTINUOUS
-	
+
 endif #RX65N_RIIC1
 
 config RX65N_RIIC2
 	bool "RIIC2"
 	default n
 	depends on I2C && I2C_DRIVER
-	
+
 if RX65N_RIIC2
 
 config RX65N_RIIC2_BITRATE
@@ -384,13 +384,13 @@ if RX65N_RIIC2_NF
 config RX65N_RIIC2_NF_STAGE
 	int "RIIC2 Noise Filter Stages"
 	default 2
-	
+
 endif #RX65N_RIIC2_NF
 
 config RX65N_RIIC2_SDA_DELAY
 	bool "Enable SDA Output Delay for RIIC2"
 	default n
-	
+
 if RX65N_RIIC2_SDA_DELAY
 
 config RX65N_RIIC2_DELAY_CNT
@@ -407,10 +407,10 @@ config RX65N_RIIC2_RCV_IN_BYTE_UNITS
 	bool "RIIC2 receive in byte units"
 	default y
 	depends on !RX65N_RIIC2_RCV_CONTINUOUS
-	
+
 endif #RX65N_RIIC2
 
-config RX65N_USBDEV 
+config RX65N_USBDEV
 	bool "USB0 Device"
 	default n
 	depends on USBDEV
@@ -651,17 +651,17 @@ config RX65N_RSPI2
 
 endif
 
-config RX65N_RIIC0 
+config RX65N_RIIC0
 	bool "RIIC0"
 	default n
 	depends on I2C && I2C_DRIVER
-	
+
 if RX65N_RIIC0
 
 config RX65N_RIIC0_BITRATE
 	int "RIIC0 Bus Bit Rate"
 	default 400000
-	
+
 config RX65N_RIIC0_NF
 	bool "Enable Noise Filter for RIIC0"
 	default y
@@ -671,13 +671,13 @@ if RX65N_RIIC0_NF
 config RX65N_RIIC0_NF_STAGE
 	int "RIIC0 Noise Filter Stages"
 	default 2
-	
+
 endif #RX65N_RIIC0_NF
 
 config RX65N_RIIC0_SDA_DELAY
 	bool "Enable SDA Output Delay"
 	default n
-	
+
 if RX65N_RIIC0_SDA_DELAY
 
 config RX65N_RIIC0_DELAY_CNT
@@ -694,14 +694,14 @@ config RX65N_RIIC0_RCV_IN_BYTE_UNITS
 	bool "RIIC0 receive in byte units"
 	default y
 	depends on !RX65N_RIIC0_RCV_CONTINUOUS
-	
+
 endif #RX65N_RIIC0
 
 config RX65N_RIIC1
 	bool "RIIC1"
 	default n
 	depends on I2C && I2C_DRIVER
-	
+
 if RX65N_RIIC1
 
 config RX65N_RIIC1_BITRATE
@@ -717,13 +717,13 @@ if RX65N_RIIC1_NF
 config RX65N_RIIC1_NF_STAGE
 	int "RIIC1 Noise Filter Stages"
 	default 2
-	
+
 endif #RX65N_RIIC1_NF
 
 config RX65N_RIIC1_SDA_DELAY
 	bool "Enable SDA Output Delay"
 	default n
-	
+
 if RX65N_RIIC1_SDA_DELAY
 
 config RX65N_RIIC1_DELAY_CNT
@@ -740,14 +740,14 @@ config RX65N_RIIC1_RCV_IN_BYTE_UNITS
 	bool "RIIC1 receive in byte units"
 	default y
 	depends on !RX65N_RIIC1_RCV_CONTINUOUS
-	
+
 endif #RX65N_RIIC1
 
 config RX65N_RIIC2
 	bool "RIIC2"
 	default n
 	depends on I2C && I2C_DRIVER
-	
+
 if RX65N_RIIC2
 
 config RX65N_RIIC2_BITRATE
@@ -763,13 +763,13 @@ if RX65N_RIIC2_NF
 config RX65N_RIIC2_NF_STAGE
 	int "RIIC2 Noise Filter Stages"
 	default 2
-	
+
 endif #RX65N_RIIC2_NF
 
 config RX65N_RIIC2_SDA_DELAY
 	bool "Enable SDA Output Delay"
 	default n
-	
+
 if RX65N_RIIC2_SDA_DELAY
 
 config RX65N_RIIC2_DELAY_CNT
@@ -786,10 +786,10 @@ config RX65N_RIIC2_RCV_IN_BYTE_UNITS
 	bool "RIIC2 receive in byte units"
 	default y
 	depends on !RX65N_RIIC2_RCV_CONTINUOUS
-	
+
 endif #RX65N_RIIC2
 
-config RX65N_USBDEV 
+config RX65N_USBDEV
 	bool "USB0 Device"
 	default n
 	depends on USBDEV
diff --git a/arch/x86_64/src/intel64/Kconfig b/arch/x86_64/src/intel64/Kconfig
index a4291ba..d9c6ed5 100644
--- a/arch/x86_64/src/intel64/Kconfig
+++ b/arch/x86_64/src/intel64/Kconfig
@@ -38,7 +38,7 @@ config ARCH_INTEL64_HAVE_XSAVE
     bool "XSAVE support"
     default y
 	---help---
-		Select to enable the use of XSAVE and FPU/SSE/AVX functions 
+		Select to enable the use of XSAVE and FPU/SSE/AVX functions
 		of x86_64
 
 config ARCH_INTEL64_HAVE_PCID
@@ -57,7 +57,7 @@ config ARCH_INTEL64_DISABLE_INT_INIT
     bool "Disable Initialization of 8259/APIC/IO-APIC"
     default n
 	---help---
-		Select to disable all initialization related to interrupt 
+		Select to disable all initialization related to interrupt
 		controllers. This is necessary if those are already
 		initialized, i.e. Jailhouse system.
 
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index 5ef6d02..1986457 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -114,7 +114,7 @@ config XTENSA_USE_SEPARATE_IMEM
 	help
 		This is a separate internal heap that's used by drivers when certain operations
 		are not possible with the provided buffer(s).
-		Mainly, when the provided buffer comes from external RAM and a DMA or flash 
+		Mainly, when the provided buffer comes from external RAM and a DMA or flash
 		operation is going to be performed.
 
 		This separate heap will be part of the internal DRAM.  It starts right after .data
diff --git a/arch/xtensa/src/esp32/Kconfig b/arch/xtensa/src/esp32/Kconfig
index a312539..2cc2f39 100644
--- a/arch/xtensa/src/esp32/Kconfig
+++ b/arch/xtensa/src/esp32/Kconfig
@@ -213,16 +213,16 @@ config ESP32_MWDT0
 	default n
 	select ESP32_WTD
 	---help---
-		Includes MWDT0. This watchdog timer is part of the Group 0 
-		timer submodule. 
-		
+		Includes MWDT0. This watchdog timer is part of the Group 0
+		timer submodule.
+
 config ESP32_MWDT1
 	bool "Main System Watchdog Timer (Group 1)"
 	default n
 	select ESP32_WTD
 	---help---
-		Includes MWDT1. This watchdog timer is part of the Group 0 
-		timer submodule. 
+		Includes MWDT1. This watchdog timer is part of the Group 0
+		timer submodule.
 
 config ESP32_UART0
 	bool "UART 0"
diff --git a/boards/arm/kinetis/freedom-k28f/Kconfig b/boards/arm/kinetis/freedom-k28f/Kconfig
index 8793605..0532232 100644
--- a/boards/arm/kinetis/freedom-k28f/Kconfig
+++ b/boards/arm/kinetis/freedom-k28f/Kconfig
@@ -61,6 +61,6 @@ config FRDMK28F_USB_AUTOMOUNT_NUM_BLKDEV
 config FRDMK28F_USB_AUTOMOUNT_UDELAY
 	int "USB unmount retry delay (milliseconds)"
 	default 2000
-	
+
 endif # FRDMK28F_USB_AUTOMOUNT
 endif # ARCH_BOARD_FREEDOM_K28F
diff --git a/drivers/can/Kconfig b/drivers/can/Kconfig
index ae54205..1d663c7 100644
--- a/drivers/can/Kconfig
+++ b/drivers/can/Kconfig
@@ -128,7 +128,7 @@ config CAN_NPOLLWAITERS
 	---help---
 		The maximum number of threads that may be waiting on the
 		poll method.
-		
+
 config CAN_USE_RTR
 	bool "Include RTR in CAN header"
 	default n
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 1e87151..5c3cf0d 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -454,9 +454,9 @@ config BQ27426
 	select I2C
 	depends on BATTERY_GAUGE
 	---help---
-		The bq27426 battery fuel gauge accurately predicts the battery capacity and other 
-		operational characteristics of a single, Li-based, rechargeable cell. 
-		It can be interrogated by a system processor to provide cell information, 
+		The bq27426 battery fuel gauge accurately predicts the battery capacity and other
+		operational characteristics of a single, Li-based, rechargeable cell.
+		It can be interrogated by a system processor to provide cell information,
 		such as state-of-charge (SOC).
 
 if BQ27426
@@ -480,11 +480,11 @@ config I2C_BQ2429X
 config I2C_MAX1704X
 	bool
 	default y if MAX1704X
-	
+
 config BATTERY_MONITOR
 	bool "Battery Monitor/Management support"
 	default n
-	
+
 config BQ769X0
 	bool "BQ769X0 Battery monitor support"
 	default n
@@ -494,7 +494,7 @@ config BQ769X0
 	---help---
 		The BQ76920/BQ76930/BQ76940 provide monitoring, balancing, and
 		protection features for up to 15 cells in series.
-		
+
 config I2C_BQ769X0
 	bool
 	default y if BQ769X0
diff --git a/drivers/usbhost/Kconfig b/drivers/usbhost/Kconfig
index 08f4dc8..4ffbd36 100644
--- a/drivers/usbhost/Kconfig
+++ b/drivers/usbhost/Kconfig
@@ -108,7 +108,7 @@ config USBHOST_MSC
 	---help---
 		Enable support for the mass storage class driver.  This also depends on
 		NFILE_DESCRIPTORS > 0 && SCHED_WORKQUEUE=y
-		
+
 config USBHOST_MSC_NOTIFIER
 	bool "Support USB Mass Storage notifications"
 	default n
@@ -117,8 +117,8 @@ config USBHOST_MSC_NOTIFIER
 	---help---
 		Enable building of USB MSC notifier logic that will execute a worker
 		function on the low priority work queue when a mass storage device is
-		connected or disconnected. 
-		
+		connected or disconnected.
+
 config USBHOST_CDCACM
 	bool "CDC/ACM support"
 	default n
diff --git a/net/can/Kconfig b/net/can/Kconfig
index e84c99d..24ed114 100644
--- a/net/can/Kconfig
+++ b/net/can/Kconfig
@@ -21,7 +21,7 @@ if NET_CAN
 config NET_CAN_HAVE_TX_DEADLINE
 	bool
 	default n
-	
+
 config NET_CAN_HAVE_CANFD
 	bool
 	default n
@@ -31,14 +31,14 @@ config CAN_CONNS
 	default 4
 	---help---
 		Maximum number of CAN connections (all tasks).
-		
+
 config NET_CAN_CANFD
 	bool "Enable CAN FD support"
 	default y
 	depends on NET_CAN_HAVE_CANFD
 	---help---
 		Enable CAN FD support in SocketCAN stack
-		
+
 config NET_CAN_SOCK_OPTS
 	bool "sockopt support"
 	default n
@@ -46,7 +46,7 @@ config NET_CAN_SOCK_OPTS
 	select NET_CANPROTO_OPTIONS
 	---help---
 		Enable support for the CAN socket options
-				
+
 config NET_CAN_RAW_TX_DEADLINE
 	bool "TX deadline sockopt"
 	default n
@@ -55,13 +55,13 @@ config NET_CAN_RAW_TX_DEADLINE
 	---help---
 	    Note: Non-standard SocketCAN sockopt, but this options helps us in
 	    real-time use cases.
-	    
-		When the CAN_RAW_TX_DEADLINE sockopt is enabled. The user can send 
-		CAN frames using sendmsg() function and add a deadline timespec 
+
+		When the CAN_RAW_TX_DEADLINE sockopt is enabled. The user can send
+		CAN frames using sendmsg() function and add a deadline timespec
 		value in the CMSG data. When the deadline has been passed and the
-		CAN frame is still in the HW TX mailbox then the CAN driver will 
+		CAN frame is still in the HW TX mailbox then the CAN driver will
 		discard the CAN frame automatically.
-		
+
 config NET_CAN_RAW_DEFAULT_TX_DEADLINE
 	int "Default TX deadline when no deadline is given (us)"
 	default 0
@@ -69,18 +69,18 @@ config NET_CAN_RAW_DEFAULT_TX_DEADLINE
 	---help---
 		Some applications may not use the NET_CAN_RAW_TX_DEADLINE flag.
 		By default their deadline becomes 0 which means it becomes infinite.
-		This would mean that packets from applications without the 
+		This would mean that packets from applications without the
 		NET_CAN_RAW_TX_DEADLINE flag, can block the TX mailboxes forever.
-		This config can set the default deadline when no deadline has been 
+		This config can set the default deadline when no deadline has been
 		given.
-		
+
 config NET_CAN_RAW_FILTER_MAX
 	int "CAN_RAW_FILTER max filter count"
 	default 32
 	depends on NET_CAN_SOCK_OPTS
 	---help---
 		Maximum number of CAN_RAW filters that can be set per CAN connection.
-		
+
 config NET_CAN_NOTIFIER
 	bool "Support CAN notifications"
 	default n
diff --git a/net/netdev/Kconfig b/net/netdev/Kconfig
index ce51c1f..6944f5d 100644
--- a/net/netdev/Kconfig
+++ b/net/netdev/Kconfig
@@ -23,7 +23,7 @@ config NETDEV_CAN_BITRATE_IOCTL
 	depends on NET_CAN
 	---help---
 		Enable support for ioctl() commands to change CAN bitrate
-		
+
 config NETDEV_WIRELESS_IOCTL
 	bool "Enable Wireless ioctl()"
 	default n
diff --git a/net/socket/Kconfig b/net/socket/Kconfig
index f13e22d..15a4858 100644
--- a/net/socket/Kconfig
+++ b/net/socket/Kconfig
@@ -70,8 +70,8 @@ config NET_CMSG
 	default n
 	---help---
 		Enable or disable support for control messages in the recvmsg() and
-		sendmsg() function. Control messages (also defined in POSIX 1003.1g 
-		as ancillary data object information). Includes additional 
+		sendmsg() function. Control messages (also defined in POSIX 1003.1g
+		as ancillary data object information). Includes additional
 		information on the packet received or to be transmitted.
 
 endmenu # Socket Support


[incubator-nuttx] 06/06: style/Document: remove unnecessary trailing whitespace

Posted by ag...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit b1a042734ff595569bb45bf9a7c248e66efd9f49
Author: chao.an <an...@xiaomi.com>
AuthorDate: Sat Nov 28 12:03:51 2020 +0800

    style/Document: remove unnecessary trailing whitespace
    
    N/A
    
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 DISCLAIMER-WIP                                     | 22 ++++++++++----------
 LICENSE                                            |  2 +-
 README.md                                          | 10 ++++-----
 boards/arm/sama5/giant-board/README.md             | 20 +++++++++---------
 boards/renesas/rx65n/rx65n-grrose/README.txt       |  2 +-
 .../renesas/rx65n/rx65n-grrose/include/README.TXT  |  2 +-
 boards/renesas/rx65n/rx65n-rsk2mb/README.txt       |  2 +-
 boards/x86_64/intel64/qemu-intel64/README.txt      | 10 ++++-----
 boards/xtensa/esp32/esp32-core/README.txt          | 24 +++++++++++-----------
 libs/libnx/README.txt                              | 22 ++++++++++----------
 10 files changed, 58 insertions(+), 58 deletions(-)

diff --git a/DISCLAIMER-WIP b/DISCLAIMER-WIP
index 102e9ea..e4eb139 100644
--- a/DISCLAIMER-WIP
+++ b/DISCLAIMER-WIP
@@ -1,20 +1,20 @@
-Apache NuttX is an effort undergoing incubation at The Apache Software Foundation (ASF), 
-sponsored by the Apache Incubator. Incubation is required of all newly accepted projects 
-until a further review indicates that the infrastructure, communications, and decision 
-making process have stabilized in a manner consistent with other successful ASF projects. 
-While incubation status is not necessarily a reflection of the completeness or stability 
+Apache NuttX is an effort undergoing incubation at The Apache Software Foundation (ASF),
+sponsored by the Apache Incubator. Incubation is required of all newly accepted projects
+until a further review indicates that the infrastructure, communications, and decision
+making process have stabilized in a manner consistent with other successful ASF projects.
+While incubation status is not necessarily a reflection of the completeness or stability
 of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
 
-Some of the incubating project's releases may not be fully compliant with ASF policy. For 
-example, releases may have incomplete or un-reviewed licensing conditions. What follows is 
-a list of known issues the project is currently aware of (note that this list, by definition, 
-is likely to be incomplete): 
+Some of the incubating project's releases may not be fully compliant with ASF policy. For
+example, releases may have incomplete or un-reviewed licensing conditions. What follows is
+a list of known issues the project is currently aware of (note that this list, by definition,
+is likely to be incomplete):
 
  * Releases may have incomplete licensing conditions.
  * Some ASF files still have BSD headers.  Most of the top contributors have signed an ICLA and
    we are working on updating the headers and getting approvals from other copyright holders.
 
 If you are planning to incorporate this work into your product/project, please be aware that
-you will need to conduct a thorough licensing review to determine the overall implications of 
-including this work. For the current status of this project through the Apache Incubator 
+you will need to conduct a thorough licensing review to determine the overall implications of
+including this work. For the current status of this project through the Apache Incubator
 visit: https://incubator.apache.org/projects/nuttx.html
diff --git a/LICENSE b/LICENSE
index b0d6de0..a1375f7 100644
--- a/LICENSE
+++ b/LICENSE
@@ -199,7 +199,7 @@
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-   
+
 ------------------------------------------------------------------------------
 
 uIP
diff --git a/README.md b/README.md
index d8316e8..ad1b029 100644
--- a/README.md
+++ b/README.md
@@ -556,7 +556,7 @@ in the source tree.
 
   * Legacy download locations:
 
-    <https://bitbucket.org/nuttx/nuttx/downloads>  
+    <https://bitbucket.org/nuttx/nuttx/downloads>
     <https://sourceforge.net/projects/nuttx/files/nuttx/>
 
 ## Semi-Optional apps/ Package
@@ -682,8 +682,8 @@ some scripts like configure.sh. Before cloning, do the following:
 
 These are standalone repositories:
 
-  * <https://gitbox.apache.org/repos/asf/incubator-nuttx-apps>  
-    or  
+  * <https://gitbox.apache.org/repos/asf/incubator-nuttx-apps>
+    or
     <https://github.com/apache/incubator-nuttx-apps.git>
 
     This directory holds an optional package of applications and libraries
@@ -993,9 +993,9 @@ The `menuconfig` make target depends on two things:
      case, you can use the modified version of kconfig-frontends
      that can be found at
 
-     <http://uvc.de/posts/linux-kernel-configuration-tool-kconfig-under-windows.html>  
+     <http://uvc.de/posts/linux-kernel-configuration-tool-kconfig-under-windows.html>
 
-     or a more recent port that can be found at  
+     or a more recent port that can be found at
 
      <http://reclonelabs.com/more-kconfig-awesomeness-for-windows/>.
 
diff --git a/boards/arm/sama5/giant-board/README.md b/boards/arm/sama5/giant-board/README.md
index 159a55f..79d9fe0 100644
--- a/boards/arm/sama5/giant-board/README.md
+++ b/boards/arm/sama5/giant-board/README.md
@@ -34,8 +34,8 @@ or a zip file of the required files from this page:
 https://www.starcat.io/starcat-nuttx/
 
 The SD Card has to be FAT formatted, have an AT91Bootstrap binary called boot.bin,
-a U-Boot binary called u-boot.bin as well as a compiled device tree for the 
-SAMA5D27C-D1G called `at91-sama5d27_giantboard.dtb` in the `dtbs/` folder. You can 
+a U-Boot binary called u-boot.bin as well as a compiled device tree for the
+SAMA5D27C-D1G called `at91-sama5d27_giantboard.dtb` in the `dtbs/` folder. You can
 build these yourself using the tools at
 
 https://github.com/Groboards/giantboard-tools
@@ -48,7 +48,7 @@ The layout should look like this:
     u-boot.bin
     dtbs/
       at91-sama5d27_giantboard.dtb
-      
+
 You only need uboot.env if you want to boot automatically. See the U-Boot
 documentation for instructions on how to create this file.
 
@@ -379,7 +379,7 @@ need to know how to configure the subsystem.
     CONFIG_U[S]ARTn_2STOP - Two stop bits
 
 #### AT91SAMA5 USB Host Configuration
-  
+
 Pre-requisites
 
     CONFIG_USBDEV          - Enable USB device support
@@ -447,7 +447,7 @@ NOTES:
      Here are the relevant current settings:
 
      Build Setup:
-     
+
     CONFIG_HOST_WINDOWS=y               : Microsoft Windows
     CONFIG_WINDOWS_CYGWIN=y             : Using Cygwin or other POSIX environment
 
@@ -467,8 +467,8 @@ Board Selection -> CPU Frequency
 Summary:  Some of the descriptions below are long and wordy. Here is the
 concise summary of the available Giant Board configurations:
 
-- nsh:  
-  
+- nsh:
+
     This is a basic NuttShell (NSH) configuration.
 
     There may be issues with some of these configurations. See the details
@@ -609,7 +609,7 @@ concise summary of the available Giant Board configurations:
     on the SD Card.
 
     NuttX will mount the SD Card at `/mnt/mmcsd1`.
-    
+
 - sdmmc-net-nsh:
-  
-    This is a combination of the netnsh and sdmmcnsh configurations.   
+
+    This is a combination of the netnsh and sdmmcnsh configurations.
diff --git a/boards/renesas/rx65n/rx65n-grrose/README.txt b/boards/renesas/rx65n/rx65n-grrose/README.txt
index e44c137..6ef8a25 100644
--- a/boards/renesas/rx65n/rx65n-grrose/README.txt
+++ b/boards/renesas/rx65n/rx65n-grrose/README.txt
@@ -222,7 +222,7 @@ CONFIG_EXAMPLES_UDPBLASTER_TARGETIP=0x0a4b189b (10.75.24.155) ---------> Target
 RSPI
 -----------
 
-For GRROSE board only channel 1 can be tested since RSPI channel1 pinout is only brought out as 
+For GRROSE board only channel 1 can be tested since RSPI channel1 pinout is only brought out as
 Pin number 2 and 3 in CN4 is used for MOSIB and MISOB respectively.
 
 RTC
diff --git a/boards/renesas/rx65n/rx65n-grrose/include/README.TXT b/boards/renesas/rx65n/rx65n-grrose/include/README.TXT
index 276276b..4270f9a 100644
--- a/boards/renesas/rx65n/rx65n-grrose/include/README.TXT
+++ b/boards/renesas/rx65n/rx65n-grrose/include/README.TXT
@@ -60,7 +60,7 @@ README
     gid:    Group ID
     users:  A comma separated list of members of the group
 
-  /etc/init.d/rcS should have the following contents : 
+  /etc/init.d/rcS should have the following contents :
   vi rcS
   echo "This is NuttX"
 
diff --git a/boards/renesas/rx65n/rx65n-rsk2mb/README.txt b/boards/renesas/rx65n/rx65n-rsk2mb/README.txt
index 44ea05a..b6af98c 100644
--- a/boards/renesas/rx65n/rx65n-rsk2mb/README.txt
+++ b/boards/renesas/rx65n/rx65n-rsk2mb/README.txt
@@ -114,7 +114,7 @@ Ethernet Connections
   P71           ET0_MDIO
   P54           ET0_LINKSTA
   ------         ---------
-  
+
 USB Device
 -----------
 
diff --git a/boards/x86_64/intel64/qemu-intel64/README.txt b/boards/x86_64/intel64/qemu-intel64/README.txt
index 57bf019..76c9fae 100644
--- a/boards/x86_64/intel64/qemu-intel64/README.txt
+++ b/boards/x86_64/intel64/qemu-intel64/README.txt
@@ -50,7 +50,7 @@ menuentry "kernel" {
 Use the following command to create the disk.
 P.S. In some distros, `grub-mkrescue` is called `grub2-mkrescue`
 ```
-grub-mkrescue -o boot.iso iso 
+grub-mkrescue -o boot.iso iso
 ```
 
 
@@ -69,7 +69,7 @@ It supports creations of virtual machines in Linux systems.
 It is usually coupled with Qemu as its I/O supporting layer.
 
 The qemu can be build from source or downloaded from distro repositories.
-However, a modern CPU and KVM support are mandatory because the X2APIC is not available 
+However, a modern CPU and KVM support are mandatory because the X2APIC is not available
 in pure emulator mode.
 This mean using this build with qemu in windows or old x86 machine can be frustrating.
 In such case, looks the next section and use bochs emulator instead.
@@ -85,7 +85,7 @@ Running QEMU
   Use control-a 1 and 2 to switch between.
   Use control-a x to terminate the emulation.
 
-  P.S. Make sure that you CPU supports the mandatory features. Look at Real machine 
+  P.S. Make sure that you CPU supports the mandatory features. Look at Real machine
   section for more information.
 
 Bochs
@@ -98,7 +98,7 @@ Here are some links (which will probably be mostly outdated by the time your rea
   Home Page:     http://bochs.sourceforge.net
 
 The bochs can be build from source.
-Unlike qemu, it do not rely on KVM to support modern hardware features, therefor it can 
+Unlike qemu, it do not rely on KVM to support modern hardware features, therefor it can
 also be used under windows.
 When building bochs, remember to enable x86-64 support with "--enable-x86-64".
 If you also want the support of SIMD instruction, enable them with "--enable-avx --enable-evex".
@@ -121,7 +121,7 @@ Running Bochs
   ```
   com1: enabled=1, mode=file, dev=com1.out
   ```
-  
+
   In the top-level NuttX directory:
 
   ```
diff --git a/boards/xtensa/esp32/esp32-core/README.txt b/boards/xtensa/esp32/esp32-core/README.txt
index 31b487d..1c54e12 100644
--- a/boards/xtensa/esp32/esp32-core/README.txt
+++ b/boards/xtensa/esp32/esp32-core/README.txt
@@ -23,7 +23,7 @@ Contents
   o Buttons and LEDs
   o Ethernet
   o 64-bit Timers
-  o Watchdog Timers 
+  o Watchdog Timers
   o SMP
   o OpenOCD for the ESP32
   o Executing and Debugging from FLASH and IRAM
@@ -211,7 +211,7 @@ Ethernet
   connect to an external PHY chip. Current driver also only supports RMII option.
 
   The RMII GPIO pins are fixed, but the SMI and functional GPIO pins are optional.
-  
+
   RMII GPIO pins are as following:
 
       ESP32 GPIO          PHY Chip GPIO
@@ -250,12 +250,12 @@ causes failing to bring the ESP32 chip up.
   acessible as character drivers, the configuration along with a guidance on how
   to run the example and the description of the application level interface can be found here:
 
-  https://nuttx.apache.org/docs/latest/components/drivers/character/timer.html  
+  https://nuttx.apache.org/docs/latest/components/drivers/character/timer.html
 
 Watchdog Timers
 ===============
 
-  ESP32 has 3 WDTs. 2 MWDTS from the Timers Module and 1 RWDT from the RTC Module 
+  ESP32 has 3 WDTs. 2 MWDTS from the Timers Module and 1 RWDT from the RTC Module
   (Currently not supported yet). They're acessible as character drivers,
   The configuration along with a guidance on how to run the example and the description
   of the application level interface can be found here:
@@ -824,36 +824,36 @@ NOTES:
     2MB or 4MB depending on PSRAM chip used on your board:
 
         nsh> ramtest -w 0x3F800000 65536
-        RAMTest: Marching ones: 3f800000 65536 
-        RAMTest: Marching zeroes: 3f800000 65536 
+        RAMTest: Marching ones: 3f800000 65536
+        RAMTest: Marching zeroes: 3f800000 65536
         RAMTest: Pattern test: 3f800000 65536 55555555 aaaaaaaa
-        RAMTest: Pattern test: 3f800000 65536 66666666 99999999 
-        RAMTest: Pattern test: 3f800000 65536 33333333 cccccccc 
+        RAMTest: Pattern test: 3f800000 65536 66666666 99999999
+        RAMTest: Pattern test: 3f800000 65536 33333333 cccccccc
         RAMTest: Address-in-address test: 3f800000 65536
 
   timer:
 
     This config test the general use purpose timers. It includes the 4 timers,
     adds driver support, registers the timers as devices and includes the timer
-    example. 
+    example.
 
     To test it, just run the following:
 
     `nsh> timer -d /dev/timerx`
 
-    Where x in the timer instance.  
+    Where x in the timer instance.
 
   watchdog:
 
     This config test the watchdog timers. It includes the 2 MWDTS,
     adds driver support, registers the WDTs as devices and includes the watchdog
-    example. 
+    example.
 
     To test it, just run the following:
 
     `nsh> wdog -d /dev/watchdogx`
 
-    Where x in the watchdog instance.  
+    Where x in the watchdog instance.
 
 Things to Do
 ============
diff --git a/libs/libnx/README.txt b/libs/libnx/README.txt
index be0941a..4af57e1 100644
--- a/libs/libnx/README.txt
+++ b/libs/libnx/README.txt
@@ -1,11 +1,11 @@
-README
-======
-
-  The graphics capability consist both of components internal to the RTOS
-  and of user-callable interfaces.  In the NuttX kernel mode build there are
-  some components of the graphics subsystem are callable in user mode and
-  other components that are internal to the RTOS.  This directory, libs/libnx/,
-  contains only those user-callable components.
-
-  The RTOS internal functions are contained in the graphics/ directory.
-  Please refer to graphics/README.txt for more detailed information.
+README
+======
+
+  The graphics capability consist both of components internal to the RTOS
+  and of user-callable interfaces.  In the NuttX kernel mode build there are
+  some components of the graphics subsystem are callable in user mode and
+  other components that are internal to the RTOS.  This directory, libs/libnx/,
+  contains only those user-callable components.
+
+  The RTOS internal functions are contained in the graphics/ directory.
+  Please refer to graphics/README.txt for more detailed information.