summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaureen Helm <maureen.helm@nxp.com>2021-05-20 21:03:25 -0500
committerDamien George <damien@micropython.org>2021-06-06 20:17:42 +1000
commit3331b1811d104739121462a30bc3340951965edf (patch)
tree3d014a455490afbc56ac84e303e80bae28a56f51
parentf17c0db5f7bedd6653dc4559b3adb6d5c424a648 (diff)
zephyr: Disable CONFIG_NET_SOCKETS_POSIX_NAMES.
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>
-rw-r--r--ports/zephyr/prj.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/zephyr/prj.conf b/ports/zephyr/prj.conf
index 9e855036d..b6559e4f7 100644
--- a/ports/zephyr/prj.conf
+++ b/ports/zephyr/prj.conf
@@ -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