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