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 Using Arduino libraries and changing sdkconfig.h (Read 3891 times)
JasonJJJJJJJ
Newbies
*
Offline


Posts: 1
Joined: Feb 4th, 2021
Using Arduino libraries and changing sdkconfig.h
Feb 5th, 2021 at 7:58am
Print Post  
I'm trying to make a product that uses an ESP32. There are a lot of great Arduino libraries that I would like to use but I also need to change the sdkconfig.h (ESP-IDF configuration settings) to make release build binaries, change settings for "Bluetooth Scan Duplicates" etc

I noticed that when I introduced a syntax error in 
\sdk\include\config\sdkconfig.h

and hit build in vMicro that it spat out an error about the syntax error. So it looks like the build inside vMicro is picking up those settings and rebuilding the libraries. The same applies to building in Arduino Studio. 

But when I look in 
\sdk\lib

I see the modified dates are 2019

So maybe it's not rebuilding the binaries at all.

I've also found this which might be what I'm looking for. but there's not much info in the repo about it

https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md

Any advice is appreciated

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Using Arduino libraries and changing sdkconfig.h
Reply #1 - Mar 7th, 2021 at 1:30am
Print Post  
Hi

This is prebuilt dsk that is installed when you install your board core 
\sdk\lib

To clear the visual micro build cache for the core, click Build>Clean Solution.

If the file you have changed is pre-compiled by the author of the into lib/a files they will not be rebuilt.

Switching on "vMicro>Compiler>Verbose" will show you which files are being compiled for each build.

Does this give some help?

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