Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
OTA upload without re-compile/link (Read 1793 times)
Acuario
Member
***
Offline



Posts: 105
OTA upload without re-compile/link
Jan 28th, 2018 at 3:05pm
 
When using OTA update on ESP the whole build/link is run even if there are no changes.

It would be good to have a button that allowed a re-run of just the OTA python script.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: OTA upload without re-compile/link
Reply #1 - Jan 28th, 2018 at 3:13pm
 
Hi

vMicro>Uploader>Upload last build

You can also right click tool bars and add the vmicro menu items as buttons if you want quick access.

You need to be a Pro user for the option to be enabled.
Back to top
 
WWW  
IP Logged
 
Acuario
Member
***
Offline



Posts: 105
Re: OTA upload without re-compile/link
Reply #2 - Jan 29th, 2018 at 6:08pm
 
Great, all done - but any chance of an icon as well as text for the button?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: OTA upload without re-compile/link
Reply #3 - Jan 29th, 2018 at 6:35pm
 
If you can find a suitable icon that is freely distributeable with size 16x16 I can add it to the builds.

Vs handles icons in a strange but efficient way.

The vs docs say this but maybe doesn't work

Quote:
To change the image of a toolbar button

Display the toolbar that contains the button with the image you want to change.

On the Tools menu, click Customize. The Customize dialog box must remain open; however, you might need to move it out of your way.

On the toolbar, point to the button you want to change, and then click the right mouse button.

On the shortcut menu, click Button Appearance.

In the Images area, click the image you want on the toolbar button.
Back to top
« Last Edit: Jan 29th, 2018 at 6:38pm by Visual Micro »  
WWW  
IP Logged
 
Acuario
Member
***
Offline



Posts: 105
Re: OTA upload without re-compile/link
Reply #4 - Jan 31st, 2018 at 9:07am
 
Hi,
the vs docs procedure doesn't work as the Customize dialog is modal so there is no way to select the button Sad

I've created a basic icon (as a bitmap) that you are welcome to use.
Back to top
 

upload.bmp (0 KB | )
upload.bmp
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: OTA upload without re-compile/link
Reply #5 - Jan 31st, 2018 at 6:56pm
 
Thanks. vs is fussy, so the image needs to have transparent background. does it?

Back to top
 
WWW  
IP Logged
 
Acuario
Member
***
Offline



Posts: 105
Re: OTA upload without re-compile/link
Reply #6 - Jan 31st, 2018 at 9:02pm
 
I don't think bitmaps have that attribute. Here is an icon file that does have the transparent attribute for the background.
Back to top
 

upload.zip (0 KB | )
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print