| .. | ||
| cortex-m | ||
| rv32 | ||
| .gitignore | ||
| build-arm.sh | ||
| build-riscv.sh | ||
| Makefile | ||
| README.md | ||
Tock Userland LibC
Newlib is a port of the C standard library designed for embedded systems. Tock uses a version of Newlib compiled to support the position independent code that Tock applications require.
Compiling a new version of Newlib
In the Makefile, edit the variable NEWLIB_VERSION with the version
you want to compile. The releases are listed
here.
Then:
$ make
When the build finishes (it takes a while) the copy of libc.a and libm.a
that we use can be found in the thumbv6m folder.