Commit Graph

1566 Commits

Author SHA1 Message Date
patacongo
a1edf7977d STM32 OTF FS device. USB console now works for me. Some of these changes are hacks that need to be revisited.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4777 42af7a65-404d-4744-a932-0658087f49c3
2012-05-28 17:06:19 +00:00
patacongo
17d79eda1a STM32 OTG FS device: Don't process TXFE^Cf we have already processed an XFRC interrupt.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4775 42af7a65-404d-4744-a932-0658087f49c3
2012-05-27 15:15:57 +00:00
patacongo
2b78ad2019 Now have to press enter 3 times to start with USB NSH console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4772 42af7a65-404d-4744-a932-0658087f49c3
2012-05-26 01:45:37 +00:00
patacongo
a4a8a8adfa Fix conditional compilation in STM32 quadrature encoder
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4770 42af7a65-404d-4744-a932-0658087f49c3
2012-05-25 13:27:21 +00:00
patacongo
7b3d644c0a Fix NxWM bug: old window being minimized when new window open
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4757 42af7a65-404d-4744-a932-0658087f49c3
2012-05-21 13:34:09 +00:00
patacongo
0a5b65743c Calypso update from Denis Carkiki. Adds UWire driver and support for external memory in NuttX heap
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4733 42af7a65-404d-4744-a932-0658087f49c3
2012-05-14 00:22:31 +00:00
patacongo
4da2091db0 Add Calypso-related fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4730 42af7a65-404d-4744-a932-0658087f49c3
2012-05-13 15:14:53 +00:00
patacongo
f9b6a00f49 The STMPE11/touchscreen is now fully functional on the STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4715 42af7a65-404d-4744-a932-0658087f49c3
2012-05-08 22:10:29 +00:00
patacongo
1c50ee5365 Missed Calypso file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4685 42af7a65-404d-4744-a932-0658087f49c3
2012-05-01 23:31:47 +00:00
patacongo
d5bab26780 Calypso update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4684 42af7a65-404d-4744-a932-0658087f49c3
2012-05-01 23:03:37 +00:00
patacongo
3836f74404 Fix STM32 USART4/5 vs UART4/5 confusion
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4671 42af7a65-404d-4744-a932-0658087f49c3
2012-04-29 14:34:56 +00:00
patacongo
a1fc590b94 Add NxConsole configuration for the STM3240G-EVAL board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4664 42af7a65-404d-4744-a932-0658087f49c3
2012-04-27 16:20:32 +00:00
patacongo
d96b4c1a10 Fix infinite loop in CDC/ACM driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4655 42af7a65-404d-4744-a932-0658087f49c3
2012-04-25 16:47:28 +00:00
patacongo
11d16b5830 Kconfig updated + NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4646 42af7a65-404d-4744-a932-0658087f49c3
2012-04-23 19:55:32 +00:00
patacongo
5e1e0b61fb Fix atexit() function being called twice
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4644 42af7a65-404d-4744-a932-0658087f49c3
2012-04-23 13:59:31 +00:00
patacongo
373a58fc0f Fix a UART4/5 naming problem introduced in the last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4641 42af7a65-404d-4744-a932-0658087f49c3
2012-04-22 21:30:52 +00:00
patacongo
20f454adaf Add circular DMA support to STM32 and STM32 serial driver; Add initial configuration for the Mikroelektronika PIC32MX7 MMB board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4640 42af7a65-404d-4744-a932-0658087f49c3
2012-04-22 19:50:33 +00:00
patacongo
8a9c292626 Some STM32 bugfixes from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4635 42af7a65-404d-4744-a932-0658087f49c3
2012-04-19 17:52:14 +00:00
patacongo
1a50ac3d79 More Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4633 42af7a65-404d-4744-a932-0658087f49c3
2012-04-18 22:29:50 +00:00
patacongo
6159a159f4 More Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4624 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 13:48:39 +00:00
patacongo
04c5df6194 Fix a couple of bugs in the STM32 IWDG driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4620 42af7a65-404d-4744-a932-0658087f49c3
2012-04-16 22:15:33 +00:00
patacongo
ef3375e91d STM32 IWDG watchdog works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4619 42af7a65-404d-4744-a932-0658087f49c3
2012-04-16 21:13:54 +00:00
patacongo
48a8729cd2 STM32 WWDG watchdog driver works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4618 42af7a65-404d-4744-a932-0658087f49c3
2012-04-16 18:46:07 +00:00
patacongo
abca2fa311 Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4616 42af7a65-404d-4744-a932-0658087f49c3
2012-04-16 15:45:33 +00:00
patacongo
640a0718e2 More Kconfig
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4615 42af7a65-404d-4744-a932-0658087f49c3
2012-04-16 00:09:13 +00:00
patacongo
59ffae3d34 Finish STM32 IWDG and WWDG watchdog timer drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4613 42af7a65-404d-4744-a932-0658087f49c3
2012-04-15 19:46:08 +00:00
patacongo
c35c09c350 Implement STM32 IWDG driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4612 42af7a65-404d-4744-a932-0658087f49c3
2012-04-15 16:42:09 +00:00
patacongo
01b79b7d72 Add skeleton file for STM32 watchdog timer driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4611 42af7a65-404d-4744-a932-0658087f49c3
2012-04-15 01:11:54 +00:00
patacongo
369abdbf68 Fix STM32 OTG FS device driver FIFO setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4602 42af7a65-404d-4744-a932-0658087f49c3
2012-04-13 18:36:13 +00:00
patacongo
e45c3b97b3 Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4597 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 21:52:04 +00:00
patacongo
fe8294a3f6 Add logic to hold off processing OUT SETUP request until OUT data phase completes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4596 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 18:36:24 +00:00
patacongo
a571bad413 Extend the USB device/class interface: Add parameters to pass the EP0 OUT data that should accompany the OUT SETUP request
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4595 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 16:30:48 +00:00
patacongo
333bd7254a Working for missing logic to get EP0 OUT DATA
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4594 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 14:47:29 +00:00
patacongo
940bdc50fb Add tools/cmpconfig.c to compare to configuration files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4592 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 23:06:30 +00:00
patacongo
f873ab55b6 Correction to the ZLP fix for the STM32 F4 OTG FS driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4591 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 18:12:03 +00:00
patacongo
35a50c6eb2 Misc STM32 OTF FS driver fixes + More Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4590 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 17:13:04 +00:00
patacongo
826fbf66c8 More configuration files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4588 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 02:04:59 +00:00
patacongo
09eb157d83 more updates for the STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4585 42af7a65-404d-4744-a932-0658087f49c3
2012-04-10 22:36:45 +00:00
patacongo
a94b51d07e Updated STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4584 42af7a65-404d-4744-a932-0658087f49c3
2012-04-10 21:45:29 +00:00
patacongo
ec2349ccf4 Fixes for the STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4583 42af7a65-404d-4744-a932-0658087f49c3
2012-04-10 18:27:13 +00:00
patacongo
cc3df80c1f A few early STM32 OTF FS fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4581 42af7a65-404d-4744-a932-0658087f49c3
2012-04-09 22:31:20 +00:00
patacongo
5be2c492fc Modify configuration for use with STM32 OTG FS driver testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4580 42af7a65-404d-4744-a932-0658087f49c3
2012-04-09 21:08:37 +00:00
patacongo
8e47b15a30 The STM32 OTG FS driver is code complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4577 42af7a65-404d-4744-a932-0658087f49c3
2012-04-09 16:28:15 +00:00
patacongo
19832e091a 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
79fa46b985 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
a4ce298601 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
6945aafc4e 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
f72e9fa16a 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
f9544339a9 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
51b62505e6 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
371ae6f98c 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
a374630bf3 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
b0a280e6e0 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
6871cc66ad 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
2185ce29a5 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
b8f24208a6 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
bdf6434f72 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
1f6d3d6c26 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
7f31ea84b7 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
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
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
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
patacongo
2037e1096c 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
778b33da73 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
011ea95fb0 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
2c9facdd64 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
6a2c6e13d6 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
c3562b2d13 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
4e82d14da1 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
890b0f59ac 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
b9a0819dd8 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
0e5636cad7 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
b1e175e7a4 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
07f51374ae 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
ae57408734 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
bb9efbfe7e 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
72272887a4 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
7b343bf7fe 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
e69cbad010 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
77f59bb063 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
c074da3270 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
8eb5576ec1 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
7b0bcac04d 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
e6d521210a 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
e94dcdf625 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
1df88d1b8a 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
e10dc26580 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
621ef6c996 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
215c3a896a 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
c998760feb 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
5fa0189cee 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
ce5f4e643e 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
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
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
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
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
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
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
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
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
patacongo
46fc72d1cb 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
16b9d42729 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
d417beffb6 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
d8f2758a03 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
b8882b457f 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
a4e744a5c2 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
2de4db2fcb 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
804e7625b0 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
de0524baec 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
61b0896f3d 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
fc3cd5db6d 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
ebafb025a4 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
9c6c3a3bbb 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
60f0ba5fcb 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
a9a0e45ee1 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
04584e4362 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
patacongo
b0bf66456c Add the beginning of an STM32 CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4209 42af7a65-404d-4744-a932-0658087f49c3
2011-12-21 15:50:06 +00:00
patacongo
2d1cd3ec84 STM32 ADC driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4208 42af7a65-404d-4744-a932-0658087f49c3
2011-12-20 23:44:21 +00:00
patacongo
0cb9ae021b Update M25P driver per feedback from Mohammed Elwakeel
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4207 42af7a65-404d-4744-a932-0658087f49c3
2011-12-20 21:16:39 +00:00
patacongo
b9a872fdcf Finishes the PWM driver for the STM32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4206 42af7a65-404d-4744-a932-0658087f49c3
2011-12-20 18:28:50 +00:00
patacongo
d75b9e8d82 PWM driver works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4205 42af7a65-404d-4744-a932-0658087f49c3
2011-12-20 17:31:06 +00:00
patacongo
209bffae9c First round of PWM driver debug changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4204 42af7a65-404d-4744-a932-0658087f49c3
2011-12-20 14:41:32 +00:00
patacongo
2ca8817c84 ADC driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4203 42af7a65-404d-4744-a932-0658087f49c3
2011-12-20 00:30:12 +00:00
patacongo
4034d0a5c1 Add a test for PWM drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4202 42af7a65-404d-4744-a932-0658087f49c3
2011-12-19 23:06:41 +00:00
patacongo
cfcb1555eb Remove the PWM pulse count method. It can't be support on current hardware
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4201 42af7a65-404d-4744-a932-0658087f49c3
2011-12-19 19:35:52 +00:00
patacongo
ddab3d58b8 Completes coding of the PWM module
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4200 42af7a65-404d-4744-a932-0658087f49c3
2011-12-19 19:24:09 +00:00
patacongo
b40ed6317f Fix STM32 USB overrun problem (again, still)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4199 42af7a65-404d-4744-a932-0658087f49c3
2011-12-18 13:53:58 +00:00
patacongo
643328e015 Add alternate function pin mapping for the STM32F103VC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4198 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 21:14:03 +00:00
patacongo
1877006302 Adds support for the STM32F103VCT6 and for the Hy-Mini STM32v board. Contributed by Laurent Latil
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4197 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 20:07:22 +00:00
patacongo
60f98d5eea Fix a critical bug in the STM32 USB device-side driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4196 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 19:08:49 +00:00
patacongo
c47c297f1b Fix some bad SDIO debug instrumentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4195 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 16:45:40 +00:00
patacongo
9d4d5cda5d STM32 ADC update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4194 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 00:21:10 +00:00
patacongo
3e9d8da166 Add framework for lower half STM32 PWM driver; updates to the STM32 ADC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4192 42af7a65-404d-4744-a932-0658087f49c3
2011-12-16 19:29:41 +00:00
patacongo
cabf8f45e9 Add generic, upper-half PWM driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4191 42af7a65-404d-4744-a932-0658087f49c3
2011-12-16 16:17:34 +00:00
patacongo
3a2318e7f6 Update how ADC channel number is obtained
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4190 42af7a65-404d-4744-a932-0658087f49c3
2011-12-16 13:32:46 +00:00
patacongo
9d455730dc Updated STM32 ADC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4189 42af7a65-404d-4744-a932-0658087f49c3
2011-12-16 00:32:11 +00:00
patacongo
c094e68c14 Started then stopped development of the STM32 DAC driver -- I guess it isn't needed afterall
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4187 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 20:31:54 +00:00
patacongo
b890380f57 More STM32 DAC driver logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4186 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 16:39:06 +00:00
patacongo
18d89455ad Update to STM32 DAC and ADC drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4185 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 13:33:15 +00:00
patacongo
59712fdeef Oops fix screw-up in last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4184 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 01:28:24 +00:00
patacongo
f9f13e3c03 Oops fix screw-up in last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4183 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 01:24:36 +00:00
patacongo
02f39f908c Add loops to set ADC SQ values
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4182 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 01:18:49 +00:00
patacongo
39a93f253f Updated STM32 ADC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4181 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 00:29:35 +00:00
patacongo
c6d2a7b4d3 Add a framework for an ADC test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4180 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 23:37:38 +00:00
patacongo
7f2ec55f1f STM32 F4 RTC is functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4178 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 21:59:08 +00:00
patacongo
69fabd1351 STM32 RTC driver now compiles and links without error (still untested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4177 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 19:59:06 +00:00
patacongo
9922992d84 STM32 F4 RTC driver is fully coded (but not tested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4176 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 19:12:00 +00:00
patacongo
8bf1779001 Re-arrange some files and interfaces to support the STM32 F4 date/time RTC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4175 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 14:47:42 +00:00
patacongo
0adb46e5c4 A few additional STM32 ADC changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4174 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 01:25:14 +00:00
patacongo
d601f00c92 Progress on STM32 ADC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4173 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 00:34:12 +00:00
patacongo
44298ea306 Fix more STM32 ethernet bugs; Fix some build issues with examples/nettest
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4171 42af7a65-404d-4744-a932-0658087f49c3
2011-12-13 19:58:24 +00:00
patacongo
0a465d06ec STM32 Ethernet bugfixes; STM3240G-EVAL DHCPD configuration; fixes for IP address order bugs in DHCPD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4168 42af7a65-404d-4744-a932-0658087f49c3
2011-12-13 17:25:23 +00:00
patacongo
fcd24b1c21 STM32 F4 Ethernet driver is fully functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4166 42af7a65-404d-4744-a932-0658087f49c3
2011-12-12 21:55:10 +00:00
patacongo
041d1e6191 STM32 Ethernet... initial bring-up changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4165 42af7a65-404d-4744-a932-0658087f49c3
2011-12-12 15:59:33 +00:00
patacongo
eca485de15 Add STM32 DAC register definitions and skeleton DAC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4164 42af7a65-404d-4744-a932-0658087f49c3
2011-12-12 03:37:37 +00:00
patacongo
76106d1aee Replace tabs with spaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4163 42af7a65-404d-4744-a932-0658087f49c3
2011-12-12 01:38:39 +00:00
patacongo
e27f33d05e Add a skeleton for an STM32 ADC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4162 42af7a65-404d-4744-a932-0658087f49c3
2011-12-12 01:04:53 +00:00
patacongo
0d20925085 Completes coding of the STM32 F4 Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4161 42af7a65-404d-4744-a932-0658087f49c3
2011-12-11 18:25:08 +00:00
patacongo
8c1436b4a6 Add STM32 Ethernet packet reception logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4160 42af7a65-404d-4744-a932-0658087f49c3
2011-12-11 15:04:39 +00:00
patacongo
fc91fdd727 Add Ethernet start-up logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4159 42af7a65-404d-4744-a932-0658087f49c3
2011-12-10 22:26:04 +00:00
patacongo
106b181445 Add Ethernet descriptor definitions and initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4158 42af7a65-404d-4744-a932-0658087f49c3
2011-12-10 21:47:42 +00:00
patacongo
6154943d4b Add Ethernet interrupt configuration and handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4157 42af7a65-404d-4744-a932-0658087f49c3
2011-12-10 15:14:29 +00:00
patacongo
fe320d3e91 Minor fixes for compile with DEBUG enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4154 42af7a65-404d-4744-a932-0658087f49c3
2011-12-10 02:25:30 +00:00
patacongo
adf98b1619 Add STM32 ethernet MAC and DMA initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4152 42af7a65-404d-4744-a932-0658087f49c3
2011-12-09 20:40:33 +00:00
patacongo
4fee2145bd Add PHY setup for STM3240G-EVAL Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4151 42af7a65-404d-4744-a932-0658087f49c3
2011-12-09 17:03:16 +00:00
patacongo
6acbf57d03 Add Ethernet pin/clock configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4148 42af7a65-404d-4744-a932-0658087f49c3
2011-12-08 22:14:48 +00:00
patacongo
c9ca9fc763 Finish STM32 Ethernet header file; Add ethernet driver skeleton
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4147 42af7a65-404d-4744-a932-0658087f49c3
2011-12-08 18:02:38 +00:00
patacongo
f45477ac99 Add beginning of ethernet register definitions for the STM32 F4
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4145 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 21:36:02 +00:00
patacongo
b6bcb2aecc Add support for the Cortex-M4 floating pointing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4144 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 18:58:21 +00:00
patacongo
55399677c6 Add storage space for FPU registers in context switching
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4143 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 15:36:46 +00:00
patacongo
a3c9f34ca5 Add STM32 F4 DMA framework (untested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4142 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 14:56:28 +00:00
patacongo
65bbfd2a02 Basic bring-up of the STM3240G-EVAL board is complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4138 42af7a65-404d-4744-a932-0658087f49c3
2011-12-06 19:31:28 +00:00
patacongo
d82c771c37 Fixes for STM32F40xxx port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4135 42af7a65-404d-4744-a932-0658087f49c3
2011-12-05 16:41:20 +00:00
patacongo
e0a1fd2540 Fix a compile error when CONFIG_ARCH_INTERRUPTSTACK is turned on for Cortex-M*
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4134 42af7a65-404d-4744-a932-0658087f49c3
2011-12-04 23:42:38 +00:00
patacongo
b39704c1b6 Finish code for basic STM3240 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4124 42af7a65-404d-4744-a932-0658087f49c3
2011-11-24 01:34:10 +00:00
patacongo
c1ff401533 Add clock configuration logic for the STM32F40
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4123 42af7a65-404d-4744-a932-0658087f49c3
2011-11-23 18:18:26 +00:00
patacongo
5bcaa4dfb8 Finish port of GPIO driver for STM3240
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4122 42af7a65-404d-4744-a932-0658087f49c3
2011-11-23 15:08:05 +00:00
patacongo
67eb344218 More changes for STM3240 build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4121 42af7a65-404d-4744-a932-0658087f49c3
2011-11-22 20:07:42 +00:00
patacongo
8eabbf0a7a More changes, getting closer to a clean STM3240 compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4120 42af7a65-404d-4744-a932-0658087f49c3
2011-11-22 17:43:11 +00:00
patacongo
6d47e3fcb6 Working toward clean STM3240xx build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4119 42af7a65-404d-4744-a932-0658087f49c3
2011-11-22 16:08:21 +00:00
patacongo
1d7c367a62 Add framework for the STM3240G-EVAL board (not much logic yet)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4118 42af7a65-404d-4744-a932-0658087f49c3
2011-11-22 14:16:38 +00:00
patacongo
445cea7692 Add STM3240 interrupt handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4117 42af7a65-404d-4744-a932-0658087f49c3
2011-11-22 02:59:24 +00:00
patacongo
78c6fe1f39 Add STM3240 interrupt definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4116 42af7a65-404d-4744-a932-0658087f49c3
2011-11-22 00:10:56 +00:00
patacongo
437fd118ca Add STM3240 SYSCFG header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4115 42af7a65-404d-4744-a932-0658087f49c3
2011-11-21 23:18:24 +00:00
patacongo
98cdd3fca2 Finishes basic header file updates for STM3230
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4114 42af7a65-404d-4744-a932-0658087f49c3
2011-11-21 22:19:19 +00:00
patacongo
fdc1c4e8bb Updates for STM3240 timers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4113 42af7a65-404d-4744-a932-0658087f49c3
2011-11-21 21:46:46 +00:00
patacongo
bfadd106a0 STM3240 RTC, SPI, and SDIO header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4112 42af7a65-404d-4744-a932-0658087f49c3
2011-11-21 19:33:25 +00:00
patacongo
dc45728831 Add STM3240 RTC header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4111 42af7a65-404d-4744-a932-0658087f49c3
2011-11-21 18:55:54 +00:00
patacongo
b4c4950183 Add STM3240 pwr and rcc header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4110 42af7a65-404d-4744-a932-0658087f49c3
2011-11-21 17:11:17 +00:00
patacongo
36cad7288d More STM3240 header file changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4109 42af7a65-404d-4744-a932-0658087f49c3
2011-11-21 14:25:38 +00:00
patacongo
8dbcc137d0 Update DMA header file for the STM32F40xxx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4108 42af7a65-404d-4744-a932-0658087f49c3
2011-11-20 17:44:45 +00:00
patacongo
1ba0ddb9d1 Update debug header file for the STM32F40xxx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4107 42af7a65-404d-4744-a932-0658087f49c3
2011-11-20 14:50:46 +00:00
patacongo
282ecb0e20 Update CAN header file for the STM32F40xxx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4106 42af7a65-404d-4744-a932-0658087f49c3
2011-11-20 14:22:55 +00:00
patacongo
15e7a497ca Update ADC header file for the STM32F40xxx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4105 42af7a65-404d-4744-a932-0658087f49c3
2011-11-20 14:01:44 +00:00
patacongo
acf0e4160b Revised FAT bugfix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4104 42af7a65-404d-4744-a932-0658087f49c3
2011-11-19 20:30:39 +00:00
patacongo
90f114ee4f Add STM3240 alternate pin functions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4103 42af7a65-404d-4744-a932-0658087f49c3
2011-11-19 18:06:02 +00:00
patacongo
fe49443cc3 More PIC32 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4101 42af7a65-404d-4744-a932-0658087f49c3
2011-11-18 22:37:27 +00:00
patacongo
005133323f Add GPIO, EXTI header file modifications for STM32F40xxx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4100 42af7a65-404d-4744-a932-0658087f49c3
2011-11-18 14:33:42 +00:00
patacongo
40acc7c515 Add structure for STM3240xx pin multiplexing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4098 42af7a65-404d-4744-a932-0658087f49c3
2011-11-17 20:37:08 +00:00
patacongo
132692fe98 Add STM32F40xx memory map
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4097 42af7a65-404d-4744-a932-0658087f49c3
2011-11-17 18:56:23 +00:00
patacongo
ee2da36ce4 Add capabilities of the STM3240xx family
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4096 42af7a65-404d-4744-a932-0658087f49c3
2011-11-17 15:15:16 +00:00
patacongo
0fe0a10e9f Add support for more FAT partitions; support for SD cards greater than 4Gb; TSC2007 touchscreen driver improvements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4092 42af7a65-404d-4744-a932-0658087f49c3
2011-11-15 16:44:45 +00:00
patacongo
7ea157b328 Fix stack alignment for EABI floating point
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4089 42af7a65-404d-4744-a932-0658087f49c3
2011-11-11 14:06:10 +00:00
patacongo
7b86861be5 New STM32 board needs more time for HSE ready
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4086 42af7a65-404d-4744-a932-0658087f49c3
2011-11-10 18:45:28 +00:00
patacongo
6883c4c7e5 Fix semaphore initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4085 42af7a65-404d-4744-a932-0658087f49c3
2011-11-10 14:40:54 +00:00
patacongo
9491c6d810 Add PIC32MX GPIO handling; add button/LED support for the Sure PIC32MX
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4040 42af7a65-404d-4744-a932-0658087f49c3
2011-10-11 20:50:10 +00:00
patacongo
68275d82d5 SAM3U: Add logic to bypass automated control of SPI chip selects
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4032 42af7a65-404d-4744-a932-0658087f49c3
2011-10-08 00:37:18 +00:00
patacongo
fb14c33e35 SAM3U SPI debug changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4031 42af7a65-404d-4744-a932-0658087f49c3
2011-10-07 22:37:24 +00:00
patacongo
aabb21c85e Fix STM32 build with with no RTC; Fix STM3210E-EVAL color correction for the RenesasSP LCD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4030 42af7a65-404d-4744-a932-0658087f49c3
2011-10-07 17:21:16 +00:00
patacongo
8ec0e03628 Add debug instrumentation to the SAM3U SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4027 42af7a65-404d-4744-a932-0658087f49c3
2011-10-06 18:32:53 +00:00
patacongo
bfc8712d33 Fix C++ dependencies, cleaning, ..
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4025 42af7a65-404d-4744-a932-0658087f49c3
2011-10-05 23:57:49 +00:00
patacongo
047a9ae3d4 Add sim C++ support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4024 42af7a65-404d-4744-a932-0658087f49c3
2011-10-05 19:02:00 +00:00
patacongo
94a87532e2 Fix bugs in STM32 SDHC and I2C drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4020 42af7a65-404d-4744-a932-0658087f49c3
2011-10-05 01:22:49 +00:00
patacongo
ee04a259db ADS7843E driver is code complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4018 42af7a65-404d-4744-a932-0658087f49c3
2011-10-04 17:08:59 +00:00
patacongo
b2be0c72b6 SAM3U SPI driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4017 42af7a65-404d-4744-a932-0658087f49c3
2011-10-03 23:58:25 +00:00
patacongo
8494be33e8 Update comments, dates, ... housekeeping
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4012 42af7a65-404d-4744-a932-0658087f49c3
2011-10-03 15:19:57 +00:00
patacongo
80e7442ae4 Add SAM3U board-specific SPI support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4011 42af7a65-404d-4744-a932-0658087f49c3
2011-10-03 15:09:47 +00:00
patacongo
6d36784cd4 Add framework for a SAM3U SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4010 42af7a65-404d-4744-a932-0658087f49c3
2011-10-03 14:06:06 +00:00
patacongo
387d4afebd Restore CLOCK_ACTIVETIME
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4009 42af7a65-404d-4744-a932-0658087f49c3
2011-10-03 12:21:20 +00:00
patacongo
1d9602b67b Add FAT date/time stamp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4008 42af7a65-404d-4744-a932-0658087f49c3
2011-10-02 17:53:17 +00:00
patacongo
09dd288d5a The lo-res RTC now seems to work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4007 42af7a65-404d-4744-a932-0658087f49c3
2011-10-02 14:53:24 +00:00
patacongo
3f4af2fe30 Add support for lo- and hi-res RTC hardware
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4005 42af7a65-404d-4744-a932-0658087f49c3
2011-10-01 22:09:00 +00:00
patacongo
ea30c3816b SAM3U KERNEL definitions are backward
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3980 42af7a65-404d-4744-a932-0658087f49c3
2011-09-26 17:24:33 +00:00
patacongo
f301589f07 Fix typo in SAM3U allocheap
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3979 42af7a65-404d-4744-a932-0658087f49c3
2011-09-26 17:11:34 +00:00
patacongo
e69a01b5ff Fix typo in SAM3U allocheap
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3978 42af7a65-404d-4744-a932-0658087f49c3
2011-09-26 17:10:38 +00:00
patacongo
a37aa2a1a1 Fix typo in SAM3U allocheap
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3977 42af7a65-404d-4744-a932-0658087f49c3
2011-09-26 17:09:50 +00:00
patacongo
fcef716ba2 Add rollover protection to the STM32 RTC sampling logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3963 42af7a65-404d-4744-a932-0658087f49c3
2011-09-19 17:00:49 +00:00
patacongo
77bce0f6ad Generalize conditional compilation setting
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3962 42af7a65-404d-4744-a932-0658087f49c3
2011-09-18 18:11:11 +00:00
patacongo
0c8dfdf16f Add I2C trace capability; Fix another STM32 I2C/FSMC bug; add verify command to the I2C tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3961 42af7a65-404d-4744-a932-0658087f49c3
2011-09-18 17:52:00 +00:00
patacongo
d86702b4d2 STM32 I2C driver will now operated in a polled, non-interrupting mode if so configured
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3960 42af7a65-404d-4744-a932-0658087f49c3
2011-09-17 15:04:24 +00:00
patacongo
a19d172611 More CDC serial updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3954 42af7a65-404d-4744-a932-0658087f49c3
2011-09-15 13:26:00 +00:00
patacongo
455b9336fb Correct error in clock_gettime(); fix wait for STOP in I2C stm32 driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3948 42af7a65-404d-4744-a932-0658087f49c3
2011-09-11 14:55:31 +00:00
patacongo
bdf8ede547 Add driver for LM-75 temperature sensor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3947 42af7a65-404d-4744-a932-0658087f49c3
2011-09-10 16:20:09 +00:00
patacongo
d210450c8a Final tweaks to STM32 I2C driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3946 42af7a65-404d-4744-a932-0658087f49c3
2011-09-09 23:13:17 +00:00
patacongo
d075716e48 Only enable I2C interrupts when a transfer is started
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3945 42af7a65-404d-4744-a932-0658087f49c3
2011-09-09 19:50:18 +00:00
patacongo
e42851c3fa Add handshake for semaphore interrupt communications to prevent getting out of sync due to spurious interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3944 42af7a65-404d-4744-a932-0658087f49c3
2011-09-09 19:30:03 +00:00
patacongo
0c7b8db5f7 Fix stm32_i2c_disablefsmc return value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3943 42af7a65-404d-4744-a932-0658087f49c3
2011-09-09 00:52:24 +00:00
patacongo
d96149a9d1 Fix I2C/FSMC conflict for STM32; Fix STM32 clock setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3942 42af7a65-404d-4744-a932-0658087f49c3
2011-09-08 17:56:08 +00:00
patacongo
19e5bfd627 Add AT24xx and LPC17xx I2C drivers (from Lzyy)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3941 42af7a65-404d-4744-a932-0658087f49c3
2011-09-07 13:32:13 +00:00
patacongo
d1e82b4568 Fix a error the the STM32 I2C timeout logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3940 42af7a65-404d-4744-a932-0658087f49c3
2011-09-06 21:00:48 +00:00
patacongo
f2e7858d3a Add NSH date command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3932 42af7a65-404d-4744-a932-0658087f49c3
2011-09-01 15:09:49 +00:00
patacongo
725172c9d4 I2C tool no longer hangs on dev command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3930 42af7a65-404d-4744-a932-0658087f49c3
2011-08-30 19:48:47 +00:00
patacongo
8967c65008 Fix issue with multilib build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3926 42af7a65-404d-4744-a932-0658087f49c3
2011-08-30 12:49:24 +00:00
patacongo
509e2b72e7 Work around a CodeSourcery floating point bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3922 42af7a65-404d-4744-a932-0658087f49c3
2011-08-29 19:06:56 +00:00
patacongo
25d421cdaf STM32 I2C fix, documentation update, fixes for FreeBSD/ASH build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3917 42af7a65-404d-4744-a932-0658087f49c3
2011-08-27 14:58:42 +00:00
patacongo
e6fea28fd5 ADC bugfixes plus new DAC logic from Lzyy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3913 42af7a65-404d-4744-a932-0658087f49c3
2011-08-25 14:11:39 +00:00
patacongo
057b237f81 Clean up Kinetics SDHC DMA code (still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3909 42af7a65-404d-4744-a932-0658087f49c3
2011-08-23 21:48:24 +00:00
patacongo
81bb29ecd1 More Kinetis SDHC fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3908 42af7a65-404d-4744-a932-0658087f49c3
2011-08-23 19:31:45 +00:00
patacongo
01232ab6c7 More Kinetis SDHC fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3907 42af7a65-404d-4744-a932-0658087f49c3
2011-08-23 14:58:15 +00:00
patacongo
c2aa7d046c Additional Kinetis SDHC fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3906 42af7a65-404d-4744-a932-0658087f49c3
2011-08-22 22:03:11 +00:00
patacongo
4c5d5b8192 In progress updates to the Kinetis SDHC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3905 42af7a65-404d-4744-a932-0658087f49c3
2011-08-22 18:17:42 +00:00
patacongo
a40add6150 Progress with Kinetis SDHC driver (more to to)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3904 42af7a65-404d-4744-a932-0658087f49c3
2011-08-22 15:42:10 +00:00
patacongo
1f84a9bc7a Update SDHC debug logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3903 42af7a65-404d-4744-a932-0658087f49c3
2011-08-21 23:29:37 +00:00
patacongo
7d93f3d861 More integration of Kinetis SDHC driver into NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3902 42af7a65-404d-4744-a932-0658087f49c3
2011-08-21 17:36:14 +00:00
patacongo
7d501f3c42 Very initial SDHC driver for Kinetis parts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3901 42af7a65-404d-4744-a932-0658087f49c3
2011-08-21 16:00:32 +00:00
patacongo
927f0f0d50 Add Uros' RCC actitivity counter to STM32 idle loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3900 42af7a65-404d-4744-a932-0658087f49c3
2011-08-20 13:23:34 +00:00
patacongo
5a188d52c9 Prep for 6.8 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3899 42af7a65-404d-4744-a932-0658087f49c3
2011-08-19 21:33:11 +00:00
patacongo
a87259ebc6 Add support for multiplexed SDIO pins from Uros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3898 42af7a65-404d-4744-a932-0658087f49c3
2011-08-19 16:51:04 +00:00
patacongo
daf0e9bd92 Fix Kinetics UART watermark setting
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3894 42af7a65-404d-4744-a932-0658087f49c3
2011-08-19 04:12:33 +00:00
patacongo
53f30420e8 Add twr-k60n512 NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3893 42af7a65-404d-4744-a932-0658087f49c3
2011-08-19 00:28:00 +00:00
patacongo
fa1e267b3b The basic Kinetis K60 port works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3892 42af7a65-404d-4744-a932-0658087f49c3
2011-08-18 22:37:09 +00:00
patacongo
6269c828b8 Several important Kinetis build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3891 42af7a65-404d-4744-a932-0658087f49c3
2011-08-18 18:16:47 +00:00
patacongo
b1edd6327a Completes first cut at Kinetis ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3889 42af7a65-404d-4744-a932-0658087f49c3
2011-08-17 16:24:47 +00:00
patacongo
94a3c61edb More Kinetis ENET logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3888 42af7a65-404d-4744-a932-0658087f49c3
2011-08-17 03:39:43 +00:00
patacongo
ec3d3c66b1 Fix a typo from the last checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3887 42af7a65-404d-4744-a932-0658087f49c3
2011-08-17 01:03:12 +00:00
patacongo
a60daf4fe7 Add beginning of an Kinetics Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3886 42af7a65-404d-4744-a932-0658087f49c3
2011-08-16 23:04:11 +00:00
patacongo
7c0bd1ad17 Fixed for Kinetis build with DEBUG on
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3885 42af7a65-404d-4744-a932-0658087f49c3
2011-08-16 15:06:39 +00:00
patacongo
aa59b0189f Add board support for the FreeScale Kinetis TWR-K60N512
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3884 42af7a65-404d-4744-a932-0658087f49c3
2011-08-15 22:11:24 +00:00
patacongo
88d2666a2d More Kinetis updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3883 42af7a65-404d-4744-a932-0658087f49c3
2011-08-15 18:07:54 +00:00
patacongo
9157835a1d Finishes very basic Kinetis port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3882 42af7a65-404d-4744-a932-0658087f49c3
2011-08-15 14:55:36 +00:00
patacongo
2de6c9138d More Kinetis logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3881 42af7a65-404d-4744-a932-0658087f49c3
2011-08-15 01:50:35 +00:00
patacongo
1109cc7e26 Add beginning of Kinetis pin interrupt/dma logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3880 42af7a65-404d-4744-a932-0658087f49c3
2011-08-14 22:47:44 +00:00
patacongo
f1219b0836 Add basic GPIO configuration logic (more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3879 42af7a65-404d-4744-a932-0658087f49c3
2011-08-14 19:00:16 +00:00
patacongo
482f58ecd2 Add basic Kinetis serial support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3878 42af7a65-404d-4744-a932-0658087f49c3
2011-08-14 15:53:19 +00:00
patacongo
e6cf93ee68 Add chip-specific pin multiplexing definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3877 42af7a65-404d-4744-a932-0658087f49c3
2011-08-13 23:48:15 +00:00
patacongo
a97569f6ae Add Kinetis clocking logic and some UART logic. Add K60 Tower configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3876 42af7a65-404d-4744-a932-0658087f49c3
2011-08-13 16:11:26 +00:00
patacongo
b8b77ba579 Add Kinesis watchdog, ramfuncs, idle loop, start of clock configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3875 42af7a65-404d-4744-a932-0658087f49c3
2011-08-12 22:10:48 +00:00