blockchain , sdchain cpp sdk and demo
Dependencies: EthernetInterface mbed-rtos mbed uniqueCPUID
Fork of bcsdk by
Diff: main.cpp
- Revision:
- 11:6d9cefb14158
- Parent:
- 10:aabd720e632c
- Child:
- 12:1b24ea479a59
--- a/main.cpp Fri Nov 03 01:07:32 2017 +0000 +++ b/main.cpp Wed May 16 12:00:23 2018 +0000 @@ -1,6 +1,6 @@ #include "mbed.h" #include "EthernetInterface.h" -#include "SDFileSystem.h" +//#include "SDFileSystem.h" #include <stdio.h> #include "uniqueCPUID.h" @@ -31,7 +31,7 @@ //SDFileSystem sd(p5, p6, p7, p8, "sd"); // LPC1768 MBD2PMD //SDFileSystem sd(P0_18, P0_17, P0_15, P0_16, "sd"); // Seeeduino Arch Pro SPI2SD -SDFileSystem sd(PTE3, PTE1, PTE2, PTE4, "sd"); // K64F +//SDFileSystem sd(PTE3, PTE1, PTE2, PTE4, "sd"); // K64F EthernetInterface eth; TCPSocketServer server; @@ -219,6 +219,7 @@ return 0; } +/* void get_file(char* uri) { uart.printf("get_file %s\n", uri); @@ -365,7 +366,7 @@ client.close(); } } - +*/ int main_2() { // Serial Interface eth;