Commit Graph

4769 Commits

Author SHA1 Message Date
patacongo
d67c617009 Fix some places in library where semaphore is not released on error conditions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5071 42af7a65-404d-4744-a932-0658087f49c3
2012-08-31 16:03:17 +00:00
patacongo
435dbaacd8 Add configurable application entry point
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5070 42af7a65-404d-4744-a932-0658087f49c3
2012-08-30 20:13:50 +00:00
patacongo
297f4be2be Add USB host support for the STM3240G-EVAL board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5069 42af7a65-404d-4744-a932-0658087f49c3
2012-08-30 18:18:47 +00:00
patacongo
4509f0cb05 Remove documentation from defconfig files so that they are more maintainable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5068 42af7a65-404d-4744-a932-0658087f49c3
2012-08-30 15:44:02 +00:00
patacongo
d164b69d94 The USB host driver has been verified on the STM32F4Discovery
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5067 42af7a65-404d-4744-a932-0658087f49c3
2012-08-29 19:38:53 +00:00
patacongo
8ffb1702ea Add USB host support to the STM32F4Discovery board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5066 42af7a65-404d-4744-a932-0658087f49c3
2012-08-29 17:41:43 +00:00
patacongo
0d8340cdc0 I think the STM32 UST OTG FS host driver is finally finished
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5065 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 23:36:58 +00:00
patacongo
de3bd929d8 Slightly improved delay logic for the USB host
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5064 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 22:28:49 +00:00
patacongo
6bda7a303d This appears to fix the NAK-issues for IN data transfers. Still an issue with OUT
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5063 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 20:47:09 +00:00
patacongo
4fde74ccc7 Ooops... forgot to add lib_perror.c to the Make.defs file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5062 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 19:43:42 +00:00
patacongo
94a048002b Add perror()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5061 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 19:01:14 +00:00
patacongo
da30d409a0 Add some protection to the priority inheritance logic when sem_post() is called from an interrupt handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5060 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 14:40:12 +00:00
patacongo
227126f75f Some STM32 USB OTG FS driver fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5059 42af7a65-404d-4744-a932-0658087f49c3
2012-08-27 22:27:03 +00:00
patacongo
8b527a745d Fix some NAK race conditions in control transfers (there are more)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5058 42af7a65-404d-4744-a932-0658087f49c3
2012-08-27 19:23:40 +00:00
patacongo
5e08e5650f Dequote Kconfig strings that may be used as components of a path
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5057 42af7a65-404d-4744-a932-0658087f49c3
2012-08-27 14:07:17 +00:00
patacongo
c18b47aafb More patches/bugfixes from Kate
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5056 42af7a65-404d-4744-a932-0658087f49c3
2012-08-26 23:29:37 +00:00
patacongo
a6e8ab1d51 waitpid(): Move some logic inside of a critical section
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5054 42af7a65-404d-4744-a932-0658087f49c3
2012-08-26 22:00:38 +00:00
patacongo
c611d361c1 Fix some list handling associated with priority inheritance
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5053 42af7a65-404d-4744-a932-0658087f49c3
2012-08-26 21:35:14 +00:00
patacongo
d3c85f5edd Prep for 6.21 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5052 42af7a65-404d-4744-a932-0658087f49c3
2012-08-25 16:40:31 +00:00
patacongo
e0610a1ce4 Update STM32 USB OTG FS host driver -- the driver is now marginally functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5051 42af7a65-404d-4744-a932-0658087f49c3
2012-08-24 22:16:09 +00:00
patacongo
05d687e9eb Lots of defconfig changes for compatibility with the configuration tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5050 42af7a65-404d-4744-a932-0658087f49c3
2012-08-23 22:46:36 +00:00
patacongo
53879d86ca STM32 OTG FS host driver: Fix some bad NAK handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5049 42af7a65-404d-4744-a932-0658087f49c3
2012-08-23 21:13:24 +00:00
patacongo
1246fe7614 Fixes several STM32 USB OTG FS host MSC write transfers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5048 42af7a65-404d-4744-a932-0658087f49c3
2012-08-23 19:50:04 +00:00
patacongo
28c88ac9b5 STM32 USB OTG FS host driver -- updates for NAK and data toggle fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5047 42af7a65-404d-4744-a932-0658087f49c3
2012-08-22 21:04:17 +00:00
patacongo
4900c0d8cc STM32 USB OTG FS host driver update (almost done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5046 42af7a65-404d-4744-a932-0658087f49c3
2012-08-22 18:13:04 +00:00
patacongo
2f4d00b43f PM update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5045 42af7a65-404d-4744-a932-0658087f49c3
2012-08-22 12:27:05 +00:00
patacongo
5e396971a5 Several more bug fixes for STM32 OTG FS host driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5044 42af7a65-404d-4744-a932-0658087f49c3
2012-08-21 20:14:42 +00:00
patacongo
38f339005a Several bug fixes for STM32 OTG FS host driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5043 42af7a65-404d-4744-a932-0658087f49c3
2012-08-21 18:13:35 +00:00
patacongo
b2be724f2e Early STM32 USB OTF FS host debug changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5042 42af7a65-404d-4744-a932-0658087f49c3
2012-08-20 21:22:03 +00:00
patacongo
f1aa8c7db0 Changes for good auto-configuration of Micropendous3 board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5041 42af7a65-404d-4744-a932-0658087f49c3
2012-08-20 16:14:57 +00:00
patacongo
4de4ad33e1 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
129c4ff537 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
b8a19e310e CONFIG_DRAM_END configuration change from Richard Cochran
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5038 42af7a65-404d-4744-a932-0658087f49c3
2012-08-20 12:44:15 +00:00
patacongo
73429ef28b 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
c737fc4315 Move duplicate LCD orieations settings from configs/*/Kconfig to drivers/lcd/Kconfig
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5036 42af7a65-404d-4744-a932-0658087f49c3
2012-08-18 22:57:17 +00:00
patacongo
9441aab0c1 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
b68179266d 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
f6d0219a43 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
6d011bfad4 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
0dca4cc207 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
9437cec3a0 mkconfig now calculates DRAM_END if not provided
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5030 42af7a65-404d-4744-a932-0658087f49c3
2012-08-16 15:00:34 +00:00
patacongo
29f4d29802 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
d715a95122 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
25a5fa3f06 Fixes to apps/*/Make.defs files needed for auto-configuration build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5027 42af7a65-404d-4744-a932-0658087f49c3
2012-08-14 15:45:53 +00:00
patacongo
100bc34307 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
70b1c3f2f6 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
43356a28a1 Fix bad AVR C++ include paths; remove stray typo from ctypes.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5024 42af7a65-404d-4744-a932-0658087f49c3
2012-08-13 14:02:06 +00:00
patacongo
7e20685e1a Define NULL to be (0) for C++
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5023 42af7a65-404d-4744-a932-0658087f49c3
2012-08-12 17:49:35 +00:00
patacongo
b7a1b00c08 drivers/serial/serial.c open, read, write, and poll methods will not return a short transfer or an EINTR error if a signal is received while waiting (only)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5022 42af7a65-404d-4744-a932-0658087f49c3
2012-08-12 17:37:04 +00:00
patacongo
69b3ac08ea 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