Introduction
.NET nanoFramework Installation Guide
Materials Needed
ESP32 microcontroller (supports WiFi and Bluetooth), Android data cable (must support data transfer)
Note! Please install the ESP32 driver first (https://124.222.27.83/docs/docs/nanoframework/nanoInstall#注意请先安装esp32驱动程序)
ESP32 driver link (http://nanoframework.oss-cn-shenzhen.aliyuncs.com/MH-ET ESP32开发板资料.zip)
Installing .NET nanoFramework Firmware
Installation Tools
dotnet tool install -g nanoff
Flashing Firmware
nanoff --platform esp32 --serialport COM3 --update
Then prepare VS Code and VS 2022, this article will use VS 2022 for the tutorial.
Once ready, connect the ESP32 device to the computer (using Android cable).
Start setting up the ESP32 nanoFramework development environment.
After installation, open VS2022, click continue but no code is needed
Click Manage Extensions
Search and install the nanoFramework extension, after installation, close the entire VS 2022.
After closing VS 2022, this installation extension interface will pop up, click install.
Long wait for installation
After installation, reopen VS 2022.
Then click Create New Project
Search for nanoFramework, then click the first one and click Next.
Create a project Demo example and click Create.
Click View => Other Windows => Device Explorer.
Then close the settings, we go to VS Code to find the project path just created by VS 2022 and open it.
Then open VS 2022, at this point we can see the device and then click Run.
Alright, the run is complete.
Source:hejiale010426
Link: cnblogs.com/hejiale010426/p/16578314.html
Leave a Comment
Your email address will not be published. Required fields are marked *