Closed eternallyBaffled closed 7 years ago
We have to fix the documentation or supply a known good sdkconfig.h. As far as I know, the sdkconfig.h is currently only used for the loglevel. (I'm afraid I am the one responsible for this change..)
Easiest way to fix this is to build a firmware binary first:
cd Firmware
make defconfig
make
cd micropython/unix
make
The fix can just be #ifndef UNIX
around the #include
@annejan : that doesn't work anymore. I also placed a lot of ESP_LOGx() entries in the ussl_mbed code
This might also work: (haven't tested this)
cd Firmware/micropython/unix
touch sdkconfig.h
make
That should just break on the unix build too . . (spoiler they were already #ifdef-ed
out of the emu build)
This fixed the ESP_LOGx() problems in the zlib inflater:
https://github.com/SHA2017-badge/micropython-esp32/commit/2b5d93822a68eeb06c107d64a0c4249373402806
I later added this patch to add more warnings to the tls implementation:
https://github.com/SHA2017-badge/micropython-esp32/commit/09be7ffc6a60e47ea8f9a0548017fda15e3a6ec5
This has been resolved yesterday, sorry for not getting back to you about the fix @eternallyBaffled
Simply following the instructions on the wiki in a fresh environment yields: