Commit Graph

416 Commits

Author SHA1 Message Date
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
patacongo 896617df73 LPC1766-STK CAN board support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4254 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-03 01:05:47 +00:00
patacongo 8da8798071 LPC17xx CAN driver now supports all 3 transmit buffers and loopback mode; LCP1766-STK NSH configuration will support the CAN loopback test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4253 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-03 01:03:56 +00:00
patacongo 4f07eda719 Add support for STM32 Potentiometer via ADC3
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4252 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-02 18:22:19 +00:00
patacongo 3d3bc75c12 The STM32 F4 CAN driver has been verified in loopback mode
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4251 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-02 16:33:05 +00:00
patacongo b8e1e31038 Remove references to the detron board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4250 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-02 12:34:31 +00:00
patacongo a2c4245f0a Add FAT long filename support to the Olimex LPC1766-STK NSH and FTPC configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4248 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-01 18:30:56 +00:00
patacongo 6a3f04eeab Fix an integer overflow bug in LPC17xx GPIO interrupt configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4247 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-01 15:57:03 +00:00
patacongo 9a1c94e294 Fix some LPC17xx GPIO/button interrupt logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4246 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-31 23:09:33 +00:00
patacongo 00a6650df1 Fix some issues with LPC1766-STK button support (there are more)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4245 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-31 20:47:53 +00:00
patacongo 8dc1600b39 Update README, LPC1766-STK button improvements, new Make targets, new Getting Started document
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4244 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-31 16:53:05 +00:00
patacongo a0c4a99222 Add (untested) support for the buttons on the Olimex LPC1766-STK board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4243 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-31 01:16:48 +00:00
patacongo 61b8ff0845 Extend lpc1766-stk LED support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4242 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-31 00:11:55 +00:00
patacongo 2901574aff STM32 GPIO fix; Fixes for PIC32 USB term example
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4241 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-30 14:54:43 +00:00
patacongo 79e67d26b3 The PIC32 USB device driver is code complete (but untested)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4240 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-30 00:09:43 +00:00
patacongo 151f025ede More PIC32 USB device driver logic (still incomplete)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4239 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-29 20:46:38 +00:00
patacongo ed9a16ed75 More PIC32 USB device driver logic (still incomplete)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4238 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-29 15:55:02 +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 67c0262d13 More PIC32 USB driver stuff
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4236 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-29 00:33:02 +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 617a772aff Initial PIC32 driver -- now is just a badly hacked STM32 USB driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4234 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-28 00:49:48 +00:00
patacongo 269fd5a9cc Updates for PIC32MX USB driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4233 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-27 20:07:17 +00:00
patacongo 50eddba2ce Changes to tools to support MAC OS
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4232 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-27 12:44:39 +00:00
patacongo f01e35e651 Prep for 6.13 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4231 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-26 20:07:04 +00:00
patacongo 9e73fa4817 Fix PIC32 serial driver lost interrupts
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4230 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-26 18:52:31 +00:00
patacongo 8f88c268c2 Fix an PIC32 error in scheduling of signal handlers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4229 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-26 16:24:43 +00:00
patacongo 49a51cb0f1 Fix a MIPS delay slot error in the software interrupt logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4228 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-26 01:05:36 +00:00
patacongo c31cec6498 Partial bring-up of the pcblogic board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4227 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-26 00:07:49 +00:00
patacongo e08e421b0b Improved starter kit LED support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4226 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-25 19:35:36 +00:00
patacongo fdc72ffb3e Fix starter kit ram size
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4225 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-25 16:40:09 +00:00
patacongo de91ef50a1 Fix a PIC32 software interrupt bug (pipeline hazard)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4224 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-25 15:56:08 +00:00
patacongo 70ae2b6722 Add support for LEDs on the Ethernet Starter kit
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4223 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-25 14:28:12 +00:00
patacongo 8724b3430c Update to README files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4222 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-24 13:46:06 +00:00
patacongo bb1782336c PIC32 Serial Console fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4221 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-23 23:36:34 +00:00
patacongo f1ee90fa13 PIC32 NSH configuration now builds without errors
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4220 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-23 00:58:00 +00:00
patacongo 5464c1d5ed Changes to get PIC32 serial driver to compile
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4219 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 23:20:34 +00:00
patacongo 8fbc664c28 PIC32, need to clear SW interrupt bit in CAUSE register
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4218 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 22:50:41 +00:00
patacongo 8953e3a370 Calibrated all PIC32 delay loops
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4217 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 22:24:00 +00:00
patacongo 4f061fee64 Add Sure PIC32 NSH configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4216 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 22:13:44 +00:00
patacongo 60006bab7a Update to the STM32 ADC and CAN drivers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4215 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 21:55:54 +00:00
patacongo e2ef959d92 STM32 CAN debug fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4214 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 18:28:13 +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 907471d5dc Disable interrupts while accessing the APB2RTSR register
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4212 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 03:09:25 +00:00
patacongo 59f355daeb STM32 ADC driver update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4211 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 00:31:47 +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 67609317a5 STM32 ADC driver update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4208 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 23:44:21 +00:00
patacongo 468bf27b12 Update M25P driver per feedback from Mohammed Elwakeel
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4207 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 21:16:39 +00:00
patacongo 5a714f6d99 Finishes the PWM driver for the STM32
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4206 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 18:28:50 +00:00
patacongo 025c867f10 PWM driver works
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4205 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 17:31:06 +00:00
patacongo 0047c1f1b1 First round of PWM driver debug changes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4204 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 14:41:32 +00:00
patacongo 7dd484954b ADC driver update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4203 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 00:30:12 +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