VS Arduino
Visual Micro >> Project Guidance >> Using Arduino libraries and changing sdkconfig.h
https://www.visualmicro.com/forums/YaBB.pl?num=1612511907

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
C:\Users\Jason\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\tools\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
C:\Users\Jason\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.4\tools\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


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

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
\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?


VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.