Arduino-Add-On-for-LinkIt-SDK
Arduino-Add-On-for-LinkIt-SDK copied to clipboard
Undefined reference to `mbedtls_ecp_curve_info_from_name' function
Intro
I try to make my own library on linkit to connect to network.
The library worked good if I compiled with gcc
(link to installed mbedtls).
But I couldn't compile with Arduino-Add-On-for-LinkIt-SDK.
Reproduce Steps
- make lib including mbedtls/ecp.h
- call
mbedtls_ecp_curve_info_from_name
- you'll see the result
Error & Expected Results
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board LinkIt 7697.
Environment
- Arduino BSP Version: 1.8.9
- OS(Windows/macOS/Linux):macOS 10.14.4
- Additional external peripherals: Nope