RTT launches new BSP for stm32 series, and shares the production tutorial with you
[Copy link]
STM32系列BSP制作教程20181228.pdf
(1.66 MB, downloads: 55)
In order to allow developers to use BSP for development better and more conveniently, the RT-Thread development team reorganized the existing STM32 series BSP and launched a new BSP framework. The new BSP framework has greatly improved ease of use, porting convenience, driver integrity, code standardization, etc. Development under the new BSP framework can greatly improve the efficiency of application development. Unlike the BSP provided by RT-Thread in the past, the new BSP folder will not contain code files such as firmware libraries and peripheral drivers that can be referenced by multiple BSPs. Instead, these common files are stored in the Library folder, and the library files or driver files required in the BSP are included by referencing these files in a specific BSP. This method not only greatly improves the code reuse rate and reduces the maintenance cost of the BSP, but also makes it easier to provide developers with richer driver files, allowing developers to find the resources they need more easily. The new BSP framework also introduces the CubeMX tool, which can be used to configure the peripheral pins used in the BSP. The CubeMX tool provides a graphical configuration interface, which is more intuitive for developers. It not only allows developers to flexibly configure the resources used in the BSP, but also allows developers to see the resource usage at a glance. The main features of the new BSP framework are as follows: Provides multiple series of BSP templates, greatly reducing the difficulty of adding new BSPs; Each BSP is equipped with a complete set of driver files, and developers can easily use all drivers; Developers can use the CubeMX tool to graphically configure the BSP;
|