This repository is an attempt to provide a proprietary free support for the Single Chip micro-Mote (SCuM). The SCuM chip is a 2x3mm2 single-chip standard-compatible Smart Dust chip, see https://www.crystalfree.org/. Most of the drivers (UART, Radio, Timer, SPI) are taken from the scum-test-code repository.
What is needed to build a firmware for SCuM:
Make sure that the ARM toolchain GCC program is available in your PATH.
Use Git:
git clone https://github.com/PisterLab/scum-sdk.git
Some sample applications are provided in the sdk/samples directory. To build an application, from the repository base directory, simply run (for Windows users adapt the path separators to ""):
cmake -S sdk/samples/hello_world -B sdk/samples/hello_world/build -GNinja -DCMAKE_BUILD_TYPE=MinSizeRel
ninja -C sdk/samples/hello_world/build
The generated firmwares (elf, hex, bin) are located in the sdk/samples/hello_world/build
directory.
Once the SCuM chip is properly connected to an nRF52840-DK programmer, use the
SCuM programmer main.py
script available in the scum_programmer directory.
The build system also proposes a load
target to automatically call the SCuM programmer
script:
ninja -C sdk/samples/hello_world/build load
Check out the contributing guide to see how to participate to the SCuM project.
The SCuM SDK is published under the BSD 3-Clause license.