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
Gregory Nutt
8e249eb25f
apps/Makefile: Fix one missing instance of CONFIG_EXAMPLES_NSH* that was not changes to CONFIG_SYSTEM_NSH*.
2018-08-18 13:34:44 -06:00
Gregory Nutt
3c4ca6a35e
apps/system/nsh: Completes implementation of system() and popen() commands for the KERNEL build mode.
2018-08-18 11:39:26 -06:00
Gregory Nutt
7d47671b9d
apps/builtin/Makefile: Fix an error introduced with commit 904d68cd1f
: If there are no built-in functions, then the CATFILE function hangs.
2018-08-18 11:37:23 -06:00
Gregory Nutt
32f50985a6
Fix references to examples/nsh left in previous commit.
2018-08-18 09:33:25 -06:00
Gregory Nutt
8de513e36b
apps/system/nsh: Move apps/examples/nsh to apps/system/nsh. It has become so entrenched that it is hardly an example these days. May as well formalized it as a system task.
2018-08-18 09:04:43 -06:00
Gregory Nutt
e3e911555a
apps/system/system and popen: Adapt so that these can be used in the KERNEL build mode. In this case, simply replace task_spawn() with posix_spawn(). This depends on the existence of some environment where /bin/sh exists and can be used to execute one NSH command. For the case of system(), this change was more complete because it previously used task_create(). Now it uses either task_spawn() or posix_spawn(), depending upon the configuration.
2018-08-18 07:55:23 -06:00
Gregory Nutt
08263367bc
apps/Application.mk: If a loadable module is generated the we need to add logic to remove the loadable module in the 'make clean' logic.
2018-08-17 16:31:35 -06:00
Gregory Nutt
8455ee34b6
apps/system/popen/Kconfig: popen is not available in the KERNEL build.
2018-08-17 15:58:29 -06:00
Gregory Nutt
064d4024e4
apps/examples/popen: Add a test of popen/pclose. apps/system/popen: Fix some errors found using the new popen/pclose test.
2018-08-17 14:25:33 -06:00
Gregory Nutt
f198e32c17
apps/system/popen: Add an implementation of the standard popen() and pclose() OS interfaces. These are implementated as applications vs. part of the OS because they depend on NSH. Untested on initial commit.
2018-08-17 10:45:06 -06:00