Commit Graph

476 Commits

Author SHA1 Message Date
Masayuki Ishikawa
d9cb9175ac Merged in masayuki2009/nuttx.apps/refactor_nxplayer (pull request #149)
nxplayer: Refactor nxplayer.c

Apply netlib_parsehttpurl() and remove unnecessary usleep().

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: GregoryN <gnutt@nuttx.org>
2018-07-31 12:16:31 +00:00
Masayuki Ishikawa
67e6e330a8 Merged in masayuki2009/nuttx.apps/taskset_command (pull request #140)
apps/system/taskset: Add taskset command for SMP systems

This command can be used to retrieve or set a process's CPU affinity.
For example,

  nsh> taskset -p 4
  pid 4's current affinity mask: 2

  nsh> taskset -p 3 4
  pid 4's current affinity mask: 3

  nsh> taskset -p 1 busyloop &

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-06-08 13:24:03 +00: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
06dae98ce2 Fix some trivial typos. Add a comment to a C file. 2018-05-28 08:01:18 -06:00
Gregory Nutt
63db94efbc Update README 2018-05-28 07:46:24 -06:00
Gregory Nutt
430a088784 Update README 2018-05-27 17:10:57 -06:00
Gregory Nutt
dd59d4f946 Update a readme and some comments. 2018-05-27 15:13:19 -06:00
Gregory Nutt
b84f5841d5 apps/system/zmodem: Call tcflush() before closing the serial port. This is necessary because that close operation may hang if hardware flow control is enabled. Consider this scenario: After the host sz runs on the host, it exits and leaves CTS high. The target rz completes, and tries to close the serial port. But if there is buffered Tx data, then the close will hang when it tries to drain the buffered Tx data since there is no where it can go. tcflush() discards the buffered data and permits the close to continue. There additional logic in nuttx/drivers/serial needed tow work with this. 2018-05-27 11:44:43 -06:00
Gregory Nutt
22e5af9320 apps/system/zmodem: Allow stack size and priority to be configured. 2018-05-27 10:22:06 -06:00
Gregory Nutt
9ac16049b8 apps/system/zmodem: Fix an incompatibility with the way that CRCs are calculated. 2018-05-27 08:43:22 -06:00
Gregory Nutt
d413571621 apps/system/zmodem: Fix Makefile.host. It was broken when zmodem.h was moved to apps/include/system. 2018-05-26 18:53:49 -06:00
Gregory Nutt
89c630fe55 Update a README file. 2018-05-26 17:29:53 -06:00
Gregory Nutt
1e94c78e2e apps/system/zmodem: Add an option to enable hardware flow control via termios. 2018-05-26 15:59:58 -06:00
Gregory Nutt
803323c213 apps/system/zmodem/README.txt: Break a long lone and remove some duplicated text. 2018-05-25 18:49:36 -06:00
Michał Łyszczek
b6410136b7 apps/system/embedlog: Support for embedlog data loggin package from https://embedlog.kurwinet.pl/ 2018-05-06 15:34:45 -06:00
Gregory Nutt
29c576c820 libc/lzf: Define structures to represent LZF headers. 2018-03-18 12:32:15 -06:00
Gregory Nutt
d35a3e847e apps/system/lzf:
- The maximum block size is now configuration setting in order to give finer control over memory usage.
  - The compression/decompression buffers have been moved out the stack and are now global variables.  This eliminates the need to set large stack sizes to use this utility.
  - Added semaphore protection of all global variables for the case of the FLAT or PROTECTED builds.  Unlike the KERNEL build, the same global variables will be used by each instance of the LZF utility.  If you want thread safety, then you must either (a) serialize all access to the global variables, or (b) pack the global variables into a structure and allocate that structure on each execution of lzf_main().
2018-03-17 15:35:19 -06:00
Boris Astardzhiev
a7979e4c3b apps/system/lzf: Refactor so that the user is no longer required to generate the LZF header 2018-03-16 09:55:27 -06:00
Gregory Nutt
14e9a0255b apps/system/lzf: Don't build the LZF tool if the LZF library is not enabled. 2018-03-16 09:33:36 -06:00
Gregory Nutt
d1a3a58fbe apps/system/lzf: Move the LZF tool from apps/examples/ to apps/system. 2018-03-16 09:10:01 -06:00
Gregory Nutt
139b008fc9 apps/system and wireless: Applications should use the standard clock() interface, not the internal NuttX clock_systimer() interface. 2018-03-14 07:59:44 -06:00
Juha Niskanen
b36ac8df0a apps/system/stackmonitor: Fix comparison between pointer and zero character constant. 2018-03-13 07:46:52 -06:00
Gregory Nutt
84ceda663d system/stackmonitor/: Minor design improvement. 2018-01-20 13:37:38 -06:00
Gregory Nutt
8830a841b4 system/stackmonitor: Re-design the stack monitor so that it does not make forbidden calls directly into the OS, breaking the portable POSIX OS interface. It now properly uses the PROCFS file system to glean information about stack usage. 2018-01-20 13:05:13 -06:00
Fabio D'Urso
da4472a978 apps/system/usbmsc: Added Kconfig options to configure write protection for each LUN 2018-01-14 17:11:32 -06:00
Anthony Merlino
5600b287a5 Merged in antmerlino/apps/setlogmask (pull request #127)
Adds 'setlogmask' application that allows you to set the syslog priority via a simple command

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-12-19 17:15:45 +00:00
Masayuki Ishikawa
021839224f nxplayer: Add support for http streaming in nxplayer
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-12-19 15:08:29 +09:00
Masayuki Ishikawa
77ac05c383 nxplayer: Fix warnings by nxstyle
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2017-12-19 15:08:26 +09:00
Gregory Nutt
fd63b607b5 apps/system/free: Removed because it violates the portable POSIX OS interface. 2017-11-13 07:59:38 -06:00
Gregory Nutt
402306635a system/composite: Eliminate warning about dumptrace being defined but not used. 2017-11-12 10:11:30 -06:00
DL
42ec1aad65 Fixed i2ctool write operation in no restart mode (flag -n).
It seems that I2C driver has changed a bit since i2ctool was written,
so now i2ctool sends repeated start even if `no restart` flag (-n)
was passed to it.
2017-11-01 06:11:53 +03:00
Gregory Nutt
a27294d788 apps/system/ping6: Use inet_ntop() to improve the appearance of the ping6 IPv6 address output. 2017-10-24 15:38:37 -06:00
Gregory Nutt
bf9bc28fcf system/ping and ping6: Fix a typo and also a place where = used when == intended. 2017-10-24 12:27:27 -06:00
Gregory Nutt
749ea9e881 This commit removes the ping6 command from NSH and replaces it with the apps/system/ping6 built-in command. The NSH ping6 command had to be removed because it violated the portable POSIX OS interface. The apps/system/ping6 command uses the sem-standard IPPROTO_ICMP6 socket interface.
Squashed commit of the following:

    apps/system ping and ping6:  Fix a backward test.
    apps/system/ping6: ping6 logic now builds without error.
    apps/system/ping and ping6:  Minor clean-up to configuration settings.
    apps/system/ping6:  Minor clean-up to be able to configure CONFIG_SYSTEM_PING6
    apps/nshlib:  Remove support for ping6 from NSH.
    apps/system/ping6:  Add IPPROTO_ICMPv6 ping6.  Initial commit is simply a clone of the IPPROTO_ICMP ping logic.
    Rename CONFIG_NET_ICMPv6_PING to CONFIG_NET_ICMPv6_SOCKET.
2017-10-24 11:19:41 -06:00
Gregory Nutt
bccf0092a4 nshlib: Remove some dangling IPv4 ping logic. system/ping: Add DNS hostname support. 2017-10-23 09:59:03 -06:00
Gregory Nutt
c1ec7db8a9 This commite eliminates the ping command from NSH and replaces it with a ping 'built-in' at apps/system/ping. The original NSH version of ping violated the portable POSIX interface and, hence, had to be removed. The new system/ping command uses the new IPPROTO_ICMP AF_INET datagram sockets to implement ping.
Squashed commit of the following:

    apps/system/ping:  Fix some timing issues.
    apps/system/ping:  A few timing related corrections.
    apps/nshlib:  Remove support for the NSH 'ping' command.  The implementation of that command violated the portable POSIX interface and has been replaced with a ping 'built-in' command at apps/system/ping.
    apps/system/ping:  Add larger payload.  Verify content of echoed payload.
    apps/system/ping:  Various fixes for a clean compile
    system/ping: Add new build structure for system ping command.
2017-10-23 08:50:01 -06:00
Alan Carvalho de Assis
cbce879d6a Add -n samples to lm75 app and replace Centigrade with Celsius 2017-10-15 07:26:55 -06:00
Alan Carvalho de Assis
f5d7df6658 system/lm75: Fix a naming error in a dependency. 2017-10-14 15:24:38 -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
19acc8ad4e apps/system/composite: Remove references to USBMSC. There still dependencies on CDC/ACM in the serial USB trace output. That really should be removed. 2017-07-21 08:35:01 -06:00
Gregory Nutt
1882fe3200 Merge remote-tracking branch 'origin/master' into composite 2017-07-16 08:54:23 -06:00
Frank Benkert
7b9ec306db Squashed commit of the following:
commit 99b41a291b
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 11:04:13 2017 -0600

    apps/system/composite:  Remove configuration settings that are no longer used.

commit 668179495f
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 09:26:49 2017 -0600

    apps/system/composite:  Restore USB tracing; remove unused field in a structure.

commit 23f1dd5e48
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Sat Jul 15 08:58:14 2017 -0600

    system/composite:  Remove CDC/ACM and MSC configuration logic.  This belongs in the OS composite initialization.  Add and argument so that you can select the USB composite configuration to be attached.

commit f8711488f1
Merge: 00896040 234afcd8
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jul 14 16:25:48 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 0089604044
Merge: f913ea01 ae1eeada
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Thu Jul 13 13:59:25 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit f913ea0179
Merge: bcbdd798 915b42f8
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Mon Jul 10 11:08:46 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit bcbdd798c6
Merge: 2219c02d 1657d1ff
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jul 7 20:28:30 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 2219c02ddb
Merge: fe1e52a8 d81d9c41
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Wed Jul 5 11:12:09 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit fe1e52a83a
Merge: 94f82d47 75f29d9d
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jun 30 16:14:36 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 94f82d473d
Merge: a11806ee ffe0640d
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Thu Jun 29 10:19:55 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit a11806ee5f
Merge: f29dc985 5f5f8878
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Mon Jun 26 11:57:00 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit f29dc98512
Merge: 70faf0d1 d8759ffe
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Mon Jun 19 17:26:00 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 70faf0d170
Merge: 7d3b1581 a7770590
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jun 16 17:33:46 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 7d3b158142
Merge: b2c392d4 c8ae5f16
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jun 16 17:30:39 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit b2c392d4fe
Merge: 95eb2034 f3dc5bea
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Mon Jun 5 17:41:02 2017 -0600

    Merge remote-tracking branch 'origin/master' into composite

commit 95eb20343b
Author: Gregory Nutt <gnutt@nuttx.org>
Date:   Fri Jun 2 07:09:44 2017 -0600

    apps/system/composite: Add a configuration option to the boardctl() calls to support multiple composite device configurations dynamically.

commit 7652b67882
Author: Frank Benkert <Frank.Benkert@avat.de>
Date:   Thu Jun 1 15:19:40 2017 -0600

    Update to apps/system/compsite assocated with big changes to the composite device logic
2017-07-16 08:45:26 -06:00
Gregory Nutt
c7f8540169 apps/system/composite: Fix configuration selecting.. was setting the port number, not the configure ID. Also add a configuration option to select the default configuration. 2017-07-15 12:13:17 -06:00
Gregory Nutt
99b41a291b apps/system/composite: Remove configuration settings that are no longer used. 2017-07-15 11:04:13 -06:00
Gregory Nutt
668179495f apps/system/composite: Restore USB tracing; remove unused field in a structure. 2017-07-15 09:26:49 -06:00
Gregory Nutt
23f1dd5e48 system/composite: Remove CDC/ACM and MSC configuration logic. This belongs in the OS composite initialization. Add and argument so that you can select the USB composite configuration to be attached. 2017-07-15 08:58:14 -06:00
Gregory Nutt
bcbdd798c6 Merge remote-tracking branch 'origin/master' into composite 2017-07-07 20:28:30 -06:00
Gregory Nutt
1829e252f2 system/dhcpc: Fix warning about renew_main.o appear twice in rule. 2017-07-05 12:45:03 -06:00
Gregory Nutt
fe1e52a83a Merge remote-tracking branch 'origin/master' into composite 2017-06-30 16:14:36 -06:00
Gregory Nutt
c3bc27ded2 system/telnet: Fix a copy-paste error in conditional compilation. 2017-06-29 11:21:45 -06:00
Gregory Nutt
94f82d473d Merge remote-tracking branch 'origin/master' into composite 2017-06-29 10:19:55 -06:00
Gregory Nutt
98204bad94 system/telnet: POLL must not be disabled in configuration. Telnet client port argument is no optional. 2017-06-27 07:46:16 -06:00
Gregory Nutt
666771f18c system/telnet: Add Telnet Chat deamon and and client from libtelent. 2017-06-26 16:39:39 -06:00
Gregory Nutt
a11806ee5f Merge remote-tracking branch 'origin/master' into composite 2017-06-26 11:57:00 -06:00
Gregory Nutt
54d55cb307 system/dhcpc: The DHCPC renew command did not build correctly due to naming problems. Noted by Masayuki Ishikawa, 2017-06-23 18:13:51 -06:00
Gregory Nutt
f29dc98512 Merge remote-tracking branch 'origin/master' into composite 2017-06-19 17:26:00 -06:00
Oleg Evseev
512089abdc correct copy-paste typo in comments in composite_main.c 2017-06-18 19:30:01 +00:00
Gregory Nutt
95eb20343b apps/system/composite: Add a configuration option to the boardctl() calls to support multiple composite device configurations dynamically. 2017-06-02 07:09:44 -06:00
Frank Benkert
7652b67882 Update to apps/system/compsite assocated with big changes to the composite device logic 2017-06-01 15:19:40 -06:00
Gregory Nutt
d9805d38e2 apps/system/ramtest: Make stacksize and priority conigurable. 2017-05-21 12:12:45 -06:00
Gregory Nutt
ccb6282f5b apps/system/dhcpc: Add missing argument of fprintf. 2017-05-21 11:32:07 -06:00
Gregory Nutt
c1a64d0cad apps/system/ntpc: Add a command to start or stop the NTPC daemon. 2017-05-21 11:26:16 -06:00
Gregory Nutt
da9f0421c0 apps/system/dhcpc: Currently only works with IPv4 and Ethernet MAC. 2017-05-21 10:53:45 -06:00
Gregory Nutt
2984fa3911 apps/system/dhcpc: Add a command to renew or establish a lease on an IPv4 address. 2017-05-21 10:51:26 -06:00
Juha Niskanen
0bcd50d7a1 apps/: Make more globals static to avoid name clashes 2017-05-19 07:13:12 -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
f473842f96 Fix some calls to task_create(): argv[0] is the first parameter, not the name of the task. 2017-05-09 10:59:24 -06:00
Gregory Nutt
a7f9c09a80 nxplayer: Needs to include strings.h for strcasecp() 2017-02-27 09:25:35 -06:00
Aleksandr Vyhovanec
73a3e4b916 apps/system/zmodem/host/nuttx/compiler.h synchronized with nuttx/nuttx/include/nuttx/compiler.h 2017-01-09 14:23:08 +03:00
Gregory Nutt
741db21f70 Remvoe std_readline(). This called up_getc() and up_putc() directly, violating the POSIX OS interface. 2016-12-13 18:04:43 -06:00
Gregory Nutt
bfec325ade Add support for new scheduler instrumentation. 2016-12-07 09:08:55 -06:00
Gregory Nutt
7288a8d7c0 apps/system/sched_lock: Add support for spinlock notes 2016-12-01 12:39:51 -06:00
Gregory Nutt
8228ab13fc apps/system/sched_note: Extend to include additions to instumentation for SMP. 2016-11-27 17:13:26 -06:00
Sebastien Lorquet
8590fe314d apps/system/system: Use Application.mk in Makefile. 2016-08-26 07:09:04 -06:00
Gregory Nutt
775d25c560 Update some comments in a Kconfig 2016-08-25 13:28:19 -06:00
Gregory Nutt
b1d44a81b4 apps/system/system: A much larger stack is needed to run reliably on the simulation. 2016-08-25 13:22:06 -06:00
Gregory Nutt
743234ea40 apps/examples/system: Add a simple test of the system command. Fix the first bug discovered by the test. 2016-08-25 12:38:13 -06:00
Gregory Nutt
012979f530 apps/system/system: Add a generic system command. Current implentation cannot use /bin/sh and spawns the custom NSH system command directly. 2016-08-25 11:34:36 -06:00
Gregory Nutt
35c32d4ba0 apps/system/tee: Port tee command from NetBSD 2016-08-12 17:29:25 -06:00
Gregory Nutt
ac018597e4 Fix a syntax error in a Kconfig file. Update comments in another. 2016-07-29 13:12:28 -06:00
Gregory Nutt
3e83aa7388 Add apps/include to include path in top-level Make.defs file. Remove multiple definitions of INCDIR opt. 2016-07-11 10:45:17 -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
cd741c82cf apps/include: Move all header files associated with modules in apps/system to apps/include/system 2016-07-01 06:48:22 -06:00
Gregory Nutt
7304927448 Move the TZ/Olson zoneinfo data set from apps/system/zoneinfo to libc/zoneinfo 2016-06-30 15:47:41 -06:00
Gregory Nutt
8a03660c72 Remove apps/system/usbmonitor. It has been moved to nuttx/drivers/usbmonitor. 2016-06-30 13:13:05 -06:00
Gregory Nutt
3dc17f54ff apps/system/hex2bin: Move the portable library portion of hex2bin to nuttx/libc/hex2bin where it can be shared with the OS internals. 2016-06-27 11:20:38 -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
5098539063 Add _ to front of remaining debug macros 2016-06-16 12:12:34 -06:00
Gregory Nutt
cc03ecefc8 Rename err() to _err() 2016-06-16 11:44:22 -06:00
Gregory Nutt
65899c99e6 apps/nshlib: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-14 14:18:07 -06:00
Gregory Nutt
a7b1aae68c Fix some warnings 2016-06-13 12:06:44 -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
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
406ac81fb3 Update ChangeLog 2016-06-09 13:26:22 -06:00
Sebastien Lorquet
7ca5478da3 Rearrange to eliminate Kmenu files 2016-06-09 08:59:16 -06:00
Gregory Nutt
b5891c8b1a Eliminate some warnings 2016-06-08 09:44:16 -06:00
Sebastien Lorquet
880661a284 merge upstream 2016-06-06 11:25:29 +02:00