Ensure we call into the host C library open/close/read/write independently of which embedded C library the code is built with. We do this by: a) Using the native simulator nsi_host* trampolines when we just want to call straight into the host libC. b) Building in the native_simulator runner context (and therefore with the host C library) two functions which we call from the embedded side. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
14 lines
342 B
C
14 lines
342 B
C
/*
|
|
* Copyright (c) 2025 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_MODEM_BACKEND_UART_TTY_BOTTOM_
|
|
#define ZEPHYR_MODEM_BACKEND_UART_TTY_BOTTOM_
|
|
|
|
int modem_backend_tty_poll_bottom(int fd);
|
|
int modem_backend_tty_open_bottom(const char *tty_path);
|
|
|
|
#endif /* ZEPHYR_MODEM_BACKEND_UART_TTY_BOTTOM_ */
|