Added target_config.h as a custom header for yotta use
diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h
index 1aa86bf..3b7c85b 100644
--- a/include/mbedtls/config.h
+++ b/include/mbedtls/config.h
@@ -2566,6 +2566,9 @@
/* \} name SECTION: Customisation configuration options */
+/* Target and application specific configurations */
+//#define YOTTA_CFG_MBEDTLS_USER_CONFIG_FILE "target_config.h"
+
/*
* Allow user to override any previous default.
*
diff --git a/yotta/data/adjust-config.sh b/yotta/data/adjust-config.sh
index 170d307..6580c09 100755
--- a/yotta/data/adjust-config.sh
+++ b/yotta/data/adjust-config.sh
@@ -14,6 +14,10 @@
$SCRIPT -f $FILE $@
}
+
+# Set the target specific header
+conf set YOTTA_CFG_MBEDTLS_USER_CONFIG_FILE \"target_config.h\"
+
# not supported on mbed OS, nor used by mbed Client
conf unset MBEDTLS_NET_C
conf unset MBEDTLS_TIMING_C