Commit Graph

1389 Commits

Author SHA1 Message Date
patacongo
7cbb44ffb8 Drop STM32 F2/4 SDIO clock from 24 to 16 MHz. Seems to fix SD accesses on STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5020 42af7a65-404d-4744-a932-0658087f49c3
2012-08-10 22:42:46 +00:00
patacongo
8e48ba3224 STM32 SDIO DMA setup was losing DMA priority
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5019 42af7a65-404d-4744-a932-0658087f49c3
2012-08-10 22:01:12 +00:00
patacongo
4996e1117e Add support for Olimex STM32-P107 board (contributed by Max Holtzberg)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5018 42af7a65-404d-4744-a932-0658087f49c3
2012-08-10 17:07:02 +00:00
patacongo
fd8dac9c40 STM32 CAN TX/RX pins reversed; inconsistent conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5017 42af7a65-404d-4744-a932-0658087f49c3
2012-08-08 23:23:15 +00:00
patacongo
50ffd1f175 Add a USB0 device header file for LPC43
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5016 42af7a65-404d-4744-a932-0658087f49c3
2012-08-07 23:51:47 +00:00
patacongo
f7ad9408a0 Update documentation to describe customization of NSH; Add the framework for a LPC43xx USB0 driver (not functional)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5015 42af7a65-404d-4744-a932-0658087f49c3
2012-08-07 20:18:56 +00:00
patacongo
c9a2c8a7aa STM32 PM update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5002 42af7a65-404d-4744-a932-0658087f49c3
2012-08-03 15:01:51 +00:00
patacongo
3b6ae1baaf LPC43 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5001 42af7a65-404d-4744-a932-0658087f49c3
2012-08-03 14:57:30 +00:00
patacongo
421e422444 Add stm32_clockenable() to support recovery from deep sleep low-power usage modes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5000 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 21:48:54 +00:00
patacongo
5b6be140ba The initial SYLOG device logic was valiant but yet still not enough
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4998 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 17:09:25 +00:00
patacongo
ae4142fe7b Correct an addressing error in the LPC32 SPIFI MTD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4997 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 01:45:56 +00:00
patacongo
39f2ca6c1f Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4996 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 00:42:46 +00:00
patacongo
56580875ab atexit() and on_exit() may now be configured to support multiple exit callbacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4995 42af7a65-404d-4744-a932-0658087f49c3
2012-08-01 17:47:54 +00:00
patacongo
50dd2866eb 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
113b421e60 Add support for testing multiple ADC, PWM, and QE devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4993 42af7a65-404d-4744-a932-0658087f49c3
2012-07-30 16:51:43 +00:00
patacongo
e08e917d5a Add memccpy{}
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4990 42af7a65-404d-4744-a932-0658087f49c3
2012-07-29 14:50:02 +00:00
patacongo
25d6657dff STM32F4Discovery configuration clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4985 42af7a65-404d-4744-a932-0658087f49c3
2012-07-27 21:08:56 +00:00
patacongo
596484ea54 PM update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4982 42af7a65-404d-4744-a932-0658087f49c3
2012-07-27 00:14:38 +00:00
patacongo
c1a3d46a69 Add PM support for the STM32F4Discovery -- still a work in progress
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4976 42af7a65-404d-4744-a932-0658087f49c3
2012-07-25 13:35:36 +00:00
patacongo
1c7794b97d Combine cfset[o|i]speed to cfsetspeed; combine cfget[o|i]speed for cfgetspeed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4975 42af7a65-404d-4744-a932-0658087f49c3
2012-07-24 22:56:36 +00:00
patacongo
0ccd2cdb66 Ooops.. c_speed is now read-only
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4974 42af7a65-404d-4744-a932-0658087f49c3
2012-07-24 17:16:25 +00:00
patacongo
fa593262f4 SDIO fixes for the STM32 F2 from Gary Teravskis and Scott Rondestvedt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4973 42af7a65-404d-4744-a932-0658087f49c3
2012-07-24 15:49:01 +00:00
patacongo
272a475b52 Remove BOTHER
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4972 42af7a65-404d-4744-a932-0658087f49c3
2012-07-24 15:10:21 +00:00
patacongo
9dee8a084d LP43xx SPIFI MTD driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4971 42af7a65-404d-4744-a932-0658087f49c3
2012-07-23 20:08:56 +00:00
patacongo
58864cc6e9 Baud definitions (B9600 for example) are again encoded; Now supports the BOTHER settings which allows specifying the baud via c_ispeed and c_ospeed termios fields
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4970 42af7a65-404d-4744-a932-0658087f49c3
2012-07-23 15:37:13 +00:00
patacongo
89473befdf Add completed but untested support for RS-485 on the LPC43xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4959 42af7a65-404d-4744-a932-0658087f49c3
2012-07-20 18:32:16 +00:00
patacongo
9faa2e9ece Add infrastructure to support RS-485 on the LPC43xx (logic still incomplete)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4958 42af7a65-404d-4744-a932-0658087f49c3
2012-07-20 16:58:39 +00:00
patacongo
0ba37ba68d Add missing file needed for stm32f100xx port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4957 42af7a65-404d-4744-a932-0658087f49c3
2012-07-20 01:42:40 +00:00
patacongo
a9468eb7e1 Add support for STM32F100x value line. Contributed by Mike Smith. Still missing a file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4955 42af7a65-404d-4744-a932-0658087f49c3
2012-07-19 18:02:32 +00:00
patacongo
5c40d31c23 Make name of RTC ALARM interrupt common on STM32 F1,2,4
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4954 42af7a65-404d-4744-a932-0658087f49c3
2012-07-19 14:33:14 +00:00
patacongo
acc6883263 Add STM32 PM sleep support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4953 42af7a65-404d-4744-a932-0658087f49c3
2012-07-18 22:54:33 +00:00
patacongo
31dc0f21f6 Update driver to work with and external SPIFI library (vs. ROM)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4952 42af7a65-404d-4744-a932-0658087f49c3
2012-07-18 21:04:15 +00:00
patacongo
56f50d59fc Create an MTD driver for SPIFI
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4951 42af7a65-404d-4744-a932-0658087f49c3
2012-07-18 18:38:49 +00:00
patacongo
3e483d3809 Add logic to initialize the LPC43xx SPIFI device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4949 42af7a65-404d-4744-a932-0658087f49c3
2012-07-17 20:02:57 +00:00
patacongo
25522d0cc8 STM32: Add logic to attach the RTC alarm EXTI interrupt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4947 42af7a65-404d-4744-a932-0658087f49c3
2012-07-17 00:22:48 +00:00
patacongo
f6b7147cd6 Fix LPC43xx clocking bugs; LPC43xx now runs at 204MHz
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4946 42af7a65-404d-4744-a932-0658087f49c3
2012-07-16 21:25:29 +00:00
patacongo
3bd865b3d0 Fix an error in LPC43xx clock configuratin that can cause fail to boot
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4945 42af7a65-404d-4744-a932-0658087f49c3
2012-07-16 19:16:57 +00:00
patacongo
56e3553818 PM update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4932 42af7a65-404d-4744-a932-0658087f49c3
2012-07-11 23:21:16 +00:00
patacongo
b740e28538 LPC43 Need to use fractional dividers to get the low-level UART BAUD correct
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4931 42af7a65-404d-4744-a932-0658087f49c3
2012-07-11 20:58:47 +00:00
patacongo
c1cd96fda7 Add an NSH configuration for the LPC43xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4930 42af7a65-404d-4744-a932-0658087f49c3
2012-07-11 18:52:59 +00:00
patacongo
9d361ea107 LP43xx... disable debug traps on hardfaults
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4929 42af7a65-404d-4744-a932-0658087f49c3
2012-07-11 15:56:12 +00:00
patacongo
5478f7bad0 Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4927 42af7a65-404d-4744-a932-0658087f49c3
2012-07-10 22:27:51 +00:00
patacongo
89b080564b Fix another LPC43xx pin configuration problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4926 42af7a65-404d-4744-a932-0658087f49c3
2012-07-10 20:51:39 +00:00
patacongo
8f9590282f Several fixes to LPC43 pin and GPIO configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4925 42af7a65-404d-4744-a932-0658087f49c3
2012-07-10 18:33:14 +00:00
patacongo
f5875cfb09 LPC43xx fix: Logic was disabling XTAL, not enabling it
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4924 42af7a65-404d-4744-a932-0658087f49c3
2012-07-10 16:10:38 +00:00
patacongo
41110b3ffc Add support to the LPC4330-Xplorer port for the Code Red toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4920 42af7a65-404d-4744-a932-0658087f49c3
2012-07-08 22:28:39 +00:00
patacongo
a4cc2f6f5b Add a generic GCC stdarg.h header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4919 42af7a65-404d-4744-a932-0658087f49c3
2012-07-08 14:50:43 +00:00
patacongo
4a0b61ab76 Finishes LPC43xx uart bard configuration; LPC43 is ready to begin testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4918 42af7a65-404d-4744-a932-0658087f49c3
2012-07-07 17:36:31 +00:00
patacongo
531316bcea Straighten out LPC32 UART clocking (still some baud calculation issues)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4917 42af7a65-404d-4744-a932-0658087f49c3
2012-07-07 15:29:13 +00:00
patacongo
70ccb11ade Fix typo in STM32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4915 42af7a65-404d-4744-a932-0658087f49c3
2012-07-06 22:21:58 +00:00