Example

Dependencies:   FXAS21002 FXOS8700Q

Revision:
0:11cc2b7889af
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/simple-mbed-cloud-client/mbed-cloud-client/mbed-client-pal/Configs/pal_ext_configs.cmake	Tue Nov 19 09:49:38 2019 +0000
@@ -0,0 +1,24 @@
+SET(PAL_BSP_DIR ${NEW_CMAKE_SOURCE_DIR}/mbed-client-pal/Configs/)
+SET(PAL_TLS_BSP_DIR ${PAL_BSP_DIR}/${TLS_LIBRARY})
+SET(PAL_PLATFORM_BSP_DIR ${PAL_BSP_DIR}/pal_config)
+
+#choose the samll test suit of esfs - becasue the latge one does not fit with networking to image size
+add_definitions(-DESFS_INTERACTIVE_TEST)
+add_definitions(-DSOTP_LOG=0)
+
+# these are used & required by the unit tests
+add_definitions(-DPAL_NET_DNS_SUPPORT)
+add_definitions(-DPAL_DNS_API_VERSION=1)
+
+if (${TLS_LIBRARY} MATCHES mbedTLS)
+	# PAL specific configurations for mbedTLS
+    if (NOT (${OS_BRAND} MATCHES "FreeRTOS"))
+	    add_definitions(-DMBEDTLS_CONFIG_FILE="\\"${PAL_TLS_BSP_DIR}/mbedTLSConfig_${OS_BRAND}.h"\\")
+    else()
+        add_definitions(-DMBEDTLS_CONFIG_FILE=\"${PAL_TLS_BSP_DIR}/mbedTLSConfig_${OS_BRAND}.h\")
+    endif()
+    message("PAL_TLS_BSP_DIR ${PAL_TLS_BSP_DIR}/pal_${OS_BRAND}.h")
+endif()
+
+
+