PSoC Creator 4.1 - Pre- and Post-Build Commands | 赛普拉斯半导体
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. 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.
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?