mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-10-03 18:41:49 +02:00
Storage: Partition APIs moved to the new component 'esp_partition'
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
This commit is contained in:
committed by
Rocha Euripedes
parent
0ec688bce6
commit
cc7d9b4b7c
@@ -5,5 +5,5 @@ if(CONFIG_MQTT_PROTOCOL_5)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
idf_component_register(SRCS "${srcs}"
|
idf_component_register(SRCS "${srcs}"
|
||||||
PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update esp_eth esp_netif)
|
PRIV_REQUIRES cmock test_utils mqtt nvs_flash app_update esp_eth esp_netif spi_flash)
|
||||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||||
|
@@ -23,6 +23,7 @@
|
|||||||
#include "test_mqtt_client_broker.h"
|
#include "test_mqtt_client_broker.h"
|
||||||
#include "test_mqtt_connection.h"
|
#include "test_mqtt_connection.h"
|
||||||
#include "esp_mac.h"
|
#include "esp_mac.h"
|
||||||
|
#include "spi_flash_mmap.h"
|
||||||
|
|
||||||
static void test_leak_setup(const char * file, long line)
|
static void test_leak_setup(const char * file, long line)
|
||||||
{
|
{
|
||||||
|
@@ -17,6 +17,7 @@
|
|||||||
#include "test_mqtt5_client_broker.h"
|
#include "test_mqtt5_client_broker.h"
|
||||||
#include "test_mqtt_connection.h"
|
#include "test_mqtt_connection.h"
|
||||||
#include "esp_mac.h"
|
#include "esp_mac.h"
|
||||||
|
#include "spi_flash_mmap.h"
|
||||||
|
|
||||||
static esp_mqtt5_user_property_item_t user_property_arr[3] = {
|
static esp_mqtt5_user_property_item_t user_property_arr[3] = {
|
||||||
{"board", "esp32"},
|
{"board", "esp32"},
|
||||||
|
@@ -12,6 +12,8 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
|
#include "esp_partition.h"
|
||||||
|
#include "spi_flash_mmap.h"
|
||||||
#include "nvs_flash.h"
|
#include "nvs_flash.h"
|
||||||
#include "esp_event.h"
|
#include "esp_event.h"
|
||||||
#include "esp_netif.h"
|
#include "esp_netif.h"
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
## IDF Component Manager Manifest File
|
## IDF Component Manager Manifest File
|
||||||
dependencies:
|
dependencies:
|
||||||
espressif/esp_secure_cert_mgr: "^2.0.0"
|
espressif/esp_secure_cert_mgr: "^2.0.2"
|
||||||
|
Reference in New Issue
Block a user