leo hendrickson / Mbed OS example-Ethernet-mbed-Cloud-connect
Committer:
leothedragon
Date:
Tue May 04 08:55:12 2021 +0000
Revision:
0:8f0bb79ddd48
nmn

Who changed what in which revision?

UserRevisionLine numberNew contents of line
leothedragon 0:8f0bb79ddd48 1 SET(PAL_BSP_DIR ${NEW_CMAKE_SOURCE_DIR}/mbed-client-pal/Configs/)
leothedragon 0:8f0bb79ddd48 2 SET(PAL_TLS_BSP_DIR ${PAL_BSP_DIR}/${TLS_LIBRARY})
leothedragon 0:8f0bb79ddd48 3 SET(PAL_PLATFORM_BSP_DIR ${PAL_BSP_DIR}/pal_config)
leothedragon 0:8f0bb79ddd48 4
leothedragon 0:8f0bb79ddd48 5 #choose the samll test suit of esfs - becasue the latge one does not fit with networking to image size
leothedragon 0:8f0bb79ddd48 6 add_definitions(-DESFS_INTERACTIVE_TEST)
leothedragon 0:8f0bb79ddd48 7 add_definitions(-DSOTP_LOG=0)
leothedragon 0:8f0bb79ddd48 8
leothedragon 0:8f0bb79ddd48 9 # these are used & required by the unit tests
leothedragon 0:8f0bb79ddd48 10 add_definitions(-DPAL_NET_DNS_SUPPORT)
leothedragon 0:8f0bb79ddd48 11 add_definitions(-DPAL_DNS_API_VERSION=1)
leothedragon 0:8f0bb79ddd48 12
leothedragon 0:8f0bb79ddd48 13 if (${TLS_LIBRARY} MATCHES mbedTLS)
leothedragon 0:8f0bb79ddd48 14 # PAL specific configurations for mbedTLS
leothedragon 0:8f0bb79ddd48 15 if (NOT (${OS_BRAND} MATCHES "FreeRTOS"))
leothedragon 0:8f0bb79ddd48 16 add_definitions(-DMBEDTLS_CONFIG_FILE="\\"${PAL_TLS_BSP_DIR}/mbedTLSConfig_${OS_BRAND}.h"\\")
leothedragon 0:8f0bb79ddd48 17 else()
leothedragon 0:8f0bb79ddd48 18 add_definitions(-DMBEDTLS_CONFIG_FILE=\"${PAL_TLS_BSP_DIR}/mbedTLSConfig_${OS_BRAND}.h\")
leothedragon 0:8f0bb79ddd48 19 endif()
leothedragon 0:8f0bb79ddd48 20 message("PAL_TLS_BSP_DIR ${PAL_TLS_BSP_DIR}/pal_${OS_BRAND}.h")
leothedragon 0:8f0bb79ddd48 21 endif()
leothedragon 0:8f0bb79ddd48 22
leothedragon 0:8f0bb79ddd48 23
leothedragon 0:8f0bb79ddd48 24