mbedtls: remove dependency on driver component
- keep `esp_pm` dependency conditional in mbedtls - refactor `bt` cmakelist to keep dependencies as private Related: IDF-1265
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* ESP BLE Mesh Example
|
||||
*
|
||||
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
*/
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
#include "esp_log.h"
|
||||
#include "esp_netif.h"
|
||||
#include "driver/gpio.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/event_groups.h"
|
||||
|
||||
@@ -4,4 +4,5 @@ set(include_dirs ".")
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS "${include_dirs}"
|
||||
REQUIRES esp_hid)
|
||||
REQUIRES esp_hid
|
||||
PRIV_REQUIRES nvs_flash)
|
||||
|
||||
@@ -4,4 +4,5 @@ set(include_dirs ".")
|
||||
|
||||
idf_component_register(SRCS "${srcs}"
|
||||
INCLUDE_DIRS "${include_dirs}"
|
||||
REQUIRES esp_hid)
|
||||
REQUIRES esp_hid
|
||||
PRIV_REQUIRES nvs_flash)
|
||||
|
||||
Reference in New Issue
Block a user