Commit Graph

2323 Commits

Author SHA1 Message Date
patacongo
2a151588f3 Changes for clean STM32 USB host driver build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5040 42af7a65-404d-4744-a932-0658087f49c3
2012-08-20 16:06:39 +00:00
patacongo
54e5dd1478 STM32 USB host driver is code compelte (but untested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5039 42af7a65-404d-4744-a932-0658087f49c3
2012-08-20 13:55:19 +00:00
patacongo
96cbb147e4 Progress on STM32 OTG FS host driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5037 42af7a65-404d-4744-a932-0658087f49c3
2012-08-20 00:57:14 +00:00
patacongo
551da8eff7 STM32 USB host driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5035 42af7a65-404d-4744-a932-0658087f49c3
2012-08-18 21:22:16 +00:00
patacongo
fc0c5e8933 More STM32 USB host logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5034 42af7a65-404d-4744-a932-0658087f49c3
2012-08-17 22:51:14 +00:00
patacongo
b024d6bd4b Remove 'sudo' from Makefiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5033 42af7a65-404d-4744-a932-0658087f49c3
2012-08-17 14:54:09 +00:00
patacongo
95ec4c3991 Auto-configuration updates from Richard Cochran
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5032 42af7a65-404d-4744-a932-0658087f49c3
2012-08-17 14:07:48 +00:00
patacongo
90aee8148e Evolving STM32 USB host support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5031 42af7a65-404d-4744-a932-0658087f49c3
2012-08-16 22:48:26 +00:00
patacongo
0f53d0c383 A little more STM32 USB host logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5029 42af7a65-404d-4744-a932-0658087f49c3
2012-08-15 22:13:50 +00:00
patacongo
3c6ff540ea Some repartitioning of STM32 functionality to better support a USB host driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5028 42af7a65-404d-4744-a932-0658087f49c3
2012-08-15 17:58:54 +00:00
patacongo
33ae8fdc32 Revise recent changes to serial driver error handling: Errors other than EINTR may be returned when the driver is used very early in initialization. STM32 SPI driver will now survive repeated initializations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5026 42af7a65-404d-4744-a932-0658087f49c3
2012-08-14 14:42:50 +00:00
patacongo
d7a17871b0 Make the lib/ subdirectory build more like other directories
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5025 42af7a65-404d-4744-a932-0658087f49c3
2012-08-13 22:27:06 +00:00
patacongo
5fcff5bc26 Back out the last STM32 DMA priority change. It is not necessary; just dropping the SD frequency was sufficient
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5021 42af7a65-404d-4744-a932-0658087f49c3
2012-08-10 23:16:01 +00:00
patacongo
de32f16245 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
f0b1643958 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
11a5c81fd6 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
e71b75b979 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
07755de887 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
b266005f32 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
eed2776d9a 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
998d360195 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
38f96f874f 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
9129bc9055 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
ae57a10093 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
40888af331 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
bdc9a08b87 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
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
1702fded40 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
16f275058e 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
1b817cc6d6 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
e6970f04e6 Add support for PIC32MX1/2 ANSEL register; Mirtoo NXFFS configuration now uses the Pinquino toolchain by default:
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4984 42af7a65-404d-4744-a932-0658087f49c3
2012-07-27 17:25:35 +00:00
patacongo
66833bdf12 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
569e4ef123 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
de34678cb0 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
f061660d50 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
b4e9cec9ca 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
4c612c24a9 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
bbfddf5ad6 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
28bd2e6071 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
6de2e45191 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
7d79c38ac6 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
3c92ffa2f9 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
c5a7577df5 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
0f06c9a678 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
e633932dae 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
5a627bbbc2 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
5329acdad6 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
4a7999b0b7 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
7d4f4de7bc 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
4e99b594a4 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