Skip to content

Commit 17d0d8e

Browse files
vantigalak
authored andcommitted
modules: Kconfig.simplelink: Remove POSIX_API, use fine-grained opts
PR #18780 introduces a way to decouple pthread support from the general CONFIG_POSIX_API global switch. This commit modifies the build of SimpleLink components to take advantage of it, since SimpleLink libraries only require pthread, sem, clock, and sleep support, not entire POSIX API. This fixes the build errors in the http_get sample introduced by the merge of #18736. As such, this patch also removes cc3220sf_launchxl exclude from sample.yaml of that sample. Signed-off-by: Vincent Wan <[email protected]> Signed-off-by: Paul Sokolovsky <[email protected]>
1 parent 0173d86 commit 17d0d8e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

modules/Kconfig.simplelink

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ config SIMPLELINK_HOST_DRIVER
1313
depends on MULTITHREADING
1414
select NEWLIB_LIBC
1515
select ERRNO
16-
select POSIX_API
1716
select PTHREAD_IPC
17+
select POSIX_CLOCK
1818
help
1919
Build the SimpleLink host driver
2020

samples/net/sockets/http_get/sample.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ tests:
1313
- CONFIG_NET_SOCKETS_POSIX_NAMES=y
1414
# Forcibly defines CONFIG_POSIX_API, which is incompatible with
1515
# CONFIG_NET_SOCKETS_POSIX_NAMES.
16-
platform_exclude: cc3220sf_launchxl cc3235sf_launchxl
1716
sample.net.sockets.http_get.posix:
1817
filter: not CONFIG_NET_SOCKETS_OFFLOAD
1918
extra_configs:

0 commit comments

Comments
 (0)