2020-05-10 11:32 PM
This passage is forwarded from RT-Thread IoTOS Twitter. FYI: RT-Thread is an open-source real-time operating system(RTOS)
You can reach out the original article on https://hashnode.com/post/stm32f091rc-nucleo-bsp-board-support-package-execution-instruction-ck9me97yy001pihs1pfi7evk0
The mainly-used resources of this board are shown as follows:
Peripheral Condition
Each peripheral supporting condition for this BSP is as follows:
Instruction
-Get started
This BSP provides MDK4, MDK5, and IAR projects for developers and it supports the GCC development environment. Here's an example of the MDK5 development environment, to introduce how to run the system.
-Hardware connection
Use a USB cable to connect the development board to the PC and turn on the power switch.
-Compile and Download
Double-click the project.uvprojx file, to open the MDK5 project, compile and download the project to the board.
By default, the executable file will be downloaded to the board by the simulator, which is connected to PC via the USB cable.
-Running Results
Once the project is successfully downloaded, the system runs automatically.
Connect the serial port of the board to PC, communicate with it via a serial terminal tool (115200bps, 8N1). Restart the board and the startup information of RT-Thread will be observed:
\ | /
- RT - Thread Operating System
/ | \ 4.0.0 build Dec 21 2018
2006 - 2018 Copyright by rt-thread team
msh >
Advanced Features
This BSP only enables GPIO and serial port 2 by default. If you need more advanced features such as SPI, I2C, you need to configure the BSP with ENV tools, as follows: