Ensure all source code end with one and only one newline

by this command:
git ls-files -z | while IFS= read -rd '' f; do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
This commit is contained in:
Xiang Xiao
2020-02-07 21:17:25 +08:00
committed by Gregory Nutt
parent 81f1133174
commit a8de37fbec
97 changed files with 95 additions and 78 deletions
+1 -1
View File
@@ -1069,4 +1069,4 @@ int imxrt_qeinitialize(FAR const char *devpath, int enc)
}
#endif /* CONFIG_IMXRT_ENC1 || CONFIG_IMXRT_ENC2 || \
* CONFIG_IMXRT_ENC3 || CONFIG_IMXRT_ENC4 */
* CONFIG_IMXRT_ENC3 || CONFIG_IMXRT_ENC4 */
+1 -1
View File
@@ -48,4 +48,4 @@
* Public Functions
****************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC43XX_LPC43_RTC_H */
#endif /* __ARCH_ARM_SRC_LPC43XX_LPC43_RTC_H */
@@ -342,4 +342,4 @@ FAR struct oneshot_lowerhalf_s *oneshot_initialize(int chan,
}
return &priv->lh;
}
}
+1 -1
View File
@@ -64,4 +64,4 @@
* Inline Functions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_SAM34_SAM_AES_H */
#endif /* __ARCH_ARM_SRC_SAM34_SAM_AES_H */
+1 -1
View File
@@ -342,4 +342,4 @@ FAR struct oneshot_lowerhalf_s *oneshot_initialize(int chan,
}
return &priv->lh;
}
}
+1 -1
View File
@@ -53,4 +53,4 @@ struct mm_heap_s g_dtcm_heap;
* Public Functions
****************************************************************************/
#endif /* HAVE_DTCM_HEAP */
#endif /* HAVE_DTCM_HEAP */
+1
View File
@@ -0,0 +1 @@
+1
View File
@@ -0,0 +1 @@
+1
View File
@@ -0,0 +1 @@
+1
View File
@@ -0,0 +1 @@
+1
View File
@@ -0,0 +1 @@
+1
View File
@@ -0,0 +1 @@
+1 -1
View File
@@ -51,4 +51,4 @@ CHIP_CSRCS += lm32_initialize.c lm32_initialstate.c lm32_interruptcontext.c
CHIP_CSRCS += lm32_irq.c lm32_releasepending.c lm32_releasestack.c
CHIP_CSRCS += lm32_stackframe.c lm32_swint.c lm32_unblocktask.c
CHIP_CSRCS += lm32_reprioritizertr.c lm32_schedulesigaction.c lm32_sigdeliver.c
CHIP_CSRCS += lm32_flushcache.c
CHIP_CSRCS += lm32_flushcache.c
+1
View File
@@ -0,0 +1 @@
+1 -1
View File
@@ -222,4 +222,4 @@ int gap8_udma_rx_poll(struct gap8_udma_peripheral *instance);
int gap8_udma_doirq(int irq, void *context, FAR void *arg);
#endif /* _ARCH_RISCV_SRC_GAP8_UDMA_H */
#endif /* _ARCH_RISCV_SRC_GAP8_UDMA_H */
+1 -1
View File
@@ -319,4 +319,4 @@ FAR struct oneshot_lowerhalf_s *oneshot_initialize(int chan,
}
return &priv->lh;
}
}
+1 -1
View File
@@ -81,4 +81,4 @@ _up_vectors::
.dw _up_unused ; Vector offset 24: Unused
.dw _up_unused ; Vector offset 26: Unused
.dw _up_unused ; Vector offset 28: Unused
.dw _up_unused ; Vector offset 30: Unused
.dw _up_unused ; Vector offset 30: Unused
+1 -1
View File
@@ -167,4 +167,4 @@ void exec_setsymtab(FAR const struct symtab_s *symtab, int nsymbols)
leave_critical_section(flags);
}
#endif /* CONFIG_LIBC_EXECFUNCS */
#endif /* CONFIG_LIBC_EXECFUNCS */
@@ -132,4 +132,4 @@ int imxrt_mmcsd_spi_initialize(int minor)
return OK;
}
#endif /* CONFIG_MMCSD_SPI */
#endif /* CONFIG_MMCSD_SPI */
@@ -132,4 +132,4 @@ int imxrt_mmcsd_spi_initialize(int minor)
return OK;
}
#endif /* CONFIG_MMCSD_SPI */
#endif /* CONFIG_MMCSD_SPI */
@@ -202,4 +202,4 @@ void lpc17_40_led(int lednum, int state)
lpc17_40_gpiowrite(lednum, state);
}
#endif /* CONFIG_ARCH_LEDS */
#endif /* CONFIG_ARCH_LEDS */
@@ -0,0 +1 @@
@@ -0,0 +1 @@
@@ -12,4 +12,4 @@ Status
======
2020-01-23: Configuration created (copy-paste from S32K146EVB).
Tested: Serial console, I2C, SPI
Tested: Serial console, I2C, SPI
@@ -68,4 +68,4 @@ CONFIG_SYSTEM_I2CTOOL=y
CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_NSH_CXXINITIALIZE=y
CONFIG_SYSTEM_SPITOOL=y
CONFIG_USER_ENTRYPOINT="nsh_main"
CONFIG_USER_ENTRYPOINT="nsh_main"
@@ -70,4 +70,4 @@ CONFIG_SYSTEM_I2CTOOL=y
CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_NSH_CXXINITIALIZE=y
CONFIG_SYSTEM_SPITOOL=y
CONFIG_USER_ENTRYPOINT="nsh_main"
CONFIG_USER_ENTRYPOINT="nsh_main"
@@ -12,4 +12,4 @@ Status
======
2020-01-23: Configuration created (copy-paste from S32K146EVB).
Tested: Serial console
Tested: Serial console
@@ -68,4 +68,4 @@ CONFIG_SYSTEM_I2CTOOL=y
CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_NSH_CXXINITIALIZE=y
CONFIG_SYSTEM_SPITOOL=y
CONFIG_USER_ENTRYPOINT="nsh_main"
CONFIG_USER_ENTRYPOINT="nsh_main"
@@ -70,4 +70,4 @@ CONFIG_SYSTEM_I2CTOOL=y
CONFIG_SYSTEM_NSH=y
CONFIG_SYSTEM_NSH_CXXINITIALIZE=y
CONFIG_SYSTEM_SPITOOL=y
CONFIG_USER_ENTRYPOINT="nsh_main"
CONFIG_USER_ENTRYPOINT="nsh_main"
+1 -1
View File
@@ -138,4 +138,4 @@ Configurations
builtin applications are selected.
NOTE: This is a very minimal NSH configuration in order to recude
memory usage. Most of the NSH niceties are not available.
memory usage. Most of the NSH niceties are not available.
+1 -1
View File
@@ -12,4 +12,4 @@ Status
======
2020-01-23: Configuration created (copy-paste from S32K146EVB).
Tested: Serial console, I2C, SPI.
Tested: Serial console, I2C, SPI.
@@ -1 +1 @@
/boot_romfsimg.h
/boot_romfsimg.h
Binary file not shown.
@@ -1 +1 @@
/boot_romfsimg.h
/boot_romfsimg.h
@@ -0,0 +1 @@
@@ -0,0 +1 @@
@@ -0,0 +1 @@
@@ -0,0 +1 @@
@@ -0,0 +1 @@
@@ -0,0 +1 @@
@@ -17647,4 +17647,4 @@ __attribute__((section(".wlan_firmware_image"))) bcm43362_firmware_image[] = {
0xd2, 0x58, 0x82, 0x92
};
const unsigned int bcm43362_firmware_image_len = sizeof(bcm43362_firmware_image);
const unsigned int bcm43362_firmware_image_len = sizeof(bcm43362_firmware_image);
@@ -0,0 +1 @@
@@ -90,4 +90,4 @@ void arch_sporadic_resume(FAR struct tcb_s *tcb)
stm32_gpiowrite(GPIO_SCHED_RUNNING, true);
}
#endif /* CONFIG_SPORADIC_INSTRUMENTATION */
#endif /* CONFIG_SPORADIC_INSTRUMENTATION */
@@ -90,4 +90,4 @@ void arch_sporadic_resume(FAR struct tcb_s *tcb)
stm32_gpiowrite(GPIO_SCHED_RUNNING, true);
}
#endif /* CONFIG_SPORADIC_INSTRUMENTATION */
#endif /* CONFIG_SPORADIC_INSTRUMENTATION */
+1 -1
View File
@@ -545,4 +545,4 @@ Configurations
It uses TIM1 to generate PWM and TIM6 to change waveform samples
At the moment, the waveform parameters are hardcoded, but it should be easy to
modify this example and make it more functional.
modify this example and make it more functional.
@@ -106,4 +106,4 @@ int stm32l4_can_setup(void)
#endif
}
#endif /* CONFIG_CAN */
#endif /* CONFIG_CAN */
+1 -1
View File
@@ -115,4 +115,4 @@ int tiva_timer_configure(void)
return ret;
}
#endif /* CONFIG_DK_TM4C129X_TIMER */
#endif /* CONFIG_DK_TM4C129X_TIMER */
+1 -1
View File
@@ -251,4 +251,4 @@ endif
3. Add CONFIG_MOTOROLA_SREC=y in defconfig file or choose make menucofig->Build Setup-> Binary Output Format->
Select Motorola SREC format.
4. Download Renesas flash programmer tool from https://www.renesas.com/in/en/products/software-tools/tools/programmer/renesas-flash-programmer-programming-gui.html#downloads
5. Refer to the user manual document, for steps to flash NuttX binary using RFP tool.
5. Refer to the user manual document, for steps to flash NuttX binary using RFP tool.
+1 -1
View File
@@ -209,4 +209,4 @@ endif
3. Add CONFIG_MOTOROLA_SREC=y in defconfig file or choose make menucofig->Build Setup-> Binary Output Format->
Select Motorola SREC format.
4. Download Renesas flash programmer tool from https://www.renesas.com/in/en/products/software-tools/tools/programmer/renesas-flash-programmer-programming-gui.html#downloads
5. Refer to the user manual document, for steps to flash NuttX binary using RFP tool.
5. Refer to the user manual document, for steps to flash NuttX binary using RFP tool.
+1 -1
View File
@@ -86,4 +86,4 @@ Execute
293 j reset_handler /* 32 */
(gdb)
And then enjoy yourself debugging with the CLI gdb :-)
And then enjoy yourself debugging with the CLI gdb :-)

Some files were not shown because too many files have changed in this diff Show More