Visual Studio Ide for Arduino
https://www.visualmicro.com/forums/YaBB.pl
>> >> Pre and post build events support
https://www.visualmicro.com/forums/YaBB.pl?num=1431002257

Message started by icodk on May 7th, 2015 at 1:37pm

Title: Pre and post build events support
Post by icodk on May 7th, 2015 at 1:37pm
Does Visual Micro supports   pre/post build events?
I found something like:

In platform.txt, pre and post build hooks can now be specified. Example: recipe.hooks.prebuild.0.pattern=echo "Hello {build.source.path}"
but can't make sense of it. My  platform is: Arduino ESP8266 platform
but I can't find any: recipe.hooks.prebuild. etc.
In VS Project->propertis->Build Events-> pre-build events, I tried enetering: time /T >time.txt but nothing happend.

Title: Re: Pre and post build events support
Post by Visual Micro on May 7th, 2015 at 10:12pm
Hi,

Visual Micro works the same as the arduino ide. Pre and post build events need to be defined in boards or platform.txt

It's on the list to also add support for VS events

If you change the txt files either click "tools>visual micro>reload tool chains", click rescan in the explorer or restart the ide

Thanks

Visual Studio Ide for Arduino » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2019. All Rights Reserved.