Commit Graph

487 Commits

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