Commit Graph

4114 Commits

Author SHA1 Message Date
patacongo
8eb5576ec1 Add stm3240g-eval nsh2 configuration: SDIO and no UART
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4363 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 23:14:54 +00:00
patacongo
c06a0e03fc Tried to get the Composite driver working on the LPC2148 (and failed)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4362 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 19:42:55 +00:00
patacongo
1ccaed1ab4 NSH now uses the new Telnet daemon and built-in tasks started by NSH can be used over Telnet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4361 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 16:04:09 +00:00
patacongo
5a793f5d2e Add a configuration for testing the Telnet daemon
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4360 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 04:41:53 +00:00
patacongo
7b0bcac04d Add David Hewson's corrections to the LPC214x USB device driver; Add LPC214x configuration to test the USB composite device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4359 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 04:35:35 +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
e154165067 Add tcsetattr and tcgetattr
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4355 42af7a65-404d-4744-a932-0658087f49c3
2012-02-01 16:17:12 +00:00
patacongo
9473d2192f 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: svn://svn.code.sf.net/p/nuttx/code/trunk@4354 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 23:39:12 +00:00
patacongo
e6d521210a Numerous cosmetic changes while debugging a telnet driver issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4353 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 20:32:49 +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
08ab0bf4c7 Can't use 'class' as a field name! Backward conditional compilation in usbmsc.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4350 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 14:15:36 +00:00
patacongo
fffd6ed613 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: svn://svn.code.sf.net/p/nuttx/code/trunk@4349 42af7a65-404d-4744-a932-0658087f49c3
2012-01-30 23:13:29 +00:00
patacongo
28bef9c85d A few more telnet updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4348 42af7a65-404d-4744-a932-0658087f49c3
2012-01-30 22:20:42 +00:00
patacongo
9b617b6133 Add new psock layer; telnet session is now wrapped in a character device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4347 42af7a65-404d-4744-a932-0658087f49c3
2012-01-30 21:29:59 +00:00
patacongo
e94dcdf625 Candidate fix for the libboard.a dependency problem (from Mike Smith)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4346 42af7a65-404d-4744-a932-0658087f49c3
2012-01-29 20:07:16 +00:00
patacongo
1df88d1b8a Correct a typo in STM32 I2C3 support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4345 42af7a65-404d-4744-a932-0658087f49c3
2012-01-29 14:15:20 +00:00
patacongo
52cd964966 Most USB Composite device debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4344 42af7a65-404d-4744-a932-0658087f49c3
2012-01-27 21:03:20 +00:00
patacongo
a79c599632 The composite USB device is basically functional (more testing needed)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4343 42af7a65-404d-4744-a932-0658087f49c3
2012-01-27 18:33:41 +00:00
patacongo
d1a2336ce3 First round of changes from debug of USB composite device (still has problems)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4342 42af7a65-404d-4744-a932-0658087f49c3
2012-01-27 16:25:57 +00:00
patacongo
23a8f1d218 Add a text for the new composite USB device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4341 42af7a65-404d-4744-a932-0658087f49c3
2012-01-26 23:14:27 +00:00
patacongo
22a1b8dfe5 More USB composite device logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4340 42af7a65-404d-4744-a932-0658087f49c3
2012-01-26 19:37:34 +00:00
patacongo
3b9f7e1b4c Major restructuring of CLASS<->driver interface to better support composite USB devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4339 42af7a65-404d-4744-a932-0658087f49c3
2012-01-26 17:42:44 +00:00
patacongo
e10dc26580 More clean up of namespace
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4338 42af7a65-404d-4744-a932-0658087f49c3
2012-01-26 14:24:15 +00:00
patacongo
270bd0a9c2 More name changes: USBSER->PL2303 CDCSER->CDCACM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4337 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 23:04:17 +00:00
patacongo
02950353b2 Fixes on reverification of USB mass storage class
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4336 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 22:20:48 +00:00
patacongo
c6b62075aa Massive name change USB STRG -> USB MSC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4334 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 20:17:59 +00:00
patacongo
621ef6c996 Add support for stm32 F4 I2C3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4333 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 19:31:01 +00:00
patacongo
5b9d73ed52 Progress toward composite CDC/ACM+MSC USB device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4332 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 19:27:20 +00:00
patacongo
215c3a896a Corrections for LP17xx UARTs and Nucleus 2G
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4331 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 12:50:42 +00:00
patacongo
c998760feb STM32 F4 I2C updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4330 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 00:09:58 +00:00
patacongo
37d2dbf0d4 Lots of re-organization -- getting ready to support a composite USB device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4329 42af7a65-404d-4744-a932-0658087f49c3
2012-01-24 21:51:26 +00:00
patacongo
202c7e6234 Enable the I2C tool in the STM3240G-EVAL NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4328 42af7a65-404d-4744-a932-0658087f49c3
2012-01-24 14:34:24 +00:00
patacongo
62e9cdbb79 Add logic to set MAX17040 frequency
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4326 42af7a65-404d-4744-a932-0658087f49c3
2012-01-23 19:59:09 +00:00
patacongo
c08b3cce81 Fixes for clean compile of battery drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4325 42af7a65-404d-4744-a932-0658087f49c3
2012-01-23 18:37:45 +00:00
patacongo
53679e81c7 Completes first (untested) cut at MAX1704x battery driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4324 42af7a65-404d-4744-a932-0658087f49c3
2012-01-23 17:19:43 +00:00
patacongo
479d157a9f Simplify upper-half battery driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4323 42af7a65-404d-4744-a932-0658087f49c3
2012-01-22 19:22:51 +00:00
patacongo
0a17d596bc Create a generic battery driver infrastructure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4322 42af7a65-404d-4744-a932-0658087f49c3
2012-01-22 18:03:13 +00:00
patacongo
5fa0189cee Create directory structures to support power-related devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4321 42af7a65-404d-4744-a932-0658087f49c3
2012-01-22 16:42:49 +00:00
patacongo
e2faa15666 New, extended CAN structures must be packed.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4320 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 23:15:43 +00:00
patacongo
ce5f4e643e Add support for extended (29-bit) CAN IDs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4319 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 21:52:35 +00:00
patacongo
0bcbd513a3 Fix some warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4318 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 17:27:06 +00:00
patacongo
157bae703e Leverage some bit timing logic from LPC17xx to the STM32 CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4317 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 03:37:29 +00:00
patacongo
1800623e98 Fixes to PIC32 USB driver and LPC17xx CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4316 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 02:40:56 +00:00
patacongo
bc6ca2a294 PIC32 USB: Remove some bad logic in EP0 post-SETUP clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4315 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 23:27:44 +00:00
patacongo
c13af9c70f Add logic to handle state and BDTs correctly with USB packet is dispatched by the class driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4314 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 21:25:21 +00:00
patacongo
3a1523d2d9 Add configuratin to select TSEG1 and TSEG2 values
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4313 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 17:43:14 +00:00
patacongo
29aa5efa1e Fix shift value in PIC32 USB header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4312 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 16:20:28 +00:00
patacongo
be7200c77e PIC32 USB, using IN BDTs where OUT BDTs should be used
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4311 42af7a65-404d-4744-a932-0658087f49c3
2012-01-18 23:50:26 +00:00
patacongo
0c13d51661 SYNC_TIME is 3 quanta in LPC17xx CAN bit time calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4310 42af7a65-404d-4744-a932-0658087f49c3
2012-01-18 19:08:15 +00:00