Visual Micro
>> >> Using Arduino libraries and changing sdkconfig.h

Message started by JasonJJJJJJJ on Feb 5th, 2021 at 7:58am

Title: Using Arduino libraries and changing sdkconfig.h
Post by JasonJJJJJJJ on Feb 5th, 2021 at 7:58am
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

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

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

Any advice is appreciated

Title: Re: Using Arduino libraries and changing sdkconfig.h
Post by Tim@Visual Micro on Mar 7th, 2021 at 1:30am

This is prebuilt dsk that is installed when you install your board core C:\Users\Jason\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\tools

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?

Visual Micro » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2021. All Rights Reserved.