Hi Usman,
For true bare metal (no semi-hosting etc) you need to link system call stubs that just raise errors when called rather call actual system calls.
Form memory
--specs=nosys.specs
The missing C++ runtime library functions also suggest you’re linking as C rather than C++ (e.g. using gcc to link command-line)rather than (g++) .
Regards,
Andrew
From: Usman Zain <usman...@gmail.com>
Sent: Friday, March 31, 2023 2:15 PM
To: SIG Micro <mi...@tensorflow.org>
Subject: Integrating TFLM as a library with another project
Caution: This e-mail originated outside Infineon Technologies. Do not click on links or open attachments unless you validate it is safe. |
--
You received this message because you are subscribed to the Google Groups "SIG Micro" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
micro+un...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/micro/9102d790-faaa-4549-82e6-d3e67613dc83n%40tensorflow.org.