@kathir1951 without copying the json-file you have dependence from the version name, today, no yesterday, it was 1.6.5-1225-gee922b1, what you have to provide in the preferences. I do not copy the folder only the json-file.
Have a look at the README.md, so you see, the recommended build procedure.
i might have used an earlier version without --disable-__cxa_atexit though
@Makuna regarding preloop_update_frequency... well, i think it's not required anymore, we can just set the frequency to a fixed value in user_init.
The reason we had preloop_update_frequency in the first place was that there were pieces of code in the SDK which would reset the frequency back to 80 MHz. but those were in Espressif's libssl.a, which isn't used any longer.