Skip to content

Commit 9ce8376

Browse files
committed
samples: select required POSIX features
Explicitly enable all required POSIX features, instead of relying on `POSIX_API` to enable defaults. Signed-off-by: Jordan Yates <[email protected]>
1 parent 1e08edd commit 9ce8376

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

samples/net/cellular_modem/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
CONFIG_POSIX_API=y
5+
CONFIG_POSIX_NETWORKING=y
56

67
# Networking
78
CONFIG_NETWORKING=y

samples/posix/eventfd/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# General config
22
CONFIG_REQUIRES_FULL_LIBC=y
33
CONFIG_POSIX_API=y
4+
CONFIG_POSIX_FD_MGMT=y
45
CONFIG_EVENTFD=y
56

67
# eventfd() implementation currently depends on some networking APIs,

samples/subsys/modbus/tcp_gateway/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
CONFIG_LOG=y
22
CONFIG_MAIN_STACK_SIZE=1200
33
CONFIG_POSIX_API=y
4+
CONFIG_POSIX_NETWORKING=y
45

56
CONFIG_SERIAL=y
67
CONFIG_UART_INTERRUPT_DRIVEN=y

samples/subsys/modbus/tcp_server/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ CONFIG_LOG=y
22
CONFIG_GPIO=y
33
CONFIG_MAIN_STACK_SIZE=1200
44
CONFIG_POSIX_API=y
5+
CONFIG_POSIX_NETWORKING=y
56

67
CONFIG_MODBUS=y
78
CONFIG_MODBUS_ROLE_SERVER=y

0 commit comments

Comments
 (0)