Commit Graph

504 Commits

Author SHA1 Message Date
patacongo 285a023286 Backout recent change to PIC32 network configuration -- doesn't work right with fewer I/O buffers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4518 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-24 22:07:50 +00:00
patacongo c7147522c9 Update Calypso README files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4517 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-24 20:52:32 +00:00
patacongo 37e8f4c725 Add comments about Calypso building
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4516 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-24 19:25:49 +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 79bdfcae3d A few more Calypso/Compal updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4514 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-24 18:14:23 +00:00
patacongo b32fd7491e Update documenation to include Calypso and the Compal phones
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4513 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-24 17:52:10 +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 cda951fff1 Documentation update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4511 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-24 13:57:04 +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 72dfc599ee Documentation update; enabled I2C tool in stm32 nsh2 config
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4509 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-23 01:41:34 +00:00
patacongo 15ddbb4de9 Documentation update for NxWidgets
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4508 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-22 23:34:37 +00:00
patacongo f553c16cf6 Prep for NxWidgets 1.0 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4506 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-22 22:41:11 +00:00
patacongo 58df24e93f Update header file info in README
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4504 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-22 18:44:06 +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 1460fecc90 Change STM32 so that stm32_pmstop.c and stm32_pmstandby are built even if CONFIG_PM is not defined
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4502 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-22 14:07:45 +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 199e931462 The PIC32 USB driver (finally) works the the Mass Storage Class
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4496 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-18 20:39:18 +00:00
patacongo 9242a9e578 Fix reported USB MSC product/revision
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4495 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-17 17:15:59 +00:00
patacongo 310e63cd28 NFS update; fix STM32 enabling of CAN2 clock
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4494 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-17 00:25:34 +00:00
patacongo 2286099a15 Updates to the PIC32 USB driver (still kind of buggy); Fix for STM32 CAN2 -- Need to enable CAN1 clocking to use CAN2
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4493 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-16 20:59:21 +00:00
patacongo 1427e50541 Fix PIC32 USB double buffer toggle
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4492 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-15 22:56:46 +00:00
patacongo 8974ab15ba Updates to PIC32 USB stall logic -- still doesn't work right
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4491 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-15 20:53:42 +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 16f7ec20bd Extend examples/can so that it can be used in other contexts
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4489 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-14 01:19:27 +00:00
patacongo c184b7a4de Tinkering with USB MSC device on PIC32 -- doesn't work
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4488 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-13 23:47:11 +00:00
patacongo 227b5d0f56 Fix a deadlock when using the NSH ifconfig command over Telnet
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4487 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-13 20:51:48 +00:00
patacongo fd38715cba Add a PIC32 configuration that supports only a Telnet console
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4486 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-13 19:21:04 +00:00
patacongo 4757dd6aa8 PIC32 Ethernet driver now appears stable
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4485 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-13 18:05:49 +00:00
patacongo 8d0386947e Correct PIC32 Ethernet Tx ring handling
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4484 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-13 16:15:24 +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 ea36e112cf Completes bit definitions for STM32 USB OTG FS registers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4481 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-13 00:45:34 +00:00
patacongo 736fcc20da Add bit definitions for STM32 USB OTG FS Host-mode control and status registers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4480 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-12 23:07:41 +00:00
patacongo 8beb69be2f Add bit definitions for STM32 USB OTG FS Core global control and status registers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4479 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-12 22:06:31 +00:00
patacongo 126f9640b8 More STM32 USB OTG definitions
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4478 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-12 20:08:55 +00:00
patacongo 50d489100f Dirty port of LPC17 USB host driver to the STM32 -- nothing more than a name change on initial check-in
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4477 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-12 16:03:10 +00:00
patacongo c6bd4f78c4 Add support for the Sure DB-DP11212 PIC32 board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4476 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-12 15:47:47 +00:00
patacongo 2204da6b60 Prep for 6.16 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4474 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-10 18:57:44 +00:00
patacongo 080b0b41e0 Fix a typo introduce in the last big bunch of checkins for the STM32 F2
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4473 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-10 00:35:44 +00:00
patacongo 288631c44f Add support for the STM3220G-EVAL board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4472 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-10 00:15:45 +00:00
patacongo 0cba35270a Add peripheral support for the STM32 F2 family
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4471 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-10 00:02:11 +00:00
patacongo 6806ef6e3f Add IRQ/chip support for the STM32 F2 family
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4470 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-09 22:33:00 +00:00
patacongo 7882e0671e Update PIC32 Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4469 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-09 22:05:14 +00:00
patacongo 04a88c0538 Fix several bugs related to PIC32 Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4468 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-09 17:47:25 +00:00
patacongo e01934d011 PIC32 Ethernet driver now at least talks to the PHY
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4467 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-09 14:47:27 +00:00
patacongo 9422880309 RPC updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4466 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-08 23:40:14 +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 3b1852082c Verified USB (device) on the PIC32 Ethernet Starter Kit
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4464 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-08 14:31:49 +00:00
patacongo fbb3cd0f03 Add support for USB device testing on the PIC32 starter kit
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4463 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-07 22:50:43 +00:00
patacongo 3ded48ceae Add an NSH configuratin for the PIC32 starter kit
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4462 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-07 21:36:32 +00:00
patacongo 777befe4bb Updates to PIC32 SPI driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4461 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-07 17:40:23 +00:00
patacongo af2d48b0a3 RPC updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4460 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-07 01:28:14 +00:00
patacongo a0b537dd76 Add PIC32 SPI driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4459 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-07 00:53:50 +00:00
patacongo 0a89a8ade3 Add support for use of a USB serial device to provide NSH console I/O. Verified on the Sure PIPIC32MX board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4458 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-06 20:21:57 +00:00
patacongo 29772a3432 The PIC32 USB device driver is (finally) functional
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4457 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-06 15:51:03 +00:00
patacongo a1a8abff71 RPC update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4456 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-06 00:26:14 +00:00
patacongo 94dc3e48cd Minor update to PIC32 USB device driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4455 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-05 23:04:18 +00:00
patacongo eb43744cfe Some improvements in PIC32 USB BDT handling
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4454 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-05 21:02:07 +00:00
patacongo df7302340e Fix some PIC32 USB IN transfer issues -- still more
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4453 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-04 22:31:18 +00:00
patacongo 4129b430d6 Some fixes for the PIC32 USB IN processing -- still some issues
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4452 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-04 19:31:10 +00:00
patacongo 40f49928b0 Several fixes to the PIC32 USB device OUT path logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4451 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-04 17:38:00 +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 73af31f231 After a reset, need to re-connected to the bus
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4449 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-03 18:59:32 +00:00
patacongo dabec8c010 A few more PIC32 USB fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4448 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-03 17:27:49 +00:00
patacongo c2bd949bf6 Remove quad_t
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4447 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-03 00:23:08 +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 4f617d5be7 PIC32 USB driver updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4444 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-02 17:23:02 +00:00
patacongo f18b635aa2 Add the beginnings of NFS client support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4443 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-02 02:11:31 +00:00
patacongo c8ef50d82b Fix PIC32 USB cloning errors -- There is not pbuffer toggle bit in the BDT status
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4442 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-03-02 00:16:12 +00:00
patacongo 314e1d6189 PIC32 USB device only supports full ping poing mode
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4441 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-29 23:19:20 +00:00
patacongo b34d35b328 A little more work (but not much progress) on the PIC32 USB device driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4440 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-29 21:53:28 +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 d83d1596b0 STM32 Quad Encoder bug fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4437 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 18:39:37 +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 2ac7d84029 Overflow position offset not needed if we have only 32-bit counters
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4435 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 01:58:23 +00:00
patacongo 6dc915199c Add support for mixed 16- and 32-bit timers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4434 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-28 00:33:30 +00:00
patacongo 0c04ea0089 Add logic to support the FSMC SRAM in the NuttX heap
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4433 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-27 23:14:43 +00:00
patacongo 08d0c58e89 Oops, can't use symbol OK here
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4432 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-27 19:54:42 +00:00
patacongo 6fe64a1886 Add support for the Atollic Pro toolchain; Change extension .ihx to .hex to be better compatible with most of the rest of the world
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4431 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-27 19:50:35 +00:00
patacongo fcbad8c27f Add support for SRAM on board the STM3240G-EVAL board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4430 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-27 17:22:10 +00:00
patacongo 1784e4785b Add single precision operations to FPU test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4429 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-26 15:27:36 +00:00
patacongo 2bc54edaf3 readline() (and hence NSH) now accept the DEL character as well as the Backspace character for the backspace functionality
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4428 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 20:46:18 +00:00
patacongo fe55532f34 Fix bugs in lazy FPU register saving
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4427 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 19:32:16 +00:00
patacongo a69d50a488 Misc quad encoder updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4426 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 18:01:44 +00:00
patacongo 5f00d22a04 Ooops part of last checkin was still in the editor
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4425 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 00:58:07 +00:00
patacongo 9c338d809e STM32 quad encoder: Don't calculate the timer prescaler value at runtime; pre-calculate it at compiler time
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4424 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 00:53:24 +00:00
patacongo eccf19e0af Update STM32 configuration to use TIM8 instead of TIM2
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4423 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 00:36:28 +00:00
patacongo 9daa6ed1d1 Fixes for the STM32 quadrature encoder
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4422 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-25 00:19:13 +00:00
patacongo bdd5e8adcb Add a test to verify that FPU registers are properly saved and restored on context switches.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4421 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-24 21:34:55 +00:00
patacongo 4ffc124e0a select() fix to handl POLLHUP; STM32 FPU saving in context switches seems to be functional
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4420 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-24 18:24:35 +00:00
patacongo 75aef0be3b OOps... vstm instructions needs to post-increment, not pre-decrement
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4419 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-23 22:44:38 +00:00
patacongo 4ccaa081c9 Enable STM32 F4 hardware floating point with the Atollic toolchain
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4418 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-23 21:29:42 +00:00
patacongo dbd61e6f83 Add support for the Atollic 'Lite' toolchain in all STM32 F4 configurations
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4417 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-23 18:42:36 +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 0362fd4c22 (1) Fix a critical memory leak in the TCP read-ahead buffering logic; Add an option to suppress SDIO multi-block transfers in order to work around a buggy SDIO driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4415 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-23 02:07:38 +00:00
patacongo a16ee47f0e Incoporate (more) new ARMv7-M exception handling logic contributed by Mike Smith
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4414 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-22 18:44:34 +00:00
patacongo 6c02000ba4 Incoporate new ARMv7-M exception handling logic contributed by Mike Smith
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4413 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-22 18:14:18 +00:00
patacongo 58e84b6b86 Fix accept() logic. it was not monitoring for losses in connections.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4412 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-22 16:03:10 +00:00
patacongo d8c42f1ed5 Misc fixes to quadrature encoder debug output
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4411 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-21 23:23:18 +00:00
patacongo 20b15f2d8c STM32 SDIO DMA: Ignore DMA FIFO errors; these seem to be bogus. SD multiple block transfers result in CRC errors; avoid them by using smaller FTP buffer sizes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4410 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-21 22:00:28 +00:00
patacongo a663979a1e Fix SDIO DMA (finally)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4409 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-21 19:16:41 +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 070f707e7d More STM32 SDIO DMA fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4407 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-21 00:21:26 +00:00
patacongo bf06e16a5f Various STM32 SDIO and DMA fixes (SDIO DMA still does not work)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4406 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-20 20:02:53 +00:00
patacongo 12fd26bd67 Fix error in STM32 DMA driver stream index calculation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4405 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-19 18:04:25 +00:00
patacongo a7d27685a4 STM32 SDIO driver now build with DMA enabled
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4404 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-19 16:31:12 +00:00
patacongo c3e6ead339 Correct a buffer size error in the STM32 ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4403 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-18 22:09:09 +00:00
patacongo f04310d559 Correct and error in recv() and recvfrom() return value
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4402 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-18 18:13:30 +00:00
patacongo f60d578a46 Clear up some configuration naming that was inconsistent accross STM32 chips
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4401 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-18 14:22:00 +00:00
patacongo a02dc4c1dc CAN ISO-11783 support contributed by Gary Teravskis
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4400 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-18 14:02:34 +00:00
patacongo 2fa893134f Document recvfrom() bug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4399 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-16 02:33:01 +00:00
patacongo 3625222c6c Add QE support to STM32F4Discovery; add a test of the quadrature encoder driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4395 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-15 17:51:30 +00:00
patacongo a1590c1424 I suppose the STM32 F4 is like the F1 in that TIM inputs should not use alternate functions????
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4394 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-15 00:33:51 +00:00
patacongo 21b2d4c8af Fix TIM in/out pin naming
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4393 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-15 00:08:39 +00:00
patacongo e123e82e82 Initial fleshing out of the STM32 quadrature encoder driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4392 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-14 22:18:53 +00:00
patacongo bf22435aa4 More STM32 quadrature encoder code
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4391 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-14 17:48:25 +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 1cc7e843bc Fixed ARM.exidx in all Eagle100 linker scripts; Enabled networking in the Eagle100 NSH configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4389 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-13 21:18:54 +00:00
patacongo 3c2620d54c Several font files were missing a newline at the end
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4388 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-13 14:52:31 +00:00
patacongo 9a03521b43 Prep for 6.15 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4387 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-13 01:42:03 +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 686d0f0daa Fix a small RAM log bug (the RAM log still does not work)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4385 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-12 20:27:49 +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 ddd6b7d383 Add a RAM-based logging device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4379 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-11 00:32:53 +00:00
patacongo 84df1adb64 Fix an FTPD bug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4378 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-09 23:10:15 +00:00
patacongo 4f5b04c8e5 Remove a couple of warnings
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4377 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-08 17:17:18 +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 1b3d8f3148 Fix a bug in the FAT statfs() implementation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4375 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-07 00:29:06 +00:00
patacongo 76f187ba85 FTP server is marginally functional
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4372 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-05 19:32:42 +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 c6e75138be Add build environment for the FTP daemon
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4370 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-04 22:49:42 +00:00
patacongo 61137a3d22 Fix compile error introduced by recent check-in
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4369 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-04 22:01:50 +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 43542f9f8f Add stm3240g-eval nsh2 configuration: SDIO and no UART
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4363 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 23:14:54 +00:00
patacongo 05e846f340 Tried to get the Composite driver working on the LPC2148 (and failed)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4362 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 19:42:55 +00:00
patacongo 7a586daed8 NSH now uses the new Telnet daemon and built-in tasks started by NSH can be used over Telnet
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4361 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 16:04:09 +00:00
patacongo a52f3af00a Add a configuration for testing the Telnet daemon
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4360 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 04:41:53 +00:00
patacongo bede2bcc72 Add David Hewson's corrections to the LPC214x USB device driver; Add LPC214x configuration to test the USB composite device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4359 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-02 04:35:35 +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 ed4ee27f70 Numerous cosmetic changes while debugging a telnet driver issue
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4353 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 20:32:49 +00:00
patacongo 7702043472 Fix a error the telnet driver read method. Don't return if only protocol stuff is read
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4352 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 17:38:45 +00:00
patacongo 1df049bbc3 Various fixes for the telnet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4351 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 15:41:07 +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 1e4d04d53b A few more telnet updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4348 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-30 22:20:42 +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 a11ad68eed Candidate fix for the libboard.a dependency problem (from Mike Smith)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4346 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-29 20:07:16 +00:00
patacongo 6c72068d14 Correct a typo in STM32 I2C3 support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4345 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-29 14:15:20 +00:00
patacongo 41d243ce3e Most USB Composite device debug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4344 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-27 21:03:20 +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 930ca11f09 More clean up of namespace
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4338 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-26 14:24:15 +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 5db00d175c Add support for stm32 F4 I2C3
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4333 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 19:31:01 +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 558771edd8 Corrections for LP17xx UARTs and Nucleus 2G
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4331 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 12:50:42 +00:00
patacongo f26cad06f6 STM32 F4 I2C updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4330 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 00:09:58 +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 4c45a0b534 Enable the I2C tool in the STM3240G-EVAL NSH configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4328 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-24 14:34:24 +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 e5a26ed98c Fix some warnings
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4318 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-20 17:27:06 +00:00
patacongo 20c9193e04 Leverage some bit timing logic from LPC17xx to the STM32 CAN driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4317 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-20 03:37:29 +00:00
patacongo 0202eef05b Fixes to PIC32 USB driver and LPC17xx CAN driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4316 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-20 02:40:56 +00:00
patacongo b70fafcb80 PIC32 USB: Remove some bad logic in EP0 post-SETUP clean-up
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4315 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-19 23:27:44 +00:00
patacongo d7025f7dd0 Add logic to handle state and BDTs correctly with USB packet is dispatched by the class driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4314 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-19 21:25:21 +00:00
patacongo a9e951e726 Add configuratin to select TSEG1 and TSEG2 values
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4313 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-19 17:43:14 +00:00
patacongo b7533eed5d Fix shift value in PIC32 USB header file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4312 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-19 16:20:28 +00:00
patacongo 40cbbac3af PIC32 USB, using IN BDTs where OUT BDTs should be used
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4311 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-18 23:50:26 +00:00
patacongo c67bc69d86 SYNC_TIME is 3 quanta in LPC17xx CAN bit time calculation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4310 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-18 19:08:15 +00:00
patacongo 9b5078804f Fix offset to STM32 F1 AFIO EXTICR register
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4309 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-18 17:48:46 +00:00
patacongo de66b638e1 PIC32 USB driver fixes (still not working)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4308 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-17 23:02:40 +00:00
patacongo 88094197cb Add support for building 32-bit simulation on a 64-bit target
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4307 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-17 17:42:31 +00:00
patacongo 31c714f387 Finish coding of PIC32MX Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4306 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-17 14:40:12 +00:00
patacongo 0691a58eb7 More PIC32 Ethernet stuff (still incomplete)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4305 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-17 00:00:25 +00:00
patacongo fa785d8d31 Fixe the STM32 repetition counter. Setting of the repitition count was out of phase by 1
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4304 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-16 18:17:58 +00:00
patacongo 0e80050d16 Fix STM32 F4 APB2 clock input frequencies
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4303 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-16 17:20:09 +00:00
patacongo 4ce72e03b6 Increase range of pulse count in PWM driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4302 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-16 15:43:01 +00:00
patacongo c55b63c7e3 Prep for 6.14 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4301 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-15 16:11:32 +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 10cc67fe13 Add definitions for another Sure Elec. PIC32 board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4299 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-12 00:24:54 +00:00
patacongo bf1e50eb94 Fix the STM32 PWM driver pulse count logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4298 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 18:44:12 +00:00
patacongo 64e7f6b00c On a failure to recognize a FAT file system, the mount logic should return -EINVAL, not -ENODEV
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4297 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 16:31:45 +00:00
patacongo 309633cbdb For STM32 PWM output on TIM1/8, need to set master output enable (MOE)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4296 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 16:01:18 +00:00
patacongo 7d970cf8bb Fix bug in STM32 CAN: It must be interrupt driven
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4295 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 14:56:56 +00:00
patacongo d0d0a0fbbf Add support for the STM32F4-Discovery (from Mike Smith)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4294 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 13:01:26 +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 ede0deaaa8 CAN request order priority
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4292 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 01:01:44 +00:00
patacongo 8129fb8f09 Implement the new CAN txready method for STM32
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4291 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 00:13:45 +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 6cd77c1702 Fix CAN callback argument
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4289 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-10 21:19:12 +00:00
patacongo a734f89a13 Correct GPIO dump output
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4288 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-10 16:25:52 +00:00
patacongo d83819e4bb Finish PWM pulse count configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4287 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-09 21:34:58 +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 82114d9623 More progress on the PIC32MX Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4283 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 20:38:28 +00:00
patacongo 632b6f6f78 More progress on the PIC32MX Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4282 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 18:41:49 +00:00
patacongo abb776a834 Add support for STM32 UART4-5 and USART6
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4281 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 15:09:05 +00:00
patacongo c7a7ac6cfb Apply STM32 timer patch from Mike Smith
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4280 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 00:44:41 +00:00
patacongo d94c97fcdd Finishes PIC32 Ethernet header file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4279 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 00:35:42 +00:00
patacongo b89a9f92c8 More register definitions for the PIC32 Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4278 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-07 21:46:47 +00:00
patacongo 4043707a27 More PIC32 Ethernet register definitions
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4277 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-07 20:26:47 +00:00
patacongo ac2726af8e Add PIC32 Ethernet driver (initial is just crude LPC17xx port)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4276 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-07 18:31:43 +00:00
patacongo be495c3241 Fix some interrupt decode errors in the PIC32MX USB driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4275 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-07 13:35:58 +00:00
patacongo cdc1e0760e Costmet clean, whitespace, carriage-return removal
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4274 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 23:41:20 +00:00
patacongo 9fad100973 PIC32 USB driver fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4273 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 23:17:03 +00:00
patacongo a0df72a73e Make STM32 F4 TIM pin naming consistent with F1
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4272 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 21:25:27 +00:00
patacongo 1446c5f804 Make STM32 F4 TIM pin naming consistent with F1
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4271 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 20:59: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 a81a8867a6 Fix issue with LPC17xx CAN baud calculation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4269 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 15:58:30 +00:00
patacongo d90e91b4d6 LPC17xx CAN PCLK divisor is not a configuration parameter
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4268 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 14:07:47 +00:00
patacongo ad270ba835 Add hooks for SD media change callbacks
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4267 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 01:58:03 +00:00
patacongo 7de5004f47 Add logic to control CAN bit rate via the .config file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4266 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-05 20:39:56 +00:00
patacongo f16e231491 Fix a bug in 'make export' introduced recently
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4265 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-05 18:27:26 +00:00
patacongo 03121710b5 File that should have been added in the last check-in
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4264 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-05 17:21:14 +00:00
patacongo d880b5c4b5 Add APIs to support user access to the STM3240G-EVAL LEDs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4263 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-05 16:58:18 +00:00
patacongo 550a7ef561 Clarify some aspects of ADC configuration for the STM32
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4262 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-04 23:46:00 +00:00
patacongo ab2faa6c9c Fix an error in the PIC32 USB device driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4261 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-04 23:06:20 +00:00
patacongo 43392986a0 Add suport for the Stellaris LM3S6432S2E and the TI RDK-S2E
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4260 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-04 22:27:35 +00:00
patacongo 695341cc6d Fix buffer full test in generic CAN driver (plus fixes to comments)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4259 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-04 20:49:47 +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 a2f9aff906 Fixes for STM32 ADC driver on the F4; LC17xx LED initial state
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4257 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-03 23:25:49 +00:00
patacongo 77f614d624 Fixes for LPC1766-STK without LED support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4256 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-03 16:26:00 +00:00
patacongo b63c7c35d3 Improve LPC17xx CAN interrupt handling; Additions to LPC17xx SPI driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4255 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-03 13:47:40 +00:00