zephyr/samples/modules/chre/include/apps.hpp
Yuval Peress aaf0c6e827 modules: chre
Add initial build rules for CHRE. This change includes a Kconfig and
CMakeLists.txt to begin compiling code from the CHRE module.
Additional files are included to bridge the APIs from CHRE's to
Zephyr's. These can be found in modules/chre/include and
modules/chre/src.

Additionally, add a sample to make sure that the module builds. It can
be built via:

```
$ west build -b native_posix -p=always samples/application_development/chre
```

Signed-off-by: Yuval Peress <peress@google.com>
2022-04-18 13:21:52 -05:00

18 lines
429 B
C++

/* Copyright (c) 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef SAMPLES_APPLICATION_DEVELOPMENT_CHRE_INCLUDE_APPS_H_
#define SAMPLES_APPLICATION_DEVELOPMENT_CHRE_INCLUDE_APPS_H_
#include "chre/core/nanoapp.h"
#include "chre/util/unique_ptr.h"
namespace chre {
UniquePtr<Nanoapp> initializeStaticNanoappEchoApp();
} /* namespace chre */
#endif /* SAMPLES_APPLICATION_DEVELOPMENT_CHRE_INCLUDE_APPS_H_ */