Commit Graph

474 Commits

Author SHA1 Message Date
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
Gregory Nutt
6f6dc76f15 kconfig2html: Exceed original maximum number of selects 2014-06-16 10:58:38 -06:00
Gregory Nutt
9e21e8d9d7 In-place SED edit can mess up permissions on Windows 2014-05-25 07:38:32 -06:00
Gregory Nutt
f8024cf409 More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
f7e5953804 Cosmetic changes for coding style; removal of dangling spaces at the end of lines 2014-04-13 13:18:06 -06:00
Gregory Nutt
494387b33b Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
f6dedaee30 tools/astyle.sh: Formatting tool based on logic from Lorenz Meier 2014-03-26 08:50:48 -06:00
Gregory Nutt
f15a6e2330 Prep for NuttX 7.1 release 2014-03-15 10:05:18 -06:00
Gregory Nutt
4cbdbc875e Support for the older, manual configurations has been completely removed from the NuttX build system 2014-03-06 13:00:50 -06:00
Gregory Nutt
29a4ca8f08 configs/rgmp/arm/default: Configuration converted to use the kconfig-frontends tools 2014-03-06 11:19:05 -06:00
Gregory Nutt
972eeae12d Add configuration ettings for the on-demand paging option 2014-03-05 14:25:49 -06:00
Gregory Nutt
438526a1d0 use -m install of --mode in configure.sh for OSX compatibility 2014-02-24 07:48:35 -06:00
Gregory Nutt
91b002a043 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt
f47ce4d9eb Release script no longer tries to keep copies of the ChangeLog and TODO list in the Documentation directory 2014-02-10 13:52:03 -06:00
Gregory Nutt
707d473a3e Use xcopy, mot mklink in link.bat; No an error if directory does not exist in unlink.bat 2014-02-07 09:52:09 -06:00
Gregory Nutt
0331a07026 Back out change. Unnecessary with code is all in tree and costs a LOT of build performance 2014-01-30 18:59:06 -06:00
Gregory Nutt
f3f5378acc The optimization level can now be selected as part of the configuration 2014-01-24 07:45:35 -06:00
Gregory Nutt
90f0e4f6dc configs/efm32-dk3650: Support for Energy Micro's development kit for the Leopard Gecko MCU. From Richard Cochran 2014-01-23 08:19:34 -06:00
Gregory Nutt
85dea13030 Config.mk: If WINTOOL is set, COMPILE definition should convert path generated by Cygwin make to a proper Windows path. From Richard Cochran (2014-1-23). 2014-01-23 07:37:14 -06:00
Gregory Nutt
32b4a48e7a Misc changes from Richard Cochran 2014-01-15 11:05:15 -06:00
Gregory Nutt
9d393e167c A10: Handle UART BUSY interrupt; Back out change to mkconfig.c -- it causes problems for assembly 2013-12-07 11:46:08 -06:00
Gregory Nutt
72f00b9bb6 mkconfig: Cast RAM size to unsigned to avoid complains about integer overflow in calculatino of CONFIG_RAM_END 2014-01-06 12:09:13 -06:00
Gregory Nutt
b9a38cea22 nuttx/tools: Fixes for some Windows native build issues from Max Holtzberg 2014-01-04 09:08:14 -06:00
Gregory Nutt
84596e8473 README and other cosmetic updates 2014-01-04 08:38:05 -06:00
Gregory Nutt
78936f7260 Changes for ZDS-II ez80 build 2013-11-28 17:47:03 -06:00
Gregory Nutt
f4c6a16c3d SAMA5 PMECC: Some ROM-related interface updates 2013-11-23 10:06:33 -06:00
Gregory Nutt
b6da35e12c Add a script to produce ctags. From Ken Pettit 2013-11-23 06:49:40 -06:00
Gregory Nutt
f1671bb6a7 Alloc CONFIG_FS_READABLE/WRITABLE to be defined in Kconfig files while preserving backward compatibility with legacy configurations (for the time being) 2013-11-15 09:49:27 -06:00
Gregory Nutt
517546bb47 tools/mkconfig.c: CONFIG_FS_SMARTFS must be included in the list of writable file systems 2013-11-15 07:33:39 -06:00
Gregory Nutt
f8b3dbaa61 Extend stack debug logic to include IDLE and interrupt stacks. Also color the heap as well. Based on suggestions from David Sidrane 2013-11-01 11:16:51 -06:00
Gregory Nutt
8371204001 Need to increase the size of an array in tools/kconfig2html.c 2013-10-28 14:59:32 -06:00
Gregory Nutt
9dc8d00bd1 Fix a error in a recent checkin to fix dependencies wehn object files lie in sub-directories 2013-09-30 20:31:49 -06:00
Gregory Nutt
12c1aef7c2 Fix some funny 'cut' results 2013-09-30 19:28:46 -06:00
Gregory Nutt
c038f4efe0 Dependency generation fix for directories that keep object files in a sub-directory 2013-09-29 11:46:10 -06:00