Commit Graph
11047 Commits
Author SHA1 Message Date
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
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
Gregory Nutt 6b283c303c Prep for 7.9 release nuttx-7.9 2015-04-14 14:17:55 -06:00
Gregory Nutt f087e35676 A little localtime clean-up 2015-04-14 10:46:05 -06:00
Gregory Nutt c23610994c libc/time/lib_localtime.c: Move tzset(); it belongs in the Public Functions grouping 2015-04-14 08:12:45 -06:00
Gregory Nutt 660fe03ce7 Update ChangeLog 2015-04-14 07:33:52 -06:00
Gregory Nutt f161a1d0f7 atexit: Fix reference to undefined variable in certain configurations. From Juha Niskanen 2015-04-14 07:31:35 -06:00
Gregory Nutt a0866c0753 drivers/input/max11802.c: Fix possible unmatched IRQ restore. Noted by Juha Niskanen 2015-04-14 07:22:02 -06:00
Gregory Nutt 490a2a5ebd Remove all traces of the Galileo board. That port is not going to happen -- I dont' even have the Galileo board anymore. 2015-04-13 15:36:50 -06:00
Gregory Nutt 4fc5bcef27 Update ChangeLog 2015-04-13 14:03:52 -06:00