Skip to main content
This topic has been closed for replies.
STTwo-32
STTwo-32Best answer
ST Technical Moderator

In this case, I think you should start the project from the .ioc file in this case.

Also, I may suggest you regenerate the project from CubeMX with IDE as a toolchain and unchecking the "Generate under root". This way any user code in the main.c will be kept (not sure about other files added by users). 

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

5 replies

STTwo-32
ST Technical Moderator

Hello @Jacob3104 

I suggest you take a look at this post. It may be helpful.

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Jacob3104Author
Associate II

But my MDK-ARM project based on STM32CubeMX (.ioc file) 

STTwo-32
STTwo-32Best answer
ST Technical Moderator

In this case, I think you should start the project from the .ioc file in this case.

Also, I may suggest you regenerate the project from CubeMX with IDE as a toolchain and unchecking the "Generate under root". This way any user code in the main.c will be kept (not sure about other files added by users). 

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Jacob3104Author
Associate II

i start the project from the .ioc file and also regenerate the project from CubeMX with IDE as a toolchain and unchecking the "Generate under root". 

But after i generated, the project does not have anything.

Jacob3104_0-1710782914264.png

Jacob3104_1-1710782939115.png

 

 

Jacob3104Author
Associate II

This is the original file (SDIO+FATS) one, i want to import it.

Jacob3104_0-1710783349653.png