VS Arduino | |
Visual Micro >> Ideas, Suggestions and Related Tools >> Build and show binary
https://www.visualmicro.com/forums/YaBB.pl?num=1541148412 Message started by Svein on Nov 2nd, 2018 at 8:46am |
Title: Build and show binary Post by Svein on Nov 2nd, 2018 at 8:46am
When i'm building and want to save the firmware for later use or manual upload i always have to modify the binary path shown in compile output
Sample path displayed: C:\Users\username\AppData\Local\Temp\VMBuilds\projname\ESP826~1\Debug/projectname.ino.bin That path contains one '/', all the other slashes are the other way (\) witch windows open file dialog accepts. Also i miss an option to output the binary to a previously selected folder. so that all the binary's i compile end up in for example "D:\dropbox\firmware\projectname\projectname_001.bin" I would rely appreciate this fix. |
Title: Re: Build and show binary Post by Visual Micro on Nov 2nd, 2018 at 11:08pm
Hi,
On the vMicro>Compiler menu is an option to copy the build output to intermediate directory. The directory can be configured in the standard vs project properties, you can use standard vs $macros to build the path or hard code. |
Title: Re: Build and show binary Post by PeterShea on Jun 4th, 2021 at 6:35pm
I know this is an old post, but I'm new to VisualMicro. Could you please show how the directory/file is configured I can't find the option anywhere in the Visual Studio solution property!
And if the file itself is not configurable, which of the many files created in the intermediate directory is the firmware binary that can be loaded? When I create a binary in the intermediate directory, there's x.bin, x.elf, x.ino.bin, x.ino.elf, x.ino.generic.bin, ... |
Title: Re: Build and show binary Post by Tim@Visual Micro on Jun 4th, 2021 at 9:13pm
Hi, the Visual Studio project properties can be accessed from a few locations such as the project menu. However, if you right click the project name in the solution explorer and click "Properties" that also works.
The formware is responsible for creating the binaries. If you switch on "vMicro>Uploader>Verbose" and then upload, you will see the command the firmware uses to upload and which file it uses. |
Title: Re: Build and show binary Post by PeterShea on Jun 5th, 2021 at 9:40am
Tim - thanks for your reply. Perfect!
|
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |