Commit Graph

470 Commits

Author SHA1 Message Date
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