libc: Use select REQUIRES_FULL_LIBC instead of select NEWLIB_LIBC
Changed select NEWLIB_LIBC to select REQUIRES_FULL_LIBC
Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
diff --git a/drivers/counter/Kconfig.stm32_rtc b/drivers/counter/Kconfig.stm32_rtc
index 17c2a80..b213d79 100644
--- a/drivers/counter/Kconfig.stm32_rtc
+++ b/drivers/counter/Kconfig.stm32_rtc
@@ -12,7 +12,7 @@
select USE_STM32_LL_PWR
select USE_STM32_LL_RCC
select USE_STM32_LL_EXTI
- select NEWLIB_LIBC
+ select REQUIRES_FULL_LIBC
help
Build RTC driver for STM32 SoCs. Tested on STM32 F3, F4, L4, F7, G4 series
diff --git a/drivers/ieee802154/Kconfig.kw41z b/drivers/ieee802154/Kconfig.kw41z
index 8771f2e..e40ddc0 100644
--- a/drivers/ieee802154/Kconfig.kw41z
+++ b/drivers/ieee802154/Kconfig.kw41z
@@ -9,7 +9,7 @@
menuconfig IEEE802154_KW41Z
bool "NXP KW41Z Driver support"
depends on NETWORKING
- select NEWLIB_LIBC
+ select REQUIRES_FULL_LIBC
if IEEE802154_KW41Z
diff --git a/lib/updatehub/Kconfig b/lib/updatehub/Kconfig
index 208295b..25da09d 100644
--- a/lib/updatehub/Kconfig
+++ b/lib/updatehub/Kconfig
@@ -12,7 +12,7 @@
select BOOTLOADER_MCUBOOT
select MPU_ALLOW_FLASH_WRITE
select NETWORKING
- select NEWLIB_LIBC
+ select REQUIRES_FULL_LIBC
select NET_UDP
select NET_SOCKETS
select NET_SOCKETS_POSIX_NAMES
diff --git a/modules/Kconfig.simplelink b/modules/Kconfig.simplelink
index 6f386e8..8fa3bba 100644
--- a/modules/Kconfig.simplelink
+++ b/modules/Kconfig.simplelink
@@ -4,14 +4,15 @@
bool
# Notes:
-# SimpleLink drivers require types (stdint.h) from NEWLIB_LIBC
+# SimpleLink drivers require types (stdint.h) from c library which is not
+# provided by minimal lbc
# 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 REQUIRES_FULL_LIBC
select ERRNO
select PTHREAD_IPC
select POSIX_CLOCK
diff --git a/modules/Kconfig.tinycbor b/modules/Kconfig.tinycbor
index e031d65..e358e76 100644
--- a/modules/Kconfig.tinycbor
+++ b/modules/Kconfig.tinycbor
@@ -36,13 +36,13 @@
config CBOR_FLOATING_POINT
bool "Floating point support"
- select NEWLIB_LIBC
+ select REQUIRES_FULL_LIBC
help
This option enables floating point support.
config CBOR_HALF_FLOAT_TYPE
bool "Half float type support"
- select NEWLIB_LIBC
+ select REQUIRES_FULL_LIBC
help
This option enables half float type support.
diff --git a/soc/arm/st_stm32/stm32h7/Kconfig.series b/soc/arm/st_stm32/stm32h7/Kconfig.series
index f418388..4a5790a 100644
--- a/soc/arm/st_stm32/stm32h7/Kconfig.series
+++ b/soc/arm/st_stm32/stm32h7/Kconfig.series
@@ -11,7 +11,7 @@
select SOC_FAMILY_STM32
select HAS_STM32CUBE
select CPU_HAS_ARM_MPU
- select NEWLIB_LIBC
+ select REQUIRES_FULL_LIBC
select USE_STM32_HAL_RCC_EX if CPU_CORTEX_M4
help
Enable support for STM32H7 MCU series