summaryrefslogtreecommitdiff
path: root/nuttx/configs/lpc4330-xplorer
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 16:22:22 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 16:22:22 -0600
commit70b6bb22af51defd713adfd452309f32f0e523aa (patch)
treeb483c578cf6ae76888b89188bedb03f539ab4cd3 /nuttx/configs/lpc4330-xplorer
parent3cf6b4d6577c2f467dbb25dd0da8cdc6ad32a7b4 (diff)
downloadpx4-nuttx-70b6bb22af51defd713adfd452309f32f0e523aa.tar.gz
px4-nuttx-70b6bb22af51defd713adfd452309f32f0e523aa.tar.bz2
px4-nuttx-70b6bb22af51defd713adfd452309f32f0e523aa.zip
More trailing whilespace removal
Diffstat (limited to 'nuttx/configs/lpc4330-xplorer')
-rw-r--r--nuttx/configs/lpc4330-xplorer/README.txt28
-rw-r--r--nuttx/configs/lpc4330-xplorer/include/board.h8
-rw-r--r--nuttx/configs/lpc4330-xplorer/nsh/Make.defs2
-rw-r--r--nuttx/configs/lpc4330-xplorer/src/Makefile2
-rw-r--r--nuttx/configs/lpc4330-xplorer/src/up_autoleds.c2
5 files changed, 21 insertions, 21 deletions
diff --git a/nuttx/configs/lpc4330-xplorer/README.txt b/nuttx/configs/lpc4330-xplorer/README.txt
index 982c2b6e5..03b513bd8 100644
--- a/nuttx/configs/lpc4330-xplorer/README.txt
+++ b/nuttx/configs/lpc4330-xplorer/README.txt
@@ -74,9 +74,9 @@ Status
- Remove LPC17xx power, clocking, and pin configuration logic.
- Adding of clock source and frequency to the board.h file.
- Adding of LPC43 clock connection and pin configuration logic.
-
+
Within any luck, these drivers should come up very quickly:
-
+
- lpc43_adc.c,
- lpc43_dac.c,
- lpc43_gpdma.c,
@@ -238,7 +238,7 @@ IDEs
NuttX is built using command-line make. It can be used with an IDE, but some
effort will be required to create the project .
-
+
Makefile Build
--------------
Under Eclipse, it is pretty easy to set up an "empty makefile project" and
@@ -279,7 +279,7 @@ Code Red IDE/Tools
$ /cygdrive/c/code_red/RedSuite_4.2.3_379/redsuite/bin/Scripts/bootLPCXpresso.cmd winusb
Booting LPC-Link with LPCXpressoWIN.enc
- Press any key to continue . . .
+ Press any key to continue . . .
The same file logic can be found the less restrictive LPCXpresso package at:
@@ -298,7 +298,7 @@ Code Red IDE/Tools
$ lpc43xx
Booting LPC-Link with LPCXpressoWIN.enc
- Press any key to continue . . .
+ Press any key to continue . . .
Using GDB
---------
@@ -331,7 +331,7 @@ Code Red IDE/Tools
And <options> are:
-n set information level for the debug driver. n should be 2, 3 or 4.
- 2 should be sufficient in most circumstances
+ 2 should be sufficient in most circumstances
-p<part> is the target device to connect to and you should use
<part>=LPC4330.
@@ -355,7 +355,7 @@ Code Red IDE/Tools
$ lpc43xx
Booting LPC-Link with LPCXpressoWIN.enc
- Press any key to continue . . .
+ Press any key to continue . . .
$ arm-none-eabi-gdb nuttx
(gdb) target extended-remote | crt_emu_lpc18_43_nxp -2 -pLPC4330 -wire=winusb
@@ -380,7 +380,7 @@ Code Red IDE/Tools
NOTE 4: Every time that you control-C out of the command line GDB, you
leave a copy of the Code Red debugger (crt_emu_lpc18_43_nxp) running. I
- have found that if you have these old copies of the debugger running,
+ have found that if you have these old copies of the debugger running,
hen strange things can happen when start yet another copy of the
debugger (I suspect that GDB may be talking with the wrong debugger).
@@ -448,7 +448,7 @@ Code Red IDE/Tools
# -wire=hid LPC-Link on Windows Vista/ Windows 7
# Add -g -4 for verbose output
- crt_emu_lpc18_43_nxp -wire=hid -pLPC4330 -load-base=0x14000000
+ crt_emu_lpc18_43_nxp -wire=hid -pLPC4330 -load-base=0x14000000
-flash-load-exec=nuttx.bin -flash-driver=LPC1850A_4350A_SPIFI.cfx
USB DFU Booting
@@ -526,7 +526,7 @@ NXFLAT Toolchain
tools -- just the NXFLAT tools. The buildroot with the NXFLAT tools can
be downloaded from the NuttX SourceForge download site
(https://sourceforge.net/projects/nuttx/files/).
-
+
This GNU toolchain builds and executes in the Linux or Cygwin environment.
1. You must have already configured Nuttx in <some-dir>/nuttx.
@@ -706,10 +706,10 @@ LPC4330-Xplorer Configuration Options
CONFIG_ARCH_FPU - The LPC43xxx supports a floating point unit (FPU)
CONFIG_ARCH_FPU=y
-
+
CONFIG_LPC43_BOOT_xxx - The startup code needs to know if the code is running
from internal FLASH, external FLASH, SPIFI, or SRAM in order to
- initialize properly. Note that a boot device is not specified for
+ initialize properly. Note that a boot device is not specified for
cases where the code is copied into SRAM; those cases are all covered
by CONFIG_LPC43_BOOT_SRAM.
@@ -797,7 +797,7 @@ LPC4330-Xplorer Configuration Options
CONFIG_USARTn_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
RS-485 mode.
-
+
LPC43xx specific CAN device driver settings. These settings all
require CONFIG_CAN:
@@ -839,7 +839,7 @@ LPC4330-Xplorer Configuration Options
LPC43xx USB Device Configuration
CONFIG_LPC43_USBDEV_FRAME_INTERRUPT
- Handle USB Start-Of-Frame events.
+ Handle USB Start-Of-Frame events.
Enable reading SOF from interrupt handler vs. simply reading on demand.
Probably a bad idea... Unless there is some issue with sampling the SOF
from hardware asynchronously.
diff --git a/nuttx/configs/lpc4330-xplorer/include/board.h b/nuttx/configs/lpc4330-xplorer/include/board.h
index bf4c355e5..30adabce9 100644
--- a/nuttx/configs/lpc4330-xplorer/include/board.h
+++ b/nuttx/configs/lpc4330-xplorer/include/board.h
@@ -103,7 +103,7 @@
# define BOARD_FCLKOUT_FREQUENCY (72000000) /* 6 * 12,000,000 / 1 */
# define BOARD_FCCO_FREQUENCY (244000000) /* 2 * 2 * Fclkout */
-
+
#else
/* NOTE: At 72MHz, the calibrated value of CONFIG_BOARD_LOOPSPERMSEC was
@@ -115,7 +115,7 @@
*/
/* Intermediate ramp-up clocking (Integer mode). If BOARD_PLL_RAMP_MSEL
- * is not defined, there will be no ramp-up.
+ * is not defined, there will be no ramp-up.
*
* Fclkout = 9 * 12MHz / 1 = 108MHz
* Fcco = 2 * 1 * 108MHz = 216MHz
@@ -128,7 +128,7 @@
# define BOARD_RAMP_FCLKOUT (108000000) /* 9 * 12,000,000 / 1 */
# define BOARD_RAMP_FCCO (216000000) /* 2 * 1 * Fclkout */
-/* Final clocking (Direct mode).
+/* Final clocking (Direct mode).
*
* Fclkout = 17 * 12MHz / 1 = 204MHz
* Fcco = Fclockout = 204MHz
@@ -206,7 +206,7 @@
* LED2 D3 GPIO1[11]
*
* LEDs are pulled high to a low output illuminates the LED.
- *
+ *
* LED index values for use with lpc43_setled()
*/
diff --git a/nuttx/configs/lpc4330-xplorer/nsh/Make.defs b/nuttx/configs/lpc4330-xplorer/nsh/Make.defs
index 30a361bd3..fc6831712 100644
--- a/nuttx/configs/lpc4330-xplorer/nsh/Make.defs
+++ b/nuttx/configs/lpc4330-xplorer/nsh/Make.defs
@@ -66,7 +66,7 @@ ifeq ($(WINTOOL),y)
ARCHXXINCLUDES = -I. -isystem "${shell cygpath -w $(TOPDIR)/include}" -isystem "${shell cygpath -w $(TOPDIR)/include/cxx}"
ARCHSCRIPT = -T "${shell cygpath -w $(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/scripts/$(LDSCRIPT)}"
else
- # Linux/Cygwin-native toolchain
+ # Linux/Cygwin-native toolchain
MKDEP = $(TOPDIR)/tools/mkdeps.sh
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx
diff --git a/nuttx/configs/lpc4330-xplorer/src/Makefile b/nuttx/configs/lpc4330-xplorer/src/Makefile
index b827c9434..8b433ab0c 100644
--- a/nuttx/configs/lpc4330-xplorer/src/Makefile
+++ b/nuttx/configs/lpc4330-xplorer/src/Makefile
@@ -37,7 +37,7 @@
CFLAGS += -I$(TOPDIR)/sched
-ASRCS =
+ASRCS =
CSRCS = up_boot.c
ifeq ($(CONFIG_NSH_ARCHINIT),y)
diff --git a/nuttx/configs/lpc4330-xplorer/src/up_autoleds.c b/nuttx/configs/lpc4330-xplorer/src/up_autoleds.c
index 23e23245d..a3a2ef190 100644
--- a/nuttx/configs/lpc4330-xplorer/src/up_autoleds.c
+++ b/nuttx/configs/lpc4330-xplorer/src/up_autoleds.c
@@ -68,7 +68,7 @@
*
* If CONFIG_ARCH_LEDS is defined, the LEDs will be controlled as follows
* for NuttX debug functionality (where NC means "No Change").
- *
+ *
* ON OFF
* LED1 LED2 LED1 LED2
* LED_STARTED 0 OFF OFF - -