Generate new project in TouchGFX Designer 4.18 - cannot import into STM32CubeIDE 1.7.0?
Fresh install (yesterday and today) of CubeIDE 1.7.0 and TouchGFX Designer 4.18.0.
In Designer - create a new project, one screen/one control, target is STM32F469I Discovery board.
Generates code fine - simulates fine - sends to actual Disco board and runs just fine.
Build code in TouchGFX MinGW environment: zero errors.
Import project into CubeIDE: project does not compile. The first error in my case:
make: *** No rule to make target 'C:/TouchGFXProjects/TestProject/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c', needed by 'Drivers/STM32F4xx_HAL_Driver/stm32f4xx_hal_uart.o'. Stop.
Not a gigantic problem, I have the hal_uart.c in another project, so I copied it into the driver/src folder and that error cleared. But next I get this error:
make: *** No rule to make target 'C:/TouchGFXProjects/TestProject/Drivers/BSP/Components/mfxstm32l152/mfxstm32l152.c', needed by 'Drivers/BSP/Components/mfxstm32l152.o'. Stop.
I don't have one of those. :expressionless_face:
So, there are three possible cures. In order of preference:
- Why does the generated project not import correctly into CubeIDE? Seems like the makefile setup that CubeIDE wants is completely different from what MinGW's makefiles are using.
- In the absence of that, I can edit in CubeIDE and build in MinGW; what then would be the steps for sending built code to the target? This does not permit remote debugging, of course, but it's better than nothing.
- Where can I pick this (and any other future missing) files?
Thanks in advance.