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
Xiang Xiao
403b4a0178
In all Make.defs files, append CONFIGURED_APPS with the consistent ifeq/ifneq.
2019-10-17 11:42:49 -06:00
Xiang Xiao
7808eb62d2
apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path.
2019-10-17 11:33:59 -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
92e7b1f400
apps/: In Makefiles remove 'INCDIROPT = -w' which is already defined in apps/Make.defs.
2019-10-07 02:53:47 -06:00
Xiang Xiao
e806097c70
Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard.
2019-10-06 06:14:56 -06:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
Gregory Nutt
dd35a7cacc
apps/: Removed all references to CONFIG_DISABLE_POLL. The standard POSIX poll() can not longer be disabled.
2019-05-21 19:08:12 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
Xiang Xiao
5304ec5eec
Replace all ASSERT calls to DEBUGASSERT
2018-08-24 06:19:35 -06:00
anchao
220653f21c
Squashed commit of the following:
...
Author: anchao <anchao@pinecone.net>
apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
Loadable apps/: Correct loadable symbol table generate
apps/system/ubloxmodem: Fix build break
apps/examples/ostest: start restart/waitpid/user test from main loop
apps/nshlib: Expand reboot and poweroff commands to include a second, optional mode argument
Author: Gregory Nutt <gnutt@nuttx.org>
An attempt to fix build issues. Does not work.
apps/examples/ostest: Fix some inappropriate renaming of static functions introduced with recent patches.
apps/builtin/exec_builtin.c: Fix a error introduced by recent comments. Found in build testing.
Author: anchao <anchao@pinecone.net>
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00
Gregory Nutt
2f982e9c77
Revert "Squashed commit of the following:"
...
This reverts commit 25b92edd9f
.
2018-08-22 12:06:32 -06:00
anchao
25b92edd9f
Squashed commit of the following:
...
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00
Dmitriy Linikov
2f2fb92ae3
Merged in hardlulz/modem-3.0-nuttx-apps/fix-sem-EINTR (pull request #133 )
...
Added ECANCELED condition to DEBUGASSERT-s checking sem_wait result
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-20 18:37:32 +00: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
15eb6dd518
netutils/thttpd: Fix a malformed if condition detected by GCC 6.x.x
2017-08-12 16:55:51 -06:00
Gregory Nutt
13911d9b17
Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
2017-05-11 13:40:03 -06:00
Gregory Nutt
81645fe18f
strcasecmp, strncasecmp, bzero, bcmp, and bcopy should be defined in strings.h, not string.h. bzero, bcmp, and bcopy are legacy functions; the contemporary counterparts should be used instead.
2017-02-16 15:58:15 -06:00
Gregory Nutt
f87893b514
Move include/nuttx/regex.h to include/nuttx/lib/regex.h
2016-07-21 13:42:06 -06:00
Sebastien Lorquet
2cbad44f1d
This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h"
2016-07-11 10:11:18 -06:00
Gregory Nutt
2ee4ced33b
Typo: fwerr, not fderr
2016-06-21 18:10:07 -06:00
Gregory Nutt
1ea1cc5cde
Fix fwdbg vs fwerr naming inconsisency
2016-06-20 16:31:47 -06:00
Gregory Nutt
d32f16450d
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
2016-06-20 12:39:46 -06:00
Gregory Nutt
bb06f7368f
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
2016-06-20 11:48:15 -06:00
Gregory Nutt
a50383db3d
apps/graphics and netutils: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
2016-06-14 17:53:47 -06:00
Gregory Nutt
586b0aa7e0
Change names of *dbg() * *err()
2016-06-11 15:51:27 -06:00
Gregory Nutt
f4bae25e32
Rename *lldbg to *llerr
2016-06-11 14:55:13 -06:00
Gregory Nutt
e82a54bf18
Reserver the name 'err' for other purposes
2016-06-11 14:49:55 -06:00
Gregory Nutt
468bdcf8e6
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:13:39 -06:00
Gregory Nutt
344c92e2a4
Replace all occurrences of vdbg with vinfo
2016-06-11 11:55:38 -06:00
Gregory Nutt
56e75e9db8
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
2016-06-11 11:50:38 -06:00
Gregory Nutt
8de50dc0cf
Add a default value for DELIM
2016-06-07 08:43:21 -06:00
Sebastien Lorquet
bfff5e7179
Add empty preconfig rules to 'leaf' makefiles
2016-06-02 16:24:30 +02:00
Sebastien Lorquet
9a406515d7
make the full tree use wildcards make.defs
2016-06-02 16:21:21 +02:00
Gregory Nutt
ed820c1850
THTTPD: Include timers.h before libhttpd.h to avoid and undefined type error. Noted by Matt Poppe.
2016-02-24 09:42:06 -06:00
Gregory Nutt
e3ad56043e
Standardize naming used for public data and function groupings
2015-10-02 16:20:33 -06:00
Anton D. Kachalov
b43c5a6b1e
THTTPD: Depends on !DISABLE_POLL
...
webserver: Allow to build webserver as an application
Signed-off-by: Anton D. Kachalov mouse@yandex-team.ru
2015-08-10 14:44:11 -06:00
Gregory Nutt
d5b6949c9f
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:14:53 -06:00
Gregory Nutt
cee35e124b
apps/netutils/thttpd: Missing gci-src as a dependency path when building with BINFS enabled
2015-06-18 18:18:53 -06:00
Gregory Nutt
3b5adf79dc
Add asctime(), asctime_r(), ctime(), and ctime_r().
2015-06-12 11:52:49 -06:00
Gregory Nutt
f5f5a3766a
THTTPD: Remove use of lstat when directory indexing is enabled. NuttX does not support symbolic links
2015-06-12 10:07:28 -06:00
Gregory Nutt
a3eb9bb43a
Fix a few errors/warnings in THTTPD when indexing is enabled. Still depends on non-existent lstat and ctime
2015-06-12 09:57:12 -06:00
Gregory Nutt
3e692f3912
apps/examples/thttpd now uses the Union File System if BINFS is selected for CGI binaris
2015-06-06 19:16:14 -06:00
Gregory Nutt
980f5a3675
apps/examples/thttpd: Need to use a different Front Page is CONFIG_THTTPD_BINFS=y
2015-06-02 15:19:17 -06:00
Gregory Nutt
bd8459d839
Fix a default value in the THTTPD Kconfig; updated a README file
2015-06-02 14:59:13 -06:00
Gregory Nutt
91ab8b0bc5
Extend apps/examples/thttpd so that it provides a index.cgi file the binfs file system is selected.
2015-06-02 14:26:08 -06:00
Gregory Nutt
b3780a071c
Damn. THTTPD will not yet run with binfs because it wants an index.html file. THTTPD does support indexing directories if CONFIG_THTTPD_GENERATE_INDICES=y, but there are some compilation issues that need to be fixed when that option is selected.
2015-06-02 12:13:18 -06:00
Gregory Nutt
15fcf746be
THTTPD w/binfs: A few fixes
2015-06-02 11:55:45 -06:00
Gregory Nutt
1e91c05d03
THTTPD: Add support for using binfs/ instead of NXFLAT. NXFLAT is probably the better solution but recently compiler changes make it unusable. binfs or ELF are fallback binary formats. This commit adds an option to use binfs.
2015-06-02 10:45:48 -06:00