ST configuration tutorial
Note:
- This
BSPonly supports theHALlibrary, and does not currently supportstandardlibrary orLLlibrary requirements. - This
BSPneeds to be used together withCubeMx.
Create project
Use CubeMx to create a project for the corresponding chip. Enable the required functions (only need to configure pin
mapping relationships, no need to set specific parameter values).
Note: Do not enable interrupts, otherwise it will report redefinition errors (the MR framework has taken over
interrupts).
Import project into project (2. Add driver)
Copy bsp/st/driver and stm32xxx/driver files to driver.
Port driver
Refer to the stm32xxx/driver path Kconfig and mr_board.h in the previous step to modify parameters and complete
the migration and tailoring.