diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h index 1aa86bf1b..3b7c85b39 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 170d3070a..6580c0900 100755 --- a/yotta/data/adjust-config.sh +++ b/yotta/data/adjust-config.sh @@ -14,6 +14,10 @@ conf() { $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