mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-07-30 02:38:19 +02:00
Merge branch 'feature/announce_move_to_idf' into 'master'
esp-mqtt announce integration to idf See merge request idf/esp-mqtt!6
This commit is contained in:
@ -30,6 +30,7 @@ install:
|
|||||||
- export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin
|
- export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin
|
||||||
# Get ESP-IDF from github
|
# Get ESP-IDF from github
|
||||||
- git clone --recursive https://github.com/espressif/esp-idf.git
|
- 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
|
# Set the path to ESP-IDF directory
|
||||||
- export IDF_PATH=~/esp/esp-idf
|
- export IDF_PATH=~/esp/esp-idf
|
||||||
|
|
||||||
|
@ -15,6 +15,10 @@
|
|||||||
|
|
||||||
## How to use
|
## 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):
|
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
|
git submodule add https://github.com/tuanpmt/espmqtt.git components/espmqtt
|
||||||
|
Reference in New Issue
Block a user