Tasmota/lib/libesp32/RadioLib/examples/NonArduino/Tock/libtock-c/newlib
2024-02-23 16:20:09 +01:00
..
cortex-m Prep LoRa 2 2024-02-23 16:20:09 +01:00
rv32 Prep LoRa 2 2024-02-23 16:20:09 +01:00
.gitignore Prep LoRa 2 2024-02-23 16:20:09 +01:00
build-arm.sh Prep LoRa 2 2024-02-23 16:20:09 +01:00
build-riscv.sh Prep LoRa 2 2024-02-23 16:20:09 +01:00
Makefile Prep LoRa 2 2024-02-23 16:20:09 +01:00
README.md Prep LoRa 2 2024-02-23 16:20:09 +01:00

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.