Commit Graph

298 Commits

Author SHA1 Message Date
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
Gregory Nutt
e6743f8370 CLE: Last bugfix commit was insufficient 2014-05-23 07:59:17 -06:00
Gregory Nutt
f1fc923199 CLE: Was not returning the terminating newline character 2014-05-23 07:19:21 -06:00
Gregory Nutt
2b0f1ed109 Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt
c53bad01cf Move prun from interpreters/ to system/; And an NSH built-in appliation that can be used to execute P-Code files from the NSH command line 2014-05-09 12:30:07 -06:00
Gregory Nutt
758ea38cf1 Move P-Code execution logic from interpreters/prun to system/prun 2014-05-09 11:09:43 -06:00
Gregory Nutt
a65262c899 P-code BINFMT: Add logic to pass information from the binfmt logic to the P-code interpreter. This includes some extension to the binfmt interfaces. 2014-05-08 16:58:10 -06:00
Gregory Nutt
f37d1c2a70 Update the displayed I2C on each get iteraction (not the same starting address). From Ryan VanSickle 2014-05-08 11:26:13 -06:00
Gregory Nutt
5f087ca589 Minor/cosmetic changes 2014-04-27 08:32:36 -06:00
Gregory Nutt
a2600cbe83 Remove an STM32 dependency 2014-04-21 16:59:15 -06:00
Gregory Nutt
c46f34a62e nxplayer: Complilation failure in one configuration reported by Manuel Sthn 2014-04-21 11:30:39 -06:00
Gregory Nutt
b9cf7acb1a More trailing whilespace removal 2014-04-13 16:24:28 -06:00
Gregory Nutt
171db56b69 Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
bb851fc8b5 Make sure that there is one space between while and condition 2014-04-12 13:09:48 -06:00
Gregory Nutt
17702dbad2 Make sure that there is one space between if and condition 2014-04-12 12:53:19 -06:00
Gregory Nutt
c3b82301a2 apps/sysinfo: CONFIG_VERSION_BUILD is a string and needs to be printed with %s not %d 2014-04-08 10:47:38 -06:00
Gregory Nutt
7d9ca9f29b apps/system/usbmsc: Back out kludge that is no longer needed with the recent fix to the USB MSC class 2014-03-25 12:42:01 -06:00
Gregory Nutt
08565a0b07 Cosmet update to debug messages and to comments 2014-03-23 13:32:39 -06:00
Gregory Nutt
aed0d432fc kconfig: Reorder some menus so that the display makes a little more sense 2014-03-23 13:11:06 -06:00
Gregory Nutt
77a2ecce0f SAM4E: Revise board-specific USB MSC support 2014-03-18 09:31:02 -06:00
Gregory Nutt
b19e1aa426 Removed all support for the legacy configuration mechanism from the apps/ directory 2014-03-06 12:21:14 -06:00
Gregory Nutt
3669b6799a More changes to reduce complaints from CppCheck. Some latent bugs fixes, but probably some new typos introduced 2014-02-10 19:11:56 -06:00
Gregory Nutt
f41e81e080 Fix some errors in the clean target of the windows native build 2014-02-10 07:37:43 -06:00
Gregory Nutt
281332cedf Update documentation, mostly related to the command line editor 2014-02-03 10:56:52 -06:00
Gregory Nutt
55ea1ef68e VI and CLE: Fix lots of typos in comments 2014-02-02 16:13:40 -06:00
Gregory Nutt
76a94e541d CLE: Remove some un-used constant data definitions 2014-02-02 13:22:11 -06:00
Gregory Nutt
3fbce9ed5e CLE: Forgot to NUL terminate the command line 2014-02-02 12:53:58 -06:00
Gregory Nutt
9d49d3969f Fix bugs in EMACS command line editor, primarily errors in the VT100 commands 2014-02-02 12:24:45 -06:00
Gregory Nutt
82d71bb439 Add an EMACS-like command line editor that can be used wit NSH 2014-02-02 10:25:53 -06:00
Gregory Nutt
551e49dfec VI: cosmetic updates to comments 2014-02-01 16:30:38 -06:00
Gregory Nutt
bda5da38ce vi: Add missing BSD header 2014-01-31 07:13:51 -06:00
Gregory Nutt
4986c865b6 VI: Finally test vi file-related command, fixed bugs, and add file read command 2014-01-30 18:59:43 -06:00
Gregory Nutt
971d01ce81 VI: Fix loss of status line on display update 2014-01-21 11:49:37 -06:00
Gregory Nutt
c21071dfd3 VI: all commands not seem functional. Still at least on display artifact and probably some things not properly tested 2014-01-21 11:29:49 -06:00
Gregory Nutt
aadd63c7e7 VI: Several bug fixes 2014-01-21 09:57:43 -06:00
Gregory Nutt
c873c4b3f2 VI: Turn off cursor when updating screen; eliminate some warnings 2014-01-21 08:02:38 -06:00
Gregory Nutt
f4343e59aa VI: Send the BEL character on errors to make a noise on errors 2014-01-20 20:03:58 -06:00
Gregory Nutt
5f43b6c815 VI: Display origin for VT100 is (1,1), not (0,0) 2014-01-20 19:32:30 -06:00
Gregory Nutt
eefd9df8f5 VI: Fix some display and cursor position bugs... still plenty of bugs 2014-01-20 17:53:11 -06:00
Gregory Nutt
66d58428e0 Fix formatting of the VT100 escapte sequence 2014-01-20 16:58:14 -06:00
Gregory Nutt
1b37cdf95a VI: Add some debug instrumentation 2014-01-20 14:50:54 -06:00
Gregory Nutt
e5a0a2fafb apps/system/vi: Add new tiny VI work-alike editor. Still a work in progress. 2014-01-20 13:17:21 -06:00
Gregory Nutt
626dc7d6e4 Updated README 2014-01-16 09:27:31 -06:00
Gregory Nutt
682325b524 INI parser update 2014-01-16 09:25:15 -06:00
Gregory Nutt
9cfd315dbf Mostly cosmetic changes to INI file parser 2014-01-16 08:02:57 -06:00
Gregory Nutt
4f3830a5c8 Remove carriage returns from INI file parser files 2014-01-15 18:05:22 -06:00
Gregory Nutt
d97b9dac6d Add a tiny INI file parser 2014-01-15 17:52:06 -06:00
Gregory Nutt
647703e649 Moved include/nuttx/mtd.h to include/nuttx/mtd/mtd.h 2013-11-15 11:22:23 -06:00
Gregory Nutt
ffed849881 NxPlayer play thread stack size is now configurable; all NxPlayer threads are named via pthread_setname_np(). From Ken Pettit 2013-11-10 10:58:14 -06:00
Gregory Nutt
bfcc6ae4d7 apps/examples/composite: Bug fix. Wrong handle being nullified. From David Sidrane 2013-11-07 17:43:14 -06:00
Gregory Nutt
764e05bf6a Correct unitialization of composite USB device. A stale pointer was being reused. From David Sidrane 2013-11-05 09:12:08 -06:00
Gregory Nutt
e1fbe0ba0d apps/platform: A new now for platform-specific applicatin code 2013-10-30 09:04:37 -06:00
Gregory Nutt
f47ca195cb Add for audio sub-format in audion system. From Ken Pettit 2013-10-28 12:11:52 -06:00
Gregory Nutt
52464a4412 Remove trailing whitespace 2013-10-27 07:45:16 -06:00
Gregory Nutt
96a778cf46 Add apps/system/nxplayer media player from Ken Pettit 2013-10-27 07:23:01 -06:00
Gregory Nutt
8d97d83767 Misc changes to README files; Update SAMA5D3x-EK NxWM configuration to use Calibration instruction messages 2013-10-14 14:53:38 -06:00
Gregory Nutt
d35b83668c apps/system/sysinfo: Ken Petit reportst that the sysinfo command's stack size is marginal. Stack size is now configurable with a default of 1024 bytes 2013-10-14 07:32:20 -06:00
Gregory Nutt
429e26f960 I2C Tool: Use default oof 4ooKhz, not 4MHz 2013-10-10 09:55:08 -06:00
Gregory Nutt
ff88e86ef2 Add NSH addroute and delroute commands 2013-10-05 15:42:20 -06:00
Gregory Nutt
749eb6a027 cosmetic update to comments 2013-09-30 17:43:44 -06:00
Gregory Nutt
c4e46f5b62 Changes to NSH and readline to permit NSH to work on a platform with no file system 2013-09-30 11:34:04 -06:00
Gregory Nutt
59a89b687d Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt
5f16a8c304 Mov apps/examples/composite to apps/system/composite; convert configs/stm3210e-eval/composite to use kconfig-frontend tools -- untested 2013-09-25 18:50:14 -06:00
Gregory Nutt
4bfd7f7f5e Move apps/examples/cdcacm to apps/system/cdcacm 2013-09-25 17:23:03 -06:00
Gregory Nutt
edde864e45 Move apps/examples/usbmsc to apps/system/usbmsc 2013-09-25 16:54:39 -06:00
Gregory Nutt
4e6f5be08a Stack monitor fixes 2013-09-24 12:13:53 -06:00
Gregory Nutt
2c39b81178 Add a stack monitoring daemon 2013-09-24 11:46:49 -06:00
Gregory Nutt
2fa63021d5 USB monitor: Fix some bad conditional compilation 2013-09-23 18:10:02 -06:00
Gregory Nutt
645d02acdc USB monitor extended so that it can also be used with USB host trace data 2013-09-09 15:02:33 -06:00
Gregory Nutt
04c04b4106 SAMA5 UDPHS: A little debugging progress. Not all transfers are working yet 2013-09-03 13:09:50 -06:00
Gregory Nutt
394f46560c Fix problems with host build of the Zmodem tools 2013-07-16 11:23:35 -06:00
Gregory Nutt
c0e4184a3f More Zmodem tweaks 2013-07-16 08:26:59 -06:00
Gregory Nutt
4303ec02b1 Zmodem utilities can now be built for Linux; Fix some configuration confusion 2013-07-15 17:50:17 -06:00
Gregory Nutt
4dd3ecb5a2 Minor end-of-the-day Zmodem changes 2013-07-15 17:11:09 -06:00
Gregory Nutt
b6778bf21d Fix file write loop 2013-07-15 16:21:20 -06:00
Gregory Nutt
4d3e50b66f Partial fixes for Zmodem RX buffering problems. 2013-07-15 12:33:35 -06:00
Gregory Nutt
86330f31c6 Fix some Zmodem buffer sizing issues 2013-07-14 17:01:23 -06:00
Gregory Nutt
82297ff7f8 More Zmodem bug fixes: Too many pkttypes; Use wrong packet buffer 2013-07-14 15:39:26 -06:00
Gregory Nutt
b3eee3fd9b Several fixes realted to receiving Zmodem files 2013-07-14 14:19:17 -06:00
Gregory Nutt
3fddcfd334 Fix an error in the ordering of fields in zm_transition_s structure; update documentation 2013-07-14 12:34:45 -06:00
Gregory Nutt
4d439eda39 Initial check-ing of (non-working) Zmodem receive logic 2013-07-14 11:05:23 -06:00
Gregory Nutt
b614666243 Resolve a few Zmodem sender streaming issues 2013-07-13 19:57:04 -06:00
Gregory Nutt
7576163ff6 More Zmodem bugfixes and new files 2013-07-13 13:19:15 -06:00
Gregory Nutt
ac1efbab61 More Zmodem-related changes 2013-07-12 19:06:00 -06:00
Gregory Nutt
2ac792d3e9 Additional support needed for Zmodem debug 2013-07-12 18:10:12 -06:00
Gregory Nutt
929de26f6e A few more zmodem files; still missing a few but those are still fragile and like to undergo some resign before they are usable 2013-07-12 16:28:35 -06:00
Gregory Nutt
551af554c0 Build/test framework for the Zmodem sz and rz commands which are on their way 2013-07-12 16:01:37 -06:00
Gregory Nutt
4d43f25479 Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00
Gregory Nutt
d77e2db372 Fix integration of RAM test into the build and configuration system 2013-06-26 10:54:12 -06:00
Gregory Nutt
459d89d9db Remove CONFIG_XYZ_BUILTIN configurations, replace with the single CONFIG_NSH_BUILTIN_APPS. Add SAM3/4 sam_periphclks.h which is just a header file that includes the right header file. Misc SAM3U-EK cleanup 2013-06-12 17:32:00 -06:00
Gregory Nutt
b673cbebb9 Updates to README files 2013-06-01 17:25:16 -06:00
Gregory Nutt
424fbe6583 .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00
Gregory Nutt
f9ab52bb5a Upate .gitignore files. Add .dSYM. Make sure / is present where needed. Add some missing .gitignore files 2013-05-30 14:45:31 -06:00
Gregory Nutt
f2139ef029 Misc changes for clean built od mikroe-stm32f4 configurations 2013-05-01 09:21:13 -06:00
Gregory Nutt
e78cafe428 Add system/flash_eraseall NSH command 2013-05-01 07:45:34 -06:00
Gregory Nutt
470a04b8f9 Clone svn:ignore directory atributed to .gitignore files 2013-04-04 14:27:29 -06:00
patacongo
f18812e480 Fixes to get SDRAM working on the Open1788. Works but is not reliable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5794 42af7a65-404d-4744-a932-0658087f49c3
2013-03-27 16:24:45 +00:00
patacongo
b9e8b5654a Misc fixes to get SDRAM support and RAM test to build for the Open1788 platform
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5793 42af7a65-404d-4744-a932-0658087f49c3
2013-03-27 14:28:43 +00:00
patacongo
11444754b1 Patches for LPC17xx SSP driver from Chris Taglia; patch for RAM test from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5792 42af7a65-404d-4744-a932-0658087f49c3
2013-03-27 12:39:21 +00:00
patacongo
c3b58f41db Add apps/system/ramtest. I will use this for the LPC1788 SDRAM bringup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5791 42af7a65-404d-4744-a932-0658087f49c3
2013-03-27 00:03:25 +00:00
patacongo
f275b573f9 Add an NX/TIFF screenshot from Petteri Aimonen (Patch 0014)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5690 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 19:23:07 +00:00
patacongo
142c478747 Fix a readline bug. If a NUL is received, it would return end-of-file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5633 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 00:46:27 +00:00
patacongo
cca7618daa All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5599 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 19:32:46 +00:00
patacongo
e2949d93cc Misc clean; mark assertions as non-returning; allow toolchain prefix to be overriden from make command line
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5591 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 23:29:34 +00:00
patacongo
a9dee88a44 Fix readline return value; Add support for removable serial devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5589 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 16:52:20 +00:00
patacongo
bf21cdcb7a The USB monitor now works with the stm32f4discover/nsh configuration (but not with the usbnsh configuration)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5580 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 17:42:58 +00:00
patacongo
ee9124d35d USB monitor daemon updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5579 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 13:30:10 +00:00
patacongo
404bb36bbd Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 21:55:16 +00:00