2013-07-15 20:57:12 +02:00
|
|
|
#ifdef MODULE_UART0
|
|
|
|
#include <sys/select.h>
|
|
|
|
void _native_handle_uart0_input(void);
|
2013-08-18 20:34:53 +02:00
|
|
|
/**
|
|
|
|
* @brief: initialize uart0
|
|
|
|
*
|
|
|
|
* @param stdiotype: "stdio", "tcp", "udp" io redirection
|
|
|
|
* @param ioparam: a string containing a port number if stdiotype is tcp
|
|
|
|
*/
|
2014-07-17 12:55:24 +02:00
|
|
|
void _native_init_uart0(char *stdiotype, char *ioparam, int replay);
|
2013-07-16 17:57:52 +02:00
|
|
|
int _native_set_uart_fds(void);
|
2013-07-15 20:57:12 +02:00
|
|
|
#endif
|
2013-11-07 17:23:08 +01:00
|
|
|
|
2013-08-18 20:34:53 +02:00
|
|
|
extern int _native_null_out_file;
|
|
|
|
extern int _native_null_in_pipe[2];
|
2013-11-07 17:23:08 +01:00
|
|
|
void board_init(void);
|