Skip to content

Commit fe91567

Browse files
anchaoOuss4
authored andcommitted
style/Document: remove unnecessary trailing whitespace
N/A Signed-off-by: chao.an <[email protected]>
1 parent b5692d8 commit fe91567

File tree

10 files changed

+77
-77
lines changed

10 files changed

+77
-77
lines changed

DISCLAIMER-WIP

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
Apache NuttX is an effort undergoing incubation at The Apache Software Foundation (ASF),
2-
sponsored by the Apache Incubator. Incubation is required of all newly accepted projects
3-
until a further review indicates that the infrastructure, communications, and decision
4-
making process have stabilized in a manner consistent with other successful ASF projects.
5-
While incubation status is not necessarily a reflection of the completeness or stability
1+
Apache NuttX is an effort undergoing incubation at The Apache Software Foundation (ASF),
2+
sponsored by the Apache Incubator. Incubation is required of all newly accepted projects
3+
until a further review indicates that the infrastructure, communications, and decision
4+
making process have stabilized in a manner consistent with other successful ASF projects.
5+
While incubation status is not necessarily a reflection of the completeness or stability
66
of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
77

8-
Some of the incubating project's releases may not be fully compliant with ASF policy. For
9-
example, releases may have incomplete or un-reviewed licensing conditions. What follows is
10-
a list of known issues the project is currently aware of (note that this list, by definition,
11-
is likely to be incomplete):
8+
Some of the incubating project's releases may not be fully compliant with ASF policy. For
9+
example, releases may have incomplete or un-reviewed licensing conditions. What follows is
10+
a list of known issues the project is currently aware of (note that this list, by definition,
11+
is likely to be incomplete):
1212

1313
* Releases may have incomplete licensing conditions.
1414
* Some ASF files still have BSD headers. Most of the top contributors have signed an ICLA and
1515
we are working on updating the headers and getting approvals from other copyright holders.
1616

1717
If you are planning to incorporate this work into your product/project, please be aware that
18-
you will need to conduct a thorough licensing review to determine the overall implications of
19-
including this work. For the current status of this project through the Apache Incubator
18+
you will need to conduct a thorough licensing review to determine the overall implications of
19+
including this work. For the current status of this project through the Apache Incubator
2020
visit: https://incubator.apache.org/projects/nuttx.html

LICENSE

+10-10
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200200
See the License for the specific language governing permissions and
201201
limitations under the License.
202-
202+
203203
------------------------------------------------------------------------------
204204

205205
uIP
@@ -353,24 +353,24 @@ apps/testing/scanftest/scanftest_main.c
353353
Derives from the cc65 Project which has a zlib license:
354354

355355
Copyright (C) 2005-01-26, Greg King (https://github.com/cc65)
356-
356+
357357
Original License:
358358
This software is provided 'as-is', without any express or implied warranty.
359359
In no event will the authors be held liable for any damages arising from
360360
the use of this software.
361-
361+
362362
Permission is granted to anyone to use this software for any purpose,
363363
including commercial applications, and to alter it and redistribute it
364364
freely, subject to the following restrictions:
365-
365+
366366
1. The origin of this software must not be misrepresented; you must not
367367
claim that you wrote the original software. If you use this software in
368368
a product, an acknowledgment in the product documentation would be
369369
appreciated but is not required.
370-
370+
371371
2. Altered source versions must be plainly marked as such, and must not
372372
be misrepresented as being the original software.
373-
373+
374374
3. This notice may not be removed or altered from any source distribution.
375375

376376
apps/webserver
@@ -382,11 +382,11 @@ apps/webserver
382382

383383
Copyright (c) 2001, Adam Dunkels.
384384
All rights reserved.
385-
385+
386386
Redistribution and use in source and binary forms, with or without
387387
modification, are permitted provided that the following conditions
388388
are met:
389-
389+
390390
1. Redistributions of source code must retain the above copyright
391391
notice, this list of conditions and the following disclaimer.
392392
2. Redistributions in binary form must reproduce the above copyright
@@ -398,7 +398,7 @@ apps/webserver
398398
4. The name of the author may not be used to endorse or promote
399399
products derived from this software without specific prior
400400
written permission.
401-
401+
402402
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
403403
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
404404
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -447,7 +447,7 @@ canutils/candump
447447

448448
Includes five dual licensed third part files from Volkswagon with
449449
licensing as follows (Copyright dates vary from file-to-file):
450-
450+
451451
SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
452452

453453
Copyright (c) 2002-2009 Volkswagen Group Electronic Research

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ project. One must:
162162

163163
Q: Has anyone come up with a tidy way to build NuttX with board- specific pieces
164164
outside the source tree?
165-
165+
166166
A: Here are three:
167167

168168
1) There is a make target called `make export`. It will build NuttX, then
@@ -226,9 +226,9 @@ A: Here are three:
226226
You could, for example, create a script called `install.sh` that installs
227227
a custom application, configuration, and board specific directory:
228228

229-
a) Copy `MyBoard` directory to `boards/MyBoard`.
230-
b) Add a symbolic link to `MyApplication` at `apps/external`.
231-
c) Configure NuttX, usually by:
229+
a) Copy `MyBoard` directory to `boards/MyBoard`.
230+
b) Add a symbolic link to `MyApplication` at `apps/external`.
231+
c) Configure NuttX, usually by:
232232

233233
```bash
234234
tools/configure.sh MyBoard:MyConfiguration

examples/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1042,9 +1042,9 @@ the display. This only works for `RGB23` (`888`), `RGB16` (`656`), `RGB8`
10421042

10431043
How was that run-length encoded image produced?
10441044

1045-
1. I used GIMP output the image as a `.c` file.
1046-
2. I added some C logic to palette-ize the RGB image in the GIMP `.c` file.
1047-
3. Then I add some simple run-length encoding to palette-ized image.
1045+
1. I used GIMP output the image as a `.c` file.
1046+
2. I added some C logic to palette-ize the RGB image in the GIMP `.c` file.
1047+
3. Then I add some simple run-length encoding to palette-ized image.
10481048

10491049
But now there is a tool that can be found in the NxWidgets package at
10501050
`NxWidgets/tools/bitmap_converter.py` that can be used to convert any graphics

examples/json/README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,18 @@ Hopefully we can agree that's not a lot of code? There's no overhead, no
133133
unnecessary setup. Look at test.c for a bunch of nice examples, mostly all
134134
ripped off the json.org site, and a few from elsewhere.
135135

136-
What about manual mode? First up you need some detail.
137-
Let's cover how the cJSON objects represent the JSON data.
138-
cJSON doesn't distinguish arrays from objects in handling; just type.
136+
What about manual mode? First up you need some detail.
137+
Let's cover how the cJSON objects represent the JSON data.
138+
cJSON doesn't distinguish arrays from objects in handling; just type.
139139
Each cJSON has, potentially, a child, siblings, value, a name.
140140

141-
The root object has: Object Type and a Child
142-
The Child has name "name", with value "Jack ("Bee") Nimble", and a sibling:
143-
Sibling has type Object, name "format", and a child.
144-
That child has type String, name "type", value "rect", and a sibling:
145-
Sibling has type Number, name "width", value 1920, and a sibling:
146-
Sibling has type Number, name "height", value 1080, and a sibling:
147-
Sibling hs type False, name "interlace", and a sibling:
141+
The root object has: Object Type and a Child
142+
The Child has name "name", with value "Jack ("Bee") Nimble", and a sibling:
143+
Sibling has type Object, name "format", and a child.
144+
That child has type String, name "type", value "rect", and a sibling:
145+
Sibling has type Number, name "width", value 1920, and a sibling:
146+
Sibling has type Number, name "height", value 1080, and a sibling:
147+
Sibling hs type False, name "interlace", and a sibling:
148148
Sibling has type Number, name "frame rate", value 24
149149

150150
Here's the structure:

graphics/pdcurs34/pdcurses/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ The files in this directory are released to the Public Domain.
1313

1414
## Acknowledgements
1515

16-
The panel library was originally provided by
16+
The panel library was originally provided by
1717
Warren Tucker <[email protected]>

nshlib/README.md

+30-30
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,11 @@ The contents of the `/etc` directory are retained in the file
246246
`include/arch/board/rcS.template`). In order to modify the start-up behavior,
247247
there are three things to study:
248248

249-
1. Configuration Options.
249+
1. Configuration Options.
250250
The additional `CONFIG_NSH_ROMFSETC` configuration options discussed in the
251251
final section of this README.
252252

253-
2. `tools/mkromfsimg.sh` Script.
253+
2. `tools/mkromfsimg.sh` Script.
254254
The script `tools/mkromfsimg.sh` creates `nsh_romfsimg.h`. It is not
255255
automatically executed. If you want to change the configuration settings
256256
associated with creating and mounting the `/tmp` directory, then it will be
@@ -281,7 +281,7 @@ All of the startup-behavior is contained in `rcS.template`. The role of
281281

282282
## Simple Commands
283283

284-
- `[ <expression> ]`
284+
- `[ <expression> ]`
285285
`test <expression>`
286286

287287
These are two alternative forms of the same command. They support evaluation
@@ -313,8 +313,8 @@ All of the startup-behavior is contained in `rcS.template`. The role of
313313
integer -lt integer | integer -ne integer
314314
```
315315

316-
- `addroute <target> [<netmask>] <router>`
317-
`addroute default <ipaddr> <interface>`
316+
- `addroute <target> [<netmask>] <router>`
317+
`addroute default <ipaddr> <interface>`
318318

319319
This command adds an entry in the routing table. The new entry
320320
will map the IP address of a router on a local network(`<router>`)
@@ -343,17 +343,17 @@ All of the startup-behavior is contained in `rcS.template`. The role of
343343

344344
Access the OS ARP table.
345345

346-
- `-a <ipaddr>`
346+
- `-a <ipaddr>`
347347
Will show the hardware address that the IP address `<ipaddr>` is mapped to.
348348

349-
- `-d <ipaddr>`
349+
- `-d <ipaddr>`
350350
Will delete the mapping for the IP address `<ipaddr>` from the ARP table.
351351

352-
- `-s <ipaddr> <hwaddr>`
352+
- `-s <ipaddr> <hwaddr>`
353353
Will set (or replace) the mapping of the IP address `<ipaddr>` to the
354354
hardware address `<hwaddr>`.
355355

356-
- `-t`
356+
- `-t`
357357
Will dump the entire content of the ARP table. This option is only
358358
available if `CONFIG_NETLINK_ROUTE` is enabled.
359359

@@ -632,21 +632,21 @@ All of the startup-behavior is contained in `rcS.template`. The role of
632632
Use TFTP to copy the file at `<remote-address>` from the host whose IP
633633
address is identified by `<ip-address>`. Other options:
634634
635-
- `-f <local-path>`
635+
- `-f <local-path>`
636636
The file will be saved relative to the current working directory unless
637637
`<local-path>` is provided.
638-
- `-b|-n`
638+
- `-b|-n`
639639
Selects either binary (_octet_) or text (_netascii_) transfer mode. Default:
640640
text.
641641
642642
- `help [-v] [<cmd>]`
643643
644644
Presents summary information about NSH commands to console. Options:
645645
646-
- `-v`
646+
- `-v`
647647
Show verbose output will full command usage.
648648
649-
- `<cmd>`
649+
- `<cmd>`
650650
Show full command usage only for this command.
651651
652652
- `hexdump <file or device>`
@@ -838,9 +838,9 @@ All of the startup-behavior is contained in `rcS.template`. The role of
838838
839839
- `md5 [-f] <string or filepath>`
840840
841-
- `mb <hex-address>[=<hex-value>][ <hex-byte-count>]`
842-
`mh <hex-address>[=<hex-value>][ <hex-byte-count>]`
843-
`mw <hex-address>[=<hex-value>][ <hex-byte-count>]`
841+
- `mb <hex-address>[=<hex-value>][ <hex-byte-count>]`
842+
`mh <hex-address>[=<hex-value>][ <hex-byte-count>]`
843+
`mw <hex-address>[=<hex-value>][ <hex-byte-count>]`
844844
845845
Access memory using byte size access (`mb`), 16-bit accesses (`mh`),
846846
or 32-bit access (`mw`). In each case,
@@ -922,7 +922,7 @@ All of the startup-behavior is contained in `rcS.template`. The role of
922922
device driver. NSH provides this command to access the `mkfifo()` NuttX API.
923923
924924
**Example**:
925-
925+
926926
```
927927
nsh> ls -l /dev
928928
/dev:
@@ -971,7 +971,7 @@ All of the startup-behavior is contained in `rcS.template`. The role of
971971
command and mounted using the `mount` command.
972972
973973
**Example**:
974-
974+
975975
```
976976
nsh> mkrd 1024
977977
nsh> mkfatfs /dev/ram0
@@ -1040,7 +1040,7 @@ All of the startup-behavior is contained in `rcS.template`. The role of
10401040
/mnt/fs type vfat
10411041
```
10421042
1043-
- `mv <old-path> <new-path>`
1043+
- `mv <old-path> <new-path>`
10441044
10451045
Rename the file object at `<old-path>` to `<new-path>`. Both paths must
10461046
reside in the same mounted file system.
@@ -1110,11 +1110,11 @@ All of the startup-behavior is contained in `rcS.template`. The role of
11101110
Copy the file at <local-address> to the host whose IP address is
11111111
identified by <ip-address>. Other options:
11121112

1113-
- `-f <remote-path>`
1113+
- `-f <remote-path>`
11141114
The file will be saved with the same name on the host unless
11151115
unless `<local-path>` is provided.
11161116

1117-
- `-b|-n`
1117+
- `-b|-n`
11181118
Selects either binary (_octet_) or test (_netascii_) transfer
11191119
mode. Default: text.
11201120

@@ -1502,7 +1502,7 @@ There are several built-in appliations in the `apps/` repository. No attempt is
15021502
made here to enumerate all of them. But a few of the more common built- in
15031503
applications are listed below.
15041504
1505-
- `ping [-c <count>] [-i <interval>] <ip-address>`
1505+
- `ping [-c <count>] [-i <interval>] <ip-address>`
15061506
`ping6 [-c <count>] [-i <interval>] <ip-address>`
15071507
15081508
Test the network communication with a remote peer. Example:
@@ -1579,7 +1579,7 @@ mkfatfs | !`CONFIG_DISABLE_MOUNTPOINT` && `CONFIG_FSUTILS_MKFATFS`
15791579
mkfifo | `CONFIG_PIPES` && `CONFIG_DEV_FIFO_SIZE` > 0
15801580
mkrd | !`CONFIG_DISABLE_MOUNTPOINT`
15811581
mount | !`CONFIG_DISABLE_MOUNTPOINT`
1582-
mv | !`CONFIG_DISABLE_MOUNTPOINT` || !`CONFIG_DISABLE_PSEUDOFS_OPERATIONS`
1582+
mv | !`CONFIG_DISABLE_MOUNTPOINT` || !`CONFIG_DISABLE_PSEUDOFS_OPERATIONS`
15831583
nfsmount | !`CONFIG_DISABLE_MOUNTPOINT` && `CONFIG_NET` && `CONFIG_NFS`
15841584
nslookup | `CONFIG_LIBC_NETDB` && `CONFIG_NETDB_DNSCLIENT`
15851585
password | !`CONFIG_DISABLE_MOUNTPOINT` && `CONFIG_NSH_LOGIN_PASSWD`
@@ -1675,7 +1675,7 @@ The behavior of NSH can be modified with the following settings in the
16751675
- `CONFIG_NSH_READLINE` – Selects the minimal implementation of `readline()`.
16761676
This minimal implementation provides on backspace for command line editing.
16771677
1678-
- `CONFIG_NSH_CLE`
1678+
- `CONFIG_NSH_CLE`
16791679
16801680
Selects the more extensive, EMACS-like command line editor. Select this option
16811681
only if (1) you don't mind a modest increase in the FLASH footprint, and (2)
@@ -1703,7 +1703,7 @@ The behavior of NSH can be modified with the following settings in the
17031703
this feature to save a little memory on FLASH challenged platforms. Default:
17041704
`n`
17051705
1706-
- `CONFIG_NSH_CMDPARMS`
1706+
- `CONFIG_NSH_CMDPARMS`
17071707
17081708
If selected, then the output from commands, from file applications, and from
17091709
NSH built-in commands can be used as arguments to other commands. The entity
@@ -1727,7 +1727,7 @@ The behavior of NSH can be modified with the following settings in the
17271727
- `CONFIG_NSH_MAXARGUMENTS` – The maximum number of NSH command arguments.
17281728
Default: `6`
17291729

1730-
- `CONFIG_NSH_ARGCAT`
1730+
- `CONFIG_NSH_ARGCAT`
17311731

17321732
Support concatenation of strings with environment variables or command
17331733
output. For example:
@@ -1743,7 +1743,7 @@ The behavior of NSH can be modified with the following settings in the
17431743
footprint results but then also only simple environment variables like `$FOO`
17441744
can be used on the command line.
17451745

1746-
- `CONFIG_NSH_VARS`
1746+
- `CONFIG_NSH_VARS`
17471747

17481748
By default, there are no internal NSH variables. NSH will use OS environment
17491749
variables for all variable storage. If this option, NSH will also support
@@ -1765,7 +1765,7 @@ The behavior of NSH can be modified with the following settings in the
17651765
`unset <a>` | Unsets environment var `a`. | Unsets both environment var and NSH var `a`.
17661766
`export <a> <b>` | Causes an error. | Unsets NSH var `a`. Sets environment var `a` to `b`.
17671767
`export <a>` | Causes an error. | Sets environment var `a` to NSH var `b` (or `""`). <br> Unsets local var `a`.
1768-
`env` | Lists all environment variables. | Lists all environment variables (only).
1768+
`env` | Lists all environment variables. | Lists all environment variables (only).
17691769

17701770
- `CONFIG_NSH_QUOTE` – Enables back-slash quoting of certain characters within
17711771
the command. This option is useful for the case where an NSH script is used to
@@ -1816,11 +1816,11 @@ The behavior of NSH can be modified with the following settings in the
18161816
if `CONFIG_USBDEV` is defined, then a USB serial device may, instead, be used
18171817
if the one of the following are defined:
18181818

1819-
- `CONFIG_PL2303` and `CONFIG_PL2303_CONSOLE`
1819+
- `CONFIG_PL2303` and `CONFIG_PL2303_CONSOLE`
18201820
Sets up the Prolifics PL2303 emulation as a console device at
18211821
`/dev/console`.
18221822

1823-
- `CONFIG_CDCACM` and `CONFIG_CDCACM_CONSOLE`
1823+
- `CONFIG_CDCACM` and `CONFIG_CDCACM_CONSOLE`
18241824
Sets up the CDC/ACM serial device as a console device at `/dev/console`.
18251825

18261826
- `CONFIG_NSH_USBCONSOLE` – If defined, then the an arbitrary USB device may

system/trace/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
System / `trace` Task Tracer
2-
============================
3-
4-
See https://nuttx.apache.org/docs/latest/guides/tasktraceuser.html
1+
System / `trace` Task Tracer
2+
============================
3+
4+
See https://nuttx.apache.org/docs/latest/guides/tasktraceuser.html

0 commit comments

Comments
 (0)