Commit Graph

42868 Commits

Author SHA1 Message Date
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 f28db5c1c3 Add pulse count support to apps/examples/pwm
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4286 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-09 18:56:05 +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