libc: Changed dependencies of NEWLIB_C into !MINIMAL_LIBC

Changed Kconfig dependencies of NEWLIB_C into !MINIMAL_LIBC

Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
diff --git a/drivers/sensor/grove/Kconfig b/drivers/sensor/grove/Kconfig
index f1eccb1..3c9c3ac 100644
--- a/drivers/sensor/grove/Kconfig
+++ b/drivers/sensor/grove/Kconfig
@@ -8,7 +8,7 @@
 
 config GROVE_LIGHT_SENSOR
 	bool "Enable the Seeed Grove Light Sensor"
-	depends on ADC && NEWLIB_LIBC
+	depends on ADC && !MINIMAL_LIBC
 	help
 	  Setting this value will enable driver support for the Grove Light
 	  Sensor.
@@ -37,7 +37,7 @@
 
 config GROVE_TEMPERATURE_SENSOR
 	bool "Enable the Seeed Grove Temperature Sensor"
-	depends on ADC && NEWLIB_LIBC
+	depends on ADC && !MINIMAL_LIBC
 	help
 	  Setting this value will enable driver support for the Grove
 	  Temperature Sensor.
diff --git a/lib/gui/lvgl/Kconfig b/lib/gui/lvgl/Kconfig
index 78beef0..c3afe89 100644
--- a/lib/gui/lvgl/Kconfig
+++ b/lib/gui/lvgl/Kconfig
@@ -143,7 +143,7 @@
 
 	config LVGL_MEM_POOL_HEAP_LIB_C
 	  bool "C library Heap"
-	  depends on NEWLIB_LIBC || (MINIMAL_LIBC_MALLOC_ARENA_SIZE != 0)
+	  depends on !MINIMAL_LIBC || (MINIMAL_LIBC_MALLOC_ARENA_SIZE != 0)
 	  help
 		Use C library malloc and free to allocate objects on the C library heap
 
diff --git a/subsys/cpp/Kconfig b/subsys/cpp/Kconfig
index 66fdb0f..473b3df 100644
--- a/subsys/cpp/Kconfig
+++ b/subsys/cpp/Kconfig
@@ -55,7 +55,7 @@
 config EXCEPTIONS
 	bool "Enable C++ exceptions support"
 	select LIB_CPLUSPLUS
-	depends on NEWLIB_LIBC
+	depends on !MINIMAL_LIBC
 	help
 	  This option enables support of C++ exceptions.
 
diff --git a/subsys/logging/Kconfig b/subsys/logging/Kconfig
index 22c1d97..d503d56 100644
--- a/subsys/logging/Kconfig
+++ b/subsys/logging/Kconfig
@@ -131,7 +131,7 @@
 	  by another one in the higher priority context.
 
 config LOG_ENABLE_FANCY_OUTPUT_FORMATTING
-	depends on !NEWLIB_LIBC && !ARCH_POSIX
+	depends on MINIMAL_LIBC
 	bool "Format strings with minimal libc _prf() instead of _vprintk()"
 	help
 	  Selecting this option will choose more robust _prf() function from