These steps are documented here: https://aka.ms/devkitfix
- Open the Board Manager in the Arduino IDE (had problems in code, not sure why), and removed the AZ3166 package.
- Delete the files:
%USERPROFILE%\AppData\Local\Arduino15\package_azureboard_index.json
%USERPROFILE%\AppData\Local\Arduino15\package_azureboard_index.json.sig.tmp
- Delete the
%USERPROFILE%\AppData\Local\Arduino15\Packages\AZ3166
folder - Delete the %USERPROFILE\azure-board-cli folder
- Flash the
devkit-firmware-1.2.0.28.bin
firmware to the board. - Re-install the
devkit_install_win_1.2.0.28.zip
dev kit - Verify that the folder where you cloned or unziped the
http://github.com/Azure/CloudIoTHack
repo to does NOT have spaces in the folder name. - Open the
FlySimEmbedded
folder under the repo in VSCode - Run task: cloud-provision
- Run task: device-upload