First vomit a slot to the official documentation, there is really no tutorial suitable for beginners to get started! ! ! ! ! ! Many things in the document are pieced together, the first contact can not be operated normally, and the document often only shows results, ignoring the intermediate steps, and it is extremely unfriendly to novices. Okay, that's it for complaining.
Article Directory
Software and hardware preparation
hardware
The blogger uses the IoT Board Pandora development board. As shown in the figure below, it looks very fragrant and supports python-based IoT development.
software
-
env
, Is a debugging terminal suitable for RT-Thread board (download link: official website download )
-
STM32 ST-LINK Utility
For burningbin
files
firmware
Need to download the BSP folder corresponding to your development board, there are project files inside.
-
Part of the firmware of the development board (download link: official website forum )
-
All BSP firmware (download link: github homepage )
BSP compilation
1. Configure Env
Just look at how to use Env .
2. Compile the firmware
- Open env and enter:
pkgs --upgrade
- Configuration:
menuconfig
Choose the third one:
choose the third one:
choose Micropython:
Load
and Save
.
- Pull the update back locally:
Remaining operations
Refer to MicroPython Firmware Development Guide
Compiled successfully
Burning procedure
Operation reference: STM32 ST-LINK Utility introduction, download, installation, usage method
Error resolution
problem
Chinese in the path! ! ! ! ! ! , Do not show any Chinese, all folder paths including env and BSP files are not working!