Change to wifi AP mode. SSID "GR-PEACH_1", PSK "12345"

Dependencies:   DhcpServer EthernetInterface FATFileSystem GR-PEACH_WlanBP3595AP GR-PEACH_video GraphicsFramework HttpServer_snapshot R_BSP mbed-rpc mbed-rtos mbed

Fork of GR-Boards_WebCamera by Renesas

Revision:
14:212f66386982
Parent:
12:6c002b871c4d
Child:
15:eac4c3711aab
--- a/main.cpp	Thu Mar 24 12:49:30 2016 +0000
+++ b/main.cpp	Tue Apr 19 02:22:08 2016 +0000
@@ -55,10 +55,22 @@
 EthernetInterface network;
 RomRamFileSystem romramfs("romram");
 
+#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;
+#if defined(__ICCARM__)
+#pragma data_alignment=8
+static uint8_t JpegBuffer[2][1024 * 50]@ ".mirrorram";  //8 bytes aligned!;
+#pragma data_alignment=4
+#else
 static uint8_t JpegBuffer[2][1024 * 50]__attribute((section("NC_BSS"),aligned(8)));  //8 bytes aligned!;
+#endif
 static size_t jcu_encode_size[2];
 static int image_change = 0;
 JPEG_Converter Jcu;