mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-11 02:23:09 +00:00
posix_flush_stdout() must be provided by any board using CONFIG_NATIVE_POSIX_CONSOLE, not just by those using CONFIG_NATIVE_POSIX_STDOUT_CONSOLE Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
28 lines
578 B
C
28 lines
578 B
C
/*
|
|
* Copyright (c) 2018 Oticon A/S
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_DRIVERS_CONSOLE_NATIVE_POSIX_CONSOLE_H_
|
|
#define ZEPHYR_INCLUDE_DRIVERS_CONSOLE_NATIVE_POSIX_CONSOLE_H_
|
|
|
|
#include "kernel.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void posix_flush_stdout(void);
|
|
|
|
#if defined(CONFIG_NATIVE_POSIX_STDIN_CONSOLE)
|
|
void native_stdin_register_input(struct k_fifo *avail, struct k_fifo *lines,
|
|
u8_t (*completion)(char *str, u8_t len));
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* ZEPHYR_INCLUDE_DRIVERS_CONSOLE_NATIVE_POSIX_CONSOLE_H_ */
|