This repository contains the example code to: 1) Connect RTL8195AM board to Pelion 2) Enable and run firmware update on RTL8195AM
RTL8195AM SMCC application demonstrates how to create a Simple Mbed Cloud Client application that can connect to Pelion, register resources and get FW updates.
Diff: main.cpp
- Revision:
- 4:6ef46ab40055
- Parent:
- 1:fe5f4acd0b5e
- Child:
- 5:d1d54f04217e
--- a/main.cpp Thu Jun 21 15:56:51 2018 +0800 +++ b/main.cpp Tue Jul 24 12:00:03 2018 +0800 @@ -27,7 +27,7 @@ EventQueue eventQueue; // Storage implementation definition, currently using SDBlockDevice (SPI flash, DataFlash, and internal flash are also available) -SDBlockDevice sd(D11, D12, D13, D9); // MOSI, MISO, CLK, CS +SDBlockDevice sd(D11, D12, D13, D10); // MOSI, MISO, CLK, CS FATFileSystem fs("sd", &sd); // Declaring pointers for access to Mbed Cloud Client resources outside of main()