The error means: In the context_rvds.c and stm32f10x_it.c files, HardFault_Handler has a duplicate definition
In the context_rvds.c and stm32f10x_it.c files, PendSV_Handler has repeated definitions
Search HardFault_Handler, the results are as follows
My project is under the C drive, the search is a full project search, the search results should not have D drive! ! !
Find the problem and find it as follows
Adding rtos to the project leads to repeated definitions of HardFault_Handler and PendSV_Handler! ! !
Remove the rtos kernel check box or comment out the HardFault_Handler and PendSV_Handler functions in the stm32f10x_it.c file, compile again, and the problem is solved.