Commit Graph

11055 Commits

Author SHA1 Message Date
Gregory Nutt
9e0b239c37 Clean compile errors from last commit 2015-04-20 08:53:21 -06:00
Gregory Nutt
8e23ad72b5 USB hub: Add asych HCD interface 2015-04-20 08:41:33 -06:00
Gregory Nutt
0a014e0364 USB host: Cosmetic changes 2015-04-20 07:46:05 -06:00
Gregory Nutt
a6d9f0622c USB hub: First steps to make interfaces backward compatible 2015-04-20 07:45:11 -06:00
Gregory Nutt
8c1c365ae7 Reorder structure members for better packing 2015-04-19 15:58:09 -06:00
Gregory Nutt
8a23c52650 USB Hub: Change an the usbhost_ctrlxfer interface; move some functions around 2015-04-19 14:26:17 -06:00
Gregory Nutt
820bc08c34 USB Hub: Fix a few compilation errors 2015-04-19 12:01:47 -06:00
Gregory Nutt
a0713bfd1a Merge branch 'master' of ssh://git.code.sf.net/p/nuttx/git into usbhub 2015-04-19 11:45:22 -06:00
Gregory Nutt
80934d147c Oops forgot to add the hub.h file in a preceding commit 2015-04-19 11:44:58 -06:00
Gregory Nutt
1971ea3d4e Clean up some debug output 2015-04-19 11:24:06 -06:00
Gregory Nutt
5b106c5060 Update ChangeLog 2015-04-19 10:57:31 -06:00
Gregory Nutt
de182f2a3a Merge remote-tracking branch 'origin/master' into usbhub
Conflicts:
	nuttx/include/nuttx/usb/usbhost.h
2015-04-19 10:55:20 -06:00
Gregory Nutt
cc134049a9 Fix a few typos 2015-04-19 09:15:07 -06:00
Gregory Nutt
f9fc49aecc Fix some typos, clean up some naming 2015-04-19 09:14:00 -06:00
Gregory Nutt
ce566286c0 Merge from master 2015-04-19 09:01:28 -06:00
Gregory Nutt
7fcfca40b5 Bring in more logic from https://github.com/kaushalparikh/nuttx 2015-04-19 08:55:48 -06:00
Gregory Nutt
320d678d89 STM32 F1 RT Counter: Another fix from Darcy Gong 2015-04-19 07:05:39 -06:00
Gregory Nutt
84eded8a31 Update ChangeLog 2015-04-19 06:59:58 -06:00
Gregory Nutt
10eeff30e7 STM32 F1 RTC Counter: Now need to enable backup domain write access when setting the time. From Darcy Gong 2015-04-19 06:58:07 -06:00
Gregory Nutt
153ddf9007 Update ChangeLog 2015-04-18 16:23:15 -06:00
Gregory Nutt
6bd7cfa823 Bring in USB hub-related files from https://github.com/kaushalparikh/nuttx. This is the work of Kaushal Parikh. This initial commit is incomplete. This is quite a bit more hub logic that needs to come in before the port is complete. 2015-04-18 16:20:02 -06:00
Gregory Nutt
175a9387e1 Update ChangeLog 2015-04-18 11:40:20 -06:00
Gregory Nutt
98de2f5712 USB Hub: Add USB hub header file from Kaushal Parikh 2015-04-18 11:39:26 -06:00
Gregory Nutt
a822e0ad52 Update ChangeLog 2015-04-18 07:34:13 -06:00
Gregory Nutt
244a30b6a9 Fix an error introduced into stm32_pwr_enablebkp(). That function must preserve the previous state of backup domain access on return. 2015-04-18 07:31:20 -06:00
Gregory Nutt
9f0a9824bc Use menconfig instead of config 2015-04-17 07:38:33 -06:00
Gregory Nutt
9c5bdc97d9 Update ChangeLog 2015-04-17 07:11:27 -06:00
Gregory Nutt
41d5828fa7 STM32F429i Disco: (1) Fix a bad return value if the LCD driver is already initialized. (2) The LCD driver initialization is now performed during the early boot sequence. (3) Increased the size of the message queue from 32 to 64 in the lcd configuration. From Marco, ocram.lhark@yahoo.com. 2015-04-17 07:04:53 -06:00
Gregory Nutt
c54adf248a STM32 - cosmetic changes to indentation 2015-04-16 16:35:06 -06:00
Gregory Nutt
2fe0e5624e Fix dedbug output; used wrong macro 2015-04-16 12:37:47 -06:00
Gregory Nutt
726dadffb4 Add CONFIG_CDCACM_IFLOWCONTROL. Just hooks for now 2015-04-16 12:24:56 -06:00
Gregory Nutt
a08aabe102 STM32 DMA2D: Use helper function when freeing layers. From Marco Krahl 2015-04-16 11:16:14 -06:00
Gregory Nutt
759f8f8e78 Update ChangeLogs 2015-04-16 09:36:10 -06:00
Gregory Nutt
34d1d2907d MAX_RAND should be RAND_MAX 2015-04-16 09:35:29 -06:00
Gregory Nutt
4c74c83c97 Update ChangeLog 2015-04-16 09:14:11 -06:00
Gregory Nutt
eb28a666b4 Add support for the new DMA2D features to the STM32F429i-Disco LTDC configuration. From Marco Krahl. 2015-04-16 09:11:53 -06:00
Gregory Nutt
8ed4b1acfa Defines a second interface for the dma2d controller. Controlling both LTDC and DMA2D was unpractical from the programmers view because both controllers are to different. LTDC only controls the display visibility but the DMA2D controller changes the content of the frame buffer (buffer of the layer).
The main features are:

1. DMA2D interface
   Supports the nuttx pixel formats:
   - FB_FMT_RGB8
   - FB_FMT_RGB24
   - FB_FMT_RGB16_565
   Dynamic layer allocation during runtime for the supported formats
   - The number of allocatable layer can be configured.
   Supported dma2d operation:
   - blit (Copy content from source to destination layer) also works with
     selectable area.
   - blend (Blend two layer and copy the result to a destination layer wich can
     be a third layer or one of the source layer) also works with selectable
     area.
   - fillarea (Fill a defined area of the whole layer with a specific color)

As a result of that the dma2d controller can't transfer data from the core coupled memory, CCM is disabled but usable by the ccm allocator. Currently the ccm allocator is used for allocating the layer structurei only. For the dma memory (layers frame buffer) memory is allocated from heap 2 and 3.

2. LTDC interface

   I have changed the api for the currently non implemented operations:
   - blit (Copy content from a dma2d layer to an ltdc layer) also works with
     selectable area.
   - blend (Blend two dma2d layer and copy the result to a destination ltdc
     layer) also  works with selectable area.

     Note! ltdc layer is a layer referenced by the ltdc interface. dma2d layer
     is a layer referenced by the dma2d interface.

     One of the most important questions for me was, How can i flexible use an
     ltdc layer with the dma2d interface, e.g. as source layer for dma2d
     operations?
     Get the layer id of the related dma2d layer by a special flag when using
     getlid() function of the ltdc interface and use the layer id to reference
     the specific dma2d layer by the dma2d interface.

     The ltdc coupled dma2d layers are predefined and can't be dynamically
     allocated of freed. They use the same frame buffer memory and the same
     color lookup table.

   Changes:
   - layer internal format of the clut table
   - interrupt handling for register reload (vertical vblank) instead using
     waiting loop
   - small fixes and refactoring

From Marco Krahl.
2015-04-16 09:11:52 -06:00
Gregory Nutt
7bf9be7c33 Add hooks to CDC/ACM driver to support RX flow control 2015-04-16 09:11:51 -06:00
Gregory Nutt
1f193dd515 Calypso/Compal_e86 update from Craig Comstock 2015-04-16 09:11:47 -06:00
Gregory Nutt
6c17a4978d Update ChangeLog 2015-04-15 21:40:18 -06:00
Gregory Nutt
213987ea20 Missing PWM boardctl logic breaks PWM test. 2015-04-15 21:37:41 -06:00
Gregory Nutt
69b7d3abd3 More places where watchodg mispelled 2015-04-15 21:36:30 -06:00
Gregory Nutt
e6c302bdba STM32 IWDG typo fix. from chenming582892 2015-04-15 20:13:56 -06:00
Gregory Nutt
a28354c6a2 Spellcheck README file 2015-04-15 18:11:03 -06:00
Gregory Nutt
811dc14c33 Update comments 2015-04-15 16:38:08 -06:00
Gregory Nutt
823889b214 Update comments and README 2015-04-15 16:25:38 -06:00
Gregory Nutt
0893a37b2b Update ChangeLogs 2015-04-15 11:05:05 -06:00
Gregory Nutt
13bd65fe82 configs/sim/src: Add logic to test localtime and TZ database. See apps/system/README.txt for info 2015-04-15 11:00:40 -06:00
Gregory Nutt
b6b64cfc03 Update README files 2015-04-15 09:31:44 -06:00
Gregory Nutt
dc87eae8aa Fix typos in ReleaseNotes 2015-04-14 15:37:33 -06:00