cancel
Showing results for 
Search instead for 
Did you mean: 

I Can't import project from touchGFX to CUBE IDE STM429I DISCO

Ede M.1
Associate

Hi everyone,

TouchGFX Version: 4.19.0

STM32CubeIDE Version : 1.9.0

Card : STM32F429I-DISC1

OS: Windows 10

HAL: STM32F4 1.25.0

I have created a TouchGFX project, rename in all ioc , touchgfx and project file the project name give by touchgfx.

I have keep the HAL use by touchGFX 1.25.0

When i compile first in CUBE IDE it's compile and run well on card, but when i regenerate code with the ioc in CUBE IDE i get a lot of compile error.

I would like to be able to update the .ioc for a custom card that will have an Ethernet and many other features.

What i have done wrong ?

Thanks in advance.0693W00000LwalIQAR.png

arm-none-eabi-gcc "../Middlewares/Third_Party/FreeRTOS/Source/queue.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DUSE_HAL_DRIVER -DDEBUG -DSTM32F429xx -c -I../../Core/Inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP -I../../TouchGFX/target -I../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../TouchGFX/App -I../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../../TouchGFX/target/generated -I../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../Middlewares/ST/touchgfx/framework/include -I../../TouchGFX/generated/fonts/include -I../../TouchGFX/generated/gui_generated/include -I../../TouchGFX/generated/images/include -I../../TouchGFX/generated/texts/include -I../../TouchGFX/generated/videos/include -I../../TouchGFX/gui/include -Os -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/Source/queue.d" -MT"Middlewares/Third_Party/FreeRTOS/Source/queue.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Middlewares/Third_Party/FreeRTOS/Source/queue.o"
../TouchGFX/target/generated/STM32DMA.cpp:50:1: error: 'STM32DMA' does not name a type; did you mean 'STM32F4DMA'?
   50 | STM32DMA::STM32DMA()
      | ^~~~~~~~
      | STM32F4DMA
../TouchGFX/target/generated/STM32DMA.cpp:55:1: error: 'STM32DMA' does not name a type; did you mean 'STM32F4DMA'?
   55 | STM32DMA::~STM32DMA()
      | ^~~~~~~~
      | STM32F4DMA
../TouchGFX/target/generated/STM32DMA.cpp:61:6: error: 'STM32DMA' has not been declared
   61 | void STM32DMA::initialize()
      |      ^~~~~~~~
../TouchGFX/target/generated/STM32DMA.cpp:75:17: error: 'STM32DMA' has not been declared
   75 | inline uint32_t STM32DMA::getChromARTInputFormat(Bitmap::BitmapFormat format)
      |                 ^~~~~~~~
../TouchGFX/target/generated/STM32DMA.cpp:110:17: error: 'STM32DMA' has not been declared
  110 | inline uint32_t STM32DMA::getChromARTOutputFormat(Bitmap::BitmapFormat format)
      |                 ^~~~~~~~
../TouchGFX/target/generated/STM32DMA.cpp:143:16: error: 'STM32DMA' has not been declared
  143 | BlitOperations STM32DMA::getBlitCaps()
      |                ^~~~~~~~

1 ACCEPTED SOLUTION

Accepted Solutions
Tauqir  Hassan
Associate III

Okay, I was able to resolve it by using STM32CubeMX separately.

View solution in original post

2 REPLIES 2
Tauqir  Hassan
Associate III

Facing the same issue, were you able to resolve it ?

TouchGFX Version: 4.20.0

STM32CubeIDE Version : 1.7.0

Board : STM32F429I-DISC1

Tauqir  Hassan
Associate III

Okay, I was able to resolve it by using STM32CubeMX separately.