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....
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Build and show binary (Read 1126 times)
Svein
Newbies
*
Offline



Posts: 1
Build and show binary
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/projectnam
e.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.
Back to top
 
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11074
United Kingdom
Re: Build and show binary
Reply #1 - 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.
Back to top
 

Tim Leek
home
WWW  
IP Logged
 
PeterShea
Newbies
*
Offline



Posts: 2
Re: Build and show binary
Reply #2 - Jun 4th, 2021 at 7: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, ...
Back to top
« Last Edit: Jun 4th, 2021 at 7:38pm by PeterShea »  
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline



Posts: 11074
United Kingdom
Re: Build and show binary
Reply #3 - Jun 4th, 2021 at 10: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.
Back to top
 

Please Register or Login to the Forum to see File Attachments

Tim Leek
home
WWW  
IP Logged
 
PeterShea
Newbies
*
Offline



Posts: 2
Re: Build and show binary
Reply #4 - Jun 5th, 2021 at 10:40am
 
Tim - thanks for your reply. Perfect!
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print