pulkin / micropython

MicroPython implementation on Ai-Thinker GPRS module A9 (RDA8955)
https://micropython.org
MIT License
103 stars 30 forks source link

Fix `ussl` and `uhashlib` #32

Closed pulkin closed 4 years ago

pulkin commented 4 years ago

Resolve issues with the build system and move MICROPY_* variables from the Makefile back to mpconfigport.h. Enable uhashlib which causes build failures at this point.

pulkin commented 4 years ago

The problem might be in extmod/moduhashlib.c which does not pick MICROPY_SSL_* variables and re-compiles stuff causing duplicate symbols.

pulkin commented 4 years ago

@sebi5361, please check whether ssl, hashlib, cryptolib work for you. You may build from uhashlib branch or just download these builds.

sebi5361 commented 4 years ago

I was able to import ssl, hashlib, and cryptolib properly. I was able to synchronise my local project folder with the board (for the most part) which involves using hashlib. Thank you!

sebi5361 commented 4 years ago

Dear Pulkin, Soon, will you merge branches binary-patches and uhashlib so I can benefit from both fixes together?

pulkin commented 4 years ago

Sure, I just need to test both on my hardware.

On Feb 22, 2020 22:14, "sebi" notifications@github.com wrote:

Dear Pulkin, Soon, will you merge branches binary-patches and uhashlib so I can benefit from both fixes together?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pulkin/micropython/issues/32?email_source=notifications&email_token=ADQ2BTAO6CPU25X7PB2CK5TREGIT7A5CNFSM4KWTESXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMVKWRA#issuecomment-589998916, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADQ2BTHKDTGZAOTX4ZV4HP3REGIT7ANCNFSM4KWTESXA .

pulkin commented 4 years ago

Merged.

sebi5361 commented 4 years ago

Thanks