When building the "mbedTLS (Crypto Only)" module with LLVM, there may be errors due to undeclared function 'vendor_bitlength_to_raw_bitlength'. This is because vendor.h was not included, and LLVM takes implicit function declarations as an error.
Workaround
There are two workarounds:
inlcude vendor.h where build fails.
add build option "-Wno-error=implicit-function-declaration" for directory "ra/arm"
Issue
When building the "mbedTLS (Crypto Only)" module with LLVM, there may be errors due to undeclared function 'vendor_bitlength_to_raw_bitlength'. This is because
vendor.h
was not included, and LLVM takes implicit function declarations as an error.Workaround
There are two workarounds:
vendor.h
where build fails.