Context Hub Runtime Environment (CHRE)
Android's Context Hub Runtime Environment for always-on nanoapps on a low-power core.
- Follows branch
zephyr: eachwest updatewill get its latest commits. To stay on one version, it is recommended to use a release tag.
Install
# From the workspace root
curl -fsSL https://kartben.github.io/windrose/m/chre.yaml \
-o zephyr/submanifests/chre.yaml
west update chre
# From the workspace root
Invoke-WebRequest https://kartben.github.io/windrose/m/chre.yaml `
-OutFile zephyr/submanifests/chre.yaml
west update chre
- name: chre url: https://github.com/zephyrproject-rtos/chre revision: zephyr path: modules/lib/chre
Add to projects in your west.yml, then run west update chre.
Details
- Revision
- zephyr
- License
- Apache-2.0
- Maintainers
- @zephyrproject-rtos
- Last commit
- 8 mo ago
About
The Context Hub Runtime Environment (CHRE) is Android's platform for always-on applications, called nanoapps, which run on a low-power processor next to the application processor running Android. Nanoapps are written against the CHRE API, which is standardized across platforms, and are hosted by the CHRE framework, the AOSP reference implementation of that API.
The zephyrproject-rtos/chre repository is a fork of the AOSP framework with a Zephyr port under platform/zephyr. The port runs the CHRE event loop in a dedicated thread and provides the platform primitives (memory, timers, system time, logging and host link) the framework needs. The Platform Abstraction Layers (PALs) for audio, GNSS, sensors, WiFi and WWAN are not implemented for Zephyr.
CHRE is licensed under the Apache-2.0 license.