This repo is trying to use the files from ethos-u-platform to setup a test framework like CMSIS-NN test on FVP_Corstone_SSE-300.
arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi
bash cmake_build.sh
arm-none-eabi-gcc.cmake the toolchain copied from ethos-u-core-platform/cmake/toolchain/arm-none-eabi-gcc.cmake
nn_test is the test setup copied from CMSIS-NN tests.
ethos_test is the test setup copied from ethos-u-core-platform/targets/corstone-300 and ethos-u-core-platform/drivers/uart/
/path/to/FVP_Corstone_SSE-300/models/Linux64_GCC-9.3/FVP_Corstone_SSE-300_Ethos-U55 -C mps3_board.visualisation.disable-visualisation=1 -C mps3_board.telnetterminal0.start_telnet=0 -C mps3_board.uart0.out_file="-" -C mps3_board.uart0.unbuffered_output=1 -a /path/to/repo/build/src/main_ethos
/path/to/FVP_Corstone_SSE-300/models/Linux64_GCC-9.3/FVP_Corstone_SSE-300_Ethos-U55 -C mps3_board.visualisation.disable-visualisation=1 -C mps3_board.telnetterminal0.start_telnet=0 -C mps3_board.uart0.out_file="-" -C mps3_board.uart0.unbuffered_output=1 -a /path/to/repo/build/src/main_nn
- Ethos test cannot print "Hello World" on the terminal.
- Uncomment line 14 in src/main.c, ethos test cannot print "Hello world", but print 'a' correctly. While nn test print 'Hello World', 'a' and an extra 'a'.
- Uncomment line 15 in src/main.c, both tests print correctly.