Commit Graph

956 Commits

Author SHA1 Message Date
Ouss4
9daa8441e3 tools/pic32: Add the Config.mk file to execute the post build script.
Update Make.defs and README.txt files in boards directory accordingly.
2020-03-07 08:35:20 -06:00
Ouss4
0d88073644 toos/pic32: Some cosmetic changes.
- Rename the folder to PIC32.
  - Rename the Makefile to Makefile.host
  - Run nxstyle on the C file.
  - Change licenses to ALv2.
2020-03-07 08:35:20 -06:00
David Sidrane
c5b4d9b628 nxstyle:nxstyle should pass nxstyle checks! 2020-03-07 08:31:36 -06:00
David Sidrane
8b1dc2825f Update nxstyle.c 2020-03-06 15:49:59 -06:00
Gregory Nutt
3ee1af5bcc Build System: Resolve CPU-specific logic in common build files
* tools/Config.mk - Add empty definition POSTBUILD
* tools/Makefile.unix/win - Replace CXD56xx specific logic with $(call POSTBUILD)
* boards/arm/cxd56xx/scripts/Config.mk - Add POSTBUILD definitions with logic removed from Makefile.unix/win
* boards/arm/cxd56xx/spresense/scripts/Make.defs - Include the CXD56xx Config.mk immediately after tools/Config.mk so that the empty POSTBUILD definition will be replaced with the correct one

NOTE: There is a precedent for this approach.  This is the way that other architecture-specific build options are implemented.  See, for example, tools/zds/Config.mk
2020-03-06 11:44:53 -06:00
YAMAMOTO Takashi
45a8edd227 nxstyle: Output line numbers when complaining on block comments length 2020-03-06 07:25:52 -06:00
YAMAMOTO Takashi
0715ab3132 Revert "tools/nxstyle: Back out part of last commit. Logic to avoid some false alarms was causing real style problems from being reported."
If we are going to use this tool for things like
git pre-commit hook or CI workflow, it's critical to
avoid false alarms.

This reverts commit de764af9aa.
2020-03-06 07:25:11 -06:00
YAMAMOTO Takashi
4879f2225e nxstyle: Don't complain on ELF things like Elf32_Hdr 2020-03-05 21:18:12 -06:00
YAMAMOTO Takashi
e5ea0ac32d nxstyle: Don't parse a file if its type is unknown 2020-03-05 20:18:11 -06:00
YAMAMOTO Takashi
aa205b3732 mkexport: Deal with ARCHSCRIPT containing multiple files
This fixes "make export" for esp32-core.
2020-03-03 08:10:06 -06:00
liuhaitao
58318bbc28 tools/testbuild.sh: prevent grep from exiting in case of nomatch
Prevent grep from exiting in case of nomatch for blacklist when testbuild.sh called
with -x option which set -e in bash.
2020-03-03 08:06:40 -06:00
YAMAMOTO Takashi
aa40e28862 Make it clear the timestamp of pass1 directory is not important 2020-02-26 10:20:10 -06:00
Xiang Xiao
852fc8b9d9 Revert "Fix make target dependencies"
This reverts commit 5f540d79a1.
2020-02-26 07:31:40 -06:00
YAMAMOTO Takashi
5f540d79a1 Fix make target dependencies
"all" and "depend" targets should not be made concurrently.
I occasionally see APPDIR build failures because of this.
2020-02-25 21:09:32 -06:00
YAMAMOTO Takashi
f01953d364 mksyscall: Suppress "'noreturn' function does return" warnings 2020-02-25 04:07:02 -06:00
Xiang Xiao
cec7949a39
tools/checkpatch.sh: Add code spell check to checkpatch.sh (#371) 2020-02-25 10:28:05 +01:00
Adam Feuer
7fa1486181 simulator network host route helper script and docs
Squashed commit of the following:

commit 685951b5385062035ac558df1112353c9441c910
Author: Adam Feuer <adam@starcat.io>
Date:   Mon Feb 24 16:33:00 2020 -0800

    fixed typo in readme

commit ad1d3289b48af0de3095e3f365429017e57278b3
Author: Adam Feuer <adam@starcat.io>
Date:   Mon Feb 24 16:07:48 2020 -0800

    simulator host route helper script and docs

    Squashed commit of the following:

    commit cf5cddcf55a155303cb5abb1aa026f6dcaf369ca
    Author: Adam Feuer <adam@starcat.io>
    Date:   Mon Feb 24 15:50:40 2020 -0800

        syslog on console to fix compile error

    commit def1bb73fcfbc8b115c55d9f4544b97d583807f2
    Author: Adam Feuer <adam@starcat.io>
    Date:   Mon Feb 24 15:46:13 2020 -0800

        formatting as per PR feedback; removed ping

    commit b179fd8831b77fbbe85527a4ab3161e1f1ca1e43
    Author: Adam Feuer <adam@starcat.io>
    Date:   Mon Feb 24 15:45:49 2020 -0800

        formatting as per PR feedback

    commit e3280bede9798d9a00b118e126c02ceab497e33a
    Author: Adam Feuer <adam@starcat.io>
    Date:   Mon Feb 24 13:56:50 2020 -0800

        add simhostroute.sh description to readme

    commit 09a6b0ca3bacf005c2a79102141ae8cc3eb91849
    Author: Adam Feuer <adam@starcat.io>
    Date:   Sun Feb 23 17:38:40 2020 -0800

        fixed error in simhostroute.sh usage docs

    commit d838582119d43ee2002ce3808051c82b23e98c58
    Author: Adam Feuer <adam@starcat.io>
    Date:   Sun Feb 23 17:28:35 2020 -0800

        added tcpblaster defconfig and updated docs

    commit af3d2d6591f12d1127027fdd363858052094e624
    Author: Adam Feuer <adam@starcat.io>
    Date:   Sun Feb 23 17:21:29 2020 -0800

        added info about capabilities and running as root

    commit 6359cfdfedefc818b169455401942d3d33a59f41
    Author: Adam Feuer <adam@starcat.io>
    Date:   Sun Feb 23 17:20:42 2020 -0800

        updated network linux readme

    commit 47feb08aa74e4b1fc6c802567bc777d31e7c9a83
    Author: Adam Feuer <adam@starcat.io>
    Date:   Sun Feb 23 17:09:04 2020 -0800

        initial addition
2020-02-24 20:20:25 -06:00
Adam Feuer
511e548613 Ethernet Over USB net helper script and docs
- for CDC ECM driver

Squashed commit of the following:

commit aa9a715498e15ad46d43318a663d296f38160cf8
Author: Adam Feuer <adam@starcat.io>
Date:   Mon Feb 24 16:42:52 2020 -0800

    code formatting; removed ping

commit 56520b7f7e2b7f03697eacc2f2b5450b0f7af676
Author: Adam Feuer <adam@starcat.io>
Date:   Mon Feb 24 16:42:32 2020 -0800

    add description of netusb.sh helper script

commit afee3d33b1e66138afb7e9713d86b765ceab55b0
Author: Adam Feuer <adam@starcat.io>
Date:   Mon Feb 24 16:41:40 2020 -0800

    readme formatting

commit 772e36021f4aee2ba1df408ad29d8b9adedeed9f
Author: Adam Feuer <adam@starcat.io>
Date:   Sun Feb 23 11:38:50 2020 -0800

    updated readme, removed redundant configs

commit 082785178aa6e0d1578034b4b163785fdcb61f22
Author: Adam Feuer <adam@starcat.io>
Date:   Sat Feb 22 17:40:05 2020 -0800

    README, defconfig, and helper script improvements
2020-02-24 20:13:31 -06:00
Gregory Nutt
90eed5c8f8 tools/zds/zdsar.c: Use shorter, relative paths
This tools needs to CD to directory holding the library because it requires that the library be in the current working directory when objects are inserted.  Previously, the tool did this by creating an absolute path to the object file itself.  So instead of the object file being in the current directory and the library in a directory at an absolute path, this tool used an abolte path to the object file with the library in the current directory.

For the most part, that worked fine.  However, in the apps directory the object file names are greatly extended in length.  In the object file name was extended to a full absolute path and these huge file names were were exceeding some internal limit within the ZDS-II librarian.  But useing shorter, relative paths, we were able to avoid hitting this limit and the entire build completed correctly.
2020-02-24 22:37:28 +01:00
Gregory Nutt
e6f545beab Extend revised ZDS-II support to z8 and z16f
* tools/zds/zds_Config.mk: Move  boards/z80/ez80/scripts/eZ80_Config.mk to tools/zds/zds_Config.mk where it can be shared by other ZDS-II platforms.
* boards/z16/z16f:  Duplicate changes for new ZDS-II support from ez80
* boards/z80/z8:  Duplicate changes for new ZDS-II support from ez80
* arch/z16/src/z16f/Toolchain.defs:  Create required Toolchain.defs file for Z16f
2020-02-24 22:37:28 +01:00
Gregory Nutt
d1a8a803e4 Build system: Get rid of the MOVEOBJ definition
Eliminate the MOVEOBJ definition from tools/Config.mk, Makefiles, and other locations.  The MOVEOBJ definition was used to work around the case where the object output of a compile or assemble is in a different directory than the source file.  The ZDS-II tools have no command line option to perform this move; MOVEOBJ handled the move as a post-compiler operation.

MOVEOBJ is no longer needed because this the ez80 COMPILE and ASSEMBLE definitions now handle all of the object file movement cases.
2020-02-24 22:37:28 +01:00
Gregory Nutt
75be4c5677 ZDS-II Object file relocations
tools/zds/zdsgen.c:  Remove this program.  It should have been a simpler way to manage ZDS-II compiler and assember differences.  However, the compiler arguments needed to pass through too many layers of bash command line modifications and, as a result, it was not possible to retain quotes on critical strings.  This approch was abandoned for an alternative approach.

boards/z80/ez80/scripts/eZ80_Config.mk:  Add definitions to move the object files as necessary.  This seems to work well and is implemented for both native and Cygwin Windows build -- but only for the Z20x.
2020-02-24 14:38:39 -03:00
Gregory Nutt
9cd188e3c7 tools/zds/zdsgen.c: WIP Compiler/Assembler Wrapper
And additional wrapper that is needed for the ZDS-II build is a wrapper for the compiler and assemble.  This is needed because the ZDS-II cannot control the name or location of the output of the output object file:  it is always in the same directory as the source file and with the same name as the source file except with the .obj extension.

This was handled in the past with the MOVEOBJ definition which was specifically called Makefiles to move the objects to the correct position.  However, now there is a new behavior:  Output object files may also be named differently with added decoration in the file name.  This is done in the current apps/ directory build.

There is currently some ugly implementation that includes a long sequence of Bash code to handle the moving and/or renaming.  There is nothing in place for the Windows native case.

This wrapper, when complete, will clean up the Makefiles, improve build performance, and provide a solution that is portable to both the Cywin/MSYS environment as well as to the Windows native environment.
2020-02-23 21:44:18 -06:00
Xiang Xiao
cde88cabcc Run codespell -w with the latest dictonary again
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-02-23 22:27:46 +01:00
Gregory Nutt
55a7dfc9a7 tools/zds/zdsar.c: Fix several errors
This zdsar librarian wrapper is code complete and has no known bugs.
However, there are still some build instabilities so perhaps there
are still some bug to be identified.  Or perhaps there are other
undiscovered bugs unrelated to zdsar which appears to be behaving
correctly in all cases.

It will take some additional testing know for sure.
2020-02-23 18:15:24 -03:00
Gregory Nutt
4bf2a1ee91 tools/zds/zdsar.c: Correct memory corruption bug
A pointer to a string in a memory buffer was losing its value.  The reason was that the buffer was occasionally being used for other purposes.  The fix is to strdup() the string so that there is a private, protected copy.
2020-02-23 13:18:27 +01:00
Gregory Nutt
738819b053 tools/zds: Add build tools to simplify ZDS-II tool usage
tools/zds:  A new tool sub-directory intended to hold tools for making life working with the ZDS-II toolchain less painful.

tools/zds/zdsar.c:  This is a wrapper around the ZDS_II librarian.  It simplifies the build scripts by replacing large sequences of complex Bash script that were added to the build files.  Not only does this clean up the build files but it also improves performance and, more importantly, provides a common solution for the Windows native build case.  This tool should work with all ZDS-II based platforms including z8, zNeo, and ez80.

tools/README.txt:  Add a brief description about the zds sub-directory.  Also re-ordered some tool descriptions.  They are supposed to be in alphabetical order, but this seems to have fallen apart.

boards/z80/ez80/scripts/eZ80_Config.mk:  Updated to use tools/zds/zdsar.exe.
2020-02-22 19:33:35 -03:00
Xiang Xiao
bd4e8e19d3 Run codespell -w against all files
and fix the wrong correction
2020-02-22 14:45:07 -06:00
Gregory Nutt
54be203107 boards/z80/ez80/scripts/eZ80_Config.mk: Fix ez80 build
This includes some fixes for the ez80 build including:

1. Ability to handle decorated object file names,
2. Ability to handle libraries described with absolute paths

This commit address only the POSIX build and needs to be updated
for the Windows native build.
2020-02-22 00:59:44 +01:00
Xiang Xiao
4d16eeb435 Make.defs: Fix flock: failed to execute @: No such file or directory
Remove $(Q) in ARCHIVE which is added back in commit fd3e2c5916 accidentally
2020-02-21 07:35:24 -06:00
Alan Carvalho de Assis
fd3e2c5916 Make.defs: Fix printed "|| { ar blablabla FAILED!" after $(Q) removed 2020-02-20 19:43:52 -06:00
Xiang Xiao
342f76a529 Makefile: Remove @echo from ARCHIVE
to avoid shell complain that @echo can't find if the variable expand in the compound
command(e.g. ARLOCK) and remove $(Q) before $AR so the result is almost same as before.
2020-02-20 08:32:09 -06:00
liuhaitao
ba265e90d6 tools/testbuild.sh: select size_t to different type by testlist
testbuild.sh select size_t to different type by testlist in which
CONFIG_ARCH_SIZET_LONG defined for ulong and -CONFIG_ARCH_SIZET_LONG
for uint.
2020-02-18 08:34:36 -06:00
Xiang Xiao
e7d9260014 arch: Customize the typedef of size_t instead of intptr_t
To ensure size_t same as toolchain definition in the first place and rename CXX_NEWLONG to ARCH_SIZET_LONG.  The change also check whether __SIZE_TYPE__ exist before CONFIG_ARCH_SIZET_LONG so our definition can align with toolchain(gcc/clang) definition automatically.
2020-02-18 07:15:19 -06:00
liuhaitao
05391da6b8 tools/checkpatch.sh: do full file check for commits and patches defaultly
Make 'checkpatch.sh -c commits' and 'checkpatch.sh -p patches' do full
file check as default, while 'checkpatch.sh -r -c commits' and 'checkpatch.sh
-r -p patches' do ranges check only.
2020-02-17 08:18:44 -06:00
Gregory Nutt
75e3af0985 tools/nxstyle: Allow mixed case system calls.
System calls have mixed case.  They begin with SYS_ but then are followed by the system function name in lower case.
2020-02-14 17:22:18 +01:00
YAMAMOTO Takashi
842392beda Makefile.host: Use generic name (cc) than GCC specific (gcc)
This makes it easier to use clang on ubuntu.
2020-02-13 15:25:15 +08:00
liuhaitao
7ec66ccf94 Get the full directory name of the testbuild.sh no matter where called from
Change-Id: I00cab8d97acb8e436622c0bdd4bc4bfe7374bca3
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-02-10 09:01:35 -06:00
Gregory Nutt
20f29e60e3 tools/testbuild.sh: Remove bad line from usage help. 2020-02-09 20:05:44 +01:00
liuhaitao
f4d8c184b0 tools/checkpatch.sh: make sure fail get the real return error value
Do not use pipeline way and make sure fail to record the real exit error value.
2020-02-09 07:51:27 -06:00
liuhaitao
48f1793a60 tools/testbuild.sh: make sure fail get the real return error value 2020-02-08 07:33:54 -06:00
Xiang Xiao
a8de37fbec 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
2020-02-08 07:25:56 -06:00
liuhaitao
3b311ab895 tools/testbuild.sh: use function to call make and fail handle in common
Change-Id: I50cbc335254be0f2388b4bb6af8a874e74ba98c2
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-02-07 13:56:23 +01:00
YAMAMOTO Takashi
afd03f5a7e sethost: If no host options are specified, try to guess 2020-02-06 18:01:48 +08:00
Gregory Nutt
dfcbc42679 tools/nxstyle.c: Fix logic error in previous change. 2020-02-03 22:26:28 +01:00
Xiang Xiao
adbff7de81 tools/Config.mk: add DEFINE macro like INCDIR 2020-02-03 15:06:11 -06:00
Gregory Nutt
2483b65bfb tools/nxstyle.c: Ignore inttypes.h constants.
Eliminate warnings.  Ignore mixed case identifies beginning with PRIx.
These most likely come from inttypes.h and we nxstyle must tolerate
those definitions even though they do not follow the coding style.
2020-02-03 17:51:09 +01:00
liuhaitao
57099fe441 tools/testbuild.sh: update fail to return the error value instead 2020-02-02 08:13:15 -06:00
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
YAMAMOTO Takashi
aa8aadf18e Use "uname -s" where "uname -o" is not available
Namely this changes HOSTOS for macOS from "Other" to "Darwin".

Also, suppress the following harmless messages during a "make":
(Missing redirect in tools/Makefile.host)

	uname: illegal option -- o
	usage: uname [-amnprsv]
2020-01-29 09:03:48 +01:00
YAMAMOTO Takashi
431317ef26 sethost.sh: Don't ignore "make olddefconfig" failure
I guess missing kconfig-conf is a common mistake for
newbies like me.  Bail out earlier instead of producing
random errors during a build.
2020-01-29 09:03:48 +01:00
Gregory Nutt
94483cf400 tools/nxstyle.c: Add logic to detect check for left brace in first column, but preceded by a blank line. That should never happen for the outermost opening branch (but could happen with internal compound statements).
Consider junk.c for example:

    /****************************************************************************
     * xx
     ****************************************************************************/

    /****************************************************************************
     * Private Types
     ****************************************************************************/

    struct foo_s

    {
      int bar;
    };

    /****************************************************************************
     * Public Functions
     ****************************************************************************/

    int dofoo(int barin)

    {
      barout = barin;
      return barout;
    }

nxstyle not detects these problems:

    $ tools/nxstyle.exe junk.c
    junk.c:11:0: error: Blank line before opening left brace
    junk.c:21:0: error: Blank line before opening left brace
2020-01-28 12:26:01 -03:00
Gregory Nutt
5a3da5ef50 tools/testbuild.sh: Restore ability to select type of new and delete operators
This capability was erroneously removed by a previous commit.  This setting is necessary when the C++ code generated by the compiler uses the new and delete operators provided in libs/libxx.

Here is an example of an error scenario where this capability is required:

1. CONFIG_CXX_NEWLONG=y in the defconfig file
2. This causes libs/libxx to to generate a delete operator of this form:

   void delete(void*, unsigned long);

3. But the compiler expects to link with a delete operator of this form:

   void delete(void*, unsigned int);

That results in a link-time failure and the ONLY solution for avoiding that link time failure (short of some complete redesign) is to have a control over the CONFIG_CXX_NEWLONG setting and make sture that it is always disabled for that toolchain.

Other toolchains will require that CONFIG_CXX_NEWLONG=y in all cases.  This cannot be predicted because it is dependndent on the definitions provided by C libraries and header files that were build into binary toolchain.
2020-01-24 11:21:14 -03:00
liuhaitao
c09071ffe8 tools/testbuild.sh: use fail to record build result
CI should know the build status of testbuild.sh, so use -k make flag option as default
instead of -i ignore-error option. Then use fail to record build result. In addition,
refresh .config if toolchain updated.

Change-Id: I182c2b2db489e6ccb0a79fdc664072d19974c3ca
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-01-23 10:29:56 -03:00
Xiang Xiao
4bd4f3b424 tools/refresh.sh: support to refresh all configuration by pseudo config 2020-01-22 20:41:53 -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
chao.an
c709ed2464 tools/Makefile.unix and Makefile.won: In distclean target, unlink the dir after subdir clean
Ensure the linked dir can be clean complete in multi-job case
2020-01-21 08:37:59 -06: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
Xiang Xiao
d0b34dec97 Fix the minor issue found in configure.sh, sethost.sh and testbuild.sh
1.The unused variable
2.The duplicated setting
3.The typo error

Change-Id: I8c129cce78d3e88856f1edcbc2c702c433daa61f
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-20 08:04:21 -06:00
Xiang Xiao
bb6c70bdcc Fix the comment header style in tools folder
Change-Id: I189a0e8b86f3af682111668ccdad64a52b48dcb4
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-20 08:04:21 -06:00
liuguo09
bcfb45dfa0 tools/testbuild.sh: kconfig-tweak disable CONFIG_TOOLCHAIN_WINDOWS under linux host (#130)
Make sure kconfig-tweak disables CONFIG_TOOLCHAIN_WINDOWS under linux host, or it would  break the build when using testbuild.sh for some configs.

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-01-19 14:29:21 +01:00
Gregory Nutt
8b884a027f tools/Makefile.host: Fix several errors for native build
1. Can't pipe uname stderr output to /dev/null.  /dev/null does not exist in the Windows native enviornment.
2. Don't test if CONFIG_WINDOWS_NATIVE is defined.  Tht leads to a "chicken'n'egg" problem:  We need to build configure.c in order to configure the system, but we can't get the CONFIG_WINDOWS_NATIVE until after the system is configured.
3. The default name of the MinGW GCC compiler is mingw32-gcc.exe, not mingw-gcc.exe
2020-01-17 15:56:01 -03:00
patacongo
c600f6d6cf tools/Makefile.win and link.bat: Fix for 'make menuconfig' (#117) 2020-01-16 23:12:31 +01:00
patacongo
b3fd644f1b tools/configure.bat: Update configure.bat so that it works like configure.sh and integrates properly with configure.c. Also update the README.txt file with a few native build clarifications. 2020-01-16 18:22:36 +01:00
Xiang Xiao
bc8edaf6c2 tools/: Remove the hardcode arch/chip list from all tool scripts 2020-01-16 11:11:24 -06:00
Gregory Nutt
177c037aa9 tools/configure.c: Add missing k210 support.
Fix a minor but necessary addition to configure.c for the K210 port that was missed in commit e33fc3dc89
2020-01-16 06:38:59 -03:00
patacongo
0e77e3373e tools/nxstyle.c: Correct false alarm detection (#106)
Commit cf5d17f795 added logic to detect #define pre-processor definitions outside of the "Pre-processor Definitions" file section.  That commit was verified against numerous .c source files.  But not against any .h header files.

When run against a header file, that change causes a false alarm warning like:

  file:line:pos: warning: #define outside of 'Pre-processor Definitions' section

That is caused the idempotence, guard definition that must appear in the header file BEFORE the first file section.

This commit adds logic to nxstyle to ignore pre-processor definitions in header files that occur before the first file section is encountered.
2020-01-15 20:22:37 +00:00
patacongo
f00569816f Fix a few errors concerning use of section block comments in .c files: (#95)
1. No .c file should include a "Public Types" section.  Only a header file can define a public type.  A .c file can only define a private type.  Several files contained private type definitions.  The section that they were defined in, however, was incorrectly named "Public Types."  Those were easilty changed to "Private Types" which is what they are.

2. No .c file should include a "Public Function Prototypes" section.  All global function prototypes should be provided via a header file and never declared with a .c file.

For No. 2, I corrected as many cases as was reasonable for the time that I had available.  But there are still a dozen or so .c files that declare "Public Function Prototypes" within a .c file.  This is bad programming style.  These declarations should all be moved to the proper header files.
2020-01-14 00:37:54 +01:00
Gregory Nutt
cf5d17f795 tools/nxstyle: Added logic to parse section headers (#90)
* tools/nxstyle:  Added logic to parse section headers (like Included files, Pre-processor Definitions, etc.) and to assure that the section headers are correct for the file type.  Also (1) verify that #include appears only in the 'Included Files' section and that (2) #define only occurs in the Pre-processor definition section.

    Right now, there are several places where that rule is not followed.  I think most of these are acceptable so these failures only generate warnings, not errors.  The warning means that we need to go look at the offending #define or #include and decide if it is a acceptable usage or not.
2020-01-13 18:08:45 +00:00
Xiang Xiao
cd544b81b3 checkpatch remove -m 86 option since nxstyle can determine the max line length smart now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-12 12:54:13 -06:00
Gregory Nutt
beae24c8c0 tools/nxstyle.c: Correct indexing error noted by Xaio Xaing in commit comments. 2020-01-12 14:52:48 -03: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
liuguo09
1c53d2b616 Nxstyle checkpatch support (#47)
* tools/nxstyle.c: Donot check unknown file extension files

nxstyle only support c soure file and header file check, donot check
other unknown file extension files.

* tools/checkpatch.sh: Add checkpatch.sh script based on nxstyle tool

Usage:
checkpatch.sh patch-list // default as patch list
checkpatch.sh -p patch-list
checkpatch.sh -c commit-list
checkpatch.sh -f file-list
checkpatch.sh - // read from stdin, which used by git pre-commit hook

And git pre-commit hook could use checkpatch.sh as below:
git diff --cached | ./tools/checkpatch.sh -
2020-01-07 08:14:01 -06:00
Xiang Xiao
3b9efc95a2 Format all shell scripts in tools folder
Change-Id: Ieef2eb93d56c03972b4dc63a1c55aabf1fb0d169
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-06 00:51:49 +08: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
Xiang Xiao
6a3c2aded6 Fix wait loop and void cast (#24)
* Simplify EINTR/ECANCEL error handling

1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx

* Unify the void cast usage

1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
Xiang Xiao
443255f348 Unify the c++ standard library name to libxx (#19)
libs/libxx/Makefile, and tools/*.mk:  Use common library name libxx.a, regardless of which libc++ library is selected.
2019-12-31 10:28:48 -06:00
Masayuki Ishikawa
e33fc3dc89 Squashed commit of the following:
Author: Gregory Nutt <gnutt@nuttx.org>

    Run all .c and .h modified in PR through nxstyle.

Author: Masayuki Ishikawa <masayuki.ishikawa@gmail.com>

    feature k210 (#16)

    * arch: risc-v: Add support for __LP64__ to types.h
    * arch: risc-v: Add support for RV64GC to common files
    * arch: risc-v: Add support for Kendryte K210 processor (RV64GC)
    * boards: risk-v: Add support for Sipeed Maix Bit with K210
    * tools: Add support for Kendryte K210 processor
2019-12-31 09:06:20 -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
Xinhe Zhou
25b788a9ed fs/vfs/fs_open.c: Fix error in nx_vopen() function. 'va_start' is used in function with fixed args. 'va_start'/'va_end' should not be used in nx_vopen function, because it has fixed arguments. 2019-12-14 07:38:36 -06:00
Gregory Nutt
10b8c01abf tools/Makefile.unix: Fix a logic error in 3e4450e237. 2019-12-13 12:43:44 -06:00
Gregory Nutt
3e4450e237 tools/Makefile.unix and .win: Back out part of 1c91aec6ae (tools/ and fs/procfs: Simplify .version file generation). That change breaks the build if not in a git clone. noted by Nathan Hartman. 2019-12-13 12:34:17 -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
Nathan Hartman
9655730ef8 Fix various typos and spelling errors. 2019-12-12 07:41:51 -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
504b0e8b5b drivers/wireless: Run all wireless drivers through tools/nxstyle, correcting as many complaints as possible. 2019-12-05 11:49:12 -06:00
Gregory Nutt
f109c5b99c Numerous changes to last PR to conform to the NuttX coding standard. 2019-12-03 16:46:12 -06:00
Alin Jerpelea
338bc46f5e Merged in alinjerpelea/nuttx (pull request #1088)
add mkspk tool for cxd56 devices

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-12-03 22:17:31 +00:00
Gregory Nutt
d87295f328 tools/Directories.mk, Makefile.*: Extend the clean_context target so that it will remove the autogenerated files created during the context phase of the initial build. 2019-12-03 06:38:53 -06:00
Gregory Nutt
d2af57169b tools/nxstyle.c: Fix a rare false alarm that could occur if a variable or function name begins with the sub-string 'union' or 'struct'. misc fixes under fs/ and sched/ from application of current version of nxstyle. 2019-12-01 13:01:16 -06:00
Gregory Nutt
91d04837e9 tools/nxstyle.c: Eliminate some false alarms related to comments to the right of code about alignment and spacing. 2019-12-01 11:37:30 -06:00
Gregory Nutt
6b66ac0e04 Some minor changes from review of last PR. 2019-11-28 14:45:16 -06:00
Masayuki Ishikawa
7a8e9581ca Merged in masayuki2009/nuttx.nuttx/hifive1-qemu (pull request #1078)
HiFive1 with qemu

* arch: risc-v: Add include/.gitignore

* arch: risc-v: Add src/.gitignore

* arch: risc-v: Remove uncommon function prototypes in include/irq.h

* arch: risc-v: Add missing symbols and function prototypes in src/common/up_internal.h

* arch: risc-v: Add src/common/up_modifyreg32.c

* arch: risc-v: Enable include Make.dep in src/Makefile

* arch: risc-v: Fix stack coloration in common/up_createstack.c

* arch: risc-v: Add common/up_puts.c

* arch: risc-v: Add common/up_checkstack.c

* arch: rv32im: Move all logics from up_dumpstate.c to up_assert.c

    This change is same as other architectures like arm/src/armv7-m

* arch: Select ARCH_HAVE_STACKCHECK for RISC-V in Kconfig

* arch: risc-v: Add SiFive fe310 processor

    NOTE: Currently only tested with qemu

* boards: hifive1-revb: Add SiFive hifive1-revb board

    NOTE: Currently only tested with qemu

* tools: Add fe310 processor to configure.sh

Approved-by: Alan Carvalho de Assis <acassis@gmail.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-11-28 20:37:24 +00:00
Matias N
1a56fefb9f tools/configure.sh and configure.c: Debug option now also shows make olddefconfig output. 2019-11-23 14:47:59 -06:00
Gregory Nutt
8bc55d4396 tools/nxstyle.c: Trivial improvement to preceding change to allow white space separation. 2019-11-19 11:43:20 -06:00
Gregory Nutt
f3c2022b4e tools/nxstyle: Fix false alarm 'Garbage follows right bracket' on named structures that are fields of other structures or unions. 2019-11-19 11:32:57 -06:00
Gregory Nutt
a9ef2b4208 tools/nxstyle.c: Eliminate false positive 'Invalid character after asterisk in comment block'. 2019-11-09 12:10:43 -06:00
Matias Nitsche
e118d99bf5 drivers/power/pm: Historically, the NuttX PM subsystem has consisted of two functional components: (1) an "Upper" part that detects state changes based on a random walk driven by activity levels, and (2) and "lower" part that implementst the state changes.
This change decouples that upper activity-based logic from the lower random walk logic and allows use of other upper state detection logic (such as a custom, application-specific state machine).
2019-11-09 09:09:33 -06:00
Gregory Nutt
2ab4d635b4 tools/nxstyle.c: Correct detection of missing blank line following a block comment. 2019-11-09 08:15:12 -06:00
Guiding Li
8b92305265 This commit brings in the drivers needed to support OpenAMP. These changes were ported from https://github.com/FishsemiCode/nuttx. The current state: Most drivers do now compile but are not yet verfied.
This port was effort of a number of people, I rather arbitrarily gave authorship to Guiding Li because he has the largest number of fundamental quashed commits from the Xiamoi repository.

Squashed commit of the following:

Author: Xiang Xiao <xiaoxiang@pinecone.net>
    include/nuttx/b2c.h and libx/libc/string:  Add non-standard string functions to deal with cases where there are more than 8-bits in a type char.

Author: Gregory Nutt <gnutt@nuttx.org>
    Fix several build issues/missing definitiona needed for OpenAMP build in drivers/.
    Add OpenAMP code has been reviewed and ran through tools/nxstyle (with all reports accounted for).

Author: Xiang Xiao <xiaoxiang@xiaomi.com>
    tools/:  Fix the minor issue in Makefile

Author: Gregory Nutt <gnutt@nuttx.org>
    drivers/rptun/rptun.c:  Review for coding standard.  Run against tools/nxstyle.
    tools/LibTargets.mk:  Fix some TABs that were turned into spaces by a copy-paste.
    fs/hostfs:  Add configure and build support for hostfs RPC.
    drivers/timer:  Add configure and build support for syslog RTC.
    drivers/syslog:  Add configure and build support for syslog RPC.
    drivers/serial:  Add configure and build support for serial RPC.
    Kconfig, tools/*.mk. openamp/:  Add basic OpenAMP build support.
    drivers/rptun:  Add configure and build support for OpenAMP tunnel drivers.
    drivers/net:  Update Make.defs and Kconfig for OpenSDA support.
    Remove drivers/clk/clk-rpmsg.c drivers/power/rpmsg_regulator.c.  These depend on upstreaming support for a new subsystem based on the clk/regulator is model from Linux.  Removed because we want to separate the activities.  We will just try to get the basic OpenAMP support in place for now.
    Remove drivers/misc/misc_rpmsg.c and include/nuttx/misc/misc_rpmsg.h.  These are specific to the Xiaomi application.

Author: zhuyanlin <zhuyanlin@pinecone.net>
    This commit brings in the OpenAMP OS driver/RPC components from https://github.com/FishsemiCode/nuttx.  Initial commit is source files only.  Additional changes to Kconfig and Make.defs files still needed.

Author: Jianli Dong <dongjianli@pinecone.net>
    This commit brings in the OpenAMP OS driver/RPC components from https://github.com/FishsemiCode/nuttx.  Initial commit is source files only.  Additional changes to Kconfig and Make.defs files still needed.

Author: Guiding Li <liguiding@pinecone.net>
    This commit brings in the OpenAMP OS driver/RPC components from https://github.com/FishsemiCode/nuttx.  Initial commit is source files only.  Additional changes to Kconfig and Make.defs files still needed.
2019-11-02 11:30:33 -06:00
Gregory Nutt
ad9dc2b608 tools/nxstyle.c: Eliminate false alarms when checking for alignment of comments to the right of code. Fix check for C++ style comments so that strings like http:// and https:// do not generate false alarms. 2019-10-27 11:45:33 -06:00
Gregory Nutt
a4997d6a2c tools/nxstyle.c: Eliminate false alarm errors on comments that are to the right of code when the comment terminator is on the same line as the last of the comment. 2019-10-25 12:34:42 -06:00
Gregory Nutt
b5111d2c38 tools/nxstyle.c: Add logic to detect if there is a blank line following the final right brace. sched/: Applied the modified nxstyle to all C file as a test. 2019-10-24 11:02:42 -06:00
Gregory Nutt
005a8a606f tools/nxstyle.c: Add detection of carriage returns. Improve reporting of TABs. 2019-10-23 12:49:27 -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
2a271a5d62 tools/LibTargets.mk: Make libapps.a by the default target. 2019-10-17 11:37:44 -06:00
Anjana
fae7e63479 We have ported NuttX on Renesas RX65N Micro-controller. This port includes following interfaces
1. Serial (UART) driver (13 ports)
2. Ethernet driver

This port is provided on two boards
1. RSK RX65N-2MB
2. GR-Rose

The port is built on Cygwin environment.

As part of this port, we have created two documents
1. Readme.txt for each board
2. User manual to provide information about development environment setup
Both these documents are placed under
1. /boards/renesas/rx65n/rx65n-grrose
2. /boards/renesas/rx65n/rx65n-rsk2mb

We have run 'nxstyle' for coding guidelines and 'ostest' for testing NuttX features on test platform.
We have shared the log with no errors as confirmation of valid port.
2019-10-11 23:36:57 +08:00
Christian Clauss
3a28d2e6f7 Merged in chrisclauss/nuttx/Christian-Clauss/old-style-exceptions-new-style-for-pyth-1569067472774 (pull request #1036)
Old style exceptions --> new style for Python 3

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-10-08 16:28:53 +00:00
Bernd Walter
626c28dc30 tools/mkromfsimg.sh: Use sed to add const to ROMFS declarations so that they like in FLASH not RAM. 2019-10-07 21:52:55 -06:00
Xiang Xiao
8ffa77b167 tools/mkexport.sh: Should export full content for flat build even with CONFIG_BUILD_LOADABLE. 2019-10-03 14:08:32 -06:00
Gregory Nutt
8471da9dec tools/Config.mk: Update comments to indicate how to use the single-file compilation options. 2019-10-03 08:23:22 -06:00
Gregory Nutt
312a8c6851 tools/testbuild.sh: Reapply edb19474bc, it was an error to revert it. The cause of the problem appears to be elsewhere. 2019-10-03 08:03:30 -06:00
Gregory Nutt
a5fecf88dc Revert "tools/testbuild.sh: Use CPU option on 'make distclean' too, but not 'make olddefconfig."
This reverts commit edb19474bc.
2019-10-03 07:55:54 -06:00
Gregory Nutt
4c8854b3c6 tools/testbuild.sh: Remove a spurious semicolon that was causing some errors. 2019-10-03 07:52:16 -06:00
Xiang Xiao
37ef3c1cbc tools/Config.mk: Support the ability to change the CFLAGS for the compilation of a single file. Set special compiler options as follows the rule:
sourcefile + fixed suffix "_[A|C|CPP|CXX]FLAGS"

apps/examples/hello/Makefile:
  $(SRCDIR)/hello_main.c_CFLAGS = -DTEST
2019-10-03 06:49:17 -06:00
Gregory Nutt
edb19474bc tools/testbuild.sh: Use CPU option on 'make distclean' too, but not 'make olddefconfig. 2019-10-02 17:26:12 -06:00
Gregory Nutt
6371b4915c tools/testbuild.sh: Add an option to select the number of CPUs to use with 'make' 2019-10-02 17:11:33 -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
Xiang Xiao
c8cb2fe492 tools/mkexport.sh: Copy the essential build script files too and move Make.defs/gnu-elf.ld into scripts like board folder layout. 2019-10-01 07:54:11 -06:00
Gregory Nutt
e8542c844c tools/README.txt: Update to show new usage of mksymtab. 2019-09-30 13:46:33 -06:00
Gregory Nutt
0671ced130 tools/mksymtab.c: Fix a typo help introduced in last commit. Show default values. 2019-09-30 12:59:34 -06:00
Gregory Nutt
ba51027449 tools/mksymtab.c: Clean up syntax of help text. 2019-09-30 08:59:21 -06:00
Gregory Nutt
0cdc208b2c tools/Makefile.host: Add missing binaries from clean target 2019-09-30 08:29:38 -06:00
Xiang Xiao
0efd3e2e7f tools/Directories.mk: Remove FSDIRS/NOFSDIRS related logic/comments since the file system can no longer be disabled now. 2019-09-30 07:11:26 -06:00
Xiang Xiao
5f37226b6d tools/ Make fragments: Fix the various minor issue for NUTTXLIBS/USERLIBS
1. Remove libcxx duplication in FlatLibs.mk and from kernel space
2. Remove libpass1 from KernelLibs.mk since kernel build doesn't support the two pass mode
3. Remove FSDIR related comment since file system cannot be disabled now
2019-09-30 07:03:55 -06:00
Xiang Xiao
d4ca483edc tools/Makefile.unix: Make COMMON_DIR work with CONFIG_ARCH_BOARD_CUSTOM. 2019-09-30 06:49:20 -06:00
Nathan Hartman
46aaec7ba0 Fix minor typos in docs and comments. 2019-09-29 12:52:20 -06:00
Xiang Xiao
8e74365b96 ibs/libc, libs/symtab, tools/ build system: Move symbol table generation into libc since the address in symbol table should come from userspace binary for protect build, not kernel binary. 2019-09-28 11:14:48 -06:00
Xiang Xiao
4d7dac47f9 libs/symtab/Makefile and tools/mksymtab.c: Ensure that the generated symbol table name same as the configuration option. 2019-09-28 11:02:53 -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
Nathan Hartman
a83a609af9 Direct users to our kconfig-frontends snapshot instead of upstream.
It appears Yann Morin's kconfig-frontends project has gone offline and
the website at http://ymorin.is-a-geek.org/projects/kconfig-frontends
is not responding. Until we can identify a "proper" upstream project,
use the snapshot in NuttX tools repository.

Replace (almost) all links to Yann Morin's kconfig-frontends in the
docs to point to the NuttX tools snapshot instead, with the following
exceptions:

    nuttx/Changelog for version 6.17, 2012-04-14: Leave this historical
    information intact.

    nuttx/README.txt: Document the source of our snapshot.
2019-09-24 09:52:09 -06:00
David Alessio
500739de3a Merged in david_alessio/nuttx/bugfix/gitrev-portability (pull request #1035)
fix portability issue with date, hostname

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-20 16:46:04 +00:00
anchao
03ad77f45c tools/configure.sh and configure.c: Do not remove CONFIG_SIM_M32 if host is specified. 2019-09-19 18:27:22 -06:00
Juha Niskanen
ebc6f51641 Fix some typos 2019-09-17 10:46:23 -06:00
Gregory Nutt
ecb0b15fd0 libs/libc/math/Kconfig: Should select the NuttX float.h file automatically if the NuttX math library is selected. 2019-09-16 13:29:47 -06:00
Xiang Xiao
ba436b9434 tools/Makefile.unix: Fix build error when issue 'make -B'. mkdir: cannot create directory 'staging': File exists: tools/Makefile.unix:269: recipe for target 'staging' failed' 2019-09-16 07:41:25 -06:00
Xiang Xiao
bf3ffddf2f tools/configure.*: Add -s option to skip .config/Make.defs existence check. 2019-09-16 07:38:29 -06:00
Gregory Nutt
03fc3a2218 Fix a typo I introducted in the last commit. My bad. 2019-09-15 11:14:47 -06:00
Xiang Xiao
bf84868360 tools/Config.mk and Makefile.unix: Support the incremental build for configuration change. 2019-09-15 10:56:26 -06:00
anchao
7ce51e66b9 tools/Config.mk: Eliminate use of the built-in implicit rules. 2019-09-15 08:48:25 -06:00
Nathan Hartman
366053e464 Fix typos, 1 in a #define, others in comments. This changes one definition: _MQ_TIMEDRECIEVE is changed to _MQ_TIMEDRECEIVE. It appears this symbol is not used anywhere. 2019-09-11 08:56:56 -06:00
Pavel Pisa
f9e9f228cb tools/mkexport.sh: export LDSCRIPT and STRIP definition and align with Makefile.export. 2019-09-10 07:14:38 -06:00
Gregory Nutt
5707d01cc3 tools/version.h and Makefile.unix: Minor improvement to previous commit: Permit custom version strings that do not derive from the major and minor version number 2019-09-07 09:14:21 -06:00
Gregory Nutt
d07666c85b tools/Makefile.unix: Rethink creation of new .version file with GIT information. Cannot use 'sed -i' in its current form because that does not work on macOS, FreeBSD, or NetBSD. 2019-09-07 08:44:16 -06:00
Gregory Nutt
0b64e79736 tools/Makefile.win: Change of 8883623d07 needs to be applied to Makefile.win too. 2019-09-04 18:58:52 -06:00
jjlange
8883623d07 Merged in jjlange/nuttx/makefile_updates (pull request #1028)
Makefile updates

* Save CONFIG_ARCH_BOARD_CUSTOM when running 'make savedefconfig'

* Only use PCLKSEL0 for ADC on LPC176x family.

* Made grep search expression more specific.

* Added missing '=' to second grep

* Revert "Only use PCLKSEL0 for ADC on LPC176x family."

    This reverts commit 835b5e9d6fcbea02cb0203c063b0e121fa57ba9e.

* Revert "Added missing '=' to second grep"

    This reverts commit 38b51f0c6d9612de755c102a53846ca7488cdf14.

* Added a missing '=' in the second grep statement

* When linking $(ARCH_SRC)/drivers, print what is actually happening

* Save CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH when running "make savedefconfig"

* Revert changes to lines 607-608 related to CONFIG_ARCH_BOARD_CUSTOM

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-09-05 00:48:51 +00:00
Nathan Hartman
ce8fb54d07 Fix various typos 2019-09-03 17:00:22 -06:00
Gregory Nutt
89096d0fc7 tools/Makefile.win: Port changes of commit 3ed844640d to Makefile.win. Untested because I don't have a Windows native build platform setup. There have been a log of changes to the build system lately do to directory re-organization so likely the native build is broken. Certainly tools/configure.bat should be replaces with tools/configure.c. 2019-08-30 09:28:47 -06:00
Pavel Pisa
f1b2155efc tools/Makefile.* and tools/mkexport.sh: This change allows to export builtin applications registry into temporarily created directory where export archive content is prepared. If the Makefile in apps directory does not define export: target then error is print but export continues without interruption. It would be more logical to print warning but there is no way instruct apps make to not print error. 2019-08-30 07:19:15 -06:00
Pavel Pisa
316aafc04d tools/mkexport.sh: The export of gnu-elf.ld at least is required to build ELF loadable binaries. Option to link system into different memory locations (boot, application after boot-loader, RAM) without need to rebuild/reexport NuttX is useful as well. 2019-08-28 07:49:57 -06:00
Pavel Pisa
00039b7c2e tools/mkexport.sh: Export all variables to support architecture independent build against NSH. 2019-08-28 07:35:44 -06:00
Gregory Nutt
28b13e4ba1 tools/Makefile.unix: Simplify dependencies. 2019-08-26 12:56:54 -06:00
Gregory Nutt
4710ec1e77 tools/Makefile.unix: Remove some unnecessary conditional logic. 2019-08-26 11:19:39 -06:00
Gregory Nutt
8b62bc96f5 Updates from review and testing of commit a0867a7f4f. 2019-08-26 09:46:05 -06:00
David Alessio
a0867a7f4f Merged in david_alessio/nuttx/feature/add-git-revision (pull request #1020)
report git info on /proc/gitrev

* report git info on /proc/gitrev

    git info reported: branch, version, git hash, hostname, usr, build date

* use existing .version and procfs for git info

* reduce script's coupling

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-26 15:09:33 +00:00
Gregory Nutt
65aabe3048 libs/symtab: move symtab/ to libs/symtab. Let's no clutter up the top level directory. Shorten CONFIG_EXECFUNCS_GENERATE_SYSTEM_SYSTAB to just CONFIG_EXECFUNCS_SYSTEM_SYMTAB. Some items in syscall/syscall.csv are only valid when CONFIG_LIB_SYSCALL is defined. That is always defined when really building the syatem calls, but causes errors in libs/symtab because they are not valid in the normal, FLAT build context. 2019-08-25 19:28:04 -06:00
Gregory Nutt
e4c333820a tools/refresh.sh: Fix some remaining breakage from the boards/ directory reorganization; boards/arm/s32k1xx: Add CONFIG_NSH_ARCHINIT=y to all NSH configurations. 2019-08-24 08:43:46 -06:00
Nathan Hartman
f7e3a82ecd tools/Makefile.unix: tools/Makefile.unix. 2019-08-23 13:23:31 -06:00
David Sidrane
6d42574619 Merged in david_s5/nuttx/master_fix_relitive_build (pull request #1017)
Fixed CONFIG_ARCH_BOARD_CUSTOM based builds

Essentially reverts Added a missing '=' in the second grep statement

	it was not missing it was deliberately not  in the second grep

	Adding a '=' in the second grep statement caused the "children"
	of CONFIG_ARCH_BOARD_CUSTOM;

	namely:
		CONFIG_ARCH_BOARD_CUSTOM_DIR
		CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH
		CONFIG_ARCH_BOARD_CUSTOM_NAME

	to be lost on a savedefconfig
	To see the issue run make oldconfig; make savedefconfig; make oldconfig

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-22 12:01:26 +00:00
Alin Jerpelea
3ed844640d Merged in alinjerpelea/nuttx (pull request #1015)
tools: unix: add support for common board folder

* tools: unix: add support for common board folder

    this patch adds support for a common board folder and simplifies the code
    and maintenance on boards that share the same code

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

* cxd56xx: migration to a common folder

    This is the first platform to be migrated to the new common folder
    structure.

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-21 17:25:16 +00:00
Alin Jerpelea
c6355f58d6 Merged in alinjerpelea/nuttx (pull request #1014)
boards: add stub drivers folder for later use

* boards: add stub drivers folder for later use

    The board/drivers folder is added for future use.

    In this folder we should place drives that are platform specific and
    depend on HW that is present only on a specific platform.

    NOTE: All shared drivers should go to the regular driver folder
    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* tools: shift BOARD_DIR one level up

    In preparation for drivers and common folders we are moving the
    BOARD_DIR path up one level.

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

* tools: add drivers/platform symlink

    Link the boards/<arch>/<chip>/drivers dir to drivers/platform

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

* drivers: add platform specifc drivers extension

    There are platforms that use specific drivers and we should be able to
    include those drivers in the build

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

* board: cxd56xx: drivers: add AK09912 driver for SCU

    This is a platform specific driver connected on the SCU unit.

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-21 13:39:29 +00:00
jjlange
d88cefee85 Merged in jjlange/nuttx (pull request #1006)
Added a missing '=' in the second grep statement

* Save CONFIG_ARCH_BOARD_CUSTOM when running 'make savedefconfig'

* Only use PCLKSEL0 for ADC on LPC176x family.

* Made grep search expression more specific.

* Added missing '=' to second grep

* Revert "Only use PCLKSEL0 for ADC on LPC176x family."

    This reverts commit 835b5e9d6fcbea02cb0203c063b0e121fa57ba9e.

* Revert "Added missing '=' to second grep"

    This reverts commit 38b51f0c6d9612de755c102a53846ca7488cdf14.

* Added a missing '=' in the second grep statement

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-19 19:49:55 +00:00
jjlange
6077591079 Merged in jjlange/nuttx/makefile_update (pull request #1005)
Save CONFIG_ARCH_BOARD_CUSTOM when running 'make savedefconfig'

* Save CONFIG_ARCH_BOARD_CUSTOM when running 'make savedefconfig'

* Made grep search expression more specific.

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-19 18:15:23 +00:00
Nathan Hartman
985dea60a1 Fix some typos in README.txt files. 2019-08-19 11:30:12 -06:00
Gregory Nutt
2a228e8650 Fleshs out a few more things needed to compile and build the S32K118EVB board configuration.
Squashed commit of the following:

    arch/arm/include:  Add interrupt IRQ numbers.
    tools/: Add support for the S32K1XX family.
2019-08-14 10:57:54 -06:00
Pavel Pisa
380198c985 symtab/, tools/: NuttX provides lists of available syscalls and library functions and tools to process them. The lists can be used to build symbol table which allows runtime program loading which can reuse functions already compiled into NuttX system image. List processing, compilation and linking to the final system image has been possible only under manual control until now.
Provided changes add option (CONFIG_EXECFUNCS_GENERATE_SYSTEM_SYMTAB) to build complete list of available functions and syscalls automatically.  The symbolic table is generated in form libsymtab.a which can be reused by application or directly pull in when "g_symtab" and "g_nsymbols" variables are requested by EXECFUNCS configuration.

I have tried to follow mechanisms for library compilation in different kernel protection modes but tested only flat no-MMU build. The basic assumption is that this library and libraries providing syscall stubs and C-library functions are available in user-space context and initial application (usually NSH) registers the symbol table through IOCTL.  The table can be reused then by another applications in their address space as kernel allows. Simple for flat or protected mode, I am not sure if really support in MMU mode. It is highly probable that I have made some mistake, overlooked something, but functionality is optional (should not cause troubles in any mode if disabled) and main purpose is to lower memory overhead when more applications are loaded on memory constrained system which usually use direct kernel calling without protection or address space separation. If the table should be provided by kernel to applications then makefiles has to be adjusted.
2019-08-13 09:09:43 -06:00
Manuel Stühn
5585cc421c Merged in manuelstuehn/nuttx/feature/bsd-portable (pull request #975)
change all occurences of /bin/(ba)sh to /usr/bin/env bash which appears more portable

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 15:57:26 +00:00
Gregory Nutt
f75fba05e7 tools/testbuild.sh: Remove some recently introduced echo's that clutter the build test output 2019-08-08 12:37:37 -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
4635e238c7 tools/testbuld.sh: Fix a copy/paste error 2019-08-07 17:56:32 -06:00
Gregory Nutt
4b6f634a90 tools/: Update and verify all configuration related tools with new, boards directory layout. 2019-08-07 17:25:54 -06:00
Gregory Nutt
c840ac2496 arch/sim: Even though the simulation has no chips, it needs to have CONFIG_ARCH_CHIP and chip sub-directories. Otherwise, we would have to treat it as a special case in the build system. 2019-08-07 16:05:00 -06:00
Gregory Nutt
8ecb72ded6 Add defconfig files must include CONFIG_ARCH_CHIP= to break and chicken-and-egg problem. 2019-08-07 15:37:35 -06:00
Alin Jerpelea
1358e829ad Merged in alinjerpelea/nuttx (pull request #967)
group boards based on chip

* a1x: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* am335x: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* c5471: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* scx56xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* dm320: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* efm32: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* imx6: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* imxrt: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* kinetis: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* kl: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* lc823450: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* lpc17xx_40xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* lpc214x: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* lpc2378: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* lpc31xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* lpc43xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* lpc54xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* max326xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* moxart: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* nrf52: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* nuc1xx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* sam34: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* sama5: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* samd2l2: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* samd5e5: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* samv7: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* stm32f0l0g0: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* stm32f7: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* stm32h7: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* stm32l4: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* stm32: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* str71x: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* tiva: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* tms570: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* xmc4: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* p112: typo fix

    this boars is a z80 board and was moved to the wrong arch

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

* avr: at32uc3: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* avr: at90usb: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* avr: atmega: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* hc: mcs92s12ne64: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* mips: pic32mx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* mips: pic32mz: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* misoc: lm32: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* or1k: mor1kx: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* renesas: m32262f8: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* renesas: sh7032: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* risk-v: gap8: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* risk-v: nr5m100: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* sim: sim: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* x86: qemu: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* xtensa: esp32: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* z16: z16f2811: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* z80: ez80: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* z80: z180: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* z80: z80: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* z80: z8: group boards based on chip

    All boards based on the same chip are moved to the same folder

    following the arch layout <arch>/<chip>/<board>.

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

* tools: update tools for boards based on chip

    This patch updates only the linux tools

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

* pcduino-a10: defconfig update

    add ARCH_CHIP to defconfig

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

* beaglebone-black: defconfig update

    add ARCH_CHIP to defconfig

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

* c5471evm: defconfig update

    add ARCH_CHIP to defconfig

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

* spresense: defconfig update

    add ARCH_CHIP to defconfig

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

* ntosd-dm320: defconfig update

    add ARCH_CHIP to defconfig

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

* efm32-g8xx-stk: defconfig update

    add ARCH_CHIP to defconfig

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

* efm32gg-stk3700: defconfig update

    add ARCH_CHIP to defconfig

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

* olimex-efm32g880f128-stk: defconfig update

    add ARCH_CHIP to defconfig

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

* sabre-6quad: defconfig update

    add ARCH_CHIP to defconfig

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

* imxrt1050-evk: defconfig update

    add ARCH_CHIP to defconfig

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

* imxrt1060-evk: defconfig update

    add ARCH_CHIP to defconfig

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

* freedom-k28f: defconfig update

    add ARCH_CHIP to defconfig

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

* freedom-k64f: defconfig update

    add ARCH_CHIP to defconfig

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

* freedom-k66f: defconfig update

    add ARCH_CHIP to defconfig

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

* kwikstik-k40: defconfig update

    add ARCH_CHIP to defconfig

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

* teensy-3.x: defconfig update

    add ARCH_CHIP to defconfig

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

* twr-k60n512: defconfig update

    add ARCH_CHIP to defconfig

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

* twr-k64f120m: defconfig update

    add ARCH_CHIP to defconfig

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

* freedom-kl25z: defconfig update

    add ARCH_CHIP to defconfig

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

* freedom-kl26z: defconfig update

    add ARCH_CHIP to defconfig

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

* teensy-lc: defconfig update

    add ARCH_CHIP to defconfig

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

* lc823450: defconfig update

    add ARCH_CHIP to defconfig

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

* lincoln60: defconfig update

    add ARCH_CHIP to defconfig

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

* lpc4088-devkit: defconfig update

    add ARCH_CHIP to defconfig

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

* lpc4088-quickstart: defconfig update

    add ARCH_CHIP to defconfig

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

* lpcxpresso-lpc1768: defconfig update

    add ARCH_CHIP to defconfig

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

* mbed: defconfig update

    add ARCH_CHIP to defconfig

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

* mcb1700: defconfig update

    add ARCH_CHIP to defconfig

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

* olimex-lpc1766stk: defconfig update

    add ARCH_CHIP to defconfig

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

* open1788: defconfig update

    add ARCH_CHIP to defconfig

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

* pnev5180b: defconfig update

    add ARCH_CHIP to defconfig

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

* u-blox-c027: defconfig update

    add ARCH_CHIP to defconfig

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

* zkit-arm-1769: defconfig update

    add ARCH_CHIP to defconfig

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

* mcu123-lpc214x: defconfig update

    add ARCH_CHIP to defconfig

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

* zp214xpa: defconfig update

    add ARCH_CHIP to defconfig

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

* olimex-lpc2378: defconfig update

    add ARCH_CHIP to defconfig

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

* ea3131: defconfig update

    add ARCH_CHIP to defconfig

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

* ea3152: defconfig update

    add ARCH_CHIP to defconfig

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

* olimex-lpc-h3131: defconfig update

    add ARCH_CHIP to defconfig

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

* bambino-200e: defconfig update

    add ARCH_CHIP to defconfig

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

* lpc4330-xplorer: defconfig update

    add ARCH_CHIP to defconfig

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

* lpc4337-ws: defconfig update

    add ARCH_CHIP to defconfig

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

* lpc4337-evb: defconfig update

    add ARCH_CHIP to defconfig

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

* lpc4370-link2: defconfig update

    add ARCH_CHIP to defconfig

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

* lpcxpresso-lpc54628: defconfig update

    add ARCH_CHIP to defconfig

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

* max32660-evsys: defconfig update

    add ARCH_CHIP to defconfig

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

* moxa: defconfig update

    add ARCH_CHIP to defconfig

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

* nrf52-generic: defconfig update

    add ARCH_CHIP to defconfig

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

* nutiny-nuc120: defconfig update

    add ARCH_CHIP to defconfig

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

* arduino-due: defconfig update

    add ARCH_CHIP to defconfig

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

* flipnclick-sam3x: defconfig update

    add ARCH_CHIP to defconfig

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

* sam3u-ek: defconfig update

    add ARCH_CHIP to defconfig

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

* sam4cmp-db: defconfig update

    add ARCH_CHIP to defconfig

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

* sam4e-ek: defconfig update

    add ARCH_CHIP to defconfig

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

* sam4l-xplained: defconfig update

    add ARCH_CHIP to defconfig

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

* sam4s-xplained: defconfig update

    add ARCH_CHIP to defconfig

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

* sam4s-xplained-pro: defconfig update

    add ARCH_CHIP to defconfig

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

* sama5d2-xult: defconfig update

    add ARCH_CHIP to defconfig

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

* sama5d3-xplained: defconfig update

    add ARCH_CHIP to defconfig

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

* sama5d3x-ek: defconfig update

    add ARCH_CHIP to defconfig

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

* sama5d4-ek: defconfig update

    add ARCH_CHIP to defconfig

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

* samd20-xplained: defconfig update

    add ARCH_CHIP to defconfig

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

* samd21-xplained: defconfig update

    add ARCH_CHIP to defconfig

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

* saml21-xplained: defconfig update

    add ARCH_CHIP to defconfig

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

* metro-m4: defconfig update

    add ARCH_CHIP to defconfig

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

* same70-xplained: defconfig update

    add ARCH_CHIP to defconfig

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

* same71-xult: defconfig update

    add ARCH_CHIP to defconfig

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

* axoloti: defconfig update

    add ARCH_CHIP to defconfig

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

* clicker2-stm32: defconfig update

    add ARCH_CHIP to defconfig

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

* cloudctrl: defconfig update

    add ARCH_CHIP to defconfig

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

* fire-stm32v2: defconfig update

    add ARCH_CHIP to defconfig

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

* hymini-stm32v: defconfig update

    add ARCH_CHIP to defconfig

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

* maple: defconfig update

    add ARCH_CHIP to defconfig

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

* mikroe-stm32f4: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-f103rb: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-f207zg: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-f302r8: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-f303re: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-f303ze: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-f334r8: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-f410rb: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-f446re: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-f4x1re: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-1152re: defconfig update

    add ARCH_CHIP to defconfig

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

* olimex-stm32-e407: defconfig update

    add ARCH_CHIP to defconfig

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

* olimex-stm32-h405: defconfig update

    add ARCH_CHIP to defconfig

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

* olimex-stm32-h407: defconfig update

    add ARCH_CHIP to defconfig

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

* olimex-stm32-p107: defconfig update

    add ARCH_CHIP to defconfig

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

* olimex-stm32-p207: defconfig update

    add ARCH_CHIP to defconfig

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

* olimex-stm32-p407: defconfig update

    add ARCH_CHIP to defconfig

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

* olimex-stm32: defconfig update

    add ARCH_CHIP to defconfig

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

* omnibusf4: defconfig update

    add ARCH_CHIP to defconfig

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

* photon: defconfig update

    add ARCH_CHIP to defconfig

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

* shenzou: defconfig update

    add ARCH_CHIP to defconfig

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

* stm3210e-eval: defconfig update

    add ARCH_CHIP to defconfig

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

* stm3220g-eval: defconfig update

    add ARCH_CHIP to defconfig

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

* stm3240g-eval: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32_tiny: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32butterfly2: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32f103-minimum: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32f334-disco: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32f3discovery: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32f411e-disco: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32f429i-disco: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32f4discovery: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32ldiscovery: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32vldiscovery: defconfig update

    add ARCH_CHIP to defconfig

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

* viewtool-stm32f107: defconfig update

    add ARCH_CHIP to defconfig

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

* b-l072z-lrwan1: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-f072rb: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-f091rc: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-f071rg: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-l073rz: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32f051-discovery: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32f072-discovery: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-144: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32f746-ws: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32f746g-disco: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32f746g-disco: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-h743zi: defconfig update

    add ARCH_CHIP to defconfig

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

* b-l475e-iot01a: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-l432kc: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-l432re: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-l476rg: defconfig update

    add ARCH_CHIP to defconfig

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

* nucleo-l496zg: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32l476-mdk: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32l476vg-disco: defconfig update

    add ARCH_CHIP to defconfig

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

* stm32l4r9ai-disco: defconfig update

    add ARCH_CHIP to defconfig

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

* olimex-strp711: defconfig update

    add ARCH_CHIP to defconfig

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

* dk-tm4c129x: defconfig update

    add ARCH_CHIP to defconfig

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

* eagle100: defconfig update

    add ARCH_CHIP to defconfig

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

* ekk-lm3s9b96: defconfig update

    add ARCH_CHIP to defconfig

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

* launchxl-cc1310: defconfig update

    add ARCH_CHIP to defconfig

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

* launchxl-cc1312r1: defconfig update

    add ARCH_CHIP to defconfig

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

* lm3s6432-s2e: defconfig update

    add ARCH_CHIP to defconfig

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

* lm3s6965-ek: defconfig update

    add ARCH_CHIP to defconfig

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

* lm3s8962-ek: defconfig update

    add ARCH_CHIP to defconfig

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

* lm4f120-launchpad: defconfig update

    add ARCH_CHIP to defconfig

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

* lm4c123g-launchpad: defconfig update

    add ARCH_CHIP to defconfig

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

* lm4c1294-launchpad: defconfig update

    add ARCH_CHIP to defconfig

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

* launchxl-tms57004: defconfig update

    add ARCH_CHIP to defconfig

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

* tms570ls31x-usb-kit: defconfig update

    add ARCH_CHIP to defconfig

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

* xmc4500-relax: defconfig update

    add ARCH_CHIP to defconfig

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

* zp214xpa: typo fix

    add missing tools/oocd.sh

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-07 20:49:39 +00:00
David S. Alessio
ced0dc1e16 arch/arm/src/armv7-m: Add ARMv7-M setjmp/longjump functions. 2019-08-06 15:59:19 -06:00
Gregory Nutt
207e5072ef defconfigs: pathes assigned to CONFIG_PASS1_BUILDIR must now include the architecture. 2019-08-06 11:06:28 -06:00
Gregory Nutt
78fe3a3906 tools/configure.sh: Needs to be able to run from the tools sub-directory. 2019-08-06 10:51:39 -06:00
Gregory Nutt
d4d67ec425 tools/: Update configuration-related tools for last change to boards/ directory organization. 2019-08-06 10:39:12 -06:00
Alin Jerpelea
af28821c77 Merged in alinjerpelea/nuttx (pull request #966)
group boards by architecture

* z80: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* z16: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* xtensa: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* x86: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* sim: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* risc-v: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* renesas: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* or1k: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* misoc: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* mips: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* hc: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* avr: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* arm: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* boards: group boards by architecture

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-06 14:37:27 +00:00
Gregory Nutt
c6b5049e3e tools/configure.sh: Restore support for custom, out-of-tree configurations that was broken in a previous commit. 2019-08-06 08:36:40 -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
0de938a190 tools/configure.sh and .c: When dumping available configurations, omit the 'config/' in the path. 2019-08-05 16:55:49 -06:00
Gregory Nutt
aa49f831be tools/refresh.sh: Fix the configuratin refresh script for changes to configuration paths. 2019-08-05 10:18:07 -06:00
Gregory Nutt
e1588f6cc2 tools/testbuild.sh: Fixes needed for changes to boards/ directory structure. 2019-08-05 09:14:30 -06:00
Gregory Nutt
341cbb272b tools/configure.sh and configure.c. Update to preserve backward compatibility in usage. 2019-08-05 09:03:12 -06:00
Alin Jerpelea
31e87abd1c Merged in alinjerpelea/nuttx (pull request #964)
move board configs to configs folder

* amber: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* arduino-due: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* arduino-mega: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* avr32dev1: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* axoloti: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* b-l072z-lrwan1: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* b-l475e-iot01a: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* bambino-200e: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* beaglebone-black: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* c5471evm: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* clicker2-stm32: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* cloudctrl: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* demo9s12ne64: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* dk-tm4c129x: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* ea3131: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* ea3152: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* eagle100: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* efm32-g8xx-stk: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* efm32gg-stk3700: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* ekk-lm3s9b96: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* esp32-core: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* ez80f910200kitg: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* ez80f910200zco: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* fire-stm32v2: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* flipnclick-pic32mz: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* flipnclick-sam3x: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* freedom-k28f: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* freedom-k64f: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* freedom-k66f: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* freedom-k125z: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* freedom-k126z: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* gapuino: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* hymini-stm32v: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* imxrt1050-evk: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* imxrt1060-evk: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* kwikstik-k40: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* launchxl-cc1310: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* launchxl-cc1312r1: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* launchxl-tms57004: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lc823450-xgevk: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lincoln60: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lm3s6432-s2e: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lm3s6965-ek: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lm3s8962-ek: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lm4f120-launchpad: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lpc4088-devkit: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lpc4088-quickstart: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lpc4330-xplorer: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lpc4337-ws: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lpc4357-evb: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lpc4370-link2: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lpcxpresso-lpc1768: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* lpcxpresso-lpc54628: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* makerlisp: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* maple: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* max32660-evsys: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* mbed: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* mbc1700: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* mcu123-lpc214x: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* metro-m4: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* micropendous3: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* mikroe-stm32f4: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* mirtoo: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* misoc: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* moteino-mega: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* moxa: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* ne64badge: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nr5m100-nexys4: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nrf52-generic: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* ntosd-dm320: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-144: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-f072rb: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-f091rc: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-f103rb: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-f207zg: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-f302r8: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-f303re: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-f303ze: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-f334r8: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-f410rb: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-f446re: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-f4x1re: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-g071rb: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-h743zi: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-l073rz: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-l152re: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-l432kc: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-l452re: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-l476rg: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nucleo-l496zg: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* nutiny-nuc120: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* olimex-efm32g880f128-stk: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* olimex-lpc-h3131: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* olimex-lpc1766stk: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* olimex-lpc2378: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* olimex-stm32-e407: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* olimex-stm32-h405: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* olimex-stm32-h407: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* olimex-stm32-p107: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* olimex-stm32-p207: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* olimex-stm32-p407: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* olimex-strp711: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* olimexino-stm32: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* omnibusf4: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* open1788: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* or1k: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* p112: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* pcduino-a10: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* photon: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* pic32mx-starterkit: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* pic32mx7mmb: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* pic32mz-starterkit: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* pnev5180b: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* qemu-i486: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sabre-6quad: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sam3u-ek: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sam4cmp-db: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sam4e-ek: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sam4l-xplained: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sam4s-xplained: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sam4s-xplained-pro: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sama5d2-xult: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sama5d3-xplained: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sama5d3x-ek: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sama5d4-ek: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* samd20-xplained: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* samd21-xplained: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* same70-xplained: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* saml21-xplained: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* samv71-xult: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* shenzhou: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sim: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* skp16c26: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* spresense: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm3210e-eval: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm3220g-eval: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm3240g-eval: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32_tiny: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32butterfly2: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32f051-discovery: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32f072-discovery: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32f103-minimum: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32f334-disco: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32f3discovery: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32f411e-disco: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32f429i-disco: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32f4discovery: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32f746-ws: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32f746g-disco: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32f769i-disco: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32l476-mdk: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32l476vg-disco: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32l4r9ai-disco: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32ldiscovery: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* stm32vldiscovery: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* sure-pic32mx: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* teensy-2.0: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* teensy-3.x: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* teensy-lc: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* tm4c123g-launchpad: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* tm4c1294-launchpad: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* tms570ls31x-usb-kit: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* twr-k60n512: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* twr-k64f120m: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* u-blox-c027: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* ubw32: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* viewtool-stm32f107: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* us7032evb1: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* xmc4500-relax: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* z16f2800100zcog: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* z80sim: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* z8encore000zco: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* z8f64200100kit: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* zkit-arm-1769: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* zp214xpa: move board configs to configs folder

    This is a cleanup that will move all configs from the board folder to
    a board/configs folder

    NOTE:
    The configure.sh script must be used with the new path <board-name>/configs/<config-name>

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

* tools: configure.sh: adjust the script to use boards/configs folder

    Script update to pick the configs from the new configuration folder

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

* tools: configure.bat: adjust the script to use boards/configs folder

    Now we update the script to pick the configs from the new configuration folder

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-05 14:30:34 +00: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
a1c991d921 Merged in alinjerpelea/nuttx (pull request #963)
Move boards to boards folder

* boards: rename configs folder to boards

    This is the proposed layout after the change:

    boards: - folder containing board folders
            <board>: - name of each board
                    drivers: - extra drivers specific for platform
                    include: - header files for the boars
                    scripts: - extra scripts specific for platform
                        src: - board specific code
                      tools: - extra tools specific for platform
                    <config>: - board specific configuration(s)

    Note:
    <xxx> names are dependent on platform

    This is a logical change to aim to the arch layout but this is a
    huge change it should be done in several steps to lower the risk.

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

* Kconfig: replace configs with boards

    The change is needed after the path change

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

* Makefile: replace configs with boards

    The change is needed after the path change

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

* Makefile.*: replace configs with boards

    The change is needed after the path change

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

* Make.defs: replace configs with boards

    The change is needed after the path change

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

* .sh: replace configs with boards

    The change is needed after the path change

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

* .mk: replace configs with boards

    The change is needed after the path change

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

* .c & .h: replace configs with boards

    The change is needed after the path change

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

* .bat: replace configs with boards

    The change is needed after the path change

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-05 12:04:14 +00:00
Alin Jerpelea
db901120aa Merged in alinjerpelea/nuttx (pull request #950)
tools: flash_writer: license change

license update for project compliance

Signed-off-by: Jerpelea <Alin.Jerpelea@sonymobile.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-17 10:15:13 +00: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
Alin Jerpelea
a9be5eb6e7 Merged in alinjerpelea/nuttx (pull request #941)
Mastertools: add spk binary format and entry point for mpy

* tools: add spk binary format

    The .spk binary format is used on spresense and other boards
    based on the cxd56 arch.

    to enable this binary format please set in your config
    CONFIG_CXD56_BINARY=y

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

* configs: spresense: buils nuttx.spk images

    Enable nuttx.spk binary image that can be flashed on spresense board.

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

* configs: spresense: add entry point for mpy

    The entry point is needed for the downstream projects based
    on spresense.

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-07-08 12:38:21 +00:00
Gregory Nutt
dbf286472b Squashed commit of the following:
video/edid:  Add some initial EDID logic ported from FreeBSD.
    video/:  Add basic configure and build support for a video subsystem.
2019-07-07 16:40:24 -06:00
Gregory Nutt
d9767b74cd tools/mkexport.sh: The mcu sub-directory chip/ was renamed to hardware/ in late May of 2019. The mkexport.sh script that copies these files was not updated, however, until now. Noted by Alin Jerpelea. 2019-07-04 07:17:53 -06:00
Gregory Nutt
53119cd476 tools/nxstyle.c: No warning for declarations that begin in column 1 within 'extern "C"'. This is because the 'extern "C"' is conditioned on __cplusplus so the declarations are not normally indented. 2019-06-30 15:10:14 -06:00
Gregory Nutt
bde0509cae tools/nxstyle.c: Fix error in conditional logic that was preventing detection bad brace alignment. Add logic to handle alignment of braces in data initializators which following slightly different indentation rules. 2019-06-30 10:35:10 -06:00
Gregory Nutt
f6221ae2dc tools/nxstyle.c: Fix logic from commit 005a077310 for the case of header files when contain no functions. 2019-06-29 18:38:56 -06:00
Gregory Nutt
42b178fb13 tools/nxstyle.c: Bandaid-up logic that detects left brackets on the same line in global structure/enumeration types and initializers. 2019-06-29 16:19:10 -06:00
Gregory Nutt
35521ab2b6 Fix some new warnings found in build testing. 2019-06-29 13:24:38 -06:00
Gregory Nutt
005a077310 tools/nxstyle.c: Tool depends on the file under test containing "Private Functions" or "Public Functions" block comments. Emit an error is neither are present. 2019-06-29 11:43:37 -06:00
Dave Marples
dc3ead7487 tools/ocdconsole.py: OCD TCL interface changed after version 0.10 of OpenOCD. This change allows the script to work with both the older and newer TCL interface. 2019-06-18 07:01:23 -06:00
Alan Carvalho de Assis
caaf4ef398 Fix small typo on ocdconsole.py script 2019-06-15 19:52:07 -06:00
Dave Marples
a2def2a4d1 arch/arm/src/common/up_lwl_console.c: Add support for a 'Lightweight Link' protocol between a target and debugger for use when you need a console but the target doesn't have a spare serial port or other available resource. 2019-06-03 07:31:17 -06:00
Gregory Nutt
8ed0d21b73 tools/tesbuild.sh: Correct help test. 2019-03-28 12:12:15 -06:00
Gregory Nutt
04fe412414 tools/nxstyle.c: Costmetic alignment and corrections to comments. 2019-03-13 07:05:31 -06:00
Gregory Nutt
4802eb65c5 tools/nxstyle.c: Fix a bacward test in the previous commit. 2019-03-12 14:48:43 -06:00
Gregory Nutt
ba859ad302 tools/nxstyle.c: Don't complain about certain lowercase characters in otherwise uppercase pre-processor identifers: IPv6, IPv4, ICMPv6, IGMPv2, p as a decimal point, d signifying a divisor. It was a bad idea to let the door open a crack for there. While they improve readability, the inconsistently also causes other problems. 2019-03-12 14:22:52 -06:00
Gregory Nutt
f6b00e1966 tools/nxstyle.c: Fix logic error that prevent detecion of '/' and '/=' as operators. net/: Minor updates resulting from testing tools/nxstyle. 2019-03-11 12:48:39 -06:00
Gregory Nutt
aa4f7c9ba7 graphics/nxmu/nxmu_start.c: Extend nxmu_start so that receives a display number as an argument. This makes it possible to have multiple instances of the NX server running on boards that support multiple displays. Also includes updates to boardctl() to accept display number paramters. 2019-03-10 13:50:05 -06:00
Gregory Nutt
f6b9fe5b14 tools/nxstyle.c: Add logic to detect a blank line following a left brace or a blank line preceding a right brace. 2019-03-10 09:53:33 -06:00
Gregory Nutt
cf0f0e69f8 tools/nxstyle.c: Was confusing hex constants with strings staring with 'x'. Added logic to complain about hex constants containing upper case characters. 2019-03-09 09:21:12 -06:00
Gregory Nutt
c8004c7e00 tools/nxstyle.c: Add capability to detect CamelCase identifiers. 2019-03-05 13:08:57 -06:00
Alan Carvalho de Assis
7133f89cc2 tools/Makefile.unix, .win, and all defconfig files: Modify tools/Makefiles to add warning on defconfig files 2019-03-03 08:31:03 -06:00
Gregory Nutt
f914ec6e2b tools/nxstyle.c: Fix logic that detects if an operator is correctly delimited with spaces. sched/: Various changes because sched/ C files were used as Guinea Pigs to test nstyle.c. 2019-03-01 10:50:02 -06:00
David Sidrane
6d0d712b9c tools/.gitignore: Ignore rmcr binary 2019-02-27 14:22:32 -06:00
Gregory Nutt
c13afc29e6 Trivial, Costmetic, ... 2019-02-27 14:02:53 -06:00
Gregory Nutt
dc8c814ca3 Squashed commit of the following:
Fixed coding standard error in several files.  Use of while( is incorrect; a space is required between while and (.  Also ran tools/nxstyle and fix thoses complaints as well in most files.

    Changes to comply with coding standard.  Mostly focused on files with missing space after keyword in if(, switch(, and for(.  Offending files also got changes to comply with tools nxstyle.  If there were logs of nxstyle complaints, the file also got a taste of tools/indent.sh.  Still need to fix occurrences of while( with missing space.  There are a lot of them.
2019-02-27 08:41:08 -06: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
Gregory Nutt
bc5908d9fd tools/nxstyle.c: Beef up logic that detects multiple variable definitions per line. 2019-02-17 10:57:28 -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
b5e6af60ac tools/nxstyle.c: Add check for multiple definitions of local variables on a line. 2019-02-14 18:33:23 -06:00
Gregory Nutt
efe65749ce Fix condition logic: The setup seems to support a network without sockets. That is not the case.
Squashed commit of the following:

    sched/sched/sched_getsockets.c:  Fix an error in conditional compilation.
    fs/:  Remove all conditional logic based on CONFIG_NSOCKET_DESCRIPTORS == 0
    Documentation/:  Remove all references to CONFIG_NSOCKET_DESCRIPTORS == 0
    include/:  Remove all conditional logic based on CONFIG_NSOCKET_DESCRIPTORS == 0
    libs/:  Remove all conditional logic based on CONFIG_NSOCKET_DESCRIPTORS == 0
    net/:  Remove all conditional logic based on CONFIG_NSOCKET_DESCRIPTORS == 0
    sched/:  Remove all conditional logic based on CONFIG_NSOCKET_DESCRIPTORS == 0
    syscall/:  Remove all conditional logic based on CONFIG_NSOCKET_DESCRIPTORS == 0
    tools/:  Fixups for CONFIG_NSOCKET_DESCRIPTORS no longer used to disable sockets.
2019-02-11 15:47:25 -06:00
Gregory Nutt
a64869aa67 CONFIG_NFILE_DESCRIPTORS=0 can no longer be used to disable the file system. NuttX with no file system does not make sense.
Squashed commit of the following:

    configs/:  The few configurations that formerly set CONFIG_NFILE_DESCRIPTORS=0 should not default, rather they should set the number of descriptors to 3.
    fs/:  Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS == 0
    tools/:  Tools updates for changes to usage of CONFIG_NFILE_DESCRIPTORS.
    syscall/:  Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS == 0
    libs/:  Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS == 0
    include/:  Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS == 0
    drivers/:  Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS == 0
    Documentation/:  Remove all references to CONFIG_NFILE_DESCRIPTORS == 0
    binfmt/:  Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS == 0
    arch/:  Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS == 0
    net/:  Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS == 0
    sched/:  Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS == 0
    sched/Kconfig:  CONFIG_NFILE_DESCRIPTORS may no longer to set to a value less than 3
    configs/:  Remove all settings for CONFIG_NFILE_DESCRIPTORS < 3
2019-02-11 12:09:26 -06:00
Gregory Nutt
3ba777bb27 include/: Correct naming of standard header file. Should be dlfcn.h, not dllfcn.h. I am surprised no one ever noticed before now. 2019-02-09 14:09:28 -06:00
Gregory Nutt
411057b59c Update README files. 2019-02-09 07:19:10 -06:00
Gregory Nutt
d280b0651f tools/nxstyle.c: Make sure that all files begin with a comment on line 1 (which should be the file header). 2019-02-08 08:30:06 -06:00
Gregory Nutt
0191117747 tools/nxstyle.c: Can not detect if the C comment closing is not on a separate line. 2019-02-08 07:59:22 -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
a1304f494a tools/lowhex.c: Fix an initialization problem that was causing some odd behavior at the beginning of lines. 2019-02-07 11:28:04 -06:00
David Sidrane
754b485ce9 tools/.gitignore: Ignore new tool binaries. 2019-01-24 06:58:26 -06:00
Gregory Nutt
a8da0e977a Addition of trivial comment 2019-01-22 13:04:02 -06:00
Gregory Nutt
b4373e21e7 tools/convert-comments.c: Fix an error in handling of a blank C++ comment before a comment block. For example, this testfile:
1
2  //
3  // Multi-line comment
4  // The second line
5

Was generating this output:

1
2
3   * Multi-line comment
4   * The second line
5   */
6

Now correctly generates:

1
2  /* Multi-line comment
3   * The second line
4   */
5
2019-01-22 10:45:06 -06:00
Alan Carvalho de Assis
7127df3e38 drivers/power/mcp73871.c: Fix MCP73871 driver to register correctly as a battery charger. The first element of a 'struct battery_charger_dev_s' should be a pointer to operations structure. 2019-01-05 11:49:18 -06:00
Gregory Nutt
d1979ace8f tools/mkconfig.c: Add definitions to distinguish between tristate 'y' and 'm' options. 2019-01-05 08:44:17 -06:00
David Sidrane
39ac045cff tools/gencromfs.c: Fix build on macOS 2018-12-26 14:35:20 -06:00
David Sidrane
7fef81ea94 gencromfs.c:1171:3: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 2018-12-13 12:40:40 -06:00
Gregory Nutt
4a501de6b1 tools/detab.c: Fix a strange (but functional) conditional test noted by Alan Carvalho de Assis. 2018-12-03 13:25:14 -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
Gregory Nutt
f9fc2131b0 tools/nxstyle.c: Add -h for help. 2018-11-19 08:05:55 -06:00
Gregory Nutt
655904f342 tools/nxstyle.c: Add logic to detect long lines. 2018-11-19 07:50:59 -06:00
Gregory Nutt
0d13cb5055 Remove deletion of Eclipse project files from make distclean target per request of David Sidrane. 2018-11-09 10:39:18 -06:00
Xiang Xiao
acb83cfc61 tools/csvparser.h: Extend MAX_PARMSIZE to 256. Fixes this issue: 70: Parameter too long: ... 2018-11-08 07:36:02 -06:00
nchao
6509a0c0ca binfmt/ and libs/libc: Make exepath_*() more common:
1. Move exepath_*() related code to libc/misc
  1. Rename exepath_ to envpath_
  2. Rename BINFMT_EXEPATH to LIB_ENVPATH

libs/libc/modlib:  Add pre module library symbol table support
2018-11-08 07:27:14 -06:00
Gregory Nutt
12a500fcb6 tools/Makefile.win/unix: staging directory (and its libraries) should be removed on 'make clean' (issue noted by Dave Marples). Also updates TODO list 2018-11-06 07:37:02 -06:00
Anatol Ivanov
e748bb8cd3 tools/Config.mk and tools/Makefile.win: Force use 'cmd' for shell with windows native build 2018-11-06 06:34:00 -06:00