Docs: Update required Mbed TLS version to 2.7.9
Also adds a missing include in tfm_mbedtls_config.h that was causing
issues with some later versions of Mbed TLS.
Change-Id: If504f97470c74a03c7ea49687b242c826fa1f4de
Signed-off-by: Jamie Fox <jamie.fox@arm.com>
diff --git a/docs/user_guides/tfm_build_instruction.md b/docs/user_guides/tfm_build_instruction.md
index c84633a..84cc8b6 100755
--- a/docs/user_guides/tfm_build_instruction.md
+++ b/docs/user_guides/tfm_build_instruction.md
@@ -18,7 +18,7 @@
### External dependency
* CMSIS_5 is used to import RTX for the example non-secure app
-* mbedtls is used as crypto library on the secure side
+* Mbed TLS is used as a crypto library on the secure side
Both need to be cloned manually in the current release.
@@ -27,7 +27,7 @@
```
cd <TF-M base folder>
git clone https://git.trustedfirmware.org/trusted-firmware-m.git
-git clone https://github.com/ARMmbed/mbedtls.git -b mbedtls-2.6.1
+git clone https://github.com/ARMmbed/mbedtls.git -b mbedtls-2.7.9
git clone https://github.com/ARM-software/CMSIS_5.git -b 5.2.0
cd trusted-firmware-m
mkdir cmake_build
diff --git a/platform/ext/common/tfm_mbedtls_config.h b/platform/ext/common/tfm_mbedtls_config.h
index 61f6652..d5aeeea 100644
--- a/platform/ext/common/tfm_mbedtls_config.h
+++ b/platform/ext/common/tfm_mbedtls_config.h
@@ -2679,4 +2679,6 @@
#include MBEDTLS_USER_CONFIG_FILE
#endif
+#include "mbedtls/check_config.h"
+
#endif /* MBEDTLS_CONFIG_H */