Commit Graph

59 Commits

Author SHA1 Message Date
patacongo
f62e824113 Eliminate a warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5216 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 00:27:17 +00:00
patacongo
0b6459cb28 More sscanf: Long flag (as in %ld) not be used in all of the places it should be
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5172 42af7a65-404d-4744-a932-0658087f49c3
2012-09-21 22:05:41 +00:00
patacongo
ca1150ce6c Fix bug in last sscanf change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5171 42af7a65-404d-4744-a932-0658087f49c3
2012-09-21 18:51:04 +00:00
patacongo
cf59fd173b One more sscanf change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5169 42af7a65-404d-4744-a932-0658087f49c3
2012-09-21 17:34:13 +00:00
patacongo
626be6d914 Add support for Fire STM32v3; sscanf fixes from Kate
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5168 42af7a65-404d-4744-a932-0658087f49c3
2012-09-21 17:32:30 +00:00
patacongo
3fcb8d9d6c Fixes for z80 compilation with SDCC toolchain. There are still a few header file and linker issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5149 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 22:04:47 +00:00
patacongo
f6b727fa27 Changes needed for clean ez80 compile with ZDS toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5147 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 19:33:47 +00:00
patacongo
a93d7eb69e Shenzhou board is first to use ONLY Kconfig for configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5114 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 13:56:21 +00:00
patacongo
092d15a74a Remove CONFIG_LIBC_PERROR_DEVNAME. What was I thinking?
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5074 42af7a65-404d-4744-a932-0658087f49c3
2012-09-01 00:26:37 +00:00
patacongo
c28bda212a The content for uIP web server demo is no longer canned, but is not built dynameically (Thanks to Max Holtzberg)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5073 42af7a65-404d-4744-a932-0658087f49c3
2012-08-31 23:05:51 +00:00
patacongo
6e38df0173 Add lib.csv that may be used to generate C library symbol tables
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5072 42af7a65-404d-4744-a932-0658087f49c3
2012-08-31 18:55:43 +00:00
patacongo
d67c617009 Fix some places in library where semaphore is not released on error conditions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5071 42af7a65-404d-4744-a932-0658087f49c3
2012-08-31 16:03:17 +00:00
patacongo
4fde74ccc7 Ooops... forgot to add lib_perror.c to the Make.defs file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5062 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 19:43:42 +00:00
patacongo
94a048002b Add perror()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5061 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 19:01:14 +00:00
patacongo
100bc34307 Revise recent changes to serial driver error handling: Errors other than EINTR may be returned when the driver is used very early in initialization. STM32 SPI driver will now survive repeated initializations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5026 42af7a65-404d-4744-a932-0658087f49c3
2012-08-14 14:42:50 +00:00
patacongo
70b1c3f2f6 Make the lib/ subdirectory build more like other directories
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5025 42af7a65-404d-4744-a932-0658087f49c3
2012-08-13 22:27:06 +00:00
patacongo
b7a1b00c08 drivers/serial/serial.c open, read, write, and poll methods will not return a short transfer or an EINTR error if a signal is received while waiting (only)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5022 42af7a65-404d-4744-a932-0658087f49c3
2012-08-12 17:37:04 +00:00
patacongo
3a02181a99 Misc updates (minor)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5014 42af7a65-404d-4744-a932-0658087f49c3
2012-08-06 17:59:41 +00:00
patacongo
4346670013 Fix more floating point formatting bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5013 42af7a65-404d-4744-a932-0658087f49c3
2012-08-06 14:38:47 +00:00
patacongo
495c45d4f6 Fix a floating point presentation error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5012 42af7a65-404d-4744-a932-0658087f49c3
2012-08-06 02:14:36 +00:00
patacongo
2ba5d2de82 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5011 42af7a65-404d-4744-a932-0658087f49c3
2012-08-06 00:29:53 +00:00
patacongo
8e9e6b1103 Fix max filename size report by FAT statfs with long file names; Add missing logic to support fieldwidth and justification for %s format; Add extended help options. Default help command just shows a short list of commands. Verbose and single command help options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5008 42af7a65-404d-4744-a932-0658087f49c3
2012-08-04 22:00:18 +00:00
patacongo
39f2ca6c1f Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4996 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 00:42:46 +00:00
patacongo
d4822f6b95 Fix a C++ link issue: If constant strings used only in constructor, the don't get linked into the final executable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4743 42af7a65-404d-4744-a932-0658087f49c3
2012-05-17 16:55:13 +00:00
patacongo
44d31f7a80 Disable line buffering if the file is opened in binary mode; Also fix a couple of fopen/fdopen bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4630 42af7a65-404d-4744-a932-0658087f49c3
2012-04-18 15:57:45 +00:00
patacongo
1619236ccc Fix backward conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4601 42af7a65-404d-4744-a932-0658087f49c3
2012-04-13 18:25:25 +00:00
patacongo
a374630bf3 Fix compilation errors with floating point is enabled and field widths are disabled (I don't know why you would do that, but the code was wrong)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4562 42af7a65-404d-4744-a932-0658087f49c3
2012-04-05 23:21:13 +00:00
patacongo
0118856491 NX console updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4534 42af7a65-404d-4744-a932-0658087f49c3
2012-03-28 16:06:56 +00:00
patacongo
2fe4ad52f8 Move file-system header files to include/nuttx/fs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 18:01:07 +00:00
patacongo
f13f49939e Add interface to enabled/disable debug output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4386 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 23:54:26 +00:00
patacongo
bb9efbfe7e Fix a small RAM log bug (the RAM log still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4385 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 20:27:49 +00:00
patacongo
cf89cd0330 Add dmesg command that can be used to dump the syslog
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4382 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 15:27:44 +00:00
patacongo
7b343bf7fe Add logic to re-direct debug output to a sysloggin device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4381 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 14:20:40 +00:00
patacongo
b075ac5236 Add avsprintf()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4365 42af7a65-404d-4744-a932-0658087f49c3
2012-02-03 17:31:08 +00:00
patacongo
8d01473fff Move lib/stdio/lib_fgets.c to apps/system/readline; simplify fgets(); use readline instead of fgets in NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4356 42af7a65-404d-4744-a932-0658087f49c3
2012-02-01 19:07:57 +00:00
patacongo
38d3546c69 Fix a error the telnet driver read method. Don't return if only protocol stuff is read
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4352 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 17:38:45 +00:00
patacongo
4a2e77c93c Various fixes for the telnet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4351 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 15:41:07 +00:00
patacongo
f158e56fca STM32 fixes for F4 32-bit timers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4300 42af7a65-404d-4744-a932-0658087f49c3
2012-01-13 02:49:10 +00:00
patacongo
61e5093a0b Fix fclose() return value when closing read-only file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4036 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 19:40:56 +00:00
patacongo
a96e7ec9d5 Add CDC ACM serial class device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3953 42af7a65-404d-4744-a932-0658087f49c3
2011-09-13 19:04:13 +00:00
patacongo
e6c8a184b9 Add support for accessing printf, sprintf, puts, etc. strings that do not lie in the MCU data space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3738 42af7a65-404d-4744-a932-0658087f49c3
2011-07-01 19:08:04 +00:00
patacongo
f0d063dd93 More FTP bugfixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3665 42af7a65-404d-4744-a932-0658087f49c3
2011-06-03 20:27:30 +00:00
patacongo
9ac8ffc564 Fix a nasty bug that was closing stdin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3663 42af7a65-404d-4744-a932-0658087f49c3
2011-06-03 15:38:26 +00:00
patacongo
2c351f21eb More FTP client debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3662 42af7a65-404d-4744-a932-0658087f49c3
2011-06-02 23:45:31 +00:00
patacongo
134a1a930e More FTP client fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3661 42af7a65-404d-4744-a932-0658087f49c3
2011-06-02 20:45:35 +00:00
patacongo
c68ddb5a57 Fix asprintf bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3653 42af7a65-404d-4744-a932-0658087f49c3
2011-05-31 23:32:48 +00:00
patacongo
29a70ad011 Add asprintf()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3652 42af7a65-404d-4744-a932-0658087f49c3
2011-05-31 17:26:24 +00:00
patacongo
7c1bb4bce3 Fix for clean PIC32 compile with DEBUG on
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3639 42af7a65-404d-4744-a932-0658087f49c3
2011-05-22 17:56:57 +00:00
patacongo
c2052ea364 Prep for 6.3 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3615 42af7a65-404d-4744-a932-0658087f49c3
2011-05-15 23:13:04 +00:00
patacongo
71650ffa30 More PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3611 42af7a65-404d-4744-a932-0658087f49c3
2011-05-15 14:45:13 +00:00