RadioLib/examples/NonArduino/Tock
Alistair Francis ffbcbdfc84 Tock: toolchain: Try to be smarter about finding toolchains
Instead of hard coding paths, let's instead try to find the toolchain
from the users PATH.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-09-08 19:29:49 +10:00
..
libtock-c@1c1f4c0810 examples: NonArduino: Tock: Initial commit 2023-06-29 09:54:30 +10:00
.gitignore Tock: Expand the .gitignore 2023-07-13 22:43:22 +10:00
CMakeLists.txt Tock: Use Tock's libgcc 2023-07-11 13:23:34 +10:00
README.md Tock: README: Initial commit 2023-07-13 22:43:22 +10:00
build.sh Tock: Build libtock-c lib with the build script 2023-07-21 22:01:56 +10:00
libtockHal.h Tock: Don't call blocking yield 2023-07-20 21:42:51 +10:00
main.cpp Tock: Fixup build failure 2023-08-29 21:00:47 +10:00
tock.cmake examples: NonArduino: Tock: Initial commit 2023-06-29 09:54:30 +10:00
toolchain-arm-none-eabi.cmake Tock: toolchain: Try to be smarter about finding toolchains 2023-09-08 19:29:49 +10:00

README.md

RadioLib as Tock application

Tock is an embedded operating system designed for running multiple concurrent, mutually distrustful applications on Cortex-M and RISC-V based embedded platforms.

RadioLib can be built as a Tock application using libtock-c. This is an example of running RadioLib as a Tock application.

This has been tested on the [SparkFun LoRa Thing Plus - expLoRaBLE board] (https://github.com/tock/tock/tree/master/boards/apollo3/lora_things_plus) but will work on any LoRa compatible Tock board (currently only the expLoRaBLE board).

The RadioLib example can be built with:

$ git clone https://github.com/jgromes/RadioLib.git
$ cd RadioLib/examples/NonArduino/Tock/
$ ./build.sh

Then in the Tock repo you can flash the kernel and app with:

$ make flash; APP=RadioLib/examples/NonArduino/Tock/build/tock-sx1261.tbf make flash-app