VS Arduino
Visual Micro >> Ideas, Suggestions and Related Tools >> OTA upload without re-compile/link
https://www.visualmicro.com/forums/YaBB.pl?num=1517151955

Message started by Acuario on Jan 28th, 2018 at 3:05pm

Title: OTA upload without re-compile/link
Post by Acuario on 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.

Title: Re: OTA upload without re-compile/link
Post by Visual Micro on 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.

Title: Re: OTA upload without re-compile/link
Post by Acuario on Jan 29th, 2018 at 6:08pm
Great, all done - but any chance of an icon as well as text for the button?

Title: Re: OTA upload without re-compile/link
Post by Visual Micro on 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.

Title: Re: OTA upload without re-compile/link
Post by Acuario on 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 :-(

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

upload.bmp ( 0 KB | 2 Downloads )

Title: Re: OTA upload without re-compile/link
Post by Visual Micro on Jan 31st, 2018 at 6:56pm
Thanks. vs is fussy, so the image needs to have transparent background. does it?


Title: Re: OTA upload without re-compile/link
Post by Acuario on 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.

https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=upload.zip ( 0 KB | 1 Download )

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.