2021-02-04 04:57 AM
2021-02-04 05:43 AM
Hello @Bernd Heißwolf
Thanks for your question,
The answer is Yes, it's possible to import your project basically created with G071R8 on G071RB using CubeMX.
I present to you, as mentioned in the image below, a ways which allows you to know the MCUs that are compatible with each other even with different Flash sizes and all this through CubeMX =) :
Thanks, Khouloud
2021-02-04 05:16 AM
Hello @Bernd Heißwolf ,
Using STM32ubeMX, what could be possible is to create a new project on STM32G071RB and from this blank project,
import the configuration from your STM32G071R8 project,
you will still need nevertheless to port after that the application part into the new project.
2021-02-04 05:26 AM
Yes, one possibility is to edit the CubeMX project file IOC: open it using your favority text editor and find/replace all occurences of STM32G071R8 with STM32G071RB (about 2..3). Load that project in CubeMX again and enjoy the same pin and other settings as before.
But please be careful: this will only work properly if a device is replaced with the same type with less or more memory.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Good luck!
/Peter
2021-02-04 05:38 AM
Thank you very much! That worked without any problems!
Best regards
Bernd
2021-02-04 05:43 AM
Hello @Bernd Heißwolf
Thanks for your question,
The answer is Yes, it's possible to import your project basically created with G071R8 on G071RB using CubeMX.
I present to you, as mentioned in the image below, a ways which allows you to know the MCUs that are compatible with each other even with different Flash sizes and all this through CubeMX =) :
Thanks, Khouloud
2021-02-04 05:46 AM
Hello Khouloud ZEMMELI (ST Employee)
Oh, thats the official way to do this! Thank you very much!
Best regards
Bernd
2021-02-04 06:03 AM
You're always welcome :)
Khouloud