From 5fd5523b9b9cbae9f2d2934f4405942884015d18 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Thu, 4 Oct 2018 13:12:30 +0200 Subject: [PATCH] esp-mqtt announce integration to idf --- .travis.yml | 1 + README.md | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6410b55..5a5c6d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,7 @@ install: - export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin # Get ESP-IDF from github - git clone --recursive https://github.com/espressif/esp-idf.git + - cd esp-idf && git checkout --recurse-submodules v3.1 # Set the path to ESP-IDF directory - export IDF_PATH=~/esp/esp-idf diff --git a/README.md b/README.md index 77e552a..c41b51f 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,10 @@ ## How to use +From IDFv3.2 [ESP-MQTT]((https://github.com/espressif/esp-mqtt)) is integrated in [ESP-IDF](https://github.com/espressif/esp-idf) as a submodule. Please do not use separately. + +For [ESP-IDF](https://github.com/espressif/esp-idf) versions prior to IDFv3.2, please checkout the [ESP-MQTT_FOR_IDF_3.1](https://github.com/espressif/esp-mqtt/tree/ESP-MQTT_FOR_IDF_3.1) tag and follow the instructions below: + Clone this component to [ESP-IDF](https://github.com/espressif/esp-idf) project (as submodule): ``` git submodule add https://github.com/tuanpmt/espmqtt.git components/espmqtt