@wilberforce,
I started to get Espruino compiled with V3.1-beta.
There is a change in DPORT handling, NEOpixel uses that.
Some makefile and path changes need to be done.
Right now I'm at a point where linker tells about multiple definitions around mbedtls_sha256_init and other mbedtlssha256 functions.
Message is like this:
***/home/esp32/V3_1_prerelease/template/build/mbedtls/libmbedtls.a(sha256.o): In function mbedtls_sha256_init':
/home/esp32/V3_1_prerelease/esp-idf/components/mbedtls/mbedtls/library/sha256.c:82: multiple definition ofmbedtls_sha256_init'
libs/crypto/mbedtls/library/sha256.o:/home/esp32/V3_1_prerelease/Espruino/libs/crypto/mbedtls/library/sha256.c:79: first defined here
/home/esp32/V3_1_prerelease/template/build/mbedtls/libmbedtls.a(sha256.o): In function mbedtls_sha256_free':
sha256.c:(.text.mbedtls_sha256_free+0x0): multiple definition ofmbedtls_sha256_free'
libs/crypto/mbedtls/library/sha256.o:sha256.c:(.text.mbedtls_sha256_free+0x0): first defined here
Don't know, how to get rid of this :-( Hopefully somebody out there knows, how to get rid of this
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@wilberforce,
I started to get Espruino compiled with V3.1-beta.
There is a change in DPORT handling, NEOpixel uses that.
Some makefile and path changes need to be done.
Right now I'm at a point where linker tells about multiple definitions around mbedtls_sha256_init and other mbedtlssha256 functions.
Message is like this:
***/home/esp32/V3_1_prerelease/template/build/mbedtls/libmbedtls.a(sha256.o): In function
mbedtls_sha256_init': /home/esp32/V3_1_prerelease/esp-idf/components/mbedtls/mbedtls/library/sha256.c:82: multiple definition of
mbedtls_sha256_init'libs/crypto/mbedtls/library/sha256.o:/home/esp32/V3_1_prerelease/Espruino/libs/crypto/mbedtls/library/sha256.c:79: first defined here
/home/esp32/V3_1_prerelease/template/build/mbedtls/libmbedtls.a(sha256.o): In function
mbedtls_sha256_free': sha256.c:(.text.mbedtls_sha256_free+0x0): multiple definition of
mbedtls_sha256_free'libs/crypto/mbedtls/library/sha256.o:sha256.c:(.text.mbedtls_sha256_free+0x0): first defined here
Don't know, how to get rid of this :-( Hopefully somebody out there knows, how to get rid of this