Added target_config.h as a custom header for yotta use

This commit is contained in:
Simon Butcher 2016-06-23 13:56:06 +01:00
parent b6a73c9b76
commit b2c81b12bb
2 changed files with 7 additions and 0 deletions

View File

@ -2566,6 +2566,9 @@
/* \} name SECTION: Customisation configuration options */ /* \} 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. * Allow user to override any previous default.
* *

View File

@ -14,6 +14,10 @@ conf() {
$SCRIPT -f $FILE $@ $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 # not supported on mbed OS, nor used by mbed Client
conf unset MBEDTLS_NET_C conf unset MBEDTLS_NET_C
conf unset MBEDTLS_TIMING_C conf unset MBEDTLS_TIMING_C