Cross compile for mips
Hi, I am trying to cross compile mbedTls for a Mips microcontroller (M5150), but i am getting some errors, someone ever try to do this ?
My host: Ubuntu. If someone could give me some help, I appreciate.
Thanks in advance.
Hi, I forgot to put the error:
Error: sys/dirent.h:10:2: error: #error "<dirent.h> not supported"
The header file
dirent.h is used if you're using the filesystem support through using the configuration option
For a microcontroller, I doubt you have a filesystem present, so this is an aspect of the library you may have to port, and you probably need to comment out
MBEDTLS_FS_IO in your
Have a look at our Knowledgebase article on Porting mbed TLS to a new environment or OS.