Commit Graph

248 Commits

Author SHA1 Message Date
patacongo
1749f57574 LPC17xx serial now supports minimal termios ioctls; serial driver ioctl methods should not set errno variable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4994 42af7a65-404d-4744-a932-0658087f49c3
2012-07-31 23:45:21 +00:00
patacongo
774cc1dcfc More LPC43 files in various states of work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4909 42af7a65-404d-4744-a932-0658087f49c3
2012-07-05 14:58:16 +00:00
patacongo
5347c159fb Add LPC43 interrrupt control logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4905 42af7a65-404d-4744-a932-0658087f49c3
2012-07-04 19:34:11 +00:00
patacongo
70b1e63412 Add LPC43 USB0 and timer header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4895 42af7a65-404d-4744-a932-0658087f49c3
2012-07-01 19:39:30 +00:00
patacongo
7e7984f125 Add LPC43 ADC, DAC, RTC, SPI, I2S, I2C, and QEI header files from LPC17
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4894 42af7a65-404d-4744-a932-0658087f49c3
2012-07-01 16:47:50 +00:00
patacongo
504addf712 Add LPC43 UART, USART, SSP, and SPI header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4893 42af7a65-404d-4744-a932-0658087f49c3
2012-07-01 14:51:06 +00:00
patacongo
53ab05dce6 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
fbaeb32b0f 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
7667d2a64e LPC17xx DAC fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4521 42af7a65-404d-4744-a932-0658087f49c3
2012-03-25 16:22:07 +00:00
patacongo
b4852fca75 Move serial header files to include/nuttx/serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4500 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 19:47:23 +00:00
patacongo
1e4fe73e6b Add PIC32 SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4459 42af7a65-404d-4744-a932-0658087f49c3
2012-03-07 00:53:50 +00:00
patacongo
df43e1b890 Move all non-standard, NuttX header files into include/nuttx/net
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4450 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 23:18:34 +00:00
patacongo
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
f93b962f28 Name change: Change Cortex-M3 naming to ARMv7-M naming so support Cortex-M4
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3846 42af7a65-404d-4744-a932-0658087f49c3
2011-08-05 21:57:49 +00:00
patacongo
a4349e1566 Revised CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3839 42af7a65-404d-4744-a932-0658087f49c3
2011-08-03 04:36:59 +00:00
patacongo
f5d40b3c1e Fix LPC17xx chip memory configuration error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3838 42af7a65-404d-4744-a932-0658087f49c3
2011-08-03 04:26:31 +00:00