Commit Graph

526 Commits

Author SHA1 Message Date
Gregory Nutt
eec44d1f01 This commit adds tools/gencromfs.c, a tool that can be used to generate CROMFS file system images.
Squashed commit of the following:

    tools/gencromfs.c:  Seems basically functional but has not has not yet been integrated with CROMFS.
    tools/gencromfs.c:  Revist previous commit.  Let's make no assumptions about the compatibility of the host system and NuttX.
    tools/gencromfs.c:  I think access mode bits are sufficiently standard that we can just copy them from the host.  This is don't mostly to pick up the executable bits and other conbinations of bits without doing a bit-for-bit decode.
    tools/gencromfs.c:  Code complete but only partially functional.
    tools/gencromfs.c:  type definitions must precede data definitions
    tools/gencromfs.c:  Adds a little more logic to gencromfs tools.  Still not complete but can traverse directories and generate directory and hard-link nodes.
    tools/gencromfs.c: Beginning of a genromfs tool that will eventually be used for generation of CROMFS file system images.
2018-03-20 07:31:13 -06:00
Gregory Nutt
947191780f tools: Trivial. define _GNU_SOURCE to be 1, don't just define it. 2018-01-30 11:08:18 -06:00
Gregory Nutt
8956a6001f tools/logparser.c: A few more minor enhancements. Also add #define _GNU_SOURCE to all C files that call asprintf() 2018-01-29 13:13:29 -06:00
Gregory Nutt
4b44a84bc9 tools/logparser.c: Fix some issues, improve output a little. 2018-01-29 11:51:43 -06:00
Gregory Nutt
fce345113f tools/logparser: Add a tool which (when it matures) will help me to convert git logs to ChangeLog format. 2018-01-29 10:50:14 -06:00
Gregory Nutt
d5dc79563c Correct another problem found in build testing. 2018-01-04 13:36:14 -06:00
Gregory Nutt
35b12f7f0f tools/cvsparser.c: Add a check to avoid access past the end of a fixed size array 2017-12-21 12:37:10 -06:00
Gregory Nutt
0649209725 configs/stm3220g-eval/ide: Remove the uVision IDE setup. This has not been used for years and it a maintenance problem for me. 2017-11-16 08:51:49 -06:00
Gregory Nutt
f41d968455 tools/configure.c: Trivial design improvement to last commit. 2017-11-10 09:39:06 -06:00
Gregory Nutt
9fefa93361 tools/configure.c: Update functionality to match last change to tools/configure.sh 2017-11-09 17:36:46 -06:00
jeditekunum
7b3fc03f65 tools/configure.sh: This commit adds a -m option for macOS. For anyone not aware, Apple renamed OSX to macOS recently; thus the 'm' instead of 'o'. This does not change the other uses of *_OSX to macOS. 2017-11-09 17:11:59 -06:00
Gregory Nutt
89f3093590 tools/: configure.sh and configure.c should redirect stdout to /dev/null but should not suppress stderr output. 2017-10-01 15:41:59 -06:00
Gregory Nutt
9eca03b9be tools/configure.sh: Another fix for the script. The last change only worked for Windows Cygwin; for Linux, it needed to remove some additional things from the defconfig file. 2017-10-01 14:24:57 -06:00
Gregory Nutt
e505df2eb5 tools/configure.c: Duplicate new functionaity added to configure.sh. 2017-10-01 12:45:29 -06:00
Gregory Nutt
13d2fe6edf tools/configure.sh: Add special support so that you can start with a a windows native configuration and install on a different host (and vice versa). 2017-10-01 11:49:17 -06:00
Jeff
25e4fb2886 tools/mkdeps.c: Eliminate a warning. MAX_PATH may already be defined in included system files. 2017-08-04 12:25:38 -06:00
Gregory Nutt
02c6672868 tools/refresh.sh: Update so that it can find the Make.defs file in the new location. 2017-07-15 08:18:56 -06:00
Gregory Nutt
1e781ec4a7 configure.c edited online with Bitbucket 2017-07-13 00:48:11 +00:00
Gregory Nutt
c9724936f5 stm32f103-minimum: Move common Make.defs to scripts sub-directory 2017-07-10 17:34:52 -06:00
Gregory Nutt
316fde135c Build System: It is no longer necessary to have a unique Make.defs file for each configuration. A board may share a common Make.defs file in the scripts directory. 2017-07-10 17:00:54 -06:00
Gregory Nutt
1bc0eea143 tools/tesbuild.sh: Fix missing $ before variable name. 2017-07-10 10:39:31 -06:00
Gregory Nutt
a49ec44427 tools/refresh.sh: Now runs make savedefconfig before copying the new defconfig file in place; Also, added a new option --defaults. Since the number of defaults that you now have to answer is so large, the option lets you just accept the default values. So it works just like --slilent but still prompts you for the decision to save or discard the new defconfig file. 2017-07-10 09:53:55 -06:00
Gregory Nutt
ef1eb97660 Update configure.sh, configure.bat, configure.c: With compressed format, part of the installation requires that we run 'make olddefconfig' to restore the uncompressed defconfig format. Also, while I was at it, I also added options to select host platform on configure command line. 2017-07-10 09:38:45 -06:00
Gregory Nutt
5a9eebe270 More conversions of defconfig files to compressed format. All but Windows native configurati9ons. 2017-07-09 20:05:59 -06:00
Gregory Nutt
c3b14f98ea tools/: Remove dangling space at the end of lines. 2017-06-28 13:56:46 -06:00
Gregory Nutt
8a4bac43a1 tool/configure will now copy Eclipse project files if they are present in the board directory file 2017-06-15 09:59:32 -06:00
Gregory Nutt
fe5b3a58e4 Update tools/configure.c to same functionality as configure.sh. Add an array of optional file names. Currently, .gdbinit is the only optional file but other things like IDE-specific project files might need to be copied as well. 2017-06-15 08:24:28 -06:00
Hidetaka Takano
d155939258 Improve configure.sh behavior (proposal).
- enable to call from top directory.
 - enable to designate direct path for config.
 - install .gdbinit if the target has.
2017-06-15 21:12:56 +09:00
David Sidrane
48fb789cf3 testbuild:Added -x to fail build on errors for CI
On CI we want to know ASAP of a failure. This adds the
   -x (exit on build failures) option to faclitate that
   behavior.

   Use ${MAKE} ${MAKE_FLAGS} for make invocation.
   When -x is provided change MAKE_FLAGS to
   --silent --no-print-directory and set -e

   Ignore exit status when using grep for checking
   for CONFIG_NXWM=y
2017-06-13 08:35:21 -10:00
Gregory Nutt
c584d27c3c Revert "Build system: Hook tools/initconfig into top-level Makefiles."
This reverts commit 430060e92e.

That commit has some unexpected side-effects
2017-06-02 16:14:27 -06:00
Gregory Nutt
2c903d5c7a Fix spelling in printf output 2017-06-02 16:12:21 -06:00
Gregory Nutt
430060e92e Build system: Hook tools/initconfig into top-level Makefiles. 2017-06-02 13:06:09 -06:00
Gregory Nutt
efbd035b56 Cosmetic changes to comments 2017-06-02 11:24:19 -06:00
Gregory Nutt
624bd0b9e9 tools/: Add initialconfig.c so that perhaps in the future we will be able to use this to generate a new configuration from scratch (rather than having to derive new configurations from existing configurations) 2017-06-02 10:17:30 -06:00
Gregory Nutt
6e4918c557 Remove CONFIG_ARM_TOOLCHAIN_GNU; replace with CONFIG_ARCH_TOOLCHAIN_GNU 2017-05-13 13:28:15 -06:00
Gregory Nutt
0de294a586 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
Gregory Nutt
2f9028b547 Remove all remaining references to setenv.h and setenv.bat. 2017-04-26 10:28:37 -06:00
Gregory Nutt
ca116647a8 tools/testbuild.sh: Add debug option (-d) 2017-03-10 13:13:30 -06:00
Gregory Nutt
9a76a6de26 kconfig2html: Need to increase the maximum number of default values 2017-03-08 12:12:55 -06:00
Gregory Nutt
97c5421c0c tools/mkconfig.c: Purely cosmetic update. 2017-02-09 17:02:19 -06:00
Gregory Nutt
d35676860b tools/mkconfig.c: Purely cosmetic update. 2017-02-09 16:29:01 -06:00
Gregory Nutt
0b4a9539be tools/mkconfig.c: Add logic to keep all of the buffering options in sync. 2017-02-09 16:17:54 -06:00
Gregory Nutt
b473516c93 tools/noteinfo.c: A hack tool that I use to analyze some sched_note output. Needs a home and may be useful to others. 2017-02-05 09:53:56 -06:00
Gregory Nutt
fcc8444ae0 Update some comments and a README file. 2017-01-18 14:19:27 -06:00
Gregory Nutt
6889171d7f Update a README 2017-01-02 14:02:20 -06:00
Gregory Nutt
a323fb91d0 tools/: Small simplication to usage 2017-01-01 15:39:24 -06:00
Gregory Nutt
34be3e7c3c Add configuration support for builds with Ubuntu under Windows 10 2017-01-01 15:34:23 -06:00
Gregory Nutt
c0cbea2550 Remove RGMP and RGMP drivers. 2016-12-02 09:49:33 -06:00
Gregory Nutt
f9a7898bd4 Clean-up some miscellaneous kruft 2016-11-28 13:24:19 -06:00
Gregory Nutt
d9a041349e Add tools/showsize.sh 2016-11-28 12:00:10 -06:00
Gregory Nutt
43c46fd34c ESP32 Core: Add a dummy Toolchain.defs. Fix some cloning errors left in the NSH configuration. 2016-10-13 14:40:43 -06:00
Gregory Nutt
3b6befcd16 tools/mkfsdata.pl was still generating the old-style apps/include inclusion paths 2016-08-23 08:01:11 -06:00
Beat Küng
c7da88e383 CXXFLAGS: add -fcheck-new whenever -fno-exceptions is used
This is to avoid GCC to optimize null-pointer checks away, in case the
default operator new is used together with -fno-exceptions.
2016-08-22 08:35:01 +02:00
Gregory Nutt
01fd4952f9 tools/sethost.sh: Fix several syntax errors 2016-08-09 13:20:20 -06:00
Gregory Nutt
189d2cf475 Update NSH document, README, and comments in a script file 2016-08-04 12:59:33 -06:00
Gregory Nutt
6be282af96 Add tools/sethost.sh. This is a script that you can use to quickly change the host platform from Linux to Windows/Cygwin. Might save you a lot of headaches. 2016-08-03 16:31:35 -06:00
Gregory Nutt
d9314c1034 LPC43xx ADC: board.h should be included last; Also, unreleated, update tools/README.txt 2016-07-30 07:05:10 -06:00
Gregory Nutt
5ddeffdef8 tools/kconfig2html.c: Update to handle absolute paths when sourcing Kconfig files. 2016-07-29 13:11:30 -06:00
Gregory Nutt
f9829db939 toos/refresh.sh: Recent complexities added to apps/ means that configuratino needs corred Make.defs file in place in order to configure properly 2016-07-28 11:58:40 -06:00
Gregory Nutt
599c7963e8 Took too much out of tools/mkconfig.c recently. 2016-06-30 13:31:40 -06:00
David Sidrane
85056eaffd Fix Spelling 2016-06-23 14:43:25 -10:00
Gregory Nutt
c4e6f50eac Centralize definitions associated with CONFIG_DEBUG_IRQ 2016-06-15 08:35:22 -06:00
Gregory Nutt
86b79b33cf Reserver the name 'err' for other purposes 2016-06-11 14:40:07 -06:00
Gregory Nutt
1cdc746726 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:14:08 -06:00
Gregory Nutt
3a74a438d9 Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO 2016-06-11 11:50:18 -06:00
Gregory Nutt
f5bddca2a2 tools/refresh.sh: Fix USAGE comments 2016-06-09 09:25:18 -06:00
Gregory Nutt
85c6263a30 tools/testbuild.sh was testing .config before configured. 2016-06-06 09:32:25 -06:00
Gregory Nutt
7fa31493c9 Update tools/tesbuild.sh 2016-06-05 13:19:41 -06:00
Gregory Nutt
f36e342f38 tools/tesbuild.sh will now build NxWM configurations 2016-06-05 12:14:34 -06:00
Gregory Nutt
5356e3d747 Since I can't (yet) get rid of the sanity checks in config.h, I suppose I should at least update the checks. 2016-05-11 11:07:00 -06:00
Gregory Nutt
b77672a049 Backout d5be40be5f. This change is logically correct but unmasks a lot of issues. Reverted for now. 2016-05-11 10:25:06 -06:00
Gregory Nutt
cf489a6083 Fix a typo in the last commit 2016-05-11 10:06:12 -06:00
Gregory Nutt
ef6edb6094 tools/mkconfig.c: Go further... remove all autogenerated sanity checks from the config.h header file 2016-05-11 10:10:14 -06:00
Gregory Nutt
d5be40be5f Remove CONFIG_FS_READABLE/WRITABLE logic from tools/mkconfig.c. This logic has been replaced with proper logic in the Kconfig files, it is out of date and an ongoing maintenance problem, and it shoulw not be necessary. 2016-05-11 10:01:43 -06:00
Gregory Nutt
78b10bdf0e tools/export.sh: If MAKE not defined use 'which make'. Update README from last change. 2016-05-06 04:49:25 -06:00
David Sidrane
aecc033131 Pass toplevel make to the script to allow -j greater than 1 2016-05-05 03:40:16 -06:00
Gregory Nutt
b909099f09 Update some README files 2016-04-10 09:12:00 -06:00
Gregory Nutt
3228d32938 Correct permmisions on executable scripts 2016-04-10 09:11:59 -06:00
Kha Vo
7d2937d481 tools: Add the IDE exported Python script for use with the IAR toolchain 2016-04-10 09:11:51 -06:00
Gregory Nutt
2902dc8c3e Restore top-level .gitignore; testbuild.sh must distinguish CONFIG_ARM_TOOLCHAIN_GNU from other symbols that begin with the same string 2016-04-10 09:11:48 -06:00
Gregory Nutt
45f57ca82a testbuild.sh: Needs to avoid disabling CONFIG_ARM_TOOLCHAIN_GNU 2016-04-10 08:51:59 -06:00
Gregory Nutt
8b848504c3 Fix all URLs to the NuttX repository 2016-04-06 18:04:06 -06:00
Gregory Nutt
751e85eade tools/: Scripts should use /bin/bash vs. /bin/sh 2016-03-28 18:18:30 -06:00
Gregory Nutt
ad01da34ad tools/Makefile.host: If the real target is kconfightml.exe, then then kconfightml target is .PHONY 2016-03-26 15:34:16 -06:00
Gregory Nutt
f16f470881 Update README.txt files 2016-03-10 17:24:48 -06:00
Gregory Nutt
fea11c002a Build system: Add 'make oldconfig' target. Use this option in tools/testbuild.sh. Add --silent option to tools/refresh.sh so that it can be run in batch without human interaction 2016-03-08 16:50:58 -06:00
Gregory Nutt
88d8a81b23 tools/testbuild.sh: kconfig-conf was silently failing because (1) it needs to execute from the top-level NuttX directory and (2) apps/Kconfig does not yet exist 2016-03-08 14:12:44 -06:00
Gregory Nutt
4a59ff34e9 Update submodules 2016-01-28 09:53:47 -06:00
Gregory Nutt
7bf1db388c Update ChangeLog 2016-01-27 08:22:44 -06:00
Gregory Nutt
4c3194f768 Fix incorrect working about 'Missing semicolon' from cnvwindeps.exe 2016-01-26 18:27:37 -06:00
Gregory Nutt
3a59eb4340 Fix romdisk_register prototype. Most ROMFS images actually lie in RAM. If moved to FLASH with const storage class, then changes are required to avoid warnings 2016-01-20 13:04:07 -06:00
Gregory Nutt
4a7896b553 tools/indent.sh: Add an option to reformat multiple files in-place 2016-01-16 12:22:54 -06:00
Gregory Nutt
5da37ba164 Fix .gitignore 2016-01-15 13:40:52 -06:00
Gregory Nutt
8138a94748 Make sure all scripts are marked as executable 2016-01-15 07:38:01 -06:00
Gregory Nutt
8a3033643e Add cnvwindeps to .gitignore 2016-01-14 16:38:47 -06:00
Gregory Nutt
aa691e6d08 tools/Makefile.host: clean target was not removing cnvwindeps program 2016-01-14 16:28:43 -06:00
Gregory Nutt
53226b608e Trivial correction of alighment 2016-01-11 17:14:34 -06:00
Gregory Nutt
42bcda4933 Trivial to typo in error message text 2016-01-11 08:10:08 -06:00
Gregory Nutt
a0c4c071ed tools/cnvwindeps.c: Omit dependency paths that include spaces 2016-01-11 08:01:42 -06:00
Gregory Nutt
586b31abc5 tools/cnvwindeps.c: Need to build this tool even on non-Cygwin platforms (either that or rethink the dependencies). 2016-01-10 13:38:41 -06:00
Gregory Nutt
61e0eb8006 Use name, not CONFIG_ settings, to determine host OS; Fix errors in help text. 2016-01-10 13:09:10 -06:00
Gregory Nutt
a6da474a69 Update ChangeLog; fix some tools/mkdeps.c compile issue in non-Cygwin environemnts 2016-01-10 13:02:51 -06:00
Gregory Nutt
65826c7f21 tools/mkdeps.c: Fix error in calculation of the length of the command 2016-01-10 11:15:30 -06:00
Gregory Nutt
76f4c2bf20 tools/mkdeps.c: Correct logic that exands paths 2016-01-10 10:16:21 -06:00
Gregory Nutt
e5c8290d5c Should use --winpath option, not the --winnative option 2016-01-10 09:25:32 -06:00
Gregory Nutt
f6718fb050 Merge remote-tracking branch 'origin/master' into windeps 2016-01-09 20:04:53 -06:00
Gregory Nutt
5ec04daaa2 Extending tools/mkdeps.c 2016-01-09 19:52:24 -06:00
Gregory Nutt
c5bcfc166d tools/mkwindeps.sh. A script that coordinates the use of cnvwindeps.exe 2016-01-09 17:27:56 -06:00
Gregory Nutt
468732e064 mkdeps.sh and mkdeps.bat have been deleted. All configurations must now use the compiler mkeps program 2016-01-09 16:07:12 -06:00
Gregory Nutt
7f041b2af4 Update README 2016-01-09 14:27:22 -06:00
Gregory Nutt
b390bd802a tools/cnvwindeps.c: Add a tool that will convert dependencies created by a Windows native toolchain for use the Cygwin make 2016-01-09 13:51:34 -06:00
Gregory Nutt
00e0ff54e8 tools/testbuild.sh: Changes needed for testing the simulator under Cygwin 2015-11-30 13:06:16 -06:00
Gregory Nutt
fc0c775b6f Extended tools/testbuild.sh to work with simulator builds which have no toolchain definition 2015-11-29 14:42:32 -06:00
Gregory Nutt
613798027e Add a button upper/lower half driver 2015-10-12 14:29:43 -06:00
Gregory Nutt
cc35c0c49d Add toosl/nxstyle.c 2015-10-08 12:48:40 -06:00
Gregory Nutt
0b12dbf95d Fix some spacing problems 2015-10-04 15:04:00 -06:00
Gregory Nutt
366e3d3353 Eliminate warnings 2015-09-08 10:48:57 -06:00
Gregory Nutt
9cd1e34792 Eliminate a warning 2015-09-08 08:08:46 -06:00
Pavel Pisa
ad5448d9b4 mksymtab: declare g_symtab array as conts to occupy RO section (Flash). 2015-08-23 08:17:30 -06:00
Gregory Nutt
9c9fc419e8 Fix error in handling CONFIG_APPS_DIR in configure.sh. From Krishna Kumar 2015-08-11 08:34:17 -06:00
Gregory Nutt
fbcdb663f9 tools/testbuild.sh: Skip lines in test list that begin with # 2015-07-22 13:20:35 -06:00
SP
a5b68bb3c9 Correct a typo in configure.sh usage string 2015-07-10 08:54:25 -06:00
Gregory Nutt
f31a96cfbf Add system calls for gethostname and sethostname 2015-07-05 08:42:32 -06:00
Gregory Nutt
9f3663152d Fix a typo in script echo output 2015-07-03 14:38:16 -06:00
Gregory Nutt
8c5bae60d9 tools/testbuild.sh: Add an option to select the type of C++ size_t in new operator 2015-07-01 14:32:59 -06:00
Gregory Nutt
464390193e Way too many typos 2015-06-30 15:18:57 -06:00
Gregory Nutt
0f3fcd9938 Fix a cut'n'paste error in a README file 2015-06-30 15:05:36 -06:00
Gregory Nutt
092a8a8aed tools/testbuild.sh: Add a script that can be used perform test builds on a set of board configurations 2015-06-30 14:38:01 -06:00
Gregory Nutt
284b6ba2bd Repaire more broken URLs 2015-06-29 19:27:49 -06:00
Gregory Nutt
63eaa31da2 This cleans up most of the remaining SourceForge references 2015-06-26 18:13:20 -06:00
Gregory Nutt
d66532971f Change some Sourceforge URLs to bitbucket URLs 2015-06-26 17:29:32 -06:00
Gregory Nutt
b26dbe3ec6 Trivial spacing change 2015-06-04 09:49:52 -06:00
Gregory Nutt
8cdce50e8c Extend the mkconfig tool so that it can dequote a quoated list of quoated strings. THTTPD uses such a configration setting to provide the list of index files. 2015-06-02 14:23:59 -06:00
Gregory Nutt
2a874183c5 tools/configure.c: Fix test for the extence of the apps/ dir. This is part of SourceForge Ticket #39 2015-05-31 12:48:34 -06:00
Gregory Nutt
9ee6b2db70 tools/configure.c: Fix backward interpretation of options, -l was selecting Windows and -w was selecting Linux. This is part of SourceForege Ticket #39 2015-05-31 12:42:44 -06:00
Gregory Nutt
54847a163f Make some file section headers more consistent with standard 2015-04-08 09:15:17 -06:00
Gregory Nutt
f1a524e9ee Remove nutts/tools/astyle.sh 2015-02-06 12:48:01 -06:00
Gregory Nutt
7e46e94546 Remove CONFIG_DEBUG_STACK. Adding CONFIG_STACK_COLORATION makes this configuration option pointless 2015-01-24 06:49:51 -06:00
Gregory Nutt
9d64fc6fcf Micro Python: Add logic to automatically download the Micro Python tarball at download 2015-01-11 10:49:20 -06:00
Gregory Nutt
b7715ee018 Remove warning about redefined strtok_r 2014-12-08 08:28:22 -06:00
Gregory Nutt
76906110b0 Correct spelling: MOUNTPOINT not MOUNTPOUNT. Numerous places. Some are problems. From Woohan Lee 2014-12-01 06:41:30 -06:00
Gregory Nutt
076d20f9c0 Fix some memeory leaks detected by cppcheck 2014-11-25 14:16:28 -06:00
Gregory Nutt
6fd018089c Check link target - do nothing if link is already created and the target matches the request. From Freddie Chopin. 2014-11-11 07:00:18 -06:00
Gregory Nutt
cf29dfa2ac Add a PRELINK macro to Config.mk. From Kriegleder 2014-10-17 06:58:47 -06:00
Gregory Nutt
dfb46a5f19 Fix for BSD install without -D option 2014-10-15 12:25:47 -06:00
Gregory Nutt
3d050101eb Rename CONFIG_EXAMPLES_NXCONSOLE to CONFIG_EXAMPLES_NXTERM; rename CONFIG_NXWM_NXCONSOLE to CONFIG_NXWM_NXTERM 2014-09-20 14:25:51 -06:00
Gregory Nutt
6295203a82 Cosmetic changes 2014-09-12 12:44:03 -06:00
Gregory Nutt
8dffb83c84 Several fixes for errors introduced by last check-ins 2014-09-06 11:17:05 -06:00
Gregory Nutt
12086cb971 Kernel build export package also needs to include WINTOOL setting 2014-09-05 12:16:21 -06:00
Gregory Nutt
8e9914893d The apps/ import build requires that we extract more information from the platform Make.defs file. 2014-09-05 11:26:42 -06:00