Commit Graph

1231 Commits

Author SHA1 Message Date
patacongo
4d94d1ed75 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
62b3369fb4 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
19dd0102d0 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
1c1dee962d 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
25bcf5aee8 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
e13b101db6 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
1b0c1f4da5 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
92fc2e1df9 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
1fbe5f3ecf 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
a6b222bc85 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
ee7d6789b7 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
b5a58076fe 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
d7d60dba35 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
34b7ebdf68 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
2fe4ad52f8 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
fca16fa374 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
30d65514a9 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
1a8fb75e42 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
80d5c4102b 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
d94245970e 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
d9b511214f 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
b6550428ef 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
865a33b205 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
29fd9d92a7 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
9a566fd981 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
64de9684db 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
7c6dc1bc69 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
b0984fe674 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
7f005e2d3c 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
ff6f30399f 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
391d33732c 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
04c2a4e672 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
8f8381f207 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
df0986aa29 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
324fb2460f 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
8fb3d8b386 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
9c3cac8e3f 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
0ea1fa366c 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
f67d1e4e35 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
3dd738c3ba 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
9b8a46415d 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
e2d49f44b9 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
48dd023624 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
d14fbab225 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
1e145dddae 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
cb32f5c1a4 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
b7fcd27d48 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
9ee1f7838e 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
b9cb4b0df3 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
9eda27ba2a 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