Web Camera for mbed-os. When you use this program, we judge you have agreed to the following contents. https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE

Dependencies:   HttpServer_snapshot_mbed-os LWIPBP3595Interface_STA_for_mbed-os RomRamBlockDevice mbed-rpc

Fork of GR-Boards_WebCamera by Renesas

このサンプルは 「GR-LYCHEE」ではじめる電子工作 で紹介しています。
出版時と内容が異ならないよう、各ライブラリはアップデートせずに使用してください。

このサンプルの最新バージョンは下記から入手できます。最新バージョンは本の内容と一部処理が異なります。
https://github.com/d-kato/GR-Boards_WebCamera

Files at this revision

API Documentation at this revision

Comitter:
1050186
Date:
Tue Dec 15 08:11:36 2015 +0000
Parent:
7:c45ecff1b44d
Child:
9:2e3ccd27b4f9
Commit message:
Change the type of the function by updaing FATFileSystem library.

Changed in this revision

FATFileSystem.lib Show annotated file Show diff for this revision Revisions of this file
RomRamFileSystem.h 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-rtos.lib Show annotated file Show diff for this revision Revisions of this file
--- a/FATFileSystem.lib	Thu Dec 03 08:10:53 2015 +0000
+++ b/FATFileSystem.lib	Tue Dec 15 08:11:36 2015 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/mbed-official/code/FATFileSystem/#a5fcdbf92056
+http://developer.mbed.org/teams/mbed-official/code/FATFileSystem/#094f84646b9f
--- a/RomRamFileSystem.h	Thu Dec 03 08:10:53 2015 +0000
+++ b/RomRamFileSystem.h	Tue Dec 15 08:11:36 2015 +0000
@@ -56,7 +56,7 @@
     }
 
     // read a sector in to the buffer, return 0 if ok
-    virtual int disk_read(uint8_t *buffer, uint64_t sector, uint8_t count) {
+    virtual int disk_read(uint8_t *buffer, uint32_t sector, uint32_t count) {
         for (uint64_t sec_no = sector; sec_no < (sector + count); sec_no++) {
             if (sectors[sec_no] == NULL) {
                 // nothing allocated means sector is empty
@@ -70,7 +70,7 @@
     }
 
     // write a sector from the buffer, return 0 if ok
-    virtual int disk_write(const uint8_t *buffer, uint64_t sector, uint8_t count) {
+    virtual int disk_write(const uint8_t *buffer, uint32_t sector, uint32_t count) {
         for (uint64_t sec_no = sector; sec_no < (sector + count); sec_no++) {
             bool all_zero = true;
             for (int i = 0; i < SECTOR_SIZE; i++) {
@@ -110,7 +110,7 @@
     }
 
     // return the number of sectors
-    virtual uint64_t disk_sectors() {
+    virtual uint32_t disk_sectors() {
         return NUM_OF_SECTORS;
     }
 
--- a/main.cpp	Thu Dec 03 08:10:53 2015 +0000
+++ b/main.cpp	Tue Dec 15 08:11:36 2015 +0000
@@ -338,8 +338,8 @@
     RPCFunction rpcSetI2C(SetI2CfromWeb, "SetI2CfromWeb");
 
     printf("EthernetInterface Setting up...\r\n");
-    if (eth.init() != 0) {                             //for DHCP Server
-//    if (eth.init("192.168.0.2","255.255.255.0","192.168.0.3") != 0) { //for Static IP Address (IPAddress, NetMasks, Gateway)
+//    if (eth.init() != 0) {                             //for DHCP Server
+    if (eth.init("192.168.0.2","255.255.255.0","192.168.0.3") != 0) { //for Static IP Address (IPAddress, NetMasks, Gateway)
         printf("EthernetInterface Initialize Error \r\n");
         return -1;
     }
--- a/mbed-rtos.lib	Thu Dec 03 08:10:53 2015 +0000
+++ b/mbed-rtos.lib	Tue Dec 15 08:11:36 2015 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/users/mbed_official/code/mbed-rtos/#6c35e082773a
+http://developer.mbed.org/users/mbed_official/code/mbed-rtos/#c825593ece39