Commit Graph

11068 Commits

Author SHA1 Message Date
Gregory Nutt
49fef8bacc Update ChangeLog 2015-05-01 07:34:54 -06:00
Gregory Nutt
63dce70d2b Added missing EXTI definitions for the STM32 F3; Correct an error the port D base address in the STM32 F3 and F37 memory maps. From Greg Meiste. 2015-05-01 07:31:56 -06:00
Gregory Nutt
c4a337389c STM32F4-Discovery: Part of logic to initialize the ELF loaded in the board startup logic. From Leo aloe3132 2015-04-30 14:32:30 -06:00
Gregory Nutt
916ccc78bb binfmt: Fix a debug statement that does not have the correct number of arguments. From Leo aloe3132 2015-04-30 14:31:04 -06:00
Gregory Nutt
698f71a176 STM32F4-Discover: Initialize the ELF loaded in the board startup logic. From Leo aloe3132 2015-04-30 14:29:21 -06:00
Gregory Nutt
c1a59049c9 Another newly missing semicolon after a debug assertion. Noted by Librae 2015-04-29 15:58:33 -06:00
Gregory Nutt
2afe1e869b Update ChangeLog 2015-04-28 06:41:21 -06:00
Gregory Nutt
398c7757e3 STM32 PVD: Adds support for STM32's Programmable Voltage Detector feature. I put register access behind CONFIG_STM32_ENERGYLITE as have not checked F1/F2/F4 etc. manuals. Tested on STM32L1. PVD interrupt looks generic, at least #defines it needs are in headers for every chip variant. By Dmitry Nikolaev, submitted by Juha Niskanen. 2015-04-28 06:37:59 -06:00
Gregory Nutt
55ac01399b Correct some cloned typos involving EHCI 2015-04-27 14:03:24 -06:00
Gregory Nutt
cec90e144a Another missing semicolon in a DEBUGASSERT statement 2015-04-27 12:26:40 -06:00
Gregory Nutt
621eae86b1 Networking: If IPV6 is not enabled, an warning occurs for an unused variable, which is currently used inside the IPV6 block, but declared outside. From ObitalFox. 2015-04-27 11:28:28 -06:00
Gregory Nutt
0dc464e556 fb.h: Costmetic changes 2015-04-26 08:02:01 -06:00
Gregory Nutt
8ab4ea531e Update README 2015-04-24 07:48:53 -06:00
Gregory Nutt
35299de347 Update ChangeLog 2015-04-24 07:47:14 -06:00
Gregory Nutt
a8a3790139 RA8875 LCD driver contributed by Marten Svanfeldt 2015-04-24 07:46:03 -06:00
Gregory Nutt
0092f79696 Two r's and only two r's in the word interrupt 2015-04-23 14:04:43 -06:00
Gregory Nutt
da04b29a68 Yet another missing semicolon on DEBUGASSERT 2015-04-23 07:29:15 -06:00
Gregory Nutt
071658bb6d Another missing semicolon 2015-04-23 07:18:59 -06:00
Gregory Nutt
093a144934 sem_wait(): Missing comma on debug statement caused compile error with DEBUG on. Why hasn't that been noted before? 2015-04-23 07:15:55 -06:00
Gregory Nutt
f38ff433b3 Update paths to CodeSourcery tools 2015-04-23 07:01:13 -06:00
Gregory Nutt
4c997edc04 Update ChangeLog 2015-04-22 07:36:24 -06:00
Gregory Nutt
df4e24ddeb include/assert.h: Wrap definitions of assertion macros in do while. Suggested by orbitalfox 2015-04-22 07:35:35 -06:00
Gregory Nutt
85df251093 STM32 RTC counter: Include enable/disable backup domain within critical section. Per recommendtion of Alexander Oryshchenko. 2015-04-21 18:08:31 -06:00
Gregory Nutt
ba1e1b19fc Fix name of misnamed file 2015-04-21 13:18:06 -06:00
Gregory Nutt
bb2bffa626 Update ChangeLogs 2015-04-21 09:27:52 -06:00
Gregory Nutt
4608544f65 time.h: Add localtime prototypes; NSH: Correct test for gmtime_r return value 2015-04-21 09:26:18 -06:00
Gregory Nutt
eedce63bd6 SAMA5 EHCI: Remove unused variable from structure 2015-04-21 09:18:31 -06:00
Gregory Nutt
356292b60e Some trivial USB-related changes 2015-04-20 09:51:58 -06:00
Gregory Nutt
0a014e0364 USB host: Cosmetic changes 2015-04-20 07:46:05 -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
f9fc49aecc Fix some typos, clean up some naming 2015-04-19 09:14:00 -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
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