Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By maverickchongo
#82278 Hi,

I compile the esp-non-os-sdk using esp-open-sdk, however, I want to make some changes to the mbedtls library but have had no luck as it doesn't seem to compile my changes.

Does anybody have experience with esp-open-sdk?


Thanks in advace
User avatar
By maverickchongo
#82286 Thanks for your answer @davydnorris.

So, I maybe didn't explain myself well, sorry. It does compile fine, but doesn't take my changes.
I am changing the following file:


Then as a test I only enable tlsv1.1 (MBEDTLS_SSL_PROTO_TLS1_1) and disable (comment) the rest. However my mqtt continues using TLS1.2 to connect to the broker...

So not sure what exactly I need to change for this to get compiled...
User avatar
By eriksl
#83861 I think opensdk will download the original source nevertheless, ignoring your changes to the local copy.

Or, even more probable, it will skip compiling the part you have modified, because it was already compiled. Opensdk has a very crude way of determining whether a source needs to be compiled, something with hidden files (.xxx). You may need to remove some of them.