Sublime Forum

Custom BUILD with POPUP select window

#1

Hi to all!
I am used ST2 to write code for the AVR microcontrollers on C!
… and some time for Python and Django!

And every time, when i working, i most do 2 things:
1.clean and make project on C
2. flash firmware to the MK.
For this i am create custom build system config with simple code:

{ "cmd": "make clean && make hex"], "path": "$PATH", "shell": true }

After this i want add some as:

{ "cmd": "make flash"], "path": "$PATH", "shell": true }

And after i am press BUILD key combination (CMD+B or WIN+B)
i can see popup window, where i can select first or second commands variant for build or flash
Who can help with this?

0 Likes