mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-11-18 16:29:26 +01:00
Reorganize mqtt build structure
- Integrate build definitions from idf - Changes CMakeLists to allow import - Added host test from idf - Added test code from idf
This commit is contained in:
11
host_test/mocks/heap/heap_mock.c
Normal file
11
host_test/mocks/heap/heap_mock.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user