zephyr/modules/Kconfig.simplelink
Vincent Wan 17d0d8e1b3 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 <vincent.wan@linaro.org>
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2019-09-25 20:56:29 -07:00

31 lines
703 B
Plaintext

# Kconfig - CC3220/CC32XX SDK HAL configuration
config HAS_CC3220SDK
bool
# Notes:
# SimpleLink drivers require types (stdint.h) from NEWLIB_LIBC
# Selecting ERRNO lets host driver use Zephyr's __errno
# Selecting PTHREAD_IPC and POSIX_API are needed to build the host driver
config SIMPLELINK_HOST_DRIVER
bool "Build the SimpleLink WiFi Host Driver"
depends on HAS_CC3220SDK
depends on MULTITHREADING
select NEWLIB_LIBC
select ERRNO
select PTHREAD_IPC
select POSIX_CLOCK
help
Build the SimpleLink host driver
# Kconfig - MSP432 SDK HAL configuration
config HAS_MSP432P4XXSDK
bool
select HAS_CMSIS
# Kconfig - CC13X2 / CC26X2 SDK HAL configuration
config HAS_CC13X2_CC26X2_SDK
bool