From 13bf92535855ae6242f1e2b92d7c14e8764babe4 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 8 Feb 2016 18:39:27 +0200 Subject: [PATCH] README: Add explicit "Using the toolchain" section. --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4c6536d..74b918c 100644 --- a/README.md +++ b/README.md @@ -110,10 +110,18 @@ To build the standalone SDK: $ make STANDALONE=y ``` -This will download all necessary components and compile them. Once done, -the toolchain (with the Xtensa HAL library) will be available in the -`xtensa-lx106-elf/` directory. Add its `bin/` subdirectory to your -`$PATH` to execute `xtensa-lx106-elf-gcc` and other tools. +This will download all necessary components and compile them. + +Using the toolchain +=================== + +Once you complete build process as described above, the toolchain (with +the Xtensa HAL library) will be available in the `xtensa-lx106-elf/` +subdirectory. Add `xtensa-lx106-elf/bin/` subdirectory to your `PATH` +environment variable to execute `xtensa-lx106-elf-gcc` and other tools. +At the end of build process, the exact command to set PATH correctly +for your case will be output. You may want to save it, as you'll need +the PATH set correctly each time you compile for Xtensa/ESP. ESP8266 SDK will be installed in `sdk/`. If you chose the non-standalone SDK, run the compiler with the corresponding include and lib dir flags: