mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
More trailing whilespace removal
This commit is contained in:
@@ -5,7 +5,7 @@ configs/skp16c26/README.txt
|
||||
buildroot can be downloaded from misc/buildroot in the NuttX GIT. Insructions
|
||||
for building the toolchain are provided below.
|
||||
|
||||
However, the target cannot be built because the GNU m16c-nuttx-elf-ld link fails with
|
||||
However, the target cannot be built because the GNU m16c-nuttx-elf-ld link fails with
|
||||
the following message:
|
||||
|
||||
m32c-nuttx-elf-ld: BFD (GNU Binutils) 2.19 assertion fail /home/Owner/projects/nuttx/buildroot/toolchain_build_m32c/binutils-2.19/bfd/elf32-m32c.c:482
|
||||
@@ -18,7 +18,7 @@ configs/skp16c26/README.txt
|
||||
|
||||
No workaround is known at this time. This is a show stopper for M16C.
|
||||
|
||||
2. A supported version of the M16C toolchain is available here:
|
||||
2. A supported version of the M16C toolchain is available here:
|
||||
|
||||
http://www.kpitgnutools.com/index.php
|
||||
|
||||
@@ -51,13 +51,13 @@ NOTE: See the toolchain issues above -- you may not want to waste your time.
|
||||
rename the directory to buildroot
|
||||
|
||||
b. Using GIT
|
||||
|
||||
|
||||
Check out the misc/buildroot module. GIT checkout instructions:
|
||||
|
||||
http://sourceforge.net/p/nuttx/git/ci/master/tree/misc/buildroot/
|
||||
|
||||
Make the archive directory:
|
||||
|
||||
|
||||
mkdir archive
|
||||
|
||||
The <nuttx-dir>/../buildroot is where the toolchain is built;
|
||||
@@ -67,7 +67,7 @@ NOTE: See the toolchain issues above -- you may not want to waste your time.
|
||||
|
||||
cd <nuttx-dir>/tools
|
||||
./configure.sh <nuttx-configuration>
|
||||
|
||||
|
||||
4. Configure and Make the buildroot
|
||||
|
||||
cd buildroot
|
||||
@@ -109,4 +109,4 @@ Cygwin GCC BUILD NOTES
|
||||
build, the workaround is the same except that the directory will be
|
||||
toolchain_build_m32c/gcc-4.2.4-final/gcc.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* configs/skp16c26/include/board.h
|
||||
* configs/skp16c26/include/board.h
|
||||
* arch/board/board.h
|
||||
*
|
||||
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
CFLAGS += -I$(TOPDIR)/sched
|
||||
|
||||
ASRCS =
|
||||
ASRCS =
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
CSRCS = up_leds.c up_buttons.c up_lcd.c up_lcdconsole.c
|
||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* configs/skp16c26/src/scp16c26_internal.h
|
||||
* configs/skp16c26/src/scp16c26_internal.h
|
||||
*
|
||||
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
|
||||
@@ -116,7 +116,7 @@ static void up_setleds(uint8_t gybits, uint8_t rbit)
|
||||
regval &= ~GREENYELLOW_LED_MASK;
|
||||
regval |= gybits;
|
||||
putreg8(regval, GREENYELLOW_LED_PORT);
|
||||
|
||||
|
||||
regval = getreg8(RED_LED_PORT);
|
||||
regval &= ~RED_LED_MASK;
|
||||
regval |= rbit;
|
||||
@@ -140,17 +140,17 @@ void board_led_initialize(void)
|
||||
regval = getreg8(GREENYELLOW_LED_PORT);
|
||||
regval |= (GREEN_LED_OFF |YELLOW_LED_OFF);
|
||||
putreg8(regval, GREENYELLOW_LED_PORT);
|
||||
|
||||
|
||||
regval = getreg8(RED_LED_PORT);
|
||||
regval |= RED_LED_OFF;
|
||||
putreg8(regval, RED_LED_PORT);
|
||||
|
||||
/* Set the direction to output */
|
||||
|
||||
|
||||
regval = getreg8(GREENYELLOW_DIR_PORT);
|
||||
regval |= (GREEN_LED |YELLOW_LED);
|
||||
putreg8(regval, GREENYELLOW_DIR_PORT);
|
||||
|
||||
|
||||
regval = getreg8(RED_DIR_PORT);
|
||||
regval |= RED_LED;
|
||||
putreg8(regval, RED_DIR_PORT);
|
||||
|
||||
Reference in New Issue
Block a user