From e6f1a2db12def90cbe849ffe8898b5547b72e5f5 Mon Sep 17 00:00:00 2001 From: mcsauder Date: Tue, 2 Apr 2019 11:26:57 -0600 Subject: [PATCH] Delete trailing whitespace, extra newlines, to quiet git hooks and add an extra = so that it does not appear to git as a merge conflict marker. --- .vscode/cmake-variants.yaml | 2 +- ROMFS/px4fmu_common/init.d/rc.logging | 1 - boards/bitcraze/crazyflie/nuttx-config/scripts/script.ld | 2 +- boards/px4/io-v2/nuttx-config/scripts/script.ld | 8 ++++---- platforms/nuttx/NuttX/tools/menuconfig.py | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.vscode/cmake-variants.yaml b/.vscode/cmake-variants.yaml index 6d53cbd483..8103fa5b25 100644 --- a/.vscode/cmake-variants.yaml +++ b/.vscode/cmake-variants.yaml @@ -15,7 +15,7 @@ CONFIG: short: px4_sitl (Address Sanitizer) buildType: AddressSanitizer settings: - CONFIG: px4_sitl_default + CONFIG: px4_sitl_default px4_fmu-v2_default: short: px4_fmu-v2 buildType: MinSizeRel diff --git a/ROMFS/px4fmu_common/init.d/rc.logging b/ROMFS/px4fmu_common/init.d/rc.logging index 51a21f852b..9b93a4c7ae 100644 --- a/ROMFS/px4fmu_common/init.d/rc.logging +++ b/ROMFS/px4fmu_common/init.d/rc.logging @@ -28,4 +28,3 @@ if ! param compare SDLOG_MODE -1 then logger start -b ${LOGGER_BUF} -t ${LOGGER_ARGS} fi - diff --git a/boards/bitcraze/crazyflie/nuttx-config/scripts/script.ld b/boards/bitcraze/crazyflie/nuttx-config/scripts/script.ld index d35e170ac0..0e83e42853 100644 --- a/boards/bitcraze/crazyflie/nuttx-config/scripts/script.ld +++ b/boards/bitcraze/crazyflie/nuttx-config/scripts/script.ld @@ -59,7 +59,7 @@ OUTPUT_ARCH(arm) ENTRY(__start) /* treat __start as the anchor for dead code stripping */ EXTERN(_vectors) /* force the vectors to be included in the output */ -/* +/* * Ensure that abort() is present in the final object. The exception handling * code pulled in by libgcc.a requires it (and that code cannot be easily avoided). */ diff --git a/boards/px4/io-v2/nuttx-config/scripts/script.ld b/boards/px4/io-v2/nuttx-config/scripts/script.ld index 30a7e1ddb8..54e3fc73f9 100644 --- a/boards/px4/io-v2/nuttx-config/scripts/script.ld +++ b/boards/px4/io-v2/nuttx-config/scripts/script.ld @@ -50,7 +50,7 @@ OUTPUT_ARCH(arm) ENTRY(__start) /* treat __start as the anchor for dead code stripping */ EXTERN(_vectors) /* force the vectors to be included in the output */ -/* +/* * Ensure that abort() is present in the final object. The exception handling * code pulled in by libgcc.a requires it (and that code cannot be easily avoided). */ @@ -61,10 +61,10 @@ SECTIONS .text : { _stext = ABSOLUTE(.); *(.vectors) - *(.text .text.*) + *(.text .text.*) *(.fixup) *(.gnu.warning) - *(.rodata .rodata.*) + *(.rodata .rodata.*) *(.gnu.linkonce.t.*) *(.glue_7) *(.glue_7t) @@ -72,7 +72,7 @@ SECTIONS *(.gcc_except_table) *(.gnu.linkonce.r.*) _etext = ABSOLUTE(.); - /* + /* * This is a hack to make the newlib libm __errno() call * use the NuttX get_errno_ptr() function. */ diff --git a/platforms/nuttx/NuttX/tools/menuconfig.py b/platforms/nuttx/NuttX/tools/menuconfig.py index c6a512d318..37c2b30627 100755 --- a/platforms/nuttx/NuttX/tools/menuconfig.py +++ b/platforms/nuttx/NuttX/tools/menuconfig.py @@ -43,7 +43,7 @@ A few different modes are available: Running -======= +======== menuconfig.py can be run either as a standalone executable or by calling the menuconfig() function with an existing Kconfig instance. The second option is a