Commit Graph

1864 Commits

Author SHA1 Message Date
patacongo
157bae703e Leverage some bit timing logic from LPC17xx to the STM32 CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4317 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 03:37:29 +00:00
patacongo
1800623e98 Fixes to PIC32 USB driver and LPC17xx CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4316 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 02:40:56 +00:00
patacongo
bc6ca2a294 PIC32 USB: Remove some bad logic in EP0 post-SETUP clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4315 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 23:27:44 +00:00
patacongo
c13af9c70f Add logic to handle state and BDTs correctly with USB packet is dispatched by the class driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4314 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 21:25:21 +00:00
patacongo
3a1523d2d9 Add configuratin to select TSEG1 and TSEG2 values
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4313 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 17:43:14 +00:00
patacongo
29aa5efa1e Fix shift value in PIC32 USB header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4312 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 16:20:28 +00:00
patacongo
be7200c77e PIC32 USB, using IN BDTs where OUT BDTs should be used
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4311 42af7a65-404d-4744-a932-0658087f49c3
2012-01-18 23:50:26 +00:00
patacongo
0c13d51661 SYNC_TIME is 3 quanta in LPC17xx CAN bit time calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4310 42af7a65-404d-4744-a932-0658087f49c3
2012-01-18 19:08:15 +00:00
patacongo
9d5c26ba5e Fix offset to STM32 F1 AFIO EXTICR register
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4309 42af7a65-404d-4744-a932-0658087f49c3
2012-01-18 17:48:46 +00:00
patacongo
f80346a4fe PIC32 USB driver fixes (still not working)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4308 42af7a65-404d-4744-a932-0658087f49c3
2012-01-17 23:02:40 +00:00
patacongo
7f1ffd3d31 Add support for building 32-bit simulation on a 64-bit target
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4307 42af7a65-404d-4744-a932-0658087f49c3
2012-01-17 17:42:31 +00:00
patacongo
5cf0052be6 Finish coding of PIC32MX Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4306 42af7a65-404d-4744-a932-0658087f49c3
2012-01-17 14:40:12 +00:00
patacongo
bf2e266fd7 More PIC32 Ethernet stuff (still incomplete)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4305 42af7a65-404d-4744-a932-0658087f49c3
2012-01-17 00:00:25 +00:00
patacongo
16b688cf15 Fixe the STM32 repetition counter. Setting of the repitition count was out of phase by 1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4304 42af7a65-404d-4744-a932-0658087f49c3
2012-01-16 18:17:58 +00:00
patacongo
9d7986b8b9 Increase range of pulse count in PWM driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4302 42af7a65-404d-4744-a932-0658087f49c3
2012-01-16 15:43:01 +00:00
patacongo
f158e56fca STM32 fixes for F4 32-bit timers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4300 42af7a65-404d-4744-a932-0658087f49c3
2012-01-13 02:49:10 +00:00
patacongo
397edddc5b Fix the STM32 PWM driver pulse count logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4298 42af7a65-404d-4744-a932-0658087f49c3
2012-01-11 18:44:12 +00:00
patacongo
203b6c58be For STM32 PWM output on TIM1/8, need to set master output enable (MOE)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4296 42af7a65-404d-4744-a932-0658087f49c3
2012-01-11 16:01:18 +00:00
patacongo
d49ecb78a0 Fix bug in STM32 CAN: It must be interrupt driven
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4295 42af7a65-404d-4744-a932-0658087f49c3
2012-01-11 14:56:56 +00:00
patacongo
160d21b379 CAN request order priority
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4292 42af7a65-404d-4744-a932-0658087f49c3
2012-01-11 01:01:44 +00:00
patacongo
3b64b1db01 Implement the new CAN txready method for STM32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4291 42af7a65-404d-4744-a932-0658087f49c3
2012-01-11 00:13:45 +00:00
patacongo
f5efcf0cb4 Fix LPC17 CAN driver; TX must be interrupt driven
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4290 42af7a65-404d-4744-a932-0658087f49c3
2012-01-10 22:29:39 +00:00
patacongo
d6979d7594 Fix CAN callback argument
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4289 42af7a65-404d-4744-a932-0658087f49c3
2012-01-10 21:19:12 +00:00
patacongo
6807c1f552 Correct GPIO dump output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4288 42af7a65-404d-4744-a932-0658087f49c3
2012-01-10 16:25:52 +00:00
patacongo
ae6d142d97 Finish PWM pulse count configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4287 42af7a65-404d-4744-a932-0658087f49c3
2012-01-09 21:34:58 +00:00
patacongo
ec10d82210 Add basic support for pulse count in the PWM interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4285 42af7a65-404d-4744-a932-0658087f49c3
2012-01-09 18:23:30 +00:00
patacongo
ab8ac3f115 Replace logic STM32 IDLE loop with standard power management interfaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4284 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 21:33:57 +00:00
patacongo
1a2df3e911 More progress on the PIC32MX Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4283 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 20:38:28 +00:00
patacongo
7d2c271e93 More progress on the PIC32MX Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4282 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 18:41:49 +00:00
patacongo
f7c4635506 Add support for STM32 UART4-5 and USART6
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4281 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 15:09:05 +00:00
patacongo
9a05ff6ae1 Apply STM32 timer patch from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4280 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 00:44:41 +00:00
patacongo
a3864126dc Finishes PIC32 Ethernet header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4279 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 00:35:42 +00:00
patacongo
3d3161a781 More register definitions for the PIC32 Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4278 42af7a65-404d-4744-a932-0658087f49c3
2012-01-07 21:46:47 +00:00
patacongo
9cb6a2af2f More PIC32 Ethernet register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4277 42af7a65-404d-4744-a932-0658087f49c3
2012-01-07 20:26:47 +00:00
patacongo
8f002accfc Add PIC32 Ethernet driver (initial is just crude LPC17xx port)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4276 42af7a65-404d-4744-a932-0658087f49c3
2012-01-07 18:31:43 +00:00
patacongo
4f7c673617 Fix some interrupt decode errors in the PIC32MX USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4275 42af7a65-404d-4744-a932-0658087f49c3
2012-01-07 13:35:58 +00:00
patacongo
aa7765b80d Costmet clean, whitespace, carriage-return removal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4274 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 23:41:20 +00:00
patacongo
8613302525 PIC32 USB driver fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4273 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 23:17:03 +00:00
patacongo
57cccf49d3 Make STM32 F4 TIM pin naming consistent with F1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4272 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 21:25:27 +00:00
patacongo
e2f1dd613a Make STM32 F4 TIM pin naming consistent with F1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4271 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 20:59:57 +00:00
patacongo
174318319b Incorporate Z80 bugfixes reported by Phillip Klaus Krause
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4270 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 19:29:37 +00:00
patacongo
1ff4b36832 Fix issue with LPC17xx CAN baud calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4269 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 15:58:30 +00:00
patacongo
a5e985ff9b LPC17xx CAN PCLK divisor is not a configuration parameter
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4268 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 14:07:47 +00:00
patacongo
bf9e237d41 Add hooks for SD media change callbacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4267 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 01:58:03 +00:00
patacongo
28c69c1ea8 Add logic to control CAN bit rate via the .config file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4266 42af7a65-404d-4744-a932-0658087f49c3
2012-01-05 20:39:56 +00:00
patacongo
e7e1934940 Fix an error in the PIC32 USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4261 42af7a65-404d-4744-a932-0658087f49c3
2012-01-04 23:06:20 +00:00
patacongo
f7d18c743e Add suport for the Stellaris LM3S6432S2E and the TI RDK-S2E
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4260 42af7a65-404d-4744-a932-0658087f49c3
2012-01-04 22:27:35 +00:00
patacongo
93c3e9f7af Fixes for STM32 ADC driver on the F4; LC17xx LED initial state
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4257 42af7a65-404d-4744-a932-0658087f49c3
2012-01-03 23:25:49 +00:00
patacongo
f90b79bf8b Fixes for LPC1766-STK without LED support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4256 42af7a65-404d-4744-a932-0658087f49c3
2012-01-03 16:26:00 +00:00
patacongo
2bc9057ed3 Improve LPC17xx CAN interrupt handling; Additions to LPC17xx SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4255 42af7a65-404d-4744-a932-0658087f49c3
2012-01-03 13:47:40 +00:00