2025-07-12 10:13 AM - edited 2025-07-12 10:13 AM
MCU is STM32H7R/S.
Some paths is incorrect in make script .
Failed Log:
Generate Code
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Reading ./target.config
../Middlewares/ST/touchgfx/framework/tools/videoconvert/videoconvert.rb:43:in `read': No such file or directory @ rb_sysopen - ../MDK-ARM/AICAMERA_V3_ONLYAPP.uvprojx (Errno::ENOENT)
from ../Middlewares/ST/touchgfx/framework/tools/videoconvert/videoconvert.rb:43:in `check_compiler'
from ../Middlewares/ST/touchgfx/framework/tools/videoconvert/videoconvert.rb:251:in `block in <class:Main>'
from ../Middlewares/ST/touchgfx/framework/tools/videoconvert/videoconvert.rb:101:in `chdir'
from ../Middlewares/ST/touchgfx/framework/tools/videoconvert/videoconvert.rb:101:in `<class:Main>'
from ../Middlewares/ST/touchgfx/framework/tools/videoconvert/videoconvert.rb:19:in `<main>'
generated/simulator/gcc/Makefile:229: recipe for target 'videos' failed
make[1]: *** [videos] Error 1
simulator/gcc/Makefile:32: recipe for target 'assets' failed
make: *** [assets] Error 2
Failed
Failed
2025-07-14 3:43 AM
Hello @magicmatrix,
How did you create your project ?
BR,
Louis B.
2025-07-14 7:18 AM
The project was created using STM32cubeMX
2025-07-22 12:57 AM
Hello @magicmatrix ,
Did you generatecode in cubeMX and designer before generating in MDK ?
BR,
2025-07-22 9:47 AM
After attempts, the following issues arose.
There are two sub-projects under the STM32H7R/S project.
Boot and Appli .
When touchgfx is in Appli project. it is ok.
When touchgfx is in Boot project. Errors will occur.
The STM32CubeMX also has a problem.
It is not possible to choose where to place touchgfx in the project.
Sometimes you can only place it in boot, and sometimes you can only place it in appli.
This is not controlled by the user.