Skip to main content
Charles Bang
Associate II
December 1, 2021
Solved

Run Target error

  • December 1, 2021
  • 1 reply
  • 1238 views

I solved the previous problem with the TouchGFX compile error.

Now I have another problem when I run target.

Please see the below link that I made it.

https://youtu.be/dDcpmdoovik

-----------------------------------------------------------------------------------------------------------

  Flash

    make -f ../gcc/Makefile flash

    Reading TouchGFX/application.config

    Linking TouchGFX/build/bin/target.elf

    Producing additional output formats...

     target.hex  - Combined internal+external hex

     intflash.elf - Internal flash, elf debug

     intflash.hex - Internal flash, hex

    /usr/bin/sh: line 0: cd: /c/Program Files (x86)/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin: No such file or directory

    c:/TouchGFXProjects/test001/gcc/include/flash_sections_int_ext.mk:2: recipe for target '_extflash_' failed

    make[1]: *** [_extflash_] Error 1

    ../gcc/Makefile:52: recipe for target 'flash' failed

    make: *** [flash] Error 2

    Failed

  Failed

This topic has been closed for replies.
Best answer by Charles Bang

I figured it out.

I downloaded "STM32CubeProgrammer_win64.exe" and installed it.

The problem is solved now.

https://youtu.be/o16fxZkJUpg

1 reply

Charles Bang
Charles BangAuthorBest answer
Associate II
December 1, 2021

I figured it out.

I downloaded "STM32CubeProgrammer_win64.exe" and installed it.

The problem is solved now.

https://youtu.be/o16fxZkJUpg