zephyr/tests/modules/nanopb/lib/lib.h
Pieter De Gendt e816fc5a81 tests: modules: nanopb: Add a custom nested library
Add a library to the Nanopb test to demonstrate building with a
dependency on the generated header files.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2023-12-01 10:50:26 +00:00

17 lines
273 B
C

/*
* Copyright (c) 2023 Basalte bv
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __LIB_H_
#define __LIB_H_
#include <proto/simple.pb.h>
/**
* Some sample library function that fills a SimpleMessage struct
*/
void lib_fill_message(SimpleMessage *msg);
#endif