Skip to content

Commit 23dac8e

Browse files
committed
app: tests: nrf_ to zsock_
Change the unit tests to use offloaded sockets. Signed-off-by: Markus Lassila <markus.lassila@nordicsemi.no>
1 parent 92c615d commit 23dac8e

2 files changed

Lines changed: 552 additions & 549 deletions

File tree

app/tests/at_socket/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ target_compile_options(app PRIVATE
4242
-DCONFIG_SM_UART_TX_BUF_SIZE=256
4343
# Suppress upstream Zephyr warnings in net_if.h (returns address of local var)
4444
-Wno-return-local-addr
45+
# Enable POSIX-compat socket name aliases (AF_INET, SOL_SOCKET, sockaddr, etc.)
46+
-DCONFIG_NET_NAMESPACE_COMPAT_MODE=1
4547
)
4648
4749
# Generate CMock mocks for external dependencies

0 commit comments

Comments
 (0)