Thrift

Introduction

Apache Thrift [1] is an IDL [2] specification, RPC [3] framework, and code generator [4]. It works across all major operating systems, supports over 27 programming languages, 7 protocols, and 6 low-level transports. Thrift was originally developed at Facebook in 2006 [5] and then shared with the Apache Software Foundation [6]. Thrift supports a rich set of types and data structures, and abstracts away transport and protocol details, which lets developers focus on application logic.

Usage with Zephyr

To pull in Thrift as a Zephyr module, either add it as a West project in the west.yaml file or pull it in by adding a submanifest (e.g. zephyr/submanifests/thrift.yaml) file with the following content and run west update:

manifest:
  projects:
    - name: Thrift
      path: modules/lib/thrift
      revision: zephyr
      url: https://github.com/zephyrproject-rtos/thrift

This module contains sample applications and tests under the zephyr/ directory.