Skip to content

Commit

Permalink
zephyr: Disable CONFIG_NET_SOCKETS_POSIX_NAMES.
Browse files Browse the repository at this point in the history
Zephyr's default value for CONFIG_NET_SOCKETS_POSIX_NAMES was changed
from false to true between Zephyr v2.5.0 and v2.6.0. This caused
conflicts in MicroPython, which uses the zsock_ prefixed functions, so
disable it.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  • Loading branch information
MaureenHelm authored and dpgeorge committed Jun 6, 2021
1 parent f17c0db commit 3331b18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ports/zephyr/prj.conf
Expand Up @@ -26,6 +26,7 @@ CONFIG_NET_IPV6=y
CONFIG_NET_UDP=y
CONFIG_NET_TCP=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_POSIX_NAMES=n
CONFIG_TEST_RANDOM_GENERATOR=y

CONFIG_NET_CONFIG_SETTINGS=y
Expand Down

0 comments on commit 3331b18

Please sign in to comment.