Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix error #8176: simple_ble_start enable controller failed 259#11167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Jason2866 wants to merge4 commits intoespressif:master
base:master
Choose a base branch
Loading
fromJason2866:patch-5
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletionscores/esp32/esp32-hal-bt.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -17,17 +17,6 @@
#if SOC_BT_SUPPORTED
#ifdef CONFIG_BT_ENABLED

#if CONFIG_IDF_TARGET_ESP32
bool btInUse() {
return true;
}
#else
// user may want to change it to free resources
__attribute__((weak)) bool btInUse() {
return true;
}
#endif

#include "esp_bt.h"

#ifdef CONFIG_BTDM_CONTROLLER_MODE_BTDM
Expand Down
22 changes: 9 additions & 13 deletionscores/esp32/esp32-hal-misc.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,6 +27,15 @@
#include "esp_private/startup_internal.h"
#if defined(CONFIG_BT_ENABLED) && SOC_BT_SUPPORTED
#include "esp_bt.h"
#if CONFIG_IDF_TARGET_ESP32
bool btInUse() {
return true;
}
#else
bool btInUse() {
return false;
}
#endif
#endif //CONFIG_BT_ENABLED
#include <sys/time.h>
#include "soc/rtc.h"
Expand DownExpand Up@@ -243,19 +252,6 @@ bool verifyRollbackLater() {
}
#endif

#ifdef CONFIG_BT_ENABLED
#if CONFIG_IDF_TARGET_ESP32
//overwritten in esp32-hal-bt.c
bool btInUse() __attribute__((weak));
bool btInUse() {
return false;
}
#else
//from esp32-hal-bt.c
extern bool btInUse();
#endif
#endif

#if CONFIG_SPIRAM_SUPPORT || CONFIG_SPIRAM
ESP_SYSTEM_INIT_FN(init_psram_new, CORE, BIT(0), 99) {
psramInit();
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp