tum-ei-eda / mlonmcu

Tool for the deployment and analysis of TinyML applications on TFLM and MicroTVM backends
Apache License 2.0
29 stars 13 forks source link

Ara target #106

Closed zhouxinyu0723 closed 1 year ago

zhouxinyu0723 commented 1 year ago

Currently the crt0.s in ara/apps/common folder is assumed to be patched.

PhilippvK commented 1 year ago

Keep working on sperate branch until fullt integrated in MLonMCU (including automatic installation of verilator etc.)

PhilippvK commented 1 year ago

Do not forget lint issues

PhilippvK commented 1 year ago

Here is my patched fork of the ara repo: https://github.com/PhilippvK/ara/tree/patch-mcounteren

PhilippvK commented 1 year ago

Some of the Ara-specific ELF sections are not handled by https://github.com/tum-ei-eda/mlonmcu/blob/main/mlonmcu/target/elf.py yet:

WARNING - ignored: .bss.app_workspace / size: 24
WARNING - ignored: .bss.g_aot_memory / size: 160
WARNING - ignored: .l2 / size: 8

I think .l2 can be ignored, while everything starting with .bss should go into ram_zdata.

PhilippvK commented 1 year ago

You you also resolve the merge confict please?

PhilippvK commented 1 year ago

Followup tasks:

PhilippvK commented 1 year ago

TODOs for me: