Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: GR-PEACH_video mbed-rtos mbed
Fork of GR-PEACH_LCD_sample by
Revision 4:c1e61a1d75df, committed 2016-04-19
- Comitter:
- dkato
- Date:
- Tue Apr 19 02:42:13 2016 +0000
- Parent:
- 3:b5aaf7215800
- Commit message:
- Supports IAR.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Apr 07 07:28:19 2016 +0000
+++ b/main.cpp Tue Apr 19 02:42:13 2016 +0000
@@ -109,7 +109,13 @@
}
#endif
+#if defined(__ICCARM__)
+#pragma data_alignment=16
+static uint8_t FrameBuffer_Video[VIDEO_BUFFER_STRIDE * VIDEO_BUFFER_HEIGHT]@ ".mirrorram"; //16 bytes aligned!;
+#pragma data_alignment=4
+#else
static uint8_t FrameBuffer_Video[VIDEO_BUFFER_STRIDE * VIDEO_BUFFER_HEIGHT]__attribute((section("NC_BSS"),aligned(16))); //16 bytes aligned!;
+#endif
static volatile int32_t vsync_count = 0;
static volatile int32_t vfield_count = 1;
static int image_change = 0;
--- a/mbed.bld Thu Apr 07 07:28:19 2016 +0000 +++ b/mbed.bld Tue Apr 19 02:42:13 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/9296ab0bfc11 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/082adc85693f \ No newline at end of file
