Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Pre and post build events support (Read 2896 times)
icodk
Junior Member
**
Offline


Posts: 10
Joined: May 2nd, 2015
Pre and post build events support
May 7th, 2015 at 12:37pm
Print Post  
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. 
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Pre and post build events support
Reply #1 - May 7th, 2015 at 9:12pm
Print Post  
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
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint