Matous Pokorny
f8963b9245
Fix some typos in comments.
2019-04-15 07:58:26 -06:00
Gregory Nutt
dee7f14b49
Squashed commit of the following:
...
apps/system/nxplayer: Fix some logical errors from recent comments. They broke the build of the nxplayer as a library vs. a task. apps/graphics/nxglyphs: Fix yet more namespace problems.
graphics/nxwm/src/nxwm_main.cxx: Move from graphics/nxwidgets/UnitTests/nxwm/nxwm_main.cxx.
apps/graphicx/nx*: Fixes numerous build issues mostly associated with include paths and namespaces.
apps/nxglyphs: Decouple (mostly) from nxwidgets and nxwm so that they can be used elsewhere. Creates include/graphics/nxglyphs.h
apps/graphics/nxglyphs: Put all NxWidgets and NxWM glyphs into a common directory where they can eventually be shared. Not very sharable at the moment due to header file entanglements. Need a separate nxglyps.hxx header file.
Separate nxwidets and nxwm into separate directories. Remove old, common NxWidgets directory.
2019-04-04 18:53:29 -06:00
Alan Carvalho de Assis
2eaf2e0ff8
aps/system/cu/Kconfig: CU term depends on TERMIOS and should select it.
2019-03-05 12:38:39 -06:00
Masayuki Ishikawa
6df934ae92
Merged in masayuki2009/nuttx.apps/fix_taskset (pull request #168 )
...
apps/system/taskset: Fix command arguments are not passed
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-02-25 19:38:54 +00:00
Anthony Merlino
9fbc93ec9f
Merged in antmerlino/apps/vi-build-fix (pull request #169 )
...
system/vi: Condition KEY_CMDMODE_REPEAT with CONFIG_SYSTEM_VI_INCLUDE_COMMAND_REPEAT to avoid build error when option is not selected.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-02-23 19:08:46 +00:00
Michał Łyszczek
8ddb76323f
pps/system/psmq/Kconfig: Fix recursive dependency. SYSTEM_PSMQ both depended on and selected SYSTEM_EMBEDLOG
2019-02-19 14:07:02 -06:00
Gregory Nutt
77319c3fb1
apps/system/psmq/README.txt: Add a README.txt file. This is just a copy of the description accompanying that patch that added system/psmq.
2019-02-18 17:51:50 -06:00
Michał Łyszczek
716caf2f61
apps/system/psmq: New package. psmq is publish subscribe message queue. It's a set of programs and libraries to implement publish/subscribe way of inter-process communication on top of POSIX message queue.
2019-02-18 17:47:34 -06:00
Gregory Nutt
8f16bb8ebc
system/nxplayer and nxrecorder: Fix some coding standard violatins that are just to in-yer-face to ignore: No CamelCase variable names. This was not an extensive check for use of CamelCase. Just some I stumbled across.
2019-02-15 19:25:01 -06:00
Michał Łyszczek
53d8cd78c0
nuttx/sched/mqueue: Change 'int prio' to 'unsigned int prio'. According to open group specification, priority field in mq_* functions should have unsigned type: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/mqueue.h.html
2019-02-15 19:22:48 -06:00
Michał Łyszczek
af9b5762c2
mainly bugfix release:
...
c26c62e remove some code when binary logs are disabled
4c8e0df src/el-pmemory.c: fix usage of uninitialized variable
9b641a4 src/el-pmemory.c: fix wrong options object used
eb1fcb4 options: fix g_options altered after el_ocleanup
f64ec5e add: printing memory without ascii table
c16e5cd make code more c89 compatible
d0f1a54 fix: remove comma at the end of enum list
9defd3f fix bad comment
with very minor features added:
f3c138b add: option to print to stdout
d7857c4 make embedlog print to stderr by default
2019-02-15 07:15:24 -06:00
Gregory Nutt
9db029e318
The file system can no longer be disabled. Remove all conditional logic based on CONFIG_NFILE_DESCRIPTORS==0
2019-02-11 13:10:10 -06:00
anchao
e7cd81a45e
apps/system/system/system.c: Correct a path name.
2019-01-27 07:37:06 -06:00
ZhongAn
97acb41b90
system/nxplayer/nxplayer.c: Fix build error when only enable CONFIG_AUDIO_EXCLUDE_VOLUME is enabled.
2019-01-27 07:31:40 -06:00
Xiang Xiao
dc54f28ff3
apps/system/zmodem: Switch to the raw mode before transfer and restore to the original setting after finishing the transfer.
2019-01-27 07:09:31 -06:00
Gregory Nutt
ed963588bd
apps/system/cfgdata: Make builtin task stack size and priority configurable. Set default to 2048 (from 1024) per recommendation of Ken Pettit.
2019-01-22 08:57:03 -06:00
Ken Pettit
1a82551036
apps/system/vi/vi.c: Fix an infinite loop bug that can show up in some coases (plus a couple of other items).
2019-01-22 08:51:32 -06:00
Ken Pettit
edbf31a341
system/termcurses/tcurses_vt100.c: Fix spelling error in last commit.
2019-01-17 09:13:00 -06:00
Ken Pettit
42f3c06389
system/termcurses/tcurses_vt100.c: Eliminate a warning.
2019-01-17 08:58:11 -06:00
Gregory Nutt
a79b89202e
system/termcurses/tcurses_vt100.c: Costmetic vertical alignment.
2019-01-17 08:39:29 -06:00
Ken Pettit
cc8beb8578
Bug fixes and changes to existing functionality
...
===============================================
1. Deletion of last line in file using 'dd' caused infinite loop searching for
'nextline'. Fixed.
2. Insertion of line above 1st line using 'O' caused line to be inserted on
2nd line. Fixed.
3. Paste buffer from 'dd' was being free'd after the 'p'aste operation,
preventing multiple paste opportunity. Fixed.
4. The cursor was not being bound to the line end and was allowed to 'hover'
over the '\n' EOL character. This caused wierd (relative to standard vi)
insertion locations and cursor movement with 'a'ppend and 'i'nsert. Fixed.
5. The 'vi_shrinkpos' position didn't take the end of file pointer into
account when calculating 'curpos', 'prevpos' variables causing wierdness
when deleting things near the end of the file. Fixed.
6. The 'yy'ank command was improperly deleting the text from the document
instead of simply yanking to the paste buffer. Fixed.
7. The 'dd'elete line funciton was not copying the deleted line to the paste
buffer as part of the delete operation. Fixed.
8. The bottom line of the screen was sometimes being used for document text
and other times for command / find entry. Fixed by reserving the bottom
the bottom line for status / command only.
9. When scrolling up / down through a file, the cursor position was not
preserved and moved further and further to the left column based on the
line lengths of the lines visited. Fixed.
10. The display was being COMPLETELY redrawn with each keystroke, causing the
responsiveness to be imbearable. Fixed. Added logic to dynamicall
indicated which portions of the screen need to be updated (full display,
current line to end of screen, current line only, none).
11. The individual display line updates were being performed a character at
a time by calling the vi_putch() function, causing slow performance,
especially in telnet or USBCDC sessions where there is a lot of overhead
per packet. Fixed by calling vi_write() instead with a block of
characters with breaks as needed for TAB exansion.
12. The forward delete 'x' operation allowed deletion through '\n' characters
causing lines to be joined. This is different from standard vi where
'x' at the end of a line performs a delete backward operation. Fixed.
13. When in 'ex' or find sub-modes (':' or '/' bottom line modes), hitting
backspace with empty text did not return the operation to command mode
like it does in standard vi. Fixed.
14. Performing a 'find' opertation would only search from the current cursor
position to the end of the file and did not wrap like in standard vi.
Fixed.
15. Loading a file that was larger than the initial text allocation would
force a call to 'vi_extendtext', marking the file as modified when in
fact it hadn't even been loaded yet. Fixed.
16. Combined vi_insert_mode and vi_replace_mode into a single function to
save code space since they are nearly identical routines.
17. In command mode, backspace was deleting characters which is different
from standard vi. Backspace in command mode normally simply moves the
cursor left / to the previous line. Fixed.
18. Added code to handle boundry conditions when the file is new and
commands are applied to an empty file.
19. Fixed vi_shrinktext so it doesn't allocate a zero-length buffer when
the last character in the file is deleted.
20. The 'x' command was not copying to the paste buffer. Fixed.
21. Fixed parsecolon routine to properly deal with ":wq" command sequence.
New feature additions
=====================
1. Vi startup feature to prepend the current working directory to the
supplied filename if it does not start with '/' absolute path specifier.
This allows editing files in the current directory without needing to
fully qualify the filename.
2. Standard '~' empty screen line characters for proper identification
of empty '\n' only lines at the end of the file.
3. Moving into insert or append mode now prints '--INSERT--' in the status
line and clears it upon exit.
4. Integration with termcurses to detect special keystrokes and to
handle terminal type differences. Haven't yet converted all vt100 print
codes to termcurses equivalents.
5. Support for up, down, left, right arrows, page-up, page-down keys
in command mode.
6. Added 'b' command to move cursor 'b'ack to previous word. Honors the
command repeat value for multiple word moves.
7. Added 'w' command to move cursor to next 'w'ord. Honors the command
repeat value for multiple word moves.
8. Added 'f' and 't' commands to find characters on the current line.
Honors the command repeat value.
9. Added the find 'n'ext command to repeat the previous find operation.
10. Added the 'H', 'M', and 'L' commands to move the cursor to top,
middle and bottom of the display.
11. Extended yank/paste to manage a paste buffer with character mode in
addition to line mode. Character mode allows cut / paste of
individual characters or groups of characters vs. full lines.
12. Added support in the 'd'elete and 'y'ank commands for character mode
deletions such as 'dw', 'dfa', '2yw', etc.
13. Added support in paste routine for multiple paste using command value
argument.
14. Added support for the 'D' and 'C' delete and change to end of line
commands.
15. Added support for 's'ubstitute key ('x' followed by insert mode).
16. Modified yank / paste allocation scheme to avoid repeated alloc
and free of paste buffer. Uses a minimum allocation size scheme and
only does free / realloc when paste does not fit. If the paste is
smaller than the current allocation and the current allocation is
larger than the threshold, then the buffer is freed and a smaller
buffer allocated. Otherwise the existing buffer is used.
17. Support for 'P'aste before current cursor position.
18. Support for '?' reverse search mode.
19. Support for 'J'oin next line with current line command.
20. Printing of current row,col in status line of display.
21. Command repeat '.' support for commands that modifiy text.
22. Support in replace / insert mode for arrow keys, PGUP / PGDN, HOME,
and END. Using these will cause the command repeat buffer to
reset such that only the last text addition after a cursor movement
is saved.
23. Added 'X' delete previous command.
24. Added "gg" go to top of document command sequence.
25. Added "ZZ" save and quit command (equivalent to :wq).
26. Implemented '^' goto first non-whitespace on current line, along
with '+' and '-' goto first non-whitespace on next / previous line.
27. Added CR / LF goto first non-whitespace on next line in command mode.
2019-01-16 19:25:04 -06:00
Ken Pettit
b285dd9b68
Perform a bounds check to fix a random Termcurses crash that I haven't been able to track down. The result of of the subtraction for priv->keycount should never be negative, but I think sometimes it is, so better to catch it and avoid a crash until I can track it down.
2019-01-16 18:22:16 -06:00
Gregory Nutt
93de0c232b
apps/system/readline_common.c: Correct spelling, matches vs maches.
2019-01-16 10:15:18 -06:00
Ken Pettit
cb4974cee8
apps/system/termcurses/tcurses_vt100.c: Fix an issue where the first curses 'getch()' call sometimes (usually) hangs waiting for a keypress. This bug was introduced when I fixed the keyboard 'paste' overflow error.
2019-01-11 07:41:04 -06:00
Ken Pettit
e1237bfefd
apps/graphics/pdcurs34/nuttx and system/termcurses: This commit fixes two issues:
...
1. A memory corruption issue that occurs from a paste operation that would overflow the fixed buffer size for keyboard processing.
2. A stall in getch() processing when there are cached keycodes in the termcurses emulation (tcurses_vt100.c).
2019-01-08 08:28:27 -06:00
Masayuki Ishikawa
3cdb6ec4ba
&Merged in masayuki2009/nuttx.apps/nxplayer_mainthread_stacksize (pull request #164 )
...
apps/system/nxplayer: Introduce CONFIG_NXPLAYER_MAINTHREAD_STACKSIZE
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: GregoryN <gnutt@nuttx.org>
2019-01-07 01:51:36 +00:00
Gregory Nutt
298c76e611
apps/system/termcurses/tcurses_vt100.c: Fix an error introduced during review of recent patch.
2019-01-05 13:52:51 -06:00
Ken Pettit
fcd15d8786
apps/system/termcurses: Addition of termcurses libraries in apps/system/termcurses
2019-01-05 12:40:26 -06:00
Ken Pettit
88c78b6a0c
apps/system/configdata: Adds an "cfgdata" command which allows manipulation of the /dev/config items via the command line. One such use for this utility would be to set a "macaddr" configdata item, etc. The utility is sort-of like a u-boot env variable edit function:
...
For instance, to set a "macaddr" when the new CONFIG_MTD_CONFIG_NAMED option is selected, you would do:
nsh> cfgdata set macaddr [0xfc 0x01 0x0b 0x45 0xa1 0x12] <-- brackets denotes an array of bytes
nsh> cfgdata set hostname myboard
or using the old ID,INSTANCE numeric method:
nsh> cfgdata set 0,0 [0xfc 0x01 0x0b 0x45 0xa1 0x12] <-- brackets denotes an array of bytes
nsh> cfgdata set 1,0 myboard
You can also display all config items:
nsh> cfgdata print all
Name Len Data
macaddr 6 0xFC 0x01 0x0B 0x45 0xA1 0x12
hostname 8 myboard
2018-12-20 14:24:51 -06:00
Gregory Nutt
40874bbe8b
apps/system/nsh/nsh_main.c: Set NSH priorirty if the NSH task was scheduled at a different priority than the configured priority.
2018-12-20 10:50:29 -06:00
Daniel Pereira Carvalho
521052ae1f
apps/system/critmon/Makefile: Stack size and priority reversed.
2018-11-29 11:06:31 -06:00
Anthony Merlino
1c7d0303e8
Merged in antmerlino/apps/system-fix (pull request #161 )
...
system: Fixes build error; There is no result variable, use errcode instead.
Approved-by: GregoryN <gnutt@nuttx.org>
2018-11-28 17:25:13 +00:00
Gregory Nutt
2b53c50552
system/critmon/critmon.c: Another improvement to output format.
2018-11-25 09:50:21 -06:00
Gregory Nutt
411a047f9c
apps/system/critmon: Make output more compact and usable.
2018-11-25 07:42:47 -06:00
Gregory Nutt
92d8243153
apps/system/critmon: Fix some bugs found in initial testing. Stack size must be configurable to avoid issues with the simulator.
2018-11-24 17:56:23 -06:00
Gregory Nutt
943abb19d2
apps/system/critmon: Add a daemon on monitor critical sections.
2018-11-24 13:35:53 -06:00
Xiang Xiao
3c1c533cb5
apps/system/ping6: Remove NET_USRSOCK from Kconfig dependence list
2018-11-09 11:54:24 -06:00
ligd
f954b15cac
pps/system/ping and pings and apps/netutils/ping: Extract icmp ping and icmpv6 ping6 logic from system/ to C-callable library in netutils/.
2018-11-08 09:32:05 -06:00
Xiang Xiao
98a429596f
system/ping/ping.c and system/ping6/ping6.c: Set optind to zero in the error case
...
system/ping/ping.c and system/ping6/ping6.c: Move all ping preparation work into icmp_ping
system/ping/ping.c and system/ping6/ping6.c: Support -W <timeout> and -s <size> option
system/ping/ping.c and system/ping6/ping6.c: Decouple the output from ping logic
2018-11-08 09:05:54 -06:00
anchao
42ce384259
apps/system/vi/vi.c: Do not print error if the file does not exist.
2018-11-07 11:43:04 -06:00
Xiang Xiao
4804d74c61
apps/system/system.c: Fix warning when passing argument 6 of 'task_spawn' from incompatible pointer type [-Wincompatible-pointer-types]
2018-11-07 11:37:00 -06:00
From: dongjiuzhu
2d4df65040
apps/system/i2c/i2c_get.c: Fix i2c_msg freq initialization problem. Typo prevent I2C frequency initialization in a struct i2c_msg.
2018-11-07 11:35:13 -06:00
zhuyanlin
3de5798ff4
apps/system/hexed/src/bfile.c: Fix memory leak
2018-11-07 11:32:07 -06:00
Gregory Nutt
a579bab48a
apps/system/progmem: Remove this utility. It makes illegal direct calls into the OS.
2018-10-19 11:44:41 -06:00
Gregory Nutt
c5edf40542
apps/examples/udpblaster: Add option to use poll() on output (only). Also picks up some fixes to various typographical errors.
2018-09-14 06:59:23 -06:00
Gregory Nutt
f3413df508
Update ChangeLog in preparation for 7.26 release.
2018-09-06 15:08:12 -06:00
Gregory Nutt
fff0ffa185
Update .gitignore files.
2018-09-04 13:20:52 -06:00
Gregory Nutt
305278d1ae
Application.mk: Fix some issues when building directories such as fsutils/mkfatfs that have not mainobj. In this case, the MAINSRC is undefined and it would generate a bad linker command line.
2018-09-04 13:00:03 -06:00
Gregory Nutt
66948fe525
Appliation.mk: Even on Cygwin, GNU make insists that targets use Unix style paths. System/progmem: Rename the install application to progmem. This generates a target install: which collides with the install:: target in Application.mk.
2018-09-04 09:38:26 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -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
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
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
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
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
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
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
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
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
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
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
Gregory Nutt
a89f0e3a07
Add missing function names in function headers.
2018-08-13 15:52:59 -06:00
Gregory Nutt
a57610c2c4
Remove trailing spaces at the end of lines.
2018-08-13 07:47:26 -06:00
mst
62134a0419
apps/system/cle: Usage improvements including command line history (taken from readline) and support for addition control characters.
2018-08-05 16:05:59 -06:00
Gregory Nutt
a1e5bf6bf3
apps/system/i2c: Adapt to rename I2C_M_RESTART->i2C_M_START. I2C_M_NOSTOP should be in flags of first message in every write-read and write-write mesage sequence.
2018-08-03 08:47:10 -06:00
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
Gregory Nutt
19be2cafea
Fix name collision in flash_eraseall restoration.
2016-06-05 08:41:02 -06:00
Gregory Nutt
d06b721ba2
Fix new dependencies for flash_eraseall
2016-06-03 09:11:22 -06:00
Gregory Nutt
3734b4c966
Restore apps/system/flash_eraseall/ using new IOCTL wrapper
2016-06-03 08:15:37 -06:00
Sebastien Lorquet
4044ed8882
merge with upstream
2016-06-03 11:28:36 +02:00
Gregory Nutt
12c0b3ca30
apps/system/flash_erraseall: Removed because it violates the OS/application interface.
2016-06-02 10:21:48 -06:00
Sebastien Lorquet
a9aa753fa4
Recursive Kconfig autogeneration
2016-06-02 16:34:00 +02:00
Sebastien Lorquet
b354a41fd4
Use directory.mk for recursive dir makefiles
2016-06-02 16:25:51 +02: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
Sebastien Lorquet
bfff7dc4ca
add kmenu files
2016-06-02 15:23:50 +02:00
Paul A. Patience
8bdf3e1f25
zmodem: Add missing slash
2016-05-30 10:14:23 -04:00
Gregory Nutt
62fec5d57d
apps/system/sched_note: Move the schduler note monitor from example/ to system/
2016-05-18 19:22:47 -06:00
Gregory Nutt
eedac48c7b
ASCII: Improve some naming
2016-04-14 16:21:02 -06:00
Gregory Nutt
fd5d0e19dc
Remove apps/system/sdcard
2016-03-30 18:19:27 -06:00
Gregory Nutt
0943afd2f9
Kconfig files: All USB-related options depend on CONFIG_LIB_BOARDCTRL and now set CONFIG_BOARDCTL_USBDEVCTL=y
2016-03-26 07:13:57 -06:00
Gregory Nutt
e01e664ccb
Fix a few issues related to new USB device boardctl() commands
2016-03-25 14:24:01 -06:00
Gregory Nutt
a31300cb05
Replace calls to OS internal cdcacm_*, usbmsc_*, and composite_* with boardctl() calls
2016-03-25 13:26:00 -06:00
Gregory Nutt
6125e9376e
Standardize some naming in code section comments
2016-02-21 18:15:00 -06:00
Gregory Nutt
3f95e05bc2
NetLib: Add utility functions to support access to the ARP table
2016-02-08 11:44:59 -06:00
Gregory Nutt
c8e21ddcd6
Costmetic changes to comments and spacing.
2016-02-06 11:34:39 -06:00
Gregory Nutt
83dc6a9b79
I2C tool: Verify that the I2C bus driver exists when process the -b option
2016-02-05 10:49:27 -06:00
Gregory Nutt
032e73f1eb
Eliminate some warnings
2016-02-02 14:48:17 -06:00
Gregory Nutt
bb9b4c8063
Low level drive access functions should not generate output; it interferes with higher level formatting
2016-02-02 14:42:16 -06:00
Gregory Nutt
7c4f9eb8e9
I2CTOOL: Now uses the I2C driver instead of direct calls into the OS
2016-02-02 10:27:50 -06:00
Gregory Nutt
5ab3722d5d
I2C: Remove the setfrequency method from the interface
2016-02-01 16:32:48 -06:00
Gregory Nutt
4e4dbda41e
I2C: Add frequency to i2c_msg_s structure
2016-02-01 14:14:48 -06:00
Gregory Nutt
ae0a55de53
I2C: Remove setaddress method
2016-02-01 12:16:56 -06:00
Gregory Nutt
2709652753
The I2C_TRANSFER method is no longer optional
2016-01-31 14:15:07 -06:00
Gregory Nutt
3ef9b14738
Move apps/examples/ubloxmodem to apps/system/ubloxmodem
2016-01-31 09:35:42 -06:00
Gregory Nutt
f0eb017434
Rename i2c_dev_s to i2c_master_s.
2016-01-30 08:37:28 -06:00
Gregory Nutt
c4395122f9
Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h
2016-01-30 08:00:59 -06:00
Gregory Nutt
a1cbc92b4f
Be courageous: system/ramtron completely removed. It is an inappropriate application
2016-01-27 10:38:14 -06:00
Gregory Nutt
f8f78a0661
system/ramtron is now EXPERIMENTAL because it violates the OS interface boundard by calling up_spiinitialize() directly. The function up_spiinitialize has been obsoleted and is no longer available
2016-01-27 09:25:01 -06:00
Gregory Nutt
a585c6958d
Make files non-executable
2016-01-23 15:27:48 -06:00
Gregory Nutt
fff6765e63
Update some README files
2016-01-22 17:20:15 -06:00
Gregory Nutt
27a55f36d6
Move system/inifile to fsutils/inifile
2016-01-20 17:10:55 -06:00
Gregory Nutt
d198f09ae3
Update examples/module and system/symtab to adjust to change in boardctl() and insmod() interfaces
2015-12-13 08:14:44 -06:00
Gregory Nutt
c0fa1d0970
hexed: Remove write-only variable
2015-11-22 13:33:43 -06:00
Gregory Nutt
37401b9889
hexed: Minor improvements
2015-11-22 12:56:19 -06:00
Gregory Nutt
b1ef1169b9
hexed: Fix some misc. issues
2015-11-22 12:00:20 -06:00
Gregory Nutt
3e10f0084b
debugging system/hexed. Still does not work
2015-11-22 09:55:29 -06:00
Gregory Nutt
1a6100f1ec
Remove some dangling whitespace
2015-11-21 18:33:26 -06:00
Gregory Nutt
2ff6775ac9
Add the hexed command line hex editor. See http://apps.venomdev.net/hexed/
2015-11-21 18:32:04 -06:00
Nghia Ho
e6f6ae0803
handle when CONFIG_READLINE_MAX_EXTCMDS == 0
2015-11-03 09:49:43 -08:00
nghiaho12
94696500dd
readline: Support the case where CONFIG_READLINE_MAX_BUILTINS==0
2015-11-03 07:44:50 -06:00
Gregory Nutt
273a083d20
Misc cosmetic changes from review of last merge
2015-11-02 09:11:06 -06:00
Gregory Nutt
646febbe86
Merged in nghiaho12/apps/nghia/improve_tab_completion (pull request #18 )
...
better TAB completion
2015-11-02 06:53:30 -06:00
Nghia Ho
211f8bf76d
bug fix:: Never reach readline_prompt() in nsh_initialize, moved it up to the top. Works now.
...
enhancement: TAB completion now works like Unix, it will autocomplete as much as possible for
multiple matches.
2015-11-01 01:41:01 -07:00
Gregory Nutt
aacfce081e
Fix several cosmetic, C coding style issues
2015-10-03 11:03:42 -06:00
Gregory Nutt
9cb2849742
Standardize the width of all comment boxes in header files
2015-10-02 17:35:18 -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
e3ad56043e
Standardize naming used for public data and function groupings
2015-10-02 16:20:33 -06:00
Gregory Nutt
e9447c6058
Standardize nameing of the pre-processor definitiongs group header
2015-10-02 14:06:11 -06:00
Gregory Nutt
f52a228eef
Eliminate a warning
2015-09-08 07:46:48 -06:00
Gregory Nutt
a5d4ed2fef
Make sure that CONFIG_USBDEV_TRACE_INITIALIDSET has an assigned value to avoid warnings
2015-09-08 07:24:26 -06:00
Paul A. Patience
266cc147c4
Correct #if to #ifdef when the macro can be undefined
2015-09-01 13:44:06 -04:00
Gregory Nutt
73fc8b501e
apps/system/symtab: Fix some typos; update .gitignore
2015-08-23 12:19:52 -06:00
Gregory Nutt
c7d8ef0f7c
Move logic from nuttx/libc/symtab to apps/system/symtab
2015-08-23 11:59:07 -06:00
Gregory Nutt
f73ee9d352
apps/system/netdb would not build unless CONFIG_NETDB_HOSTFILE was defined because it needed gethostbyname. Noted by OrbitalFox
2015-08-21 09:29:38 -06:00
Gregory Nutt
74801cf38e
apps/tools/mkkconfig.sh: The top-level Kconfig file is not auto-generated. The autogenerated Kconfig file will be constructed so that every second level directory that contains a Kconfig file will automatically be sourced
2015-08-11 17:49:10 -06:00
Gregory Nutt
7c13bac893
Replace some C99 style C with NuttX standard C89 style
2015-08-09 09:58:59 -06:00
Gregory Nutt
d63ce7f5bb
readline(): A a configuration option to enable/disable command line history; Additional cosmetic changes from code review
2015-08-09 08:15:23 -06:00
Nghia Ho
c28f521a5e
Added command history using up/down arrow keys.
2015-08-08 20:54:42 -07:00
Gregory Nutt
d699f5766d
Fixes to system/readline/Kconfig
2015-07-30 12:58:03 -06:00
Gregory Nutt
5aa53ea2db
Readline: Fix a configuration dependency. If we are not echoing to the console, then we cannot support tab completion
2015-07-30 12:53:04 -06:00
Gregory Nutt
169c3c77f1
Fix some bad conditional compilation and update some comments
2015-07-30 12:40:39 -06:00
Gregory Nutt
820c5c42dd
readline/NSH: Extend the tab-completion logic so that NSH commands can also be completed by pressing the tab key
2015-07-30 12:11:58 -06:00
Gregory Nutt
f1b4b4d47a
Fix a few mistakes I made on the last commit
2015-07-28 07:30:05 -06:00
Gregory Nutt
766886310d
readline: Update initial readline commit -- make option configurable. Add an interface to de-couple the readline implementation from NSH. Misc. updates for coding style
2015-07-28 07:17:50 -06:00
Nghia Ho
bc1c74387f
Unix style TAB compleition, for builtin apps only
2015-07-27 22:47:24 -07:00
Gregory Nutt
9669fff72b
Fix system/netdb configuration dependency
2015-07-10 14:53:58 -06:00
Gregory Nutt
5abf88abed
Print host aliases too; Change how host name is print; the match might be on a host name alias rather than the actual host name
2015-07-09 09:16:41 -06:00
Gregory Nutt
662620ae50
apps/system/netdb: Fix length argument used with inet_ntop
2015-07-08 16:46:35 -06:00
Gregory Nutt
b63f57b949
Fix an error in the system/netdb Makefile
2015-07-08 16:25:39 -06:00
Gregory Nutt
05f608322e
Add a command to access the network database
2015-07-08 16:02:18 -06:00
Gregory Nutt
5ff7234707
Remove the system/sysinfo command
2015-07-04 15:17:36 -06:00
Gregory Nutt
5dc87f85eb
Remove the apps/system/poweroff command; it is replaces with the NSH shutdown command
2015-07-04 08:23:02 -06:00
Gregory Nutt
19f40c4f0f
Power off support now depends on CONFIG_ARCH_HAVE_POWEROFF
2015-07-03 06:53:26 -06:00
Gregory Nutt
e297b94eae
Modify board_power_off() so that is is called only via boardctl()
2015-07-02 17:10:14 -06:00
Gregory Nutt
8f16c5d32d
system/poweroff: Use prototype for board_power_off() from include/nuttx/board.h, not from non-supported power.h header file
2015-07-02 16:26:27 -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
17a0e206c6
Update README
2015-04-19 07:27:30 -06:00
Gregory Nutt
9e2d46657d
Update comments and README
2015-04-15 16:25:38 -06:00
Gregory Nutt
84fcc41a63
Update README
2015-04-15 11:31:13 -06:00
Gregory Nutt
10fc3ed1ac
configs/sim/src: Add logic to test localtime and TZ database. See apps/system/README.txt for info
2015-04-15 11:00:40 -06:00
Gregory Nutt
4ad24f8903
Update README files
2015-04-15 09:31:44 -06:00
Gregory Nutt
8bdfcf3ada
apps/system/zoneinfo: Remove tzmount command. It violates some OS boundaries
2015-04-15 09:22:03 -06:00
Gregory Nutt
728407b1d3
apps/system/zoneinfo: Add logic to build a ROMFS file system containing the timezone data
2015-04-15 08:39:44 -06:00
Gregory Nutt
a665361197
Prep for 7.9 release
2015-04-14 14:17:55 -06:00
Gregory Nutt
755c8f8a7f
apps/system/zoneinfo: All logic to build timezone info. Does not do much else yet
2015-04-14 11:21:20 -06:00
Gregory Nutt
50deb7ad20
Remove executable flag from more .c and .h files
2015-04-09 08:20:57 -06:00
Gregory Nutt
6e462908ba
apps/system: Clean up Kconfig menuing
2015-04-07 13:23:39 -06:00
Gregory Nutt
0e060f5d2c
Add Olimexino-STM32 board support from David Sidrane
2015-03-20 18:00:10 -06:00
Gregory Nutt
caf4a7ffc6
Fix two uses of DEBUG_COLORATION vs STACK_COLORATION (from David Sidrane). Also some corrected comments
2015-03-05 06:41:14 -06:00
Gregory Nutt
d01dc4fb4c
Fix some warnings in audio code causing by fixing the prototypes of mq_send() and mq_receive()
2015-02-09 12:50:04 -06:00
Gregory Nutt
13854c8b5a
Removed forced enable of CONFIG_READLINE_ECHO in apps/system/readline/readline.h
2015-02-01 13:15:31 -06:00
Gregory Nutt
80c1704d85
Oops missed one reference to DEBUG_STACK
2015-01-24 07:17:56 -06:00
Gregory Nutt
632480ce24
apps/system/lm75: Missing semicolon when floating point enabled
2015-01-06 13:21:56 -06:00
Gregory Nutt
40d2de6b83
Add a tiny system application to read the current temperature
2015-01-06 12:31:33 -06:00
Gregory Nutt
88c3d8bdda
apps/system/composite: Fix some corrupted conditional compilation that crept in. Looks like some automatated update gone awry.
2014-12-28 19:02:44 -06:00
Gregory Nutt
354524c8c2
apps/system/usbmsc: Fix some corrupted conditional compilation that crept in. Looks like some automatated update gone awry.
2014-12-28 17:09:35 -06:00
Gregory Nutt
4cc9c1901b
Fix some misplaced conditional compilation. From David Sidrane
2014-12-26 08:20:13 -06:00
Gregory Nutt
ad1f59f497
apps/system/cu: Add a some configurable defaults (only to reduce my keystrokes in repetitive testing)
2014-12-13 13:11:06 -06:00
Gregory Nutt
40e2a076fe
Cosmetic fix to a comment
2014-12-13 12:00:19 -06:00
Gregory Nutt
dabe412e70
Add a minimalist implemention of the 'cu' terminal program (part of Taylor UUCP for ages). Using it, you can simply open a serial port and interact with it. Using '~.' you can leave the terminal program and drop back to nsh.
...
This might come in handy for other people that have e.g. GSM modems, GPS receivers or other devices with text based serial communications attached to their Nuttx systems.
2014-12-13 10:36:37 -06:00
Gregory Nutt
bffa1da92a
.
2014-12-13 10:34:11 -06:00
Gregory Nutt
8a26497e88
apps/inifile: Filename parameter should be const
2014-12-06 09:14:55 -06:00
Gregory Nutt
b2c867f214
More ccpcheck-related fixes
2014-11-25 17:28:22 -06:00
Gregory Nutt
ecc8c70f77
Fixes for more cppcheck complaints.
2014-11-25 15:41:34 -06:00
Gregory Nutt
04bf18295f
NxPlayer Kconfig should depend on AUDIO support
2014-11-17 16:51:16 -06:00
Gregory Nutt
3ec21f41c1
Remove use of CONFIG_MASK_TASK_ARGS from the I2C tool
2014-11-13 06:27:47 -06:00
Gregory Nutt
61751ad39f
Fix compile problems introduced when the syslog() prototype changed; Also update Makefile for kernel build
2014-10-22 12:05:39 -06:00
Gregory Nutt
2719815dd9
Update everything under apps/ to use the corrected syslog interfaces
2014-10-08 11:34:22 -06:00
Gregory Nutt
0a4258db6d
MAINOBJ needs to be added to object list in many Makefile
2014-09-11 06:48:11 -06:00
Gregory Nutt
681b3baf96
Changes to many Makefiles. For kernel buil object containing main cannot go into library because of name collisions. The object file must be handled as a special case in every Makefile
2014-09-07 09:17:23 -06:00
Gregory Nutt
043d6898db
Determine the main object name from the main source name in every kernel build Makefile
2014-09-07 07:19:19 -06:00
Gregory Nutt
2881b73f3d
Add an nm command after every kernel build link to show if there are any undefined symbols
2014-09-07 07:15:59 -06:00
Gregory Nutt
70765b94fc
Add the main object to the list objects to link in every kernel build link command
2014-09-07 07:12:55 -06:00
Gregory Nutt
22720d5eb3
Add the main object to the dependencies for the kernel build
2014-09-07 07:09:22 -06:00
Gregory Nutt
b65500c289
If now a kernel build, then add the main object in with all of the rest
2014-09-07 07:05:54 -06:00
Gregory Nutt
22eb5d5c46
Update apps/examples/helloxx/Makefile
2014-09-07 06:59:30 -06:00
Gregory Nutt
181b75301f
Customize the program name in the generic setup that was added to each makefile that installs a program
2014-09-06 13:30:44 -06:00
Gregory Nutt
3454362678
Add generic setup logic to every Makefile that installs a program. Each will need customization
2014-09-06 13:19:02 -06:00
Gregory Nutt
cedf1d7369
Fix all install targets
2014-09-06 13:01:44 -06:00
Gregory Nutt
72cd42282c
Oops wrong else
2014-09-06 10:54:58 -06:00
Gregory Nutt
753f347723
Add missing else from last big change
2014-09-06 10:51:18 -06:00
Gregory Nutt
544cfc8aa2
Add program installation for CONFIG_BUILD_KERNEL in all Makefiles that build a main()
2014-09-06 10:42:03 -06:00
Gregory Nutt
c35653cd05
Only one install target per Makefile
2014-09-06 10:05:01 -06:00
Gregory Nutt
d8a239d649
Use more standard *argv[] instead easier **argv
2014-09-06 09:23:23 -06:00
Gregory Nutt
9f7c9b273f
With kernel build, entry point to all tasks is main, not some xyz_main
2014-09-06 09:19:15 -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
dd8d40dabd
Remove final traces of the 8015 from the NuttX source tree
2014-09-01 13:21:15 -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
b123f8f6bf
STM32 FLASH fixes: use size_t instead of uint16_t, make interface more generic. From Freddie Chopin
2014-08-28 09:11:20 -06:00
Gregory Nutt
5943cf2c2b
Extend the NSH network initialization logic. There is now an option that will create a network monitor thread that will monitor the state of the link. When the link goes down, the code will attempt to gracefully put the Ethernet driver in a down state; When the link comes back, the code will attempt to bring the network back up.
2014-08-17 09:51:26 -06:00
Gregory Nutt
e680bd2c0f
Sudoku needs a .gitignore
2014-08-13 20:54:53 -06:00
Gregory Nutt
66f1722ff7
Add a Sudoku game
2014-08-11 19:27:48 -06:00
Gregory Nutt
0975ad77aa
Break reading and enqueueing of audio buffers into two steps so that errors in enqueueing can be distinguished for errors in reading. Errors in enqueueing signal a downstream decoder error. Add logic to gracefully recover from downstream decoder errors.
2014-08-05 10:04:24 -06:00
Gregory Nutt
2e5f4f160b
Costmetic changes
2014-08-05 10:04:03 -06:00
Gregory Nutt
f3bf74836c
NxPlayer: Fix an error I introduced: Need to pass through final buffer even if is it zero length because it contains the end of audio stream flag
2014-08-01 07:00:02 -06:00
Gregory Nutt
2b7c476c59
Audio: Change how the end of the audio stream is detected by the leaf audio component. This used by be done by looking for the first partial buffer. That does not work with the in-place sub-sampling performed by the PCM decoder: That always reduces the size of the buffer so that all buffers only partially filled by the time they get to the leaf. Now, a flag is set in the audio buffer flags set to indicate the final buffer in the stream.
2014-07-31 16:36:09 -06:00
Gregory Nutt
cd546421d1
NxPlayer: Fix some error handling, update comments, more debug output
2014-07-31 14:59:51 -06:00
Gregory Nutt
d2b292a033
NxPlayer needs to set curbyte field to zero before enqueuing a buffer. Otherwise, it looks like beginning of the buffer has already been consumed
2014-07-27 19:49:01 -06:00
Gregory Nutt
096e8247ad
First cut implementation of fast forward and rewind controls
2014-07-27 12:26:03 -06:00
Gregory Nutt
d7274845a4
Move subsampling rate definitions from nxplayer.h to audio.h
2014-07-27 11:05:25 -06:00
Gregory Nutt
12ab18cddc
Trivial things from the last commit left in the editor
2014-07-24 15:10:12 -06:00
Gregory Nutt
a33d316cd3
Changes to integrate with Ken's NxWM::CMediaPlayer
2014-07-24 15:06:54 -06:00
Gregory Nutt
1a31ee3e80
Convert ac_format and ac_controls to unions to make access a little cleaner
2014-07-24 10:21:04 -06:00
Gregory Nutt
6f55c57b00
Audio: Add hooks for fast-forward and rewind needed by CMediaPlayer; add hooks for equalizer settings needed by the WM8904
2014-07-24 08:28:10 -06:00
Gregory Nutt
a2faaa1f32
NxPlayer: Misc changes to better integrate with NxWM::CMediaPlayer
2014-07-23 18:21:08 -06:00
Gregory Nutt
19bd59a6ca
Fix error introduced in last commit: Can't call ferror AFTER closing file
2014-07-23 08:40:36 -06:00
Gregory Nutt
b67177483b
NxPlayer: Check for read errors and end-of-file with nothing read
2014-07-23 07:46:49 -06:00
Gregory Nutt
6e4aebcf99
Flesh out a few more PCM methods, still incomplete. Re-vision PCM structure definition
2014-07-22 19:23:05 -06:00
Gregory Nutt
f9386e6b64
nxplayer: Add more debug output so that those of use who are not Ken can follow what is happening
2014-07-22 09:27:24 -06:00
Gregory Nutt
a23e36a1e0
WM8904 w/NxPlayer: Fix some compile errors and warnings with debug enabled
2014-07-20 09:17:36 -06:00
Gregory Nutt
633fae427d
NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed.
2014-07-04 19:13:08 -06:00
Gregory Nutt
188d752e30
Updates for coding style
2014-06-27 10:13:23 -06:00
Gregory Nutt
77572a522a
Add apps/system/mdio from Lazlo
2014-06-27 10:02:52 -06:00
Gregory Nutt
721dc008e8
Add support for a network device IOCTL to access PHY registers. Ioctls only implemented for STM32. From Lazlo
2014-06-27 09:30:41 -06:00
Gregory Nutt
1f2eb77f11
The hex2bin library did not build with debug off
2014-06-26 16:40:38 -06:00
Gregory Nutt
51d282af47
hex2bin: Add alternative interface layers to illustrate how to load programs
2014-06-16 15:43:23 -06:00
Gregory Nutt
349ccbb6ef
hex2bin: Fix un-necessary seeks because expected address was not being updated
2014-06-16 10:58:33 -06:00
Gregory Nutt
36595a49cb
hex2mem: Like hex2bin, but writes Intel HEX files directly to memory
2014-06-16 10:34:50 -06:00
Gregory Nutt
896d1d3f83
hex2bin: Fix some indexing errors
2014-06-16 08:37:44 -06:00
Gregory Nutt
7019e782ad
hex2bin: Fix a typo in the stack size
2014-06-16 08:12:46 -06:00
Gregory Nutt
5791392591
hex2bin: Needs a little larger stack
2014-06-16 08:10:40 -06:00
Gregory Nutt
6445ddbceb
hex2bin: Various bugfixes
2014-06-16 07:31:30 -06:00
Gregory Nutt
0487f8fbf4
hex2dump: Needs to read new character at end of the loop
2014-06-15 14:06:46 -06:00
Gregory Nutt
0bb3b49cc2
hex2bin: Start code should not be in buffer
2014-06-15 13:28:03 -06:00
Gregory Nutt
c61bb3a0a2
Fix an error in exec(). argv[] has not being passed
2014-06-15 13:22:44 -06:00
Gregory Nutt
2b01e7c297
Add conversion of Intel HEX to binary
2014-06-15 12:07:27 -06:00