GfxDesigner: add menu option 'Code > Build Code'
Hi Gfx Team,
Could you consider adding an option to build code without running.

Thanks
Hi Gfx Team,
Could you consider adding an option to build code without running.

Thanks
Hello
I don't think we will implement this functionality because you can simply click the Program and Run Target button (bottom right) and not connect your board so that it will compile the code but fail at the beginning of the flashing process.
The processes are Generate, Generate assets (sometimes the longest), Post generate, Post generate target, Compile (often the longest), Flash.
If you do not connect a board, STM32CubeProgrammer will not be able to find a STLink connected and the flashing step will quickly fail :
Flash
make -f ../../gcc/Makefile flash
make -C PATHTOTHEPROJECT/MyApplication/gcc/ --no-print-directory -f makefile_boot flash
Linking Boot/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
-------------------------------------------------------------------
STM32CubeProgrammer v2.18.0
-------------------------------------------------------------------
Error: No debug probe detected.
PATHTOTHEPROJECT/MyApplication/gcc/include/flash_sections_int_ext.mk:10: recipe for target '_intflash_' failed
make[2]: *** [_intflash_] Error 1
makefile_boot:45: recipe for target 'flash' failed
make[1]: *** [flash] Error 2
../../gcc/Makefile:8: recipe for target 'flash' failed
make: *** [flash] Error 2
Failed
Failed
Regards,
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.