Blynk example for Marvell® EZ-Connect™ MW302
Here are the instructions for AWS IoT Starter Kit on Linux. Feel free to adjust them to your board and OS.
- Download and install Marvell's EZ-Connect Lite SDK
- Download this example, put it in
blynk-library-ez-connect
subfolder of SDK root - Register your Blynk account and create a Project, so you get a Blynk Auth Token
- In
src/main.cpp
, adjustWIFI_SSID
,WIFI_PASS
andBLYNK_AUTH
- Navigate to SDK root:
cd ez-connect-lite
- Build:
make APP=blynk-library-ez-connect clean all -j9
- Flash:
sudo python sdk/tools/OpenOCD/flashprog.py --mcufw ./bin/mw302_rd/blynk.bin
- Open serial console:
cu -l /dev/ttyUSB1 -s 115200
. (Hint: type~.
when you want close it) - Done. Reset the board to start the firmware