1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00

pkg/esp32_sdk: patches BLE driver for ESP32-H2 support

This commit is contained in:
Gunar Schorcht 2025-04-19 09:34:27 +02:00
parent 7581463192
commit 9a02eb7605
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From 1357b5b40f12686aa0265df131c43c9a87bb8897 Mon Sep 17 00:00:00 2001
From: Gunar Schorcht <gunar@schorcht.net>
Date: Sun, 30 Mar 2025 13:07:34 +0200
Subject: [PATCH 35/35] bt/controller: fix include path for esp32h2
---
components/bt/include/esp32h2/include/esp_bt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/bt/include/esp32h2/include/esp_bt.h b/components/bt/include/esp32h2/include/esp_bt.h
index c21a1bc854..ff047aace5 100644
--- a/components/bt/include/esp32h2/include/esp_bt.h
+++ b/components/bt/include/esp32h2/include/esp_bt.h
@@ -14,7 +14,7 @@
#include "esp_task.h"
#include "nimble/nimble_npl.h"
-#include "../../../../controller/esp32h2/esp_bt_cfg.h"
+#include "../../../controller/esp32h2/esp_bt_cfg.h"
#include "esp_private/esp_modem_clock.h"
#ifdef CONFIG_BT_LE_HCI_INTERFACE_USE_UART
--
2.34.1

View File

@ -0,0 +1,24 @@
From 9df2d320e918e2e39fcb3b47fca67301804f8a9b Mon Sep 17 00:00:00 2001
From: Gunar Schorcht <gunar@schorcht.net>
Date: Thu, 17 Apr 2025 14:19:11 +0200
Subject: [PATCH 36/36] bt/porting/npl_os_freertos: fix missing include
---
components/bt/porting/npl/freertos/src/npl_os_freertos.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/components/bt/porting/npl/freertos/src/npl_os_freertos.c b/components/bt/porting/npl/freertos/src/npl_os_freertos.c
index 9e5c9863c3..f7552ee4e1 100644
--- a/components/bt/porting/npl/freertos/src/npl_os_freertos.c
+++ b/components/bt/porting/npl/freertos/src/npl_os_freertos.c
@@ -19,6 +19,7 @@
#include "os/os_mempool.h"
#include "esp_log.h"
+#include "esp_idf_version.h"
#include "soc/soc_caps.h"
#include "esp_bt.h"
#include "bt_osi_mem.h"
--
2.34.1