Commit Graph

432 Commits

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