Skip to content

Commit 3097870

Browse files
authored
feat(supervisor): Update config files - add networking and filesystem (#141)
* supervisor_zephyr(prj.conf): enable filesystem * supervisor_zephyr(native_sim_64.conf): enable networking * supervisor_zephyr: move offloaded sockets into overlay-nsos conf file --------- Signed-off-by: SorinO <sorin.olari2@gmail.com>
1 parent fdda898 commit 3097870

3 files changed

Lines changed: 19 additions & 0 deletions

File tree

src/samples/supervisor/zephyr/boards/native_sim_64.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
# SPDX-License-Identifier: Apache-2.0
55

66
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=10485760
7+
CONFIG_UART_NATIVE_PTY_0_ON_STDINOUT=y
8+
CONFIG_UART_NATIVE_PTY=y
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
CONFIG_ETH_NATIVE_TAP=n
2+
CONFIG_NET_DRIVERS=y
3+
CONFIG_NET_SOCKETS=y
4+
CONFIG_NET_SOCKETS_OFFLOAD=y
5+
CONFIG_NET_NATIVE_OFFLOADED_SOCKETS=y
6+
CONFIG_HEAP_MEM_POOL_SIZE=65536
7+
8+
CONFIG_NET_CONNECTION_MANAGER=y
9+
CONFIG_NET_CONTEXT_NET_PKT_POOL=y
10+
CONFIG_NET_CONFIG_SETTINGS=y
11+
CONFIG_NET_CONFIG_NEED_IPV4=y
12+
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
13+
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
14+
15+
# IPv6 DAD requires lower level network interface access, below exposed socket-level access
16+
CONFIG_NET_IPV6_DAD=n

src/samples/supervisor/zephyr/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,4 @@ CONFIG_SHELL_GETOPT=y
4646

4747
CONFIG_DEBUG=y
4848
CONFIG_LOG_MODE_IMMEDIATE=y
49+
CONFIG_OCRE_FILESYSTEM=y

0 commit comments

Comments
 (0)