I see a couple of older threads about disabling SSL, but no one seems to have exactly the same issue.
I dont need SSL, and I'm trying to build a smaller firmware as my project code is quite large; in the esp8266 port I modified the make file lines:
MICROPY_PY_USSL = 0
MICROPY_SSL_AXTLS = 0
but when I clean and build in the esp8266 directory, I get the following errors: (the only other things I've done are disable BTREE, removed some files (DHT etc) from the modules directory, and changed my heap size to 44)
Code: Select all
CC ../../extmod/moducryptolib.c
../../extmod/moducryptolib.c:84:5: error: unknown type name 'AES_CTX_IMPL'
AES_CTX_IMPL ctx;
^
CC ../../extmod/modubinascii.c
../../extmod/moducryptolib.c: In function 'ucryptolib_aes_make_new':
../../extmod/moducryptolib.c:259:5: error: implicit declaration of function 'aes_initial_set_key_impl' [-Werror=implicit-function-declaration]
aes_initial_set_key_impl(&o->ctx, keyinfo.buf, keyinfo.len, ivinfo.buf);
^
../../extmod/moducryptolib.c: In function 'aes_process':
../../extmod/moducryptolib.c:298:9: error: implicit declaration of function 'aes_final_set_key_impl' [-Werror=implicit-function-declaration]
aes_final_set_key_impl(&self->ctx, encrypt_mode);
^
../../extmod/moducryptolib.c:313:17: error: implicit declaration of function 'aes_process_ecb_impl' [-Werror=implicit-function-declaration]
aes_process_ecb_impl(&self->ctx, in, out, encrypt);
^
../../extmod/moducryptolib.c:319:13: error: implicit declaration of function 'aes_process_cbc_impl' [-Werror=implicit-function-declaration]
aes_process_cbc_impl(&self->ctx, in_bufinfo.buf, out_buf_ptr, in_bufinfo.len, encrypt);
^
cc1: all warnings being treated as errors
CC ../../extmod/virtpin.c
../../py/mkrules.mk:47: recipe for target 'build/extmod/moducryptolib.o' failed
make: *** [build/extmod/moducryptolib.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.