sipeed / TinyMaix

TinyMaix is a tiny inference library for microcontrollers (TinyML).
Apache License 2.0
879 stars 142 forks source link

porting stm32f767 #21

Closed lemonicesprite closed 1 year ago

lemonicesprite commented 1 year ago

mcu: stm32f767zit6 system:Ubuntu 22.04.1 LTS compiler:gcc-arm-none-eabi-7-2018-q2-update tools: STM32CubeMX 6.6.0 with STM32Cube FW_F7 V1.17.0

Zepan commented 1 year ago

can you test with MDK again? it is significantly slower than MDK mcu result, about 2~3X slower....

lemonicesprite commented 1 year ago

抱歉,我暂时没有MDK的环境,arm-none-eabi-gcc编译出来的程序运行效果看起来的确比armcc的慢许多,启用02优化后,代码执行时间将减少到原来的70~90%,但仍然不太符合它应有的表现,这个程序不适用于Benchmark排行,后续有时间我使用MDK移植看看