HomeCommunityEmbedded and Microcontrollers blog
July 7, 2017

PSoC Creator 4.1 - Pre- and Post-Build Commands

I think this has to be one of the most frequently-requested enhancements to the product and I am really pleased that we have it in the tool. You can now automate the execution of your own commands before and after building a PSoC or FM0+project....

By Mark Saunders

Share
Reading time less than 1 minute

I think this has to be one of the most frequently-requested enhancements to the product and I am really pleased that we have it in the tool. You can now automate the execution of your own commands before and after building a PSoC or FM0+project. Here is the Project->Build Settings dialog where you can set up the commands. Just add the commands here and the build system will reliably automate everything for you.

Project->Build Settings dialog showing the User Commands page, where you can enter commands to be executed before and after the build
You can run source file checkers like lint or MISRA tools before running the compiler. You can automate data conversion on output files or run a bootloader host utility once the build is complete. It's all up to you! In my example I am calling a (fictitious) bootloader utility that downloads the project file through a serial COM port. The options are unlimited - what will you do?


Log in to like this post
Share

Article text

Re-use is only permitted for informational and non-commercial or personal use only.

placeholder