-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'update/esp-mqtt' into 'master'
mqtt: [Update mqtt_client] - Set state on stoping; Add error code to Subscribed event See merge request espressif/esp-idf!20922
- Loading branch information
Showing
6 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule esp-mqtt
updated
5 files
+18 −15 | .gitlab-ci.yml | |
+31 −3 | include/mqtt_client.h | |
+4 −0 | lib/include/mqtt_client_priv.h | |
+5 −0 | lib/include/mqtt_config.h | |
+112 −29 | mqtt_client.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
idf_component_get_property(original_heap_dir heap COMPONENT_OVERRIDEN_DIR) | ||
|
||
idf_component_register(SRCS heap_mock.c | ||
INCLUDE_DIRS "${original_heap_dir}/include") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
#include "esp_heap_caps.h" | ||
#include <stdint.h> | ||
#include <stdlib.h> | ||
|
||
|
||
|
||
void *heap_caps_calloc(size_t n, size_t size, uint32_t caps) { | ||
(void)caps; | ||
return calloc(n, size); | ||
|
||
} |