This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---------- Server Config ---------- | |
# vim: ft=conf | |
# | |
# Make sure ip forwarding is enabled | |
# net.ipv4.ip_forward=1 | |
# net.ipv6.conf.all.forwarding=1 | |
[Interface] | |
# IPV4 CIDR | |
Address = 10.10.0.1/24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string.h> | |
#include <zephyr.h> | |
#include <console/console.h> | |
#include <drivers/uart.h> | |
/* size of stack area used by each thread */ | |
#define STACKSIZE 1024 | |
#define UART_1 "UART_1" | |
#define TTY_BUF_SZ 512 |