espressif: allow the use of a different toolchain for building
TOOLCHAIN_BIN_DIR can be defined for a different toolchain use.
Signed-off-by: Almir Okato <almir.okato@espressif.com>
diff --git a/docs/readme-espressif.md b/docs/readme-espressif.md
index dc236fb..21004df 100644
--- a/docs/readme-espressif.md
+++ b/docs/readme-espressif.md
@@ -107,6 +107,11 @@
*If using ESP-IDF as HAL layer source, `ESP_HAL_PATH` can be ommited.*
+ *If desirable, `<TOOLCHAIN_BIN_DIR>` can be defined with the path for a different compatible
+ toolchain, however it is recommended to actually create a CMake toolchain file and
+ pass it through `<CMAKE_TOOLCHAIN_FILE>` variable since it may require a distinct set of
+ compilation flags.*
+
---
2. Flash MCUboot in your device: