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 ESP32 1.0.6 support in parallel to 2.0.X (Read 1915 times)
Gil Tal
Newbies
*
Offline


Posts: 7
Location: Israel
Joined: Mar 31st, 2022
ESP32 1.0.6 support in parallel to 2.0.X
Dec 25th, 2022 at 7:33am
Print Post  
Hi  Smiley
When moved to SDK 2.0.5 (from 1.0.6) there is a noticeable performance degradation and some functionality issues causing some beautiful projects to stop working, such as ESP_8bit emulator and WIImote support.
The change from 1.0.6 is too big to try and fix (I have tried)
I was looking for an option to have support for both 1.0.6 and 2.0.5, there is an option to define a "new" device ESP36 for example that will use the 1.0.6 toolchain, I tried to locate the needed data in the Arduino15 lib but the VisualMicro plug-in does not recognize it.
If possible please instruct me how the plug-in detects a new package so I can generate this "faked" device and will have support for both 1.0.6 and 2.0.x
Any other option will be blessed  Smiley
Thanks
Gil
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP32 1.0.6 support in parallel to 2.0.X
Reply #1 - Dec 25th, 2022 at 6:31pm
Print Post  
You can follow the arduino guide to add a new board but it's hard work. I suggest you use a different application name in Visual Micro and set a different "Optional physical folder for downloaded packages" (in the IDE Locations window). 

For example, if you are using the arduino 1x app then select the "Visual Micro" or "Arduino 2" app in IDE locations and then configure a path for "Optional physical folder for downloaded packages". Obviously somewhere other than Arduino15

Then you can install esp 1.0.6 into one app and 2.0.5 into another.

When using a project you will then see option to switch between the apps you have configured. It doesn't matter if you have arduino 2 installed or not. Having the arduino 1x app contributes nothing to the esp boards.
« Last Edit: Dec 25th, 2022 at 7:14pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Gil Tal
Newbies
*
Offline


Posts: 7
Location: Israel
Joined: Mar 31st, 2022
Re: ESP32 1.0.6 support in parallel to 2.0.X
Reply #2 - Dec 26th, 2022 at 9:16am
Print Post  
Thanks
Will try it and let you know ...
  
Back to top
 
IP Logged
 
Gil Tal
Newbies
*
Offline


Posts: 7
Location: Israel
Joined: Mar 31st, 2022
Re: ESP32 1.0.6 support in parallel to 2.0.X
Reply #3 - Dec 26th, 2022 at 12:49pm
Print Post  
Did what you have suggested 
Glad to inform you it works!!!
I think if there will be native support for different toolchain versions like in PlatformIO it will be great!!
I am one of the biggest fans of the Visual Micro Plug-in
I promote it in any possible opportunity and force employees @ Intel who takes my course for advanced ESP32 topics to work solely with Visual Studio and your plug-in Smiley
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP32 1.0.6 support in parallel to 2.0.X
Reply #4 - Dec 26th, 2022 at 8:02pm
Print Post  
Brilliant thanks.

Yes we are considering how to implement in a simpler way. However, it can be confusing for most users to have too many options and too many boards. Often, for support, it can be important that users can perform the same build in the arduino ide as they do in visual micro. So it needs some thought Smiley

The feedback is always useful.

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