2021-11-12 1:53 AM
We wish to always improve our documentation. The best reviews and critics always come from the people that read it, so we would like to use this post to collect your thoughts and feedbacks.
Please share what you like, dislike, what you think is missing, etc ...
/The TouchGFX team
2025-03-05 12:43 AM
@jchernus-fikst wrote:> "I was able to write a custom build script (using STM32CubeIDE headless build) and also a custom script for flashing (using STM32CubeProgrammer) and they both get called when clicking the program button in TouchGFX."
Would you be willing to share some documentation you found helpful, sample code, or anything that can help someone like me who's trying to accomplish the same?
Sure. For building I use headless build. The only modification I made was disabling indexing (slows down build).
https://community.st.com/t5/stm32cubeide-mcus/headless-build-bat-bug-headless-build-freezes-for-20-seconds/td-p/665855
For flashing I'm using STM32CubeProgrammer CLI.
https://community.st.com/t5/stm32cubeprogrammer-mcus/stm32-programmer-cli-doesn-t-return-errorlevel-in-case-of-some/td-p/91198