zhaolanhuang / U-TOE

GNU Lesser General Public License v3.0
5 stars 0 forks source link

[docs] Version of gcc-arm-none-eabi / toolchain #4

Open Sliverk opened 1 year ago

Sliverk commented 1 year ago

Hi ZHAO Lanhuang, great work and very useful instruction for beginner. I have question about the version of gcc-arm-none-eabi you use for this project. In my computer, it is 9.2.1 running on the ubuntu20.04.

When I tested the command: python u-toe.py --per-model --board stm32f746g-disco ./model_zoo/mnist_0.983_quantized.tflite

I got errors: U-TOE/bin/stm32f746g-disco/utvm/default/codegen/host/src/default_lib1.c:1364: undefined reference to `__ssub8'

I think it might be the old version of gcc-arm-none-eabi 's problem. Could you tell me the version you use to compile the project ? Thanks.

Sliverk commented 1 year ago

The problem has been fixed. I change the version of arm-none-eabi-gcc from 9.2.1 to 10.3.1. arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10.3-2021.10) 10.3.1 20210824 (release)

zhaolanhuang commented 1 year ago

Hi Sliverk, thank you very much for the feedback. Glad to know this issue was solved.

For arm toolchain, my gcc version is gcc version 12.2.1 20221205 (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.24)), fetched from here.

Later I will update version's info of all embedded toolchains i've used for reference in README.

Feel free to ping me if you have other questions / issue ;)