Commit Graph

227 Commits

Author SHA1 Message Date
patacongo f5211035ab Add a test for the NX console device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4528 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-27 16:59:15 +00:00
patacongo 9c5a6f54bd Add more NX console logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4526 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-27 02:21:47 +00:00
patacongo 5c2c73f6f5 Add beginnings of an NX console driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4524 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-26 22:10:21 +00:00
patacongo da51ecc974 Add support for the poweroff on calypso phones
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4520 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-25 14:51:25 +00:00
patacongo 97fd097f9a Move include/sercomm to include/nuttx/sercomm
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4515 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-24 18:33:21 +00:00
patacongo 34c9408530 Add support for compal e99 and e88 phones
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4512 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-24 17:27:38 +00:00
patacongo 3e42396a44 Updated comments; starting to implement priority protection but backed everything out but some changes to comments
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4510 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-23 20:14:21 +00:00
patacongo 8bcfcd56d5 Add clock_synchronize() which may be used to re-synchonize the system time with an RTC after recovering from a low power state
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4503 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-22 14:52:46 +00:00
patacongo 1018c9e441 NFS update + make some examples configurable as NSH built-ins
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4501 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-22 00:51:01 +00:00
patacongo a58d4b265f Move serial header files to include/nuttx/serial
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4500 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-21 19:47:23 +00:00
patacongo c22a13ef4a Move file-system header files to include/nuttx/fs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4499 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-21 18:01:07 +00:00
patacongo 0247373e8f Cosmetic PIC32 USB driver fixes (still has problems)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4498 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-20 15:28:06 +00:00
patacongo aa37eeaa03 Minor updates for PIC32 USB device driver bugs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4497 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-19 17:56:15 +00:00
patacongo 8c4a5d2149 Add hooks to support STM32 power management
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4490 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-14 19:37:28 +00:00
patacongo e7eb420e2e Add psock_connect()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4483 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-13 13:02:45 +00:00
patacongo 406e1cd01b Update PIC32 Ethernet driver from debugging (still does not work
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4465 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-08 23:05:03 +00:00
patacongo 03c2be3856 Move all non-standard, NuttX header files into include/nuttx/net
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4450 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-03 23:18:34 +00:00
patacongo 82f12f7334 RPC updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4446 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-03 00:15:10 +00:00
patacongo bb41cf1b70 Add more low-level, thread-independent socket interfaces
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4445 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-02 19:57:52 +00:00
patacongo 157e80bb9d Add logic to NSH startup to call C++ static initializers on startup
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4439 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 23:38:59 +00:00
patacongo 82da59c616 Add support for C++ static constructors (at least to a few platforms)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4438 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 21:58:24 +00:00
patacongo 56bcc7b105 Extend CDC/ACM driver so that can be connected/disconnected under software control; Add new NSH commands sercon and serdis that will connect and disconnect the CDC/ACM serial device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4436 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 18:14:55 +00:00
patacongo 112e4f55ba Fix an error the TCP/IP received sequence number counting
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4416 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-23 15:53:27 +00:00
patacongo cb971e195e Add logic to STM32 SDIO driver to terminate on a DMA error
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4408 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-21 15:17:42 +00:00
patacongo 2bc230a0d6 Add an infrastructure to support a generic quadrature encoder driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4390 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-14 15:32:57 +00:00
patacongo acf1031af3 Add interface to enabled/disable debug output
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4386 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-12 23:54:26 +00:00
patacongo a563ce3647 Fix some typos and compilation errors introduced in the last checkin
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4384 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-12 02:53:01 +00:00
patacongo 57ae1bb526 The RAM log cannot block like more character drivers, otherwise cat /dev/syslog does not work
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4383 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-11 15:58:11 +00:00
patacongo 592c4f7deb Add dmesg command that can be used to dump the syslog
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4382 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-11 15:27:44 +00:00
patacongo bdbe8e114c Add logic to re-direct debug output to a sysloggin device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4381 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-11 14:20:40 +00:00
patacongo f03655f43a Add logic so that a RAM log can be used in place of a console device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4380 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-11 03:50:52 +00:00
patacongo 032e3ec3df Some changes to the Telnet/FTPD configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4376 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-08 00:05:36 +00:00
patacongo 3d42ab8282 FTPD daemon and example now build without errors
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4371 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-05 17:36:13 +00:00
patacongo c8c29e73a8 Add the beginnings of an FTP server
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4368 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-04 21:02:45 +00:00
patacongo 7b0c9374a9 Add inet_pton()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4367 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-03 22:54:27 +00:00
patacongo a72bb1fda0 Add inet_ntop()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4366 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-03 18:47:34 +00:00
patacongo a880b453f1 Add avsprintf()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4365 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-03 17:31:08 +00:00
patacongo fb7d63e558 Add strcasestr()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4364 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-03 16:41:28 +00:00
patacongo 6a4e8b32b3 Move lib/stdio/lib_fgets.c to apps/system/readline; simplify fgets(); use readline instead of fgets in NSH
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4356 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-01 19:07:57 +00:00
patacongo 47fa99c4a8 Add tcsetattr and tcgetattr
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4355 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-01 16:17:12 +00:00
patacongo 35a1f247c4 Add on_exit(); Re-order some logic in the task shutdown sequence. Sometimes some complex logic needs to execute when closing file descriptors and this needs to happen early while the task is still healthy
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4354 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 23:39:12 +00:00
patacongo 5d7909fa42 Can't use 'class' as a field name! Backward conditional compilation in usbmsc.c
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4350 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 14:15:36 +00:00
patacongo 019b83fc54 Get rid of psock.h (bad idea); Add logic to clone the socket structure when wrapping the telnet connection as a character driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4349 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-30 23:13:29 +00:00
patacongo 622ac27bfa Add new psock layer; telnet session is now wrapped in a character device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4347 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-30 21:29:59 +00:00
patacongo f0d2b3cca3 The composite USB device is basically functional (more testing needed)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4343 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-27 18:33:41 +00:00
patacongo b8e32a94f3 First round of changes from debug of USB composite device (still has problems)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4342 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-27 16:25:57 +00:00
patacongo cd24ef4a30 Add a text for the new composite USB device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4341 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-26 23:14:27 +00:00
patacongo 804205a104 More USB composite device logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4340 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-26 19:37:34 +00:00
patacongo 7bf58dba52 Major restructuring of CLASS<->driver interface to better support composite USB devices
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4339 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-26 17:42:44 +00:00
patacongo 758d4cd6e6 More name changes: USBSER->PL2303 CDCSER->CDCACM
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4337 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 23:04:17 +00:00
patacongo f9739ec32a Fixes on reverification of USB mass storage class
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4336 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 22:20:48 +00:00
patacongo 85a7bbb39f Massive name change USB STRG -> USB MSC
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4334 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 20:17:59 +00:00
patacongo 08964a35b2 Progress toward composite CDC/ACM+MSC USB device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4332 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 19:27:20 +00:00
patacongo 897ccf6f46 Lots of re-organization -- getting ready to support a composite USB device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4329 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-24 21:51:26 +00:00
patacongo 11170ae05b Add logic to set MAX17040 frequency
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4326 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-23 19:59:09 +00:00
patacongo bbf8d0b6e4 Fixes for clean compile of battery drivers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4325 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-23 18:37:45 +00:00
patacongo 3ea4c05843 Completes first (untested) cut at MAX1704x battery driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4324 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-23 17:19:43 +00:00
patacongo 8a4e17b865 Simplify upper-half battery driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4323 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-22 19:22:51 +00:00
patacongo 80ce244ce1 Create a generic battery driver infrastructure
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4322 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-22 18:03:13 +00:00
patacongo 0068180bf8 Create directory structures to support power-related devices
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4321 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-22 16:42:49 +00:00
patacongo cb1242d496 New, extended CAN structures must be packed.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4320 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-20 23:15:43 +00:00
patacongo b179df901e Add support for extended (29-bit) CAN IDs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4319 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-20 21:52:35 +00:00
patacongo 247096fede STM32 fixes for F4 32-bit timers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4300 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-13 02:49:10 +00:00
patacongo 3692a444f9 Fix last change; the change was good but will prevent queuing multiple outgoing CAN packets
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4293 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 05:03:51 +00:00
patacongo 1e16645fb4 Fix LPC17 CAN driver; TX must be interrupt driven
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4290 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-10 22:29:39 +00:00
patacongo 94e1048f0b Add basic support for pulse count in the PWM interface
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4285 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-09 18:23:30 +00:00
patacongo d012f2fd06 Replace logic STM32 IDLE loop with standard power management interfaces
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4284 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 21:33:57 +00:00
patacongo ae529b8648 Incorporate Z80 bugfixes reported by Phillip Klaus Krause
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4270 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 19:29:37 +00:00
patacongo 157bef0d3d Fix an issue for architectures where interrupt numbers and vector numbers do not match 1-to-1
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4258 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-04 00:14:45 +00:00
patacongo e136368c1f Correct last set of changes to configuration logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4237 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-29 12:52:15 +00:00
patacongo 0acfb62c65 A little STM32 logic in the PIC32 USB driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4235 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-28 19:40:37 +00:00
patacongo bfc578860c Add loopback support to STM32 CAN driver; Add apps/examples/can loopback test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4213 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 15:59:50 +00:00
patacongo fbd1db66e1 STM32 CAN driver now compiles
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4210 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-21 23:31:03 +00:00
patacongo 073df6d28c Add the beginning of an STM32 CAN driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4209 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-21 15:50:06 +00:00
patacongo b7edb56d6f Add a test for PWM drivers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4202 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-19 23:06:41 +00:00
patacongo c0424dae99 Remove the PWM pulse count method. It can't be support on current hardware
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4201 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-19 19:35:52 +00:00
patacongo add995c32e Completes coding of the PWM module
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4200 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-19 19:24:09 +00:00