Commit Graph

104 Commits

Author SHA1 Message Date
Xiang Xiao
68951e8d72 Remove exra whitespace from files (#189)
* Remove multiple newlines at the end of files
* Remove the whitespace from the end of lines
2020-01-31 09:24:49 -06:00
Xiang Xiao
d865500770 Enhance the syntax of testlist-file for testbuild.sh
1.Scan the folder under nuttx/boards by prefix /
2.Skip the specified configuration by prefix -

Change-Id: Ibb67f2c6b96cd8e439d94bf71d098c1fd9e5a79d
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-21 13:39:15 -03:00
Xiang Xiao
e59f242f88 remove the dup kconfig tweak in configure.sh, testbuild.sh and sethost.sh
Change-Id: I2027b6be55609d8828ff39b568d1f8ddcf333e9a
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-20 08:04:21 -06:00
Xiang Xiao
f316c15769 Remove the size related option from sehost.sh and testbuild.sh
to aglin with configure.sh

Change-Id: I42f2621dff72b22ee6c51bd44cc4a1c3d81d128e
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-20 08:04:21 -06:00
Gregory Nutt
6309165fe0 tools/nxstyle.c: Add automatic detection of line width based on examining
the width of all block comments. Includes a check to assure that all block
comments use the same line width.

Verified against all .c files under /sched.  There were a few cosmetic changes to the coding style under /sched to account to new, correctly detected problems in the /sched files.
2020-01-12 13:07:54 -03:00
liuhaitao
7da409f3b5 tools/nxstyle.c: Add -r option to check specified range lines
Usage: ./nxstyle -r start,count filename

nxstyle with -r option used to parse the range lines rather than the whole file.

Change-Id: I58ec56511fde14d6ec914400a7849e69960a3711
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-01-04 07:58:00 -06:00
David Sidrane
002772c81e nxstyle improvements with No tooling (#12)
tools/nxstyle.c:  Output compiler like error format.  Added features

   Uses getops to pars command line.
   Supports
      -s silence all output
      -g provide a PASS fail message

* tools/README.txt:  Update with new nxstyle options
2019-12-30 21:01:41 -06:00
anchao
1c91aec6ae tools/ and fs/procfs: Simplify .version file generation
1.merge CONFIG_GIT_REVISION_STR into CONFIG_VERSION_BUILD
2.merge gen_getrev.sh into version.sh
3.generate version number if needed

Here is a sample output:
nsh> uname -a
NuttX  8.2 59fd8e12d3-dirty Dec 12 2019 15:48:00 sim sim
nsh> cat /proc/version
NuttX version 8.2 59fd8e12d3-dirty Dec 12 2019 15:48:01
2019-12-12 11:17:11 -06:00
Gregory Nutt
897378bc29 Remove support for generation of RRLOAD binary files. The RRLOAD binary format was used with Linux BSPs from www.ridgerun.com circa 2000-2001. It is still need by the the c5471 board if that bootloader is used. Removes the CONFIG_RRLOAD_BINARY option and tools/mkimage.sh
This change was motivated by the presence of the mkimage.sh file under tools.  That is the tool that created the RRLOAD binary format.  That bash script has a GPL license and, hence, may not be included in an Apache-licensed project.
2019-12-09 11:29:12 -06:00
Gregory Nutt
d6b4e90d70 arch/arm/src/s32k1xx: Support configuration and initialization of the flash configuration bytes. boards/arm/s32k1xx/s32k1**evb/scripts/flash.ld: Create a special FLASH section to hold the FLASH configuration bytes. 2019-10-19 13:14:02 -06:00
Gregory Nutt
759ed2d5c0 tools/indent.sh: Add a command line option to suppress reformatting of comments. This is useful when comments are already correct and/or contain formatted data such as tables or lists. 2019-10-19 09:01:20 -06:00
Xiang Xiao
61ec1d7a1d Makefiles: change ${shell pwd} to $(CURDIR) since pwd doesn't exist on Windows 2019-10-02 07:09:28 -06:00
Gregory Nutt
750df900d3 tools/README.txt: Trivial reference to a simulator README file added. 2019-10-01 11:10:16 -06:00
Gregory Nutt
e8542c844c tools/README.txt: Update to show new usage of mksymtab. 2019-09-30 13:46:33 -06:00
Xiang Xiao
f96410b58e tools/simbridge.sh: Add simbridge.sh to simplify the simulator bridge creation. 2019-09-28 10:54:54 -06:00
Gregory Nutt
8b62bc96f5 Updates from review and testing of commit a0867a7f4f. 2019-08-26 09:46:05 -06:00
Nathan Hartman
985dea60a1 Fix some typos in README.txt files. 2019-08-19 11:30:12 -06:00
Gregory Nutt
2730714774 Update more comments and README.txt files to reflect new organization of the boards/ sub-directory. 2019-08-08 09:17:04 -06:00
Gregory Nutt
721994846c tools/: Change preferred argument of configurations tools to use ':' as the delimiter between <board-name> and <config-name>. This is to emphasize that this is not a path; it is configuration specification.
The legacy '/' delimiter is still supported but not recommend and not advertised.

Squashed commit of the following:

    Update configurations instructions in more README.txt files to show ':' delimiter vs '/' delimiter.
    Update configurations instructions in various README.txt file to show ':' delimiter vs '/' delimiter.
    tools:  Update all configuration-related tools to accept ':' separator between board and configuration name.
2019-08-05 16:55:51 -06:00
Gregory Nutt
e0205ff3cc More changes on name configs/ to boards/ in comments, Documentation, Tools, etc. That is all that I see for now. 2019-08-05 07:24:57 -06:00
Gregory Nutt
615c0ea7ee Change naming configs/ to boards in comments, Documentation, etc. Still a few more to go. 2019-08-05 07:13:48 -06:00
Alin Jerpelea
98fd07ee5f Merged in alinjerpelea/nuttx (pull request #942)
tools: add flash_writter for cxd56 boards

this flash writter is using the xmodem for firmware transfer

for flashing please use
tools/flash_writer.py -s -c /dev/ttyUSB0 -d -b 115200 -n nuttx.spk

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-09 13:04:54 +00:00
Gregory Nutt
d9d2042f75 Revert "tools/check-hash.sh: Add a tool check hash on downloaded packages."
This tool was supposed to go to apps/tools, not nuttx/tools.

This reverts commit 41245f421e.
2019-02-18 07:20:41 -06:00
Michał Łyszczek
41245f421e tools/check-hash.sh: Add a tool check hash on downloaded packages. 2019-02-15 07:08:44 -06:00
Gregory Nutt
713b3e3760 tools/rmcr.c: Add a tools to remove carriage returns and dangline whitespace at the end of lines. 2019-02-07 12:11:40 -06:00
Gregory Nutt
fc744fb9b1 tools/: Add detab.c which will convert all tabs in a file to spaces. Add lowhex.c that will convert hexadecimal constants in a file to use lower case representation. 2018-12-03 08:45:05 -06:00
Gregory Nutt
e0608386f3 tools/convert-comments.c: Add a tool to convert C++-style comments to C89 C-style comments. 2018-12-01 19:15:54 -06:00
Matous Pokorny
7a4fb66192 Merged in ehiker/nuttx/fix_readme_typo (pull request #764)
Fix readme typo

* readme.txt: Fix typo

* tools/readme.txt: Fix typo

    There is no file called cmdconfig.

Approved-by: GregoryN <gnutt@nuttx.org>
2018-11-21 14:06:51 +00:00
Alan Carvalho de Assis
283b73edc5 Fix lots of typos in C comments and Kconfig help text 2018-07-08 18:24:45 -06:00
Gregory Nutt
5d09568a38 Update ChangeLog in preparation for the 7.26 release. 2018-06-02 11:05:54 -06:00
Gregory Nutt
bcf9c2e4aa Update README 2018-06-01 19:44:02 -06:00
Gregory Nutt
d52c63f632 Change all references from OSX to macOS 2018-06-01 13:25:50 -06:00
Gregory Nutt
53a4408428 Build system: Move all build-related files (except the top-level Makefile) into the tools/ sub-directory. This really cleans up the top-level directory. 2018-05-29 12:14:55 -06:00
Gregory Nutt
d97454a7d7 tools/README.txt: Minor tweak to README. 2018-04-11 18:47:59 -06:00
Bob Feretich
7ae14be1de tools/nxstyle.c;: Add check for blank lines before and after single line comments. 2018-04-11 15:45:39 -06:00
Gregory Nutt
be61157246 Update README. 2018-04-11 14:39:54 -06:00
Gregory Nutt
a69d23d48c tools/README.txt: Update to include uncrustify info. 2018-04-11 06:59:57 -06:00
Gregory Nutt
eec44d1f01 This commit adds tools/gencromfs.c, a tool that can be used to generate CROMFS file system images.
Squashed commit of the following:

    tools/gencromfs.c:  Seems basically functional but has not has not yet been integrated with CROMFS.
    tools/gencromfs.c:  Revist previous commit.  Let's make no assumptions about the compatibility of the host system and NuttX.
    tools/gencromfs.c:  I think access mode bits are sufficiently standard that we can just copy them from the host.  This is don't mostly to pick up the executable bits and other conbinations of bits without doing a bit-for-bit decode.
    tools/gencromfs.c:  Code complete but only partially functional.
    tools/gencromfs.c:  type definitions must precede data definitions
    tools/gencromfs.c:  Adds a little more logic to gencromfs tools.  Still not complete but can traverse directories and generate directory and hard-link nodes.
    tools/gencromfs.c: Beginning of a genromfs tool that will eventually be used for generation of CROMFS file system images.
2018-03-20 07:31:13 -06:00
Gregory Nutt
fce345113f tools/logparser: Add a tool which (when it matures) will help me to convert git logs to ChangeLog format. 2018-01-29 10:50:14 -06:00
Gregory Nutt
0649209725 configs/stm3220g-eval/ide: Remove the uVision IDE setup. This has not been used for years and it a maintenance problem for me. 2017-11-16 08:51:49 -06:00
Gregory Nutt
5a9eebe270 More conversions of defconfig files to compressed format. All but Windows native configurati9ons. 2017-07-09 20:05:59 -06:00
Gregory Nutt
624bd0b9e9 tools/: Add initialconfig.c so that perhaps in the future we will be able to use this to generate a new configuration from scratch (rather than having to derive new configurations from existing configurations) 2017-06-02 10:17:30 -06:00
Gregory Nutt
0de294a586 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
Gregory Nutt
fcc8444ae0 Update some comments and a README file. 2017-01-18 14:19:27 -06:00
Gregory Nutt
6889171d7f Update a README 2017-01-02 14:02:20 -06:00
Gregory Nutt
d9a041349e Add tools/showsize.sh 2016-11-28 12:00:10 -06:00
Gregory Nutt
189d2cf475 Update NSH document, README, and comments in a script file 2016-08-04 12:59:33 -06:00
Gregory Nutt
6be282af96 Add tools/sethost.sh. This is a script that you can use to quickly change the host platform from Linux to Windows/Cygwin. Might save you a lot of headaches. 2016-08-03 16:31:35 -06:00
Gregory Nutt
d9314c1034 LPC43xx ADC: board.h should be included last; Also, unreleated, update tools/README.txt 2016-07-30 07:05:10 -06:00
David Sidrane
85056eaffd Fix Spelling 2016-06-23 14:43:25 -10:00