Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Cannot build with ESP32 3.3.13 (Read 255 times)
Acuario
Senior Member
****
Offline


Posts: 267
Location: Spain
Joined: Aug 28th, 2015
Cannot build with ESP32 3.3.13
Nov 18th, 2026 at 8:00am
Print Post  
Hi,

I updated my ESP32 to V3.3.13 and VM to the latest build.
My build crashes when I try and build an ESP32S3 project.
I do not have a build_opt.h file in my project:


Code
Select All
# recipe.hooks.prebuild.6.pattern
Exec: C:\Users\nigel\AppData\Local\Temp\VMBuilds\AirspeedMini\esp32_esp32s3\Release\.vm_sys\cmd_exec.bat
if not exist "C:\Arduino\Avionics\AirspeedMini\build_opt.h" ( if not exist "C:\Users\nigel\AppData\Local\Temp\VMBuilds\AirspeedMini\esp32_esp32s3\Release\build_opt.h" ( type nul > "C:\Users\nigel\AppData\Local\Temp\VMBuilds\AirspeedMini\esp32_esp32s3\Release\build_opt.h" ) else ( for %I in ( "C:\Users\nigel\AppData\Local\Temp\VMBuilds\AirspeedMini\esp32_esp32s3\Release\build_opt.h" ) do if not %~zI==0 type nul > "C:\Users\nigel\AppData\Local\Temp\VMBuilds\AirspeedMini\esp32_esp32s3\Release\build_opt.h" ) )
"C:\Users\nigel\AppData\Local\Temp\VMBuilds\AirspeedMini\esp32_esp32s3\Release\.vm_sys\cmd_exec.bat"
C:\Arduino\Avionics\AirspeedMini>chcp 65001  1>NUL 2>NUL
C:\Arduino\Avionics\AirspeedMini>if not exist "C:\Arduino\Avionics\AirspeedMini\build_opt.h" ( if not exist "C:\Users\nigel\AppData\Local\Temp\VMBuilds\AirspeedMini\esp32_esp32s3\Release\build_opt.h" ( type nul > "C:\Users\nigel\AppData\Local\Temp\VMBuilds\AirspeedMini\esp32_esp32s3\Release\build_opt.h" ) else ( for \Users\nigel\AppData\Local\Temp\VMBuilds\AirspeedMini\esp32_esp32s3\Release\build_opt.h" ) do if not  do if not %~zI==0 type nul > "C:\Users\nigel\AppData\Local\Temp\VMBuilds\AirspeedMini\esp32_esp32s3\Release\build_opt.h" ) )
Error running platform build recipe 'recipe.hooks.prebuild.6.pattern'.
   The following usage of the path operator in batch-parameter
substitution is invalid*: %~zI==0 type nul > "C:\Users\nigel\AppData\Local\Temp\VMBuilds\AirspeedMini\esp32_esp32s3\Release\build_opt.h" ) )
   For valid formats type CALL \? or FOR \?
   The syntax of the command is incorrect
Build failed for project 'AirspeedMini' 

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12346
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cannot build with ESP32 3.3.13
Reply #1 - Nov 18th, 2026 at 9:53pm
Print Post  
Thanks for the report. This is resolved in the LATEST visual micro available here https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

This issue was a result of Visual Micro passing build hooks to the cmd.exe process. esp 3.1.13 uses % symbols in the hooks which were not handled correctly by visual micro (fyi: overriding the hook pattern in board.txt using %% instead of % would also have resolved)
  
Back to top
IP Logged
 
CG_ea1ii
Newbies
*
Offline


Posts: 1
Joined: Nov 19th, 2026
Re: Cannot build with ESP32 3.3.13
Reply #2 - Nov 19th, 2026 at 8:23pm
Print Post  
I'm having that too.

Update seems to work.
« Last Edit: Nov 19th, 2026 at 10:17pm by CG_ea1ii »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12346
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cannot build with ESP32 3.3.13
Reply #3 - Nov 19th, 2026 at 8:36pm
Print Post  
It's not clear what you are saying?

Did you install the LATEST visual micro from here? https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12346
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cannot build with ESP32 3.3.13
Reply #4 - Nov 20th, 2026 at 3:40am
Print Post  
The update is also now published to the Microsoft gallery
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint