cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX not linking files at all

FabianEbs
Associate III

Hello there :)

 

I create a project with TouchGFX 4.24.1, then import it to CubeIDE 1.16.1, which are both the current versions. Once i open the .ioc file, it says the file need to either be migrated to 6.12.1 or I can use the file as is, which seems to be 6.12.0. So there might be some missmatch between the current software releases. 

 

Furthermore, and what really is my problem right now, is once I adjust any settings in cubeMX (USB_FS, ETH+LwIP), the files do get generated normally in the project directory, but are not included/linked in the project in cubeIDE at all. 

For small things this does'nt matter that much, but e.g. for LwIP there is so much stuff to manually add...

 

Do I have something setup wrong, can this be adjusted, or is this i known bug with the newest release? I already did a clean reinstall of all STM-Programs.

Example .ioc file attached (i just did a quick enable of USB and lwip for testing).

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Yeah, sorry I forgot to add that info...

I was able to resolve this. Our company had me relocate my files, so i created a new workspace at the new server location. Turns out i don't have the same rights there, so cubeMX had a hickup and was able to create the files, but not link them. 

I relocated my workspace and everything works fine now.

Thanks a lot for your help :)

View solution in original post

4 REPLIES 4
MM..1
Chief III

@FabianEbs wrote:

I create a project with TouchGFX 4.24.1,


here start your mistake. Projects created with/in TouchGFX isnt designed for ioc changes. IOC file is only for reference. This is long era existed issue. Right way for custom hw is start project in MX and add software package TGFX.

Sometimes this works for TGFX projects , but in ioc wizard you require choice target IDE, because TGFX create multi ide prejects for KEIL, IAR ... but ioc is preset only to one ...

I dont use custom HW, i just use a STM32H745-Disco dev-board and this is the workflow that worked for me the last 6 months, I never got it to work when creating a project from MX and then trying to add TGFX.

Only recently did this stop working for me.

Anyway, thanks for you reply!

Try show this info in your question... But ok next info for you is "latest" IDE 1.16.1 have inside plugin MX seems 6.12.1 and from other tickets seems is buggy. Try revert to .0 version or wait for repair. I never start use new versions without pretest on other computer.

Yeah, sorry I forgot to add that info...

I was able to resolve this. Our company had me relocate my files, so i created a new workspace at the new server location. Turns out i don't have the same rights there, so cubeMX had a hickup and was able to create the files, but not link them. 

I relocated my workspace and everything works fine now.

Thanks a lot for your help :)