Gregory Nutt
218d8c9fe2
examples/elf/tests/mutex/mutex.c: Fix typo in a previous PR.
2020-02-15 19:08:03 +01:00
Gregory Nutt
1d8b738a2b
apps/examples/elf: Resolve issue issue 63
2020-02-15 23:55:33 +08:00
YAMAMOTO Takashi
e5dd0b1eb9
mksymtab.sh: Avoid using find -executable
...
As it seems GNU-find only. macOS doesn't have it.
-perm is in POSIX and should be more widely available.
2020-02-14 09:13:55 -06:00
Masayuki Ishikawa
539d0854dd
examples: elf: Fix warnings when compiled for RISC-V 64bit
2020-02-10 14:16:00 +08:00
Xiang Xiao
779197c63e
Ensure all source code end with one and only one newline
...
by this command:
git ls-files -z | while IFS= read -rd '' f; do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
2020-02-09 08:14:49 -06:00
Masayuki Ishikawa
bb3cd0a496
apps: elf: Fix stack corruption in task test
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-02-04 20:56:52 -08:00
Xiang Xiao
e0dcfa0c55
Remove extra whitespace from files ( #43 )
...
* Remove multiple newlines at the end of file
* Remove the white space from the end of line
2020-01-31 08:29:24 -06:00
liuhaitao
02dbab7679
Makefile: Fix warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
...
Change-Id: I73d156f55bc82778c64defe5a8dd84bb478c9008
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-01-19 07:24:21 -06:00
Xiang Xiao
857158451b
Unify the void cast usage
...
1.Remove void cast for function because many place ignore the returned value witout cast
2.Replace void cast for variable with UNUSED macro
Change-Id: Ie644129a563244a6397036789c4c3ea83c4e9b09
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-02 23:21:01 +08:00
Gregory Nutt
3da8091d30
Include nuttx/symtab.h instead of nuttx/binfmt/symtab.h since symtab.h under binfmt folder is for internal use.
2019-12-10 08:39:22 -06:00
Gregory Nutt
3a23523147
Makefiles: This reverts part of commit cf0365ea9
. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured.
2019-10-15 09:25:48 +08:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
Xiang Xiao
9a27d4a697
Makefiles: Remove .PRECIOUS if Makefile doesn't touch libapps.
2019-10-01 11:48:55 -06:00
Manuel Stühn
88d47e469f
Merged in manuelstuehn/nuttx-apps/feature/bsd-portable (pull request #190 )
...
change all occurences of /bin/(ba)sh to /usr/bin/env bash which appears more portable
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 17:16:33 +00:00
Gregory Nutt
8f5944c4a8
Squashed commit of the following:
...
include/ and netutils/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
nshlib/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
system/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
testing/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
examples/: Remove references to CONFIG_DISABLE_SIGNALS. Signals can no longer be disabled.
2019-04-29 14:53:38 -06:00
Gregory Nutt
5ecec24084
There many occurences of the global variable g_exports and the opportunity for collisions. Make the global variable names unique.
2018-07-14 16:36:25 -06:00
Gregory Nutt
654ee7e6f9
apps/examples/elf, module, posix_spawn: Correct naming of global variables that violations the naming requirements of the coding standard.
2018-07-12 09:53:38 -06:00
Gregory Nutt
634dd7709b
apps/, Various Makefiles: Fix mixed references to nuttx/lib. These need to be changed to nuttx/staging.
2018-05-30 11:08:13 -06:00
Gregory Nutt
12baeaa22d
apps/examples/elf: Add an option to strip debug symbols even if the debug symbols are enabled in the base code.
2018-03-25 10:13:50 -06:00
Gregory Nutt
9dcf0c5ecb
apps/examples/elf: Use strip command to make ELF binaries MUCH smaller.
2018-03-25 09:39:18 -06:00
Gregory Nutt
dbdfad8ff5
apps/examples/elf: Extend the ELF program module demo so that you can use compressed ELF programs with CROMFS.
2018-03-24 11:36:20 -06:00
Gregory Nutt
7a8561728c
The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree.
2017-08-13 11:03:17 -06:00
Gregory Nutt
a66da34f18
All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile. Hopefully this will end awkward problems when you Control-C out of a build and libapps.a is deleted.
2017-08-13 09:35:14 -06:00
Gregory Nutt
4477cbcbd1
Fix some misplaced semicolons as found in build testing.
2017-08-12 14:27:48 -06:00
Daniel Agar
ecab40da6a
remove extra semicolons
2017-06-04 12:25:32 -04:00
Gregory Nutt
29e8b8e059
Several Makefiles: Add .PHONY definitions to prevent 'clean up to date' message weirdness; Add default definitions for some commonly used things when 'make clean' is used without .config or Make.defs files installed.
2016-05-10 15:40:20 -06:00
Gregory Nutt
e00bc64c40
Trivial correction of some spacing
2016-01-23 17:04:37 -06:00
Gregory Nutt
e39c85b718
Eliminate a warning about a symbol being redefined
2016-01-23 17:03:46 -06:00
Gregory Nutt
aacfce081e
Fix several cosmetic, C coding style issues
2015-10-03 11:03:42 -06:00
Gregory Nutt
0629c5466e
Standardize the width of all comment boxes in C file
2015-10-02 17:33:30 -06:00
Gregory Nutt
e9447c6058
Standardize nameing of the pre-processor definitiongs group header
2015-10-02 14:06:11 -06:00
Gregory Nutt
c11c4d6bd9
Add si_errno to siginfo_t
2015-08-14 10:12:35 -06:00
Gregory Nutt
bd9b2bd740
Add hello++5 to ELF example. From Leo Aloe3132
2015-06-01 10:03:14 -06:00
Gregory Nutt
5f6b3276a2
apps/examples/elf: Add configuration optionst o support building the hello++4 example that depends upon having uClibc++ available. From Leo aloe3132.
2015-05-29 11:47:40 -06:00
Gregory Nutt
b5c4fbf7b6
Fixes for more complaints from cppcheck
2014-11-25 10:32:54 -06:00
Gregory Nutt
bd07573a00
Do not build test cases that use task_create is there is an address environment
2014-09-14 08:19:46 -06:00
Gregory Nutt
38ecd36a61
Fix clean and distclean targets. Back out a few too many changes made by sed
2014-09-06 08:28:24 -06:00
Gregory Nutt
d6bcd1a93a
Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished)
2014-09-06 08:00:47 -06:00
Gregory Nutt
95679676a1
Need to add CRT0 to every Makefile in apps/examples/tests
2014-09-05 16:05:29 -06:00
Gregory Nutt
5cd3325f7e
Provide library names and paths in apps/import/Make.defs
2014-09-05 13:59:20 -06:00
Gregory Nutt
7c7a81aa69
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
2014-08-29 14:47:22 -06:00
Gregory Nutt
7b721a8b17
The ELF test/example has been extended so the individual ELF test programs can link against the SYSCALL library (if it is available) or against the C library to eliminate or minimize the need for symbol tables (2014-8-29).
2014-08-29 07:20:07 -06:00
Gregory Nutt
b9cf7acb1a
More trailing whilespace removal
2014-04-13 16:24:28 -06:00
Gregory Nutt
3669b6799a
More changes to reduce complaints from CppCheck. Some latent bugs fixes, but probably some new typos introduced
2014-02-10 19:11:56 -06:00
Gregory Nutt
541d625482
Move LPC17xx IOCON register definitions from lpc17_gpio.h to lpc17_iocon.h; fix a few more .gitignore files
2013-04-04 18:12:44 -06:00
Gregory Nutt
470a04b8f9
Clone svn:ignore directory atributed to .gitignore files
2013-04-04 14:27:29 -06:00
patacongo
cca7618daa
All argv types should be char * const * not const char **
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5599 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 19:32:46 +00:00
patacongo
02d4cca67c
Add a start hook that can be setup to call a function in the context of a new thread before the new threads main() has been called.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5571 42af7a65-404d-4744-a932-0658087f49c3
2013-01-27 15:52:58 +00:00
patacongo
b236e229c9
Various changes while debugging posix_spawn
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5510 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 16:53:44 +00:00
patacongo
87eac55c6b
Added a test of posix_spawn()
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5507 42af7a65-404d-4744-a932-0658087f49c3
2013-01-10 21:39:57 +00:00