mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
73e1b3df89
Use the latest tagged release of the SDK.
64 lines
2.1 KiB
Diff
64 lines
2.1 KiB
Diff
From 0647c9d01c3e433d1b3abaf4774523ac0ef90a3c Mon Sep 17 00:00:00 2001
|
|
From: Benjamin Valentin <benjamin.valentin@ml-pa.com>
|
|
Date: Thu, 2 Jun 2022 23:45:01 +0200
|
|
Subject: [PATCH] compilation: include missing header files
|
|
|
|
---
|
|
components/efuse/src/esp_efuse_api.c | 1 +
|
|
components/esp_hw_support/regi2c_ctrl.c | 1 +
|
|
components/esp_hw_support/sleep_modes.c | 1 +
|
|
components/nvs_flash/src/nvs_encrypted_partition.cpp | 1 +
|
|
4 files changed, 4 insertions(+)
|
|
|
|
diff --git a/components/efuse/src/esp_efuse_api.c b/components/efuse/src/esp_efuse_api.c
|
|
index a89205fc..1b90deaf 100644
|
|
--- a/components/efuse/src/esp_efuse_api.c
|
|
+++ b/components/efuse/src/esp_efuse_api.c
|
|
@@ -19,6 +19,7 @@ const static char *TAG = "efuse";
|
|
#else
|
|
#include "freertos/FreeRTOS.h"
|
|
#include "freertos/task.h"
|
|
+#include <string.h>
|
|
#include <sys/lock.h>
|
|
static _lock_t s_efuse_lock;
|
|
#define EFUSE_LOCK_ACQUIRE_RECURSIVE() _lock_acquire_recursive(&s_efuse_lock)
|
|
diff --git a/components/esp_hw_support/regi2c_ctrl.c b/components/esp_hw_support/regi2c_ctrl.c
|
|
index 6ce93cc5..a40b821e 100644
|
|
--- a/components/esp_hw_support/regi2c_ctrl.c
|
|
+++ b/components/esp_hw_support/regi2c_ctrl.c
|
|
@@ -4,6 +4,7 @@
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
+#include "esp_attr.h"
|
|
#include "regi2c_ctrl.h"
|
|
#include "esp_attr.h"
|
|
#include <stdint.h>
|
|
diff --git a/components/esp_hw_support/sleep_modes.c b/components/esp_hw_support/sleep_modes.c
|
|
index f5a6b292..6f9fd2b1 100644
|
|
--- a/components/esp_hw_support/sleep_modes.c
|
|
+++ b/components/esp_hw_support/sleep_modes.c
|
|
@@ -26,6 +26,7 @@
|
|
#include "driver/uart.h"
|
|
|
|
#include "soc/cpu.h"
|
|
+#include "soc/soc_memory_types.h"
|
|
#include "soc/rtc.h"
|
|
#include "soc/soc_caps.h"
|
|
#include "regi2c_ctrl.h"
|
|
diff --git a/components/nvs_flash/src/nvs_encrypted_partition.cpp b/components/nvs_flash/src/nvs_encrypted_partition.cpp
|
|
index 26e8a331..4de077b9 100644
|
|
--- a/components/nvs_flash/src/nvs_encrypted_partition.cpp
|
|
+++ b/components/nvs_flash/src/nvs_encrypted_partition.cpp
|
|
@@ -13,6 +13,7 @@
|
|
// limitations under the License.
|
|
|
|
#include <cstring>
|
|
+#include "nvs.hpp"
|
|
#include "nvs_encrypted_partition.hpp"
|
|
#include "nvs_types.hpp"
|
|
|
|
--
|
|
2.34.1
|
|
|