Commit Graph

1349 Commits

Author SHA1 Message Date
patacongo
d78adee729 Updated STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4576 42af7a65-404d-4744-a932-0658087f49c3
2012-04-08 22:43:22 +00:00
patacongo
06cdebdeeb Updated STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4575 42af7a65-404d-4744-a932-0658087f49c3
2012-04-08 19:34:10 +00:00
patacongo
92327b88e8 Finish analysis of OUT data path in STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4574 42af7a65-404d-4744-a932-0658087f49c3
2012-04-08 17:05:12 +00:00
patacongo
8948524fd3 Include libgcc.a inside of the group of recursively linked libraries in all Makefiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4573 42af7a65-404d-4744-a932-0658087f49c3
2012-04-08 13:03:26 +00:00
patacongo
055cd00cc6 Fix much replicated typo. STM32 F4 SRAM is CCM, not TCM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4571 42af7a65-404d-4744-a932-0658087f49c3
2012-04-07 20:54:45 +00:00
patacongo
e1dc775ac1 Add partial TxFIFO logic to STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4570 42af7a65-404d-4744-a932-0658087f49c3
2012-04-07 19:38:13 +00:00
patacongo
ba6af89c2f Move include/math.h to include/nuttx/math.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4568 42af7a65-404d-4744-a932-0658087f49c3
2012-04-07 14:08:37 +00:00
patacongo
3635befa76 Add kconfig documentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4567 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:45:52 +00:00
patacongo
d79a3b09f4 Adding skeleton Kconfig files (part 1 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4564 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 15:49:35 +00:00
patacongo
612d4e21d6 Add RX interrupt logic to the STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4563 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 15:33:54 +00:00
patacongo
d65b286177 Fix compilation errors with floating point is enabled and field widths are disabled (I don't know why you would do that, but the code was wrong)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4562 42af7a65-404d-4744-a932-0658087f49c3
2012-04-05 23:21:13 +00:00
patacongo
eb3bcee181 Add patch to build kconfig-frontends under Cygwin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4561 42af7a65-404d-4744-a932-0658087f49c3
2012-04-05 21:34:24 +00:00
patacongo
6708183e27 Beginning of a NuttX configuration tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4560 42af7a65-404d-4744-a932-0658087f49c3
2012-04-05 17:44:04 +00:00
patacongo
6aef2c7e3a Completes most of the STM32 OTG FS device interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4559 42af7a65-404d-4744-a932-0658087f49c3
2012-04-05 16:25:26 +00:00
patacongo
22a5726aa7 More progress on the STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4558 42af7a65-404d-4744-a932-0658087f49c3
2012-04-05 14:12:41 +00:00
patacongo
486dd79146 STM32 OTG FS device driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4557 42af7a65-404d-4744-a932-0658087f49c3
2012-04-04 23:53:19 +00:00
patacongo
7f1cb975c1 Add STM32 OTG FS device endpoint stall logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4556 42af7a65-404d-4744-a932-0658087f49c3
2012-04-04 18:01:00 +00:00
patacongo
a5b41cd077 More work on STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4555 42af7a65-404d-4744-a932-0658087f49c3
2012-04-04 15:22:35 +00:00
patacongo
c89fc0ba66 Updates to STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4553 42af7a65-404d-4744-a932-0658087f49c3
2012-04-04 00:41:28 +00:00
patacongo
2ac1d2805c Beginning of an OTG FS device side driver (not much there on initial check-in)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4552 42af7a65-404d-4744-a932-0658087f49c3
2012-04-03 17:31:55 +00:00
patacongo
9b0d4940d4 Beginnings of STM32 F4 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4551 42af7a65-404d-4744-a932-0658087f49c3
2012-04-02 22:20:39 +00:00
patacongo
15555429ff A couple of fixes to common and STM32 serial handling to fix some data overrun conditions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4550 42af7a65-404d-4744-a932-0658087f49c3
2012-04-02 01:02:41 +00:00
patacongo
af7e32e25c Fix types in STM32 PWM driver comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4540 42af7a65-404d-4744-a932-0658087f49c3
2012-03-29 23:14:29 +00:00
patacongo
9ca4708eac Candidate fix for STM32 F4 I2C
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4537 42af7a65-404d-4744-a932-0658087f49c3
2012-03-28 21:56:43 +00:00
patacongo
ad89dfa38a Updaes for NX Console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4531 42af7a65-404d-4744-a932-0658087f49c3
2012-03-27 22:33:15 +00:00
patacongo
391e014c4c Fix handling if STM32 I2C byte count
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4530 42af7a65-404d-4744-a932-0658087f49c3
2012-03-27 20:44:00 +00:00
patacongo
5f142615bf Use const storage class on a few declarations to save SRAM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4523 42af7a65-404d-4744-a932-0658087f49c3
2012-03-25 21:05:02 +00:00
patacongo
7667d2a64e LPC17xx DAC fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4521 42af7a65-404d-4744-a932-0658087f49c3
2012-03-25 16:22:07 +00:00
patacongo
4a5a575f4c Add support for the poweroff on calypso phones
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4520 42af7a65-404d-4744-a932-0658087f49c3
2012-03-25 14:51:25 +00:00
patacongo
6867a70bb8 Add support for compal e99 and e88 phones
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4512 42af7a65-404d-4744-a932-0658087f49c3
2012-03-24 17:27:38 +00:00
patacongo
b365ff099e Change STM32 so that stm32_pmstop.c and stm32_pmstandby are built even if CONFIG_PM is not defined
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4502 42af7a65-404d-4744-a932-0658087f49c3
2012-03-22 14:07:45 +00:00
patacongo
b4852fca75 Move serial header files to include/nuttx/serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4500 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 19:47:23 +00:00
patacongo
bab4616a8d Move file-system header files to include/nuttx/fs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 18:01:07 +00:00
patacongo
e74e3c7195 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: svn://svn.code.sf.net/p/nuttx/code/trunk@4493 42af7a65-404d-4744-a932-0658087f49c3
2012-03-16 20:59:21 +00:00
patacongo
68a84f92b3 Updates to PIC32 USB stall logic -- still doesn't work right
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4491 42af7a65-404d-4744-a932-0658087f49c3
2012-03-15 20:53:42 +00:00
patacongo
c6569bab0e Add hooks to support STM32 power management
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4490 42af7a65-404d-4744-a932-0658087f49c3
2012-03-14 19:37:28 +00:00
patacongo
e64511c105 Completes bit definitions for STM32 USB OTG FS registers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4481 42af7a65-404d-4744-a932-0658087f49c3
2012-03-13 00:45:34 +00:00
patacongo
57b9d9c1de Add bit definitions for STM32 USB OTG FS Host-mode control and status registers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4480 42af7a65-404d-4744-a932-0658087f49c3
2012-03-12 23:07:41 +00:00
patacongo
f10f760ae0 Add bit definitions for STM32 USB OTG FS Core global control and status registers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4479 42af7a65-404d-4744-a932-0658087f49c3
2012-03-12 22:06:31 +00:00
patacongo
3720efd5fd More STM32 USB OTG definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4478 42af7a65-404d-4744-a932-0658087f49c3
2012-03-12 20:08:55 +00:00
patacongo
d7a33066a9 Dirty port of LPC17 USB host driver to the STM32 -- nothing more than a name change on initial check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4477 42af7a65-404d-4744-a932-0658087f49c3
2012-03-12 16:03:10 +00:00
patacongo
ae9e61317d Fix a typo introduce in the last big bunch of checkins for the STM32 F2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4473 42af7a65-404d-4744-a932-0658087f49c3
2012-03-10 00:35:44 +00:00
patacongo
2fbc421094 Add support for the STM3220G-EVAL board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4472 42af7a65-404d-4744-a932-0658087f49c3
2012-03-10 00:15:45 +00:00
patacongo
fba08c2d9a Add peripheral support for the STM32 F2 family
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4471 42af7a65-404d-4744-a932-0658087f49c3
2012-03-10 00:02:11 +00:00
patacongo
aed3afead3 Add IRQ/chip support for the STM32 F2 family
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4470 42af7a65-404d-4744-a932-0658087f49c3
2012-03-09 22:33:00 +00:00
patacongo
1e4fe73e6b Add PIC32 SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4459 42af7a65-404d-4744-a932-0658087f49c3
2012-03-07 00:53:50 +00:00
patacongo
df43e1b890 Move all non-standard, NuttX header files into include/nuttx/net
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4450 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 23:18:34 +00:00
patacongo
55df14ccfd STM32 Quad Encoder bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4437 42af7a65-404d-4744-a932-0658087f49c3
2012-02-28 18:39:37 +00:00
patacongo
33be02391a 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: svn://svn.code.sf.net/p/nuttx/code/trunk@4436 42af7a65-404d-4744-a932-0658087f49c3
2012-02-28 18:14:55 +00:00
patacongo
916c3733e2 Overflow position offset not needed if we have only 32-bit counters
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4435 42af7a65-404d-4744-a932-0658087f49c3
2012-02-28 01:58:23 +00:00
patacongo
951fe7ce47 Add support for mixed 16- and 32-bit timers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4434 42af7a65-404d-4744-a932-0658087f49c3
2012-02-28 00:33:30 +00:00
patacongo
f0e62b7116 Add logic to support the FSMC SRAM in the NuttX heap
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4433 42af7a65-404d-4744-a932-0658087f49c3
2012-02-27 23:14:43 +00:00
patacongo
73e0c43ce1 Add support for SRAM on board the STM3240G-EVAL board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4430 42af7a65-404d-4744-a932-0658087f49c3
2012-02-27 17:22:10 +00:00
patacongo
c7e9f20845 Fix bugs in lazy FPU register saving
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4427 42af7a65-404d-4744-a932-0658087f49c3
2012-02-25 19:32:16 +00:00
patacongo
c2128c082a Misc quad encoder updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4426 42af7a65-404d-4744-a932-0658087f49c3
2012-02-25 18:01:44 +00:00
patacongo
d91b5c43d1 Ooops part of last checkin was still in the editor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4425 42af7a65-404d-4744-a932-0658087f49c3
2012-02-25 00:58:07 +00:00
patacongo
240da84fc3 STM32 quad encoder: Don't calculate the timer prescaler value at runtime; pre-calculate it at compiler time
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4424 42af7a65-404d-4744-a932-0658087f49c3
2012-02-25 00:53:24 +00:00
patacongo
b34edb47a4 Fixes for the STM32 quadrature encoder
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4422 42af7a65-404d-4744-a932-0658087f49c3
2012-02-25 00:19:13 +00:00
patacongo
d4c1b6c560 select() fix to handl POLLHUP; STM32 FPU saving in context switches seems to be functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4420 42af7a65-404d-4744-a932-0658087f49c3
2012-02-24 18:24:35 +00:00
patacongo
49f98a550c OOps... vstm instructions needs to post-increment, not pre-decrement
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4419 42af7a65-404d-4744-a932-0658087f49c3
2012-02-23 22:44:38 +00:00
patacongo
83c0c71b39 Enable STM32 F4 hardware floating point with the Atollic toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4418 42af7a65-404d-4744-a932-0658087f49c3
2012-02-23 21:29:42 +00:00
patacongo
a174bb35c7 Add support for the Atollic 'Lite' toolchain in all STM32 F4 configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4417 42af7a65-404d-4744-a932-0658087f49c3
2012-02-23 18:42:36 +00:00
patacongo
c7aa0b0a23 Incoporate (more) new ARMv7-M exception handling logic contributed by Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4414 42af7a65-404d-4744-a932-0658087f49c3
2012-02-22 18:44:34 +00:00
patacongo
6e2a5140fb Incoporate new ARMv7-M exception handling logic contributed by Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4413 42af7a65-404d-4744-a932-0658087f49c3
2012-02-22 18:14:18 +00:00
patacongo
ff6fead5cd Misc fixes to quadrature encoder debug output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4411 42af7a65-404d-4744-a932-0658087f49c3
2012-02-21 23:23:18 +00:00
patacongo
69b322f99a 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: svn://svn.code.sf.net/p/nuttx/code/trunk@4410 42af7a65-404d-4744-a932-0658087f49c3
2012-02-21 22:00:28 +00:00
patacongo
511aad8aba Fix SDIO DMA (finally)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4409 42af7a65-404d-4744-a932-0658087f49c3
2012-02-21 19:16:41 +00:00
patacongo
ecd442abed Add logic to STM32 SDIO driver to terminate on a DMA error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4408 42af7a65-404d-4744-a932-0658087f49c3
2012-02-21 15:17:42 +00:00
patacongo
bdbb6add35 More STM32 SDIO DMA fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4407 42af7a65-404d-4744-a932-0658087f49c3
2012-02-21 00:21:26 +00:00
patacongo
2726206ac1 Various STM32 SDIO and DMA fixes (SDIO DMA still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4406 42af7a65-404d-4744-a932-0658087f49c3
2012-02-20 20:02:53 +00:00
patacongo
5f9533b655 Fix error in STM32 DMA driver stream index calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4405 42af7a65-404d-4744-a932-0658087f49c3
2012-02-19 18:04:25 +00:00
patacongo
d1cc8069cb STM32 SDIO driver now build with DMA enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4404 42af7a65-404d-4744-a932-0658087f49c3
2012-02-19 16:31:12 +00:00
patacongo
2aee87832b Correct a buffer size error in the STM32 ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4403 42af7a65-404d-4744-a932-0658087f49c3
2012-02-18 22:09:09 +00:00
patacongo
4e6dd10a94 Clear up some configuration naming that was inconsistent accross STM32 chips
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4401 42af7a65-404d-4744-a932-0658087f49c3
2012-02-18 14:22:00 +00:00
patacongo
22ffe347bc CAN ISO-11783 support contributed by Gary Teravskis
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4400 42af7a65-404d-4744-a932-0658087f49c3
2012-02-18 14:02:34 +00:00
patacongo
86c799f547 Add QE support to STM32F4Discovery; add a test of the quadrature encoder driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4395 42af7a65-404d-4744-a932-0658087f49c3
2012-02-15 17:51:30 +00:00
patacongo
2787527cb2 I suppose the STM32 F4 is like the F1 in that TIM inputs should not use alternate functions????
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4394 42af7a65-404d-4744-a932-0658087f49c3
2012-02-15 00:33:51 +00:00
patacongo
518ee2972d Fix TIM in/out pin naming
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4393 42af7a65-404d-4744-a932-0658087f49c3
2012-02-15 00:08:39 +00:00
patacongo
ceebc3ea9f Initial fleshing out of the STM32 quadrature encoder driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4392 42af7a65-404d-4744-a932-0658087f49c3
2012-02-14 22:18:53 +00:00
patacongo
14993a5356 More STM32 quadrature encoder code
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4391 42af7a65-404d-4744-a932-0658087f49c3
2012-02-14 17:48:25 +00:00
patacongo
41101abac0 Add an infrastructure to support a generic quadrature encoder driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4390 42af7a65-404d-4744-a932-0658087f49c3
2012-02-14 15:32:57 +00:00
patacongo
d2e05ac96f Fix a small RAM log bug (the RAM log still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4385 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 20:27:49 +00:00
patacongo
8b9f3616cb Fix some typos and compilation errors introduced in the last checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4384 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 02:53:01 +00:00
patacongo
8595411e4a Add logic to re-direct debug output to a sysloggin device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4381 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 14:20:40 +00:00
patacongo
667290b144 Add logic so that a RAM log can be used in place of a console device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4380 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 03:50:52 +00:00
patacongo
f96a5812a5 Remove a couple of warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4377 42af7a65-404d-4744-a932-0658087f49c3
2012-02-08 17:17:18 +00:00
patacongo
c92636b4d6 Fix compile error introduced by recent check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4369 42af7a65-404d-4744-a932-0658087f49c3
2012-02-04 22:01:50 +00:00
patacongo
e170551355 Add stm3240g-eval nsh2 configuration: SDIO and no UART
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4363 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 23:14:54 +00:00
patacongo
0676572c28 Add David Hewson's corrections to the LPC214x USB device driver; Add LPC214x configuration to test the USB composite device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4359 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 04:35:35 +00:00
patacongo
15009dcf66 Numerous cosmetic changes while debugging a telnet driver issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4353 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 20:32:49 +00:00
patacongo
50138c565e Candidate fix for the libboard.a dependency problem (from Mike Smith)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4346 42af7a65-404d-4744-a932-0658087f49c3
2012-01-29 20:07:16 +00:00
patacongo
e4f49aa49c Correct a typo in STM32 I2C3 support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4345 42af7a65-404d-4744-a932-0658087f49c3
2012-01-29 14:15:20 +00:00
patacongo
61a8b3f9c4 More clean up of namespace
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4338 42af7a65-404d-4744-a932-0658087f49c3
2012-01-26 14:24:15 +00:00
patacongo
3ce7ab5031 Add support for stm32 F4 I2C3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4333 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 19:31:01 +00:00
patacongo
e7da66183d Corrections for LP17xx UARTs and Nucleus 2G
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4331 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 12:50:42 +00:00
patacongo
2c4e27afc8 STM32 F4 I2C updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4330 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 00:09:58 +00:00
patacongo
e5e53db35d Create directory structures to support power-related devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4321 42af7a65-404d-4744-a932-0658087f49c3
2012-01-22 16:42:49 +00:00
patacongo
400935a2af Add support for extended (29-bit) CAN IDs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4319 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 21:52:35 +00:00
patacongo
a6d160ea4b 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
e27023f7b1 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
08d6082f0a 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
d8901f2d95 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
575df415ab 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
e54b4f092f 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
b138f8ccfd 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
8cbc184713 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
369e378326 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
2db244c882 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
707ce459b5 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
25f46d94e2 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
a82b55b37f 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
6bcadeb699 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
727334a181 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
c611128046 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
5e0734a661 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
386925552d 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
d93908e421 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
decac77c65 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
95518c7f3f 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
796999fbee 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
5dee060498 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
3bc39cc367 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
0334e1954b 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
3bb22a8e04 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
86e63a0eca 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
8f1e3f8ccd 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
6d6cf4daf8 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
aa80eeff95 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
1a73aaa668 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
e7ae67e64b 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
70f5f130b1 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
686b63f5d0 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
58b5d8f9b6 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
dd7457dc35 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
patacongo
e28c348db0 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: svn://svn.code.sf.net/p/nuttx/code/trunk@4253 42af7a65-404d-4744-a932-0658087f49c3
2012-01-03 01:03:56 +00:00
patacongo
ee27993c58 Add support for STM32 Potentiometer via ADC3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4252 42af7a65-404d-4744-a932-0658087f49c3
2012-01-02 18:22:19 +00:00
patacongo
9e608fb472 The STM32 F4 CAN driver has been verified in loopback mode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4251 42af7a65-404d-4744-a932-0658087f49c3
2012-01-02 16:33:05 +00:00
patacongo
5d366235ac Fix an integer overflow bug in LPC17xx GPIO interrupt configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4247 42af7a65-404d-4744-a932-0658087f49c3
2012-01-01 15:57:03 +00:00
patacongo
8eee445400 Fix some LPC17xx GPIO/button interrupt logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4246 42af7a65-404d-4744-a932-0658087f49c3
2011-12-31 23:09:33 +00:00
patacongo
fadea52279 Extend lpc1766-stk LED support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4242 42af7a65-404d-4744-a932-0658087f49c3
2011-12-31 00:11:55 +00:00
patacongo
0332c4742b STM32 GPIO fix; Fixes for PIC32 USB term example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4241 42af7a65-404d-4744-a932-0658087f49c3
2011-12-30 14:54:43 +00:00
patacongo
ae1ea6d5f9 Correct last set of changes to configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4237 42af7a65-404d-4744-a932-0658087f49c3
2011-12-29 12:52:15 +00:00
patacongo
d9351bb9af A little STM32 logic in the PIC32 USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4235 42af7a65-404d-4744-a932-0658087f49c3
2011-12-28 19:40:37 +00:00
patacongo
5a29f52d68 Changes to tools to support MAC OS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4232 42af7a65-404d-4744-a932-0658087f49c3
2011-12-27 12:44:39 +00:00
patacongo
fcf22d5db5 Update to the STM32 ADC and CAN drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4215 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 21:55:54 +00:00
patacongo
e14a62c463 STM32 CAN debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4214 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 18:28:13 +00:00
patacongo
07a2d59fbc Add loopback support to STM32 CAN driver; Add apps/examples/can loopback test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4213 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 15:59:50 +00:00
patacongo
11f2cc1e15 Disable interrupts while accessing the APB2RTSR register
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4212 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 03:09:25 +00:00
patacongo
4613a3b7b0 STM32 ADC driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4211 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 00:31:47 +00:00
patacongo
1b78607852 STM32 CAN driver now compiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4210 42af7a65-404d-4744-a932-0658087f49c3
2011-12-21 23:31:03 +00:00