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 board.txt and VS2022? (Read 4891 times)
FrankP
Senior Member
****
Offline


Posts: 251
Joined: Oct 19th, 2011
board.txt and VS2022?
Dec 25th, 2021 at 2:07am
Print Post  
I'm having some difficulty getting my board.txt instructions to execute, with my brand-new VS2022 installation.  I have been using the board.txt file successfully for some months with VS2019, but a recent crash/full rebuild caused me to start from scratch again with VS2022.

my 'board.txt' file contains the following line:

recipe.hooks.deploy.preupload.1.pattern=cmd.exe /c ""c:\Program Files (x86)\teraterm\ttpmacro.exe" /v "{build.project_path}\TeensyOTA1.ttl" "{vm.runtime.build.final_output_path}" {serial.port} {build.project_name}" 

But I can see no evidence that TeraTerm is actually launched.  In the verbose output there is some error text, as follows:

'""c:\Program' is not recognized as an internal or external command,
     Process: \cmd_exec.bat" 
Error running hook: \cmd_exec.bat" 

Could this be related to the problem I had earlier in this post, where the solution was to add another set of quotes?


Any clues would be appreciated!  Grin

Frank
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
FrankP
Senior Member
****
Offline


Posts: 251
Joined: Oct 19th, 2011
Re: board.txt and VS2022?
Reply #1 - Dec 25th, 2021 at 2:11am
Print Post  
Never mind - removing the additional quote marks allowed the command to execute properly.  Must have been a problem with VS2019 that was fixed in VS2022.

Frank
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint