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
Anatol Ivanov
1dad62d3b7
Squashed commit of the following:
...
tools/configure.c: Add missing '\n' in printf statement
tools/configure.c: Add missed -g option to getopt() string
tools/configure.c and tools/configure.sh: Fix Windows native pre-build kconfig-conf incompability. Looks like prebuilt Windows native kconfig-conf interprets "..\apps" as "..apps" (possibly '\a' as escape-sequence) so expand winnative path to double-backslashed variant "..\\apps".
tools/mkdeps.c: Fix '\0' missing in MinGW. Implicit bug. There are 2 cases.
1. Under Linux. The code works as planned: '\n' is always replaced with '\0' due to sprintf fills n-1 bytes and reaches buffer length limit.
2. Under Windows/MinGW. There is memory corruption. Seems like it`s a bug inside MinGW/snprintf. Snprintf fills consecutively "oldbase",' ',"str",'\n', but does not inserts trailing '\0' instead of '\n'. And when next append() occurs, strlen() returns garbage-appended "oldbase".
So the fix just removes '\n' and reserves space for '\0'.
tools/link.bat: Fix .fakelink creation
configs/Makefile and tools/Config.mk: Move single file copy to the new function COPYFILE. This fixes the Windows native build case when there is no cp or cp does not recognize Windows paths.
2018-11-05 16:35:28 -06:00
Gregory Nutt
b51e77829e
tools/nxstyle.c: Remove some logic added in previous change. Causes too many false alarms.
2018-10-31 12:42:18 -06:00
Gregory Nutt
6ac4681233
tools/nxstyle.c: Fix detection of blank line at beginning for file. Fix detection of whitespace at the end of a line.
2018-10-30 16:33:41 -06:00
Gregory Nutt
de764af9aa
tools/nxstyle: Back out part of last commit. Logic to avoid some false alarms was causing real style problems from being reported.
2018-10-30 08:36:30 -06:00
Gregory Nutt
88130a996a
net/: Fixes for more coding standard issues detected by nxstyle.
2018-10-29 18:00:30 -06:00
Gregory Nutt
dcb7ce8afd
tools/nxstyle.c: Add logic to catch another formatting error and to eliminate some false alarms. Includes cosmetic changes to several files ... mostly as a result of testing nxstyle and finding issues.
2018-10-29 16:25:57 -06:00
Anthony Merlino
c21dfbb93c
Merged in antmerlino/nuttx/libcxx-build-fix (pull request #727 )
...
Fixes issue with libcxx build. This was changed multiple times, but should be fixed now.
Approved-by: GregoryN <gnutt@nuttx.org>
2018-09-25 20:46:02 +00:00
Gregory Nutt
68a7fbf109
tools/tesbuild.sh: No longer installs and builds the NxWidgets libraries. They are now a port of apps/.
2018-09-16 07:13:18 -06:00
Gregory Nutt
a04d2eeb10
tools/Directories.mk: Correct the path to the installed libcxx directory.
2018-09-13 14:03:09 -06:00
Gregory Nutt
2b6dd99c2e
Revert "Merged in antmerlino/nuttx/fix-libcxx-build-warning (pull request #719 )"
...
This reverts commit 57e5142b98
.
2018-09-13 13:59:28 -06:00
Anthony Merlino
57e5142b98
Merged in antmerlino/nuttx/fix-libcxx-build-warning (pull request #719 )
...
Fixes build error. libcxx moved into libs/libxx/libcxx
Approved-by: GregoryN <gnutt@nuttx.org>
2018-09-12 21:38:08 +00:00
Anthony Merlino
d533cc53df
tools/Config.mk: Fix an error in RWILDCARD implemenation
2018-09-12 11:52:10 -06:00
Gregory Nutt
ddaea5dabc
Revise commit cce9ae94f4
: The pass1/ directly only needs to be added to the directories to be cleaned. That would be OTHERDIRS vs. NONFSFIRS. Also remove old reference to the defunct lib directory (now the staging directory).
2018-09-08 08:28:02 -06:00
Gregory Nutt
cce9ae94f4
tools/Directories.mk: The pass1 directory was not being cleaned on 'make distclean'
2018-09-08 08:11:38 -06:00
Gregory Nutt
b7d1f13a54
b/sched/sched/sched_waitpid.c: Remove options check in DEBUG_FEATURES
2018-09-05 06:45:49 -06:00
Gregory Nutt
3611aefd14
tools/mkexport.sh: Save the name of the STRIP tool too.
2018-09-04 17:18:16 -06:00
Gregory Nutt
b7726df9f7
tools/Makefile.unix: Was not cleaning up export directory if it was left from a failed export. configs/sama5d4-ek/README.txt: Update.
2018-09-04 13:19:17 -06:00
Gregory Nutt
ab5ebc5498
Revert "tools/KernelLibs.mk: Force libproxies to be built and installed before applications are build. Otherwise, the applications will not be able to find libproxies. I don't know why this was never seen before. Must be due to recent changes in the apps/ directory. The change is correct in any event."
...
This reverts commit f7eee58aee
.
2018-09-03 16:27:54 -06:00
Gregory Nutt
f7eee58aee
tools/KernelLibs.mk: Force libproxies to be built and installed before applications are build. Otherwise, the applications will not be able to find libproxies. I don't know why this was never seen before. Must be due to recent changes in the apps/ directory. The change is correct in any event.
2018-09-03 13:34:41 -06:00
Gregory Nutt
2722fd8192
tools/nxstyle.c: Add capability to detect multiple blank lines. Single spacing required by the coding standard. Also coding standard fixes to server .c files for problems found during testing nxstyle.
2018-08-24 05:51:44 -06:00
anchao
95163b2c59
Squashed commit of the following:
...
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
arch/arm/src/armv7-m: Implement SYSTICK timer driver
Author: anchao <anchao@pinecone.net>
configs/sim/loadable: Add loadable demo for arch sim
sched/init: Restore previously reverted option to mount block device for INIT_FILEPATH case
configs/stm3240g-eval/knxwm: Fix build breakage.
Author: Gregory Nutt <gnutt@nuttx.org>
configs: With recent changes to apps/ all configurations that build applications as modules must now also select CONFIG_APPS_LOADABLE.
Author: anchao <anchao@pinecone.net>
configs/sim/loadable: Add loadable demo for arch sim
Kconfig and tools/Makefile.unix and : add dynamic application loadable support
2018-08-23 11:08:22 -06:00
Gregory Nutt
2679bd6784
Revert "Kconfig and tools/Makefile.unix and : add dynamic application loadable support"
...
This reverts commit dc15583df8
.
2018-08-22 12:26:52 -06:00
Gregory Nutt
dc15583df8
Kconfig and tools/Makefile.unix and : add dynamic application loadable support
2018-08-22 09:02:26 -06:00
Gregory Nutt
30d7dbd9a6
Update C Coding standard again. Correct some comments in tools/nxstyle.c
2018-08-21 13:32:05 -06:00
Gregory Nutt
5635e9632c
Reverts cc31f22213
: That commit throughs the baby out with the bathwater. True, it did cause too many false alarms. But a better solution is to keep the logic but add some additional logic to reduce the number of false alarms.
2018-08-21 13:07:29 -06:00
Gregory Nutt
cc31f22213
tools/nxstyle.c: Back out part of a recent addition that was causing too many false alarms. drivers/wireless/ieee80211: Make a couple of files conform to the coding standard (and other cosmetic fixes).
2018-08-21 12:46:00 -06:00
Gregory Nutt
bbad69ab61
Change all occurrences of CONFIG_EXAMPLES_NSH* to CONFIG_SYSTEM_NSH* to match changes in the apps/ directory.
2018-08-18 09:14:59 -06:00
Gregory Nutt
aeda17318d
tools/Config.mk: Move the RWILDCARD function definition from apps/builtin/Makefile to nuttx/tools/Config.mk. It may have a broader usage than it does now.
2018-08-15 18:45:39 -06:00
Gregory Nutt
96f05c895d
tools/Config.mk: Add function CATFILE definition. Currently only used in apps/builtin/Makefile.
2018-08-15 18:30:12 -06:00
Gregory Nutt
17c18a1347
tools/kconfig2html.c: Update tool to handle tristate types. Fix a few errors detected in Kconfig files.
2018-08-10 17:30:17 -06:00
Gregory Nutt
4becaea8e3
This commit extends support for the two-pass build. Its primary purpose is to incorporate source logic generated by applications into the kernel phase of the build.
...
In the two pass build, the application logic is built during the first phase, pass 1. In that phase, the application may generate and install source files in the pass1/directory. The operating system is built during phase 2 of the build. At that time, those source files in the pass1/ directory will be built and incorporated into the kernel address space.
The primary purpose of the pass1/ directory is to such application-generated kernel symbol tables. For an example of the use of this feature, look at apps/examples/module/drivers/Makefile. Kernel symbol tables are needed to support kernel modules. Of course, addition board-specific logic in, say, configs/<board>/src would have to be included to make use of the application-installed symbol tables.
2018-08-07 08:31:00 -06:00
Gregory Nutt
e79772f6d8
tools/showsize.sh needs to be executable.
2018-08-05 15:34:25 -06:00
Gregory Nutt
4c67062457
Squashed commit of the following:
...
binfmt/, libs/libc/unistd, and others: Rename CONFIG_EXECFUNCS_SYMTAB to CONFIG_EXECFUNCS_SYMTAB_ARRAY. Rename CONFIG_EXECFUNCS_NSYMBOLS to CONFIG_EXECFUNCS_NSYMBOLS_VAR. Unlike CONFIG_EXECFUNCS_NSYMBOLS, CONFIG_EXECFUNCS_NSYMBOLS_VAR holds the name of an 'int' variable that contains the number of symbols in the symbol table.
configs/sama5d4-ek: Partial update to knsh build instructions.
2018-07-15 11:20:37 -06:00
Gregory Nutt
3f5a3d0962
tools/gencromfs.c: Need to include stdint.h.
2018-07-14 17:06:47 -06:00
Gregory Nutt
b0178e9519
toosl/cfgdefine.c: Add more configuration variable names that need to be de-quoted.
2018-07-14 16:48:00 -06:00
Gregory Nutt
859d032938
This commit adds support for the MAX3421E to the viewtool-stm32107 board support
...
Squashed commit of the following:
configs/viewtool-stm32f107: Clean up some compilation errors. Now all builds correctly and is ready for test.
arch/arm/src/stm32: Do not condition building STM32 USB host logic on CONFIG_USBHOST. That then precludes building STM32 platforms with external USB host chips like the MAX3421E. Add an new, STM32-internal variable CONFIG_STM32_USBHOST that does the same job without such side-effects.
configs/viewtool-stm32f107: Add support for MAX3421E USB host.
2018-07-13 10:45:08 -06:00
Gregory Nutt
947c10e099
tools/mkexport.sh: Save the User.map file in the export package if available.
2018-07-09 05:42:42 -06:00
Alan Carvalho de Assis
283b73edc5
Fix lots of typos in C comments and Kconfig help text
2018-07-08 18:24:45 -06:00
Gregory Nutt
0e1fc1a280
tools/mkexport.sh: Save the System.map file in the export package so that it can be used to extract addresses.
2018-07-08 12:18:05 -06:00
Gregory Nutt
80f4f1fab8
configs/pcblogic-pic32mx, sure-pic32mx, ubw32: Update configurations so that the MIPs or Penguino toolchains may be used.
2018-06-29 11:38:12 -06:00
Gregory Nutt
715a2779d4
fix a typo in the previous commit.
2018-06-29 08:55:32 -06:00
Gregory Nutt
31ea6ec910
Update tools/link.sh per suggestions by Mark so that it can be used with MSYS vs copydir.sh.
2018-06-29 07:08:51 -06:00
Gregory Nutt
f159f1089a
tools/refresh.sh: Add a --prompt option that will let you use --silent but will prompt before overwriting the original defconfig. arch/arm/src/stm32/Kconfig: Fix a HRTIM configuration error found in build testing.
2018-06-28 17:12:30 -06:00
Jussi Kivilinna
214e9d923e
Commit 0c963449d6
, 'fs/vfs: Added support for checking if a descriptor is a socket in fstat().', changed sys/stat.h in way that breaks smartfs file-type stat flags. CROMFS is similarly broken, as tools/gencromfs.c was not updated to match the sys/stat.h changes. This commit fixes both issues. It probably is not a good idea to use NuttX sys/stat.h bit-field values directly in stored structure of filesystem.
2018-06-28 07:40:35 -06:00
Gregory Nutt
7415f62891
tools/testbuild.sh: Add option to specific location of nuttx directory.
2018-06-27 12:27:34 -06:00
Gregory Nutt
63efcbf720
tools/kconfig2html.c: Due to new usage, tool needs to be able to handle configuration files with names other than Kconfig.
2018-06-03 17:15:31 -06:00
Gregory Nutt
ae44eb2969
tools/kconfig2html.c and wireless/bluetooth/Kconfig: Fixes needed to generate new configuration variable document.
2018-06-03 10:03:35 -06:00
Gregory Nutt
5d09568a38
Update ChangeLog in preparation for the 7.26 release.
2018-06-02 11:05:54 -06:00
Gregory Nutt
bcf9c2e4aa
Update README
2018-06-01 19:44:02 -06:00
Gregory Nutt
545627ce85
tools/sethost.sh: Fix some errors in last change; add support for macOS
2018-06-01 14:21:04 -06:00
Gregory Nutt
d52c63f632
Change all references from OSX to macOS
2018-06-01 13:25:50 -06:00
Gregory Nutt
a5e4508a95
Makefile: The clean_context target needs to invoke a corresponding clean_context target in the apps/Makefile in order to remove linkages
2018-05-31 14:46:28 -06:00
Gregory Nutt
3146eb5d63
tools/: Update to better support MSYS
2018-05-31 11:53:09 -06:00
Mateusz Szafoni
b5ec5349b0
Merged in raiden00/nuttx (pull request #648 )
...
libdsp: initial commit
* libdsp: initial commit
* libdsp: cosmetics
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-05-30 12:36:06 +00:00
Gregory Nutt
a0c663edc9
tools: Missed a couple of changes of libcxx to libxx.
2018-05-29 18:16:43 -06:00
Gregory Nutt
cf99fb40c9
This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now.
...
Squashed commit of the following:
libs/libxx: Fix some confusing in naming. If the directory is called libxx, then the library must be libxx.a (unless perhaps LIBCXX is selected).
libs/: Fix paths in moved library directories.
libs: Brute force move of libc, libnx, and libxx to libs. Cannot yet build it in that configuration.
2018-05-29 13:21:26 -06:00
Gregory Nutt
53a4408428
Build system: Move all build-related files (except the top-level Makefile) into the tools/ sub-directory. This really cleans up the top-level directory.
2018-05-29 12:14:55 -06:00
Gregory Nutt
f2a89813f2
Build system: Remove fixed lib/ subdirectory and its content. Replace with new directory called staging/ that is created dynamically when building and removed when 'make clean' is done. This both improves the name and eliminates a garbage directory from the repository.
2018-05-29 11:36:21 -06:00
Alan Carvalho de Assis
69f32fb5c2
tools: Add gencromfs and logparsert to .gitignore
2018-05-26 09:53:26 -06:00
Alan Carvalho de Assis
b1801f3fd3
tools: Add tools/initialconfig to .gitignore
2018-05-26 09:22:57 -06:00
Andrey Zabolotnyi
33a1e73bab
LibTargets.mk, tools/Config.mk: Drop executable bit on installed libraries. The rules to install libraries under lib/ were modified to use mode 0644 instead of the default 0755.
2018-05-12 07:42:38 -06:00
Gregory Nutt
31e3f208b2
tools/configure.sh: Fix last commit. If gmake is not present, then 'which gmake' spews a lot of annoying error messages when configuring. Best to pipe stderr to /dev/null so that we are blessedly unaware of the failures.
2018-04-25 08:28:49 -06:00
Goran Mekić
f6e087a05c
Merged in mekanix/nuttx/feature/clang (pull request #632 )
...
Add clang support to stm32f746g-disco board
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-04-24 22:46:03 +00:00
Alan Carvalho de Assis
f45ec5c695
tools/mkromfsimg.sh: Include an option in mkromfsimg.sh to ignore FAT/RAMDISK. This permits you to build tiny systems with ROMFS but with the rather large FAT FS support.
2018-04-14 15:24:04 -06:00
Gregory Nutt
d97454a7d7
tools/README.txt: Minor tweak to README.
2018-04-11 18:47:59 -06:00
Bob Feretich
7ae14be1de
tools/nxstyle.c;: Add check for blank lines before and after single line comments.
2018-04-11 15:45:39 -06:00
Gregory Nutt
be61157246
Update README.
2018-04-11 14:39:54 -06:00
Gregory Nutt
a69d23d48c
tools/README.txt: Update to include uncrustify info.
2018-04-11 06:59:57 -06:00
Bob Feretich
c5a7ecd4b7
tools/uncrustify.cfg: Updated, corrected, and verified.
2018-04-11 06:47:03 -06:00
Gregory Nutt
518262138d
tools/uncrustify.cfg: An initial cut at an uncrustify C formatting script.
2018-04-11 06:44:04 -06:00
Gregory Nutt
db3b507a41
tools/gencromfs.c: Was duplicating all mode bits in source directory in CROMFS directory. Some make no sense. In particular, all write-able bits are cleard unconditionally. Executable bits are still copying because there is really no way for the tool to know if the file is executable or not.
2018-03-24 15:05:22 -06:00
Gregory Nutt
67e0603b5a
fs/cromfs: Block length only needs to be uint16_t, not uint32_t. Add pading to node structure to assue that alignment is the same on all platforms. tools/gencromfs.c: Fix the target offset of the '.' hard link.
2018-03-24 14:44:38 -06:00
Gregory Nutt
853c1234ac
tools/gencromfs.c: Missing 'const'. CROMFS file system was ending up in data, not FLASH
2018-03-24 11:54:01 -06:00
Gregory Nutt
3ec02adee0
tools/genromfs.c: Improve check for empty directories. If the directory contains only unsupported, special files, then it is still empty. Fix some collection of statistics that was cause statfs() to return some incorrect values. Add logic to handle the case where the host and the target differ in endian-ness. fs/procfs: In show mountpoints, add support so that the CROMFS file system type is recognized.
2018-03-21 08:40:02 -06:00
Gregory Nutt
d41f308bf1
tools/gencromfs.c: Add logic to correctly handle empty directories.
2018-03-20 17:34:26 -06:00
Gregory Nutt
16d0a8c2d1
fs/cromfs: More directory traversal fixes. tools/gencromfs.c: Add ability use a callback with directory traversal. Not currently used but left in place in case it is needed in the future.
2018-03-20 16:20:31 -06:00
Gregory Nutt
aeeee54921
tools/gencromfs.c and fs/cromfs: More corrections to directory traversal logic. Still some bugs.
2018-03-20 14:30:05 -06:00
Gregory Nutt
22484386ee
fs/cromfs and tools/gencromfs: Various fixes for traversal relative file paths. Biggest changes is in types used: Cannot use size_t or mode_t in common structures because they have different sizes on the (64-bit) host and the (32-bit) target. Use uint32_t instead of size_t for offsets. Use uint16_t instead of mode_t.
2018-03-20 12:37:01 -06:00
Gregory Nutt
87fd4e2916
fs/cromfs: Fix read logic. tools/genromfs.c: Last node in directory needs to have zero for peer offset. Still some issues with empty directories.
2018-03-20 10:37:42 -06:00
Gregory Nutt
d6b9802264
tools/gencromfs.c: Fix a mixconception about how nested directories should be traversed.
2018-03-20 08:50:59 -06:00
Gregory Nutt
eec44d1f01
This commit adds tools/gencromfs.c, a tool that can be used to generate CROMFS file system images.
...
Squashed commit of the following:
tools/gencromfs.c: Seems basically functional but has not has not yet been integrated with CROMFS.
tools/gencromfs.c: Revist previous commit. Let's make no assumptions about the compatibility of the host system and NuttX.
tools/gencromfs.c: I think access mode bits are sufficiently standard that we can just copy them from the host. This is don't mostly to pick up the executable bits and other conbinations of bits without doing a bit-for-bit decode.
tools/gencromfs.c: Code complete but only partially functional.
tools/gencromfs.c: type definitions must precede data definitions
tools/gencromfs.c: Adds a little more logic to gencromfs tools. Still not complete but can traverse directories and generate directory and hard-link nodes.
tools/gencromfs.c: Beginning of a genromfs tool that will eventually be used for generation of CROMFS file system images.
2018-03-20 07:31:13 -06:00
Gregory Nutt
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
Gregory Nutt
60308a7c6b
Add the .config file to the export package
2014-09-05 07:37:44 -06:00
Gregory Nutt
57a0ef401a
Beginning of logic that will, hopefully, all me to build applications against a NuttX export package (vs. the nuttx/ source tree).
2014-09-04 15:54:51 -06:00
Gregory Nutt
56dc80cf59
The 'make export' target needs to bundle up the user C startup file (crt0), not the kernel head object
2014-09-04 13:31:34 -06:00
Gregory Nutt
7743a2d4e2
Don't copy build scripts for kernel build 'make exports'
2014-09-04 12:35:47 -06:00
Gregory Nutt
86aa8f3813
In 'make export', do not copy internal header files if this is a kernel build
2014-09-04 12:19:47 -06:00
Gregory Nutt
111e44ff74
Fix 'make export'. Adding subdirectories to the sched/ directory broke the header file collection logic
2014-09-04 11:43:25 -06:00
Gregory Nutt
34ff07008a
Add configuration options to start the system from a program on a file system
2014-08-30 13:27:23 -06:00
Gregory Nutt
2906ff6a4a
Cosmetic: Fix all comments, defaults, etc. that references the defunct name user_start
2014-08-30 11:14:51 -06:00
Gregory Nutt
253fa09752
Build syscalls that do not need header files (there are nonw, however)
2014-08-30 08:42:34 -06:00
Gregory Nutt
28719a71da
Add prompt to refresh.sh
2014-08-30 07:00:52 -06:00
Gregory Nutt
9e119c1c4f
Update README file
2014-08-29 17:44:15 -06:00
Gregory Nutt
b918b4b808
Add a tool to make refreshing configurations easier when you wnat to do a lot of them
2014-08-29 17:21:24 -06:00
Gregory Nutt
7e9f569ac6
Add build support for ELF modules. Useless at the moment because there is no x86 relocation logic
2014-08-25 06:09:09 -06:00
Gregory Nutt
935e76df9f
Changes to try to get P112 to compile with laster SDCC (it still does not)
2014-08-22 14:48:29 -06:00
Gregory Nutt
0da9aaeb09
Fix some recurring typos: postion->position, *atino->*ation
2014-07-08 13:12:36 -06:00
Gregory Nutt
befcb1c961
Fix some cloned errors in SAM GPIO interrupt setup
2014-07-07 15:54:37 -06:00
Gregory Nutt
b72679c5d0
NAME_MAX not available on SunOS
2014-07-04 07:22:36 -06:00
Gregory Nutt
33121dd0d0
Various changes associated with symbol tables. Most from Pelle Windestam
2014-06-27 08:14:07 -06:00
Gregory Nutt
1457517d2d
tools/mkfsdata.pl: Apparently, the trailing the 0x00 in http server files is seen as a bug in javascript and images. From Max/Himax
2014-06-19 08:35:45 -06:00