Skip to content

tropicsquare/libtropic

Libtropic

TROPIC01's SDK written in C. Contributors, please follow guidelines.

For more information about TROPIC01 chip and its datasheet or User API, check out developers resources in the TROPIC01 repository.

Documentation

We recommend using the Libtropic documentation as the source of truth for getting information about Libtropic.

The documentation is generated only for the releases and the version can be switched via the version selector at the top of the page.

Compatibility with TROPIC01 firmware versions

For the Libtropic library to function correctly with the TROPIC01 secure element, the versions of four key components must be compatible:

  1. Libtropic SDK: The version of this library.
  2. Bootloader FW: Bootloader firmware running on the TROPIC01's RISC-V CPU after power-up. It cannot be updated.
  3. Application FW: Application firmware running on the TROPIC01's RISC-V CPU. It can be updated.
  4. SPECT FW: Firmware running on the TROPIC01's SPECT co-processor. It can be updated.

For more information about each of these, refer to the TROPIC01 repository.

The following table outlines the tested and supported compatibility between released versions:

Libtropic Application FW SPECT FW Bootloader FW Tests
1.0.0 1.0.0 1.0.0 1.0.1-2.0.1
2.0.0 1.0.0–1.0.1 1.0.0 2.0.1
2.0.1 1.0.0–1.0.1 1.0.0 2.0.1
3.0.0 1.0.0–2.0.0 1.0.0 2.0.1
3.1.0 1.0.0–2.0.0 1.0.0 2.0.1

Warning

Using mismatched versions of the components may result in unpredictable behavior or errors. It is strongly advised to use the latest compatible versions of all components to ensure proper functionality.

For retrieving firmware versions from TROPIC01 and updating its firmware, refer to the Tutorials and select your platform. Follow the instructions for Chip Identification and Firmware Update example.

Repository structure

  • CMakeLists.txt Root CMake project file
  • cmake/ CMake related files
  • cal/ Implementation of Crypto Abstraction Layers (CAL) for supported Cryptographic Functionality Providers (CFP)
  • docs/ MkDocs Documentation deployed here
  • examples/ Example projects for each supported platform
  • hal/ Implementation of Hardware Abstraction Layers (HAL) for supported host platforms
  • include/ Public API header files
  • scripts/ Build and config scripts
  • src/ Library's source files
  • tests/ Functional tests
  • TROPIC01_fw_update_files/ Files used for updating TROPIC01's firmware
  • vendor/ Third party libraries and tools

FAQ

We provide the FAQ section in our documentation with frequently asked questions and troubleshooting tips.

License

See the LICENSE.md file in the root of this repository or consult license information at Tropic Square website.

About

SDK for application development with TROPIC01 secure element

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 12