2020-11-07 06:28 PM
I've spent several hours trying to do this. None of the articles from the web are working for me. Something is always screwed up. Either there is no source code or there are compile errors.
I've also wasted hours trying to get the Target Selector to work, only to eventually find it is not compatible with STM32F1 series. Great.
Can someone please give me suggestions on how to proceed?
I am beginning to wonder if I have made the right choice in moving from TI to STM. The TI IDE is very easy to use. Am I just experiencing new user problems or is this IDE as buggy as it appears to be?
Solved! Go to Solution.
2020-11-08 11:11 AM
Here is my project path immediately after successfully importing. Please note that the path is pointing to the MCU Software Package repository. Then, as soon as I rename, the repository is damaged and I have to delete the F1 repo and reinstall it.
Properties of main.c after importing.
The preview screen for the rename command
The properties of main.c after rename
It's gone! We are doing either the import or the rename differently. I wonder if it is not the import. The import is leaving me editing the repo. I am not sure you are doing the same thing. I wish the import copied files into my workspace so I wasn't messing around in the repo.
2020-11-08 11:36 AM
Definitively weird.
I see you're working on MacOS. Myself relying on Win10 OS.
So just got a try on my iMac ... leading to same trouble as you :( ... sounds Eclipse behavior not same at all doing project renaming if MacOS.
Doing renaming based on a Linux VM is doing same as Win10.
2020-11-08 11:48 AM
That certainly explains the error. I might try running CubeIDE on Linux. I have a Linux VM. Or I might just examine the examples to learn what I need and then get comfortable changing the project templates built using Target Selector. Actually I think the latter is the best approach.
And maybe someday soon, ST will get this bug fixed. And also get the Target Selector working with the F1 examples.
Thank you so much for your tireless support!
2020-11-09 06:26 AM
Just wanted to pop in again and tell you how much I appreciate your help. And to tell you I'm actually growing to appreciate CubeMX, even on the Mac. Yes, there are problems with renaming on the Mac, and the process of importing is goofy and not well documented, but a lot of things work very well. Yesterday I solved many problems I needed to solve for my project....GPIO interrupts, timer interrupts, how to configure timers, how to enter and exit STOP mode, etc. I am finding CubeMX to be good at a lot of things and pretty understandable. I really like the Target Selector and the ability to do IO configuration using the graphical configuration in CubeIDE. So thanks for coming into my thread and helping me get past my frustration!