anchao
7f5d8dfffe
apps/: Fix build break in case sama5d4-ek/elf configuration. Also fix a patch problem in mkromfsimg.h.
2018-09-04 08:05:31 -06:00
Gregory Nutt
496dd934cb
apps/platform/Makefile: Fix missing dependency path in Makefile.
2018-09-03 10:39:14 -06:00
anchao
057b68cd07
apps/: Resolve some make dependency failures.
2018-09-03 10:38:37 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
Gregory Nutt
3e396d8e4e
apps/nshlib: Fix a copy paste error introduced in commit 9a42be5e9b
2018-09-02 15:33:22 -06:00
Gregory Nutt
9a42be5e9b
apps/nshlib: When using waitpid() to wait for a built-in application or a file application to exit. Add the WUNTRACED options to so the the waitpid() call will also be awakened if the waited-for task is stopped as well.
2018-09-02 14:19:30 -06:00
Ouss4
316ffaddac
apps/ examples/dhtxx: Example for the DHTxx sensor.
2018-09-01 07:49:06 -06:00
Gregory Nutt
7b5c2de165
examples/ostest/signest.c: Attempt to make the nested signal test compatible with the suspend/resume test. Some signals cannot be caught when the suspend/resume configuration is in place.
2018-08-30 13:37:37 -06:00
Gregory Nutt
8b5c28ecc2
apps/ostest/suspend.c: Add a small test for SIGSTOP, SIGCONT, and SIGKILL actions. Currently does not work!
2018-08-30 12:00:41 -06:00
Gregory Nutt
e678211436
system/i2c/i2c_main.c: fix a backward comparison. Noted by Jakob Haufe.
2018-08-30 10:33:32 -06:00
akob Haufe
d7d541e2d9
apps/system/i2c: Allow registers besides 0x00 in the dev command.
2018-08-30 06:35:18 -06:00
Juha Niskanen
cef306e335
apps/nshlib/nsh_console.c: Do not dereference NULL 'pstate'
2018-08-29 06:18:30 -06:00
Gregory Nutt
b33eaf881d
apps/system/cu: Fix undefined SIGKILL if CONFIG_SIG_DEFUALT is not defined.
2018-08-29 05:39:01 -06:00
Gregory Nutt
c4512f5ddf
apps/nshlib: Fix problem in last commit. CONFIG_BOARDCTL_FINALINIT=y is an insufficient condition for calling boardctl(BOARDIOC_FINALINIT, 0). Also need CONFIG_NSH_ARCHINIT=y.
2018-08-28 15:48:51 -06:00
ligd
93f1c13b62
apps/: Call BOARDIOC_FINALINIT after start-up script (or immediately after BOARIOC_INIT is there is no start-up script).
2018-08-28 15:44:03 -06:00
Gregory Nutt
a1b9fc8bd8
apps/system/cu: SIGKILL is more appropriate that SIGINT in this circustance.
2018-08-28 12:09:25 -06:00
Gregory Nutt
bb4c5c49ef
Replace usage of SIGKILL with SIGINIT
2018-08-28 12:02:26 -06:00
EunBong Song
1ee6fbf296
Merged in ebsong/fork-apps (pull request #152 )
...
Master
* nettest: fix typo!
NET_LOOPBACK -> CONFIG_NET_LOOPBACK
Signed-off-by: EunBong Song <eunb.song@samsung.com>
* nettest: fix compilation error.
Should enable NET_SETSOCKOPT for preventing compilation error.
Signed-off-by: EunBong Song <eunb.song@samsung.com>
Approved-by: GregoryN <gnutt@nuttx.org>
2018-08-28 13:46:49 +00:00
ZhongAn
392943a0a0
apps/system/nxrecorder: Add nxrecorder application
2018-08-27 08:20:11 -06:00
ZhongAn
09a3bc44b4
system/nxplayer/nxplayer.c: Add playraw command
2018-08-27 08:04:48 -06:00
Xiang Xiao
7eacf7daa2
Squashed commit of the following:
...
apps/system/nxplayer: Release buffer before session and release semaphore in nxplayer_setvolume
system/nxplayer/nxplayer.c: Remove & for apb->samp reference. It is already a pointer.
2018-08-27 07:52:04 -06:00
anchao
3c2396116d
apps/nshlib/Kconfig: Move 'option modules' from NSH_FILE_APPS to BUILD_LOADABLE
2018-08-27 07:04:29 -06:00
ligd
d36e1c87fe
apps/nshlib: Add control-C support for terminating built-in and exec'ed file tasks.
2018-08-26 07:48:38 -06:00
Gregory Nutt
0d6c9b8fbd
apps/examples/ustream: Fix a typo that generates a warning when CONFIG_BUILD_LOADABLE is selected.
2018-08-25 16:56:53 -06:00
Gregory Nutt
ec2e08ff24
apps/tools: Correct permissions on scripts. Need to be executable.
2018-08-24 16:54:39 -06:00
Gregory Nutt
2ef04ff0a8
apps/examples/sotest and modules: With recent changes, LDLIBS is initialized to bad value, at least in certain contexts.
2018-08-24 16:24:58 -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
d7bdf06055
apps/examples/module/Makefile: Correct module example build. Change to LDLIBs were causing a failure due to a non-existent (any unnecessary) library in this case.
2018-08-23 10:58:55 -06:00
Xiang Xiao
dbf152cbeb
apps/nshlib: (1) NSH prompt string is now configurable. nsh> is still the default. (2) Increase the default configuration for the maximum number of command line arguments to 7 (CONFIG_NSH_MAXARGUMENTS). This is needed for 'mount' with the -o option.
2018-08-23 07:34:30 -06:00
Xiang Xiao
8116d10da3
apps/fsutils/mksmartfs: Add a check to see if the SmartFS is already formatted. apps/nshlib: Add a force flag (-f) to mksmartfs. SmartFS will be formatted only if (1) the FLASH does not already hold a SmartFS, or (2) the force flag is set
2018-08-23 07:14:30 -06:00
ligd
feb1229dc3
apps/system/cu/cu_main.c: (1) Protect from possible re-definition of signal values, (2) Fix CU ctrl-C hand when remote core hang.
2018-08-23 07:05:09 -06:00
Xiang Xiao
aef0978a12
apps/system/ping and ping6: Change dependency in ping and ping6 Kconfig. These may be implemented in users sockets and, hence, may need to be avaiable even if ICMP and ICMPv6 sockets are not support.
2018-08-23 06:53:11 -06:00
Xiang Xiao
604885cbef
apps/system/ping and ping6: Send ID and seqno in network byte order.
2018-08-23 06:47:33 -06:00
Xiang Xiao
32182421a9
apps/system/system/system.c: Add 'const' to make function signature compatible with OpenGroup.org
2018-08-23 06:38:45 -06:00
Xiang Xiao
ddd86d31ca
apps/system/zmodem:
...
- fix error "sz_main.o: No such file or directory"
- support -p <path> for rz to change the folder for the recevied file
- switch debug output from printf to syslog
- send the next packet for ZME_ACK in ZMS_SENDING to avoid rz on the host side stuck
- make send work reliable even without hardware flow control
2018-08-23 06:33:39 -06:00
ligd
bee98898f0
apps/nshlib: Expand reboot and poweroff commands to include a second, optional mode argument
2018-08-23 06:21:47 -06:00
Gregory Nutt
23066a71f0
Grr.. last commit unreverted some changes. I think it is right now.
2018-08-22 12:19:36 -06:00
Gregory Nutt
0bdb179160
Move a copy of define.bat and sh from nuttx/tools to apps/tools so that they will be availalbe for the import build.
2018-08-22 12:08:31 -06:00
Gregory Nutt
2f982e9c77
Revert "Squashed commit of the following:"
...
This reverts commit 25b92edd9f
.
2018-08-22 12:06:32 -06:00
Gregory Nutt
cd62ab5398
Revert "apps/builtin/exec_builtin.c: Fix a error introduced by recent comments. Found in build testing."
...
This reverts commit 64e423a49c
.
2018-08-22 12:06:28 -06:00
Gregory Nutt
3a2a480eeb
Revert "Oops.. typo in bugfix."
...
This reverts commit 57998f8d71
.
2018-08-22 12:06:25 -06:00
Gregory Nutt
4d9b55e623
Revert "apps/examples/ostest: Fix some inappropriae renaming of static functions introduced with recent patches."
...
This reverts commit b0cefbf1c7
.
2018-08-22 12:06:22 -06:00
Gregory Nutt
b0cefbf1c7
apps/examples/ostest: Fix some inappropriae renaming of static functions introduced with recent patches.
2018-08-22 10:40:17 -06:00
Gregory Nutt
57998f8d71
Oops.. typo in bugfix.
2018-08-22 10:00:37 -06:00
Gregory Nutt
64e423a49c
apps/builtin/exec_builtin.c: Fix a error introduced by recent comments. Found in build testing.
2018-08-22 09:54:37 -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
anchao
9fe6d2e1c3
Remove illegal calls into OS to initialize BINFMT support. This must be moved to the board initialization logic within the OS.
2018-08-22 07:53:35 -06:00
Gregory Nutt
5d72cae1d9
apps/examples/tcpblaster: Fix names several configuration setting that were changed incorrectly in a recent commit.
2018-08-22 07:53:35 -06:00
Anthony Merlino
162fb66ecf
Merged in antmerlino/apps/i8sak_daemon (pull request #151 )
...
i8sak: i8sak daemon now gets shutdown if not in use.
Previously, once the i8sak daemon was started, by running any command, it would stay running. This means that if you want to use i8sak to setup your network, but then want exclusive access to the char device, or network device, you have to manually shutdown the i8sak daemon. Now the daemon stays active as long as required to finish any commands, or stays open if a new command keeps it on, but when all work is finished, it shuts down.
Approved-by: GregoryN <gnutt@nuttx.org>
2018-08-19 18:47:40 +00:00