mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-05 17:42:43 +00:00
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>
18 lines
429 B
C++
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_ */
|