Commit Graph

1353 Commits

Author SHA1 Message Date
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
patacongo
c820a78d84 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
d0dfe4616b 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
9e6a174857 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
60935ce8b2 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
1e4309f8bb 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
95b25141d4 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
28e28a380d 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
302a0c78f1 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
b23b4e3357 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
b424ca1014 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
1020e1a1db 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
1dc35e1d35 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
a126047cb3 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
1a33e596ad 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
8b56fe2568 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
d98b6337a7 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
87ad1594c3 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
206964b040 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
6814c1bf4f 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
f79ea67a0c 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
3a4c3b3fe7 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
a024d988fe 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
37e3f9ce26 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
f641248295 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
cec687559a 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
558e4a4e39 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
f1b2a1ed8c 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
1b0f79e2bd 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
dfc5df567d 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
e1c207f7ed 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
3c4954545e 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
760626f299 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
a4f48e6ee3 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
48796107c8 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
1fcfb7cc3b 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
0d62934c5a 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
1567d64597 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
8aafd77892 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
5e2d5f7612 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
57cabf27ce 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
4e2ddf1d79 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
aa5ca56a01 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
cd5a51713a 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
520428affd 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
3da5a6701d 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
4e4744da73 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
3d423084f5 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
7b8d118a60 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
27a51442d7 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
0dcb28180d 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
690a6c3086 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
2b177b6de7 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
599b52fb69 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
2dbde8d001 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
de19e2d88b 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
71fffb0f7a 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
5ad1a098e3 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
f2c2a8aa98 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
79b13e12e6 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
76bb54a502 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
25471d8a5f 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
36cb290d7e 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
876e70ee21 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
039a9c6c65 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
a2b3f3be8d 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
e3ce9ccfd4 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
4a26fd91d7 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
b07f1d3698 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
40db181703 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
442e871f43 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
53e219968d 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
08ed8c31eb 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
1832cf98bf 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
be8a4c4a1c 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
5b6ec3e91c 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
b9ae7326eb 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
051eb01264 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
c32f135989 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
eca9b2e66c 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
d57ce23ec5 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
7276e3155c 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
6ca094cd13 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
9af221d04f 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
fcce599ba9 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
b1905fed02 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
cdfc549cd4 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
8b0f6539c3 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
f6ced992c1 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
83ca83b6ff 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
75dad1cd45 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
b30d8ba5bb 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
9eed408b93 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
045c7eb456 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
3115d1e78c 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
d6cfe71a23 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
38e862635c 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
eee82177f5 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
3d40cd375f 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
875626b914 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
b3ab4c7ba6 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
c9030743de 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
75907a8dc0 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
87fbb3674d 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
ec8c188f59 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
db781ae23f 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
8edb3434d8 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
778fe8194e 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
7a4cbde8dc 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
525214b9df 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
accb9a2e7e 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
cb518b3a04 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
417ae9969a 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
a0c935e699 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
79a73a8e9d 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
ba785efe81 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
dd94e49dc7 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
3a3c6f31fd 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
5b27f168d1 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
4b09cfc3a9 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
202e109d6b 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
8533139044 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
188a069b0a 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
a59f32427c 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
41403a8f4b 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
c38362f357 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
64d78eec58 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
394d468661 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
a78ab36158 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
6adfba6b83 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
12d496667c 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
499f799858 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
2b263f9031 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
4d1dfb9002 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
e51d3c9eaa 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
e81ffea8d6 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
aa0e5ff9b8 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
23b7961098 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
593e188f93 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
8cedad6365 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
5be01dab5a 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
5cb433406a 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
ad0721c9d7 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
d4fd560ea0 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
17ce79ee25 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
9e2861a57a 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
67a430c147 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
86c67b9cd5 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
cd442c8623 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
7bd51ff970 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
5125b9dd27 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
b7197791ff 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
d321d62a80 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
2cd7449a3e 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
d3b36f22ec 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
aceb299ec9 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
e3fa7cffab 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
c28da736c5 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
66b873ef77 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
f647868570 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
e92fd82b42 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
60259b544f 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
patacongo
3575d64b9f Add Kinetis startup logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3874 42af7a65-404d-4744-a932-0658087f49c3
2011-08-12 19:57:12 +00:00
patacongo
d783d5c95f Add Kinetis interrupt vectors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3873 42af7a65-404d-4744-a932-0658087f49c3
2011-08-12 18:26:21 +00:00
patacongo
0e14fbc480 Finishes Kinetis hardware header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3872 42af7a65-404d-4744-a932-0658087f49c3
2011-08-12 16:27:01 +00:00
patacongo
7f5a7a6950 Finish Kinetis SDHC header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3871 42af7a65-404d-4744-a932-0658087f49c3
2011-08-12 02:28:26 +00:00
patacongo
4e1d706e0f Fill out Kinetis TSI header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3870 42af7a65-404d-4744-a932-0658087f49c3
2011-08-11 23:39:49 +00:00
patacongo
712d60f6eb Complete Kinetis USB and add skeletons for all remaining header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3869 42af7a65-404d-4744-a932-0658087f49c3
2011-08-11 21:24:41 +00:00
patacongo
b431e19b03 Add Kinetis ENET header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3868 42af7a65-404d-4744-a932-0658087f49c3
2011-08-11 18:24:18 +00:00
patacongo
81f0e1babb Add Kinetis PIT, I2C, and FTM header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3867 42af7a65-404d-4744-a932-0658087f49c3
2011-08-11 15:12:35 +00:00
patacongo
1703643ebe Add Kinetis DSPI header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3866 42af7a65-404d-4744-a932-0658087f49c3
2011-08-11 02:51:08 +00:00
patacongo
20f76bc8bb Add Kinetis CMP, ADC, PDB, and DAC header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3865 42af7a65-404d-4744-a932-0658087f49c3
2011-08-10 23:41:49 +00:00
patacongo
e3db663772 Add Kinetis ADC, CRC, RNGB and MMCAU header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3864 42af7a65-404d-4744-a932-0658087f49c3
2011-08-10 21:18:00 +00:00
patacongo
d00072599b Add Kinetis FLASH and FlexBUS header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3863 42af7a65-404d-4744-a932-0658087f49c3
2011-08-10 17:54:00 +00:00
patacongo
da413c67db Add Kinetis CMT and RTC header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3862 42af7a65-404d-4744-a932-0658087f49c3
2011-08-10 03:02:45 +00:00