Use RT-Thread Studio and STM32CubeMx to develop driver

Post your reviews about the boards you have got.
Post Reply
Author
Message
Martin_Smith
Posts: 1
Joined: 06 Apr 2021 10:04

Use RT-Thread Studio and STM32CubeMx to develop driver

#1 Post by Martin_Smith » 06 Apr 2021 10:32

Using RT-Thread Studio and STM32CubeMx to develop a driver can be divided into the following steps:

1.Use RT-Thread Studio to create a new RT-Thread project
2.Use STM32CubeMx to configure peripherals and system clocks
3.Copy stm32xxxx_hal_msp.c function
4.Modify the stm32xxxx_hal_config.h file to enable the corresponding peripheral support.
5.Replace the clock configuration function in the board.c file
6.Use peripherals

Post Reply

Return to “Review”