Commit Graph

51 Commits

Author SHA1 Message Date
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
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
5d09568a38 Update ChangeLog in preparation for the 7.26 release. 2018-06-02 11:05:54 -06:00
Gregory Nutt
d52c63f632 Change all references from OSX to macOS 2018-06-01 13:25:50 -06:00
Gregory Nutt
3146eb5d63 tools/: Update to better support MSYS 2018-05-31 11:53:09 -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
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
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
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
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
Gregory Nutt
2f9028b547 Remove all remaining references to setenv.h and setenv.bat. 2017-04-26 10:28:37 -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
SP
a5b68bb3c9 Correct a typo in configure.sh usage string 2015-07-10 08:54:25 -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
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
438526a1d0 use -m install of --mode in configure.sh for OSX compatibility 2014-02-24 07:48:35 -06:00
Gregory Nutt
32b4a48e7a Misc changes from Richard Cochran 2014-01-15 11:05:15 -06:00
patacongo
3e52f2eb38 Correct some errors in the LPC17xx SYSCON register bit definitions (from Rommel Marcello)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5479 42af7a65-404d-4744-a932-0658087f49c3
2013-01-05 13:19:53 +00:00
patacongo
bb9dc58217 /configs/stm32f4discovery/winbuild and configs/cloudctrl upated to use Mike's Toolchain.defs; Fix error introduced into tools/configure.sh
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5380 42af7a65-404d-4744-a932-0658087f49c3
2012-11-21 19:54:44 +00:00
patacongo
f8ad7573a5 Update for ez80 Windows native build (still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5377 42af7a65-404d-4744-a932-0658087f49c3
2012-11-21 17:44:14 +00:00
patacongo
de47b5e4cf Misc changes to accept setenv.bat; Add UG-2864AMBAG01 reverse landscape support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5326 42af7a65-404d-4744-a932-0658087f49c3
2012-11-09 22:37:52 +00:00
patacongo
6df2a23f84 Changes to get a clean compile with the Kconfig Shenzhou board. Still some link issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5115 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 16:40:12 +00:00
patacongo
3ad95c590b configure.sh: Don't append the apps directory path setting if the correct setting is already in defined in the defconfig file.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5101 42af7a65-404d-4744-a932-0658087f49c3
2012-09-06 01:19:05 +00:00
patacongo
561bea0899 Add support for multiple work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5081 42af7a65-404d-4744-a932-0658087f49c3
2012-09-04 00:54:09 +00:00
patacongo
6105b42d39 configure.sh now will ignore appconfig files if CONFIG_NUTTX_NEWCONFIG is defined
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5080 42af7a65-404d-4744-a932-0658087f49c3
2012-09-03 15:16:32 +00:00
patacongo
8b768dc6fa Separate CVS parsing logic from tools/mksyscall.c; Create tools/mksymtab.c to create symbol tables from CSV files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5075 42af7a65-404d-4744-a932-0658087f49c3
2012-09-01 15:33:33 +00:00
patacongo
804e7625b0 Correct last set of changes to configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4237 42af7a65-404d-4744-a932-0658087f49c3
2011-12-29 12:52:15 +00:00
patacongo
4c5d18d561 Updates for PIC32MX USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4233 42af7a65-404d-4744-a932-0658087f49c3
2011-12-27 20:07:17 +00:00
patacongo
61b0896f3d Changes to tools to support MAC OS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4232 42af7a65-404d-4744-a932-0658087f49c3
2011-12-27 12:44:39 +00:00
patacongo
8e123b2832 More fixe for FreeBSD build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3919 42af7a65-404d-4744-a932-0658087f49c3
2011-08-28 12:32:14 +00:00
patacongo
f32009d446 More version-related fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3504 42af7a65-404d-4744-a932-0658087f49c3
2011-04-14 17:28:21 +00:00
patacongo
349f6aae93 Prep for 6.0 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3408 42af7a65-404d-4744-a932-0658087f49c3
2011-03-21 21:59:35 +00:00
patacongo
bf55d8f442 More build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3407 42af7a65-404d-4744-a932-0658087f49c3
2011-03-20 22:07:56 +00:00
patacongo
c9e6a573bb Move nuttx/examples to apps/examples
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3405 42af7a65-404d-4744-a932-0658087f49c3
2011-03-20 18:18:19 +00:00
patacongo
e07f0db120 Use = instead of / for delimiter in appconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3396 42af7a65-404d-4744-a932-0658087f49c3
2011-03-19 13:28:07 +00:00
patacongo
bb9b1d536d Update to apps/build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3391 42af7a65-404d-4744-a932-0658087f49c3
2011-03-18 17:22:50 +00:00
patacongo
4b57c3bad4 Fix Linux sim errors/warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@842 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 15:36:02 +00:00
patacongo
aae7fd5432 Explicitly use /bin/bash vs /bin/sh for Ubuntu compatibility
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@722 42af7a65-404d-4744-a932-0658087f49c3
2008-03-04 00:40:49 +00:00
patacongo
93dd5f44cb Adding support for the z16f
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@520 42af7a65-404d-4744-a932-0658087f49c3
2008-01-07 23:13:12 +00:00
patacongo
ed794c7b66 Changes to resulting previous merge of arch/c5471 and arch/dm320 into arch/arm and
also to adding lpc214x to arch/arm.


git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@194 42af7a65-404d-4744-a932-0658087f49c3
2007-04-29 21:50:53 +00:00
patacongo
ef4d567b78 Create configs/ dir; separate board configuration from processor architecture
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@126 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 02:25:54 +00:00