PlatformIO Community

Change rtc clock source (in sdkconfig.h)


I’d like to change the rtc clock source for arduino-esp32 from internal to:

I tried updating sdkconfig.h, but when compiling my project I now get a lot of:
:0:0: note: this is the location of the previous definition

What is wrong?


From this issue, since you say it’s the arduino-esp32 you’re trying to change this on, it looks like it’s a bit of an involved process… where you need to rebuild libesp32.a with the right flags set, and then add some extra lines to your code to actually use it…

Maybe @maxgerhardt knows something about this?