Ryo Hagimoto / Mbed 2 deprecated GR-PEACH_Camera_in_barcode

Dependencies:   GR-PEACH_video mbed zbar_010

Fork of GR-PEACH_Camera_in by Renesas

Files at this revision

API Documentation at this revision

Comitter:
dkato
Date:
Mon Apr 18 07:14:02 2016 +0000
Parent:
0:2f1caf4ce924
Child:
2:8fd6cd76716a
Commit message:
Supports IAR.

Changed in this revision

GR-PEACH_video.lib Show annotated file Show diff for this revision Revisions of this file
USBHost.lib Show annotated file Show diff for this revision Revisions of this file
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/GR-PEACH_video.lib	Fri Jun 26 02:26:08 2015 +0000
+++ b/GR-PEACH_video.lib	Mon Apr 18 07:14:02 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/Renesas/code/GR-PEACH_video/#853f5b7408a7
+http://developer.mbed.org/teams/Renesas/code/GR-PEACH_video/#3149baf7925b
--- a/USBHost.lib	Fri Jun 26 02:26:08 2015 +0000
+++ b/USBHost.lib	Mon Apr 18 07:14:02 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/USBHost/#220cd93c9a5f
+http://mbed.org/users/mbed_official/code/USBHost/#028508fd50fa
--- a/main.cpp	Fri Jun 26 02:26:08 2015 +0000
+++ b/main.cpp	Mon Apr 18 07:14:02 2016 +0000
@@ -48,8 +48,15 @@
 DigitalOut led1(LED1);
 DigitalIn  button(USER_BUTTON0);
 
+#if defined(__ICCARM__)
+#pragma data_alignment=16
+static uint8_t FrameBuffer_Video_A[VIDEO_BUFFER_STRIDE * VIDEO_BUFFER_HEIGHT]@ ".mirrorram";  //16 bytes aligned!;
+static uint8_t FrameBuffer_Video_B[VIDEO_BUFFER_STRIDE * VIDEO_BUFFER_HEIGHT]@ ".mirrorram";  //16 bytes aligned!;
+#pragma data_alignment=4
+#else
 static uint8_t FrameBuffer_Video_A[VIDEO_BUFFER_STRIDE * VIDEO_BUFFER_HEIGHT]__attribute((section("NC_BSS"),aligned(16)));  //16 bytes aligned!;
 static uint8_t FrameBuffer_Video_B[VIDEO_BUFFER_STRIDE * VIDEO_BUFFER_HEIGHT]__attribute((section("NC_BSS"),aligned(16)));  //16 bytes aligned!;
+#endif
 static volatile int32_t vsync_count;
 static volatile int32_t vfield_count;
 
--- a/mbed.bld	Fri Jun 26 02:26:08 2015 +0000
+++ b/mbed.bld	Mon Apr 18 07:14:02 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/082adc85693f
\ No newline at end of file