Commit Graph

289 Commits

Author SHA1 Message Date
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
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 Stühn 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