I have downloaded gcc-arm-none-eabi compiler from ARM website, and coremark source code from github.
How can I compile it and make it work on M4? Thanks
Jinghao,
Developing a bare-metal program (program with OS) does need to more steps to start, including startup code, linker scripts and printf. But they will be pretty much reusage once setup.
Released with gcc-arm-none-eabi, there is a samples directory that has some examples of simple project. You can follow either follow the retarget or semihost project to start your project. If there is suggestion to make them more helpful please let us know.
Joey Ye said:bare-metal program (program with OS)
You mean, "without OS"
;)
Oops. You are right ;)
Thanks Joey.
It seems I cannot find the samples directory. Here are 4 folders from the package gcc-arm-none-eabi compiler.
arm-none-eabi/
bin/
lib/
share/
shared/gcc-arm-none-eabi/samples
Thanks.
BTW, is CMSIS and CMSDK part of the ARM M4 IP delivery? It seems I cannot find those from my M4 package.