8000 [esp32_ble] Remove explicit and now incorrect ble override for esp32-c6 by jesserockz · Pull Request #8643 · esphome/esphome · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[esp32_ble] Remove explicit and now incorrect ble override for esp32-c6 #8643

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

jesserockz
Copy link
Member
@jesserockz jesserockz commented Apr 28, 2025

What does this implement/fix?

In #6734, I added the C6 file as the idf version we were referencing did not have a matching one.

Now we are using 5.1.X, we can remove this override and just use the provided values.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Code quality improvements to existing code or addition of tests
  • Other

Related issue or feature (if applicable):

  • fixes

Pull request in esphome-docs with documentation (if applicable):

  • esphome/esphome-docs#

Test Environment

  • ESP32
  • ESP32 IDF
  • ESP8266
  • RP2040
  • BK72xx
  • RTL87xx

Example entry for config.yaml:

# Example config.yaml

Checklist:

  • The code change is tested and works locally.
  • Tests have been added to verify that the new code works (under tests/ folder).

If user exposed functionality or configuration variables are added/changed:

10000
@Copilot Copilot AI review requested due to automatic review settings April 28, 2025 21:48
@probot-esphome
Copy link

Hey there @Rapsssito, mind taking a look at this pull request as it has been labeled with an integration (esp32_ble) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the explicit and now incorrect BLE override for ESP32-C6 by deleting the dedicated configuration header and simplifying the BLE controller initialization to use the default configuration.

  • Removed the ESP32-C6 specific BT_CONTROLLER_CONFIG from const_esp32c6.h
  • Updated ble.cpp to always use BT_CONTROLLER_INIT_CONFIG_DEFAULT() for BLE controller initialization

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
esphome/components/esp32_ble/const_esp32c6.h Removed file containing the outdated ESP32-C6 BLE configuration
esphome/components/esp32_ble/ble.cpp Removed conditional inclusion and usage of specialized ESP32-C6 BLE override
Comments suppressed due to low confidence (1)

esphome/components/esp32_ble/ble.cpp:126

  • After removing the specialized ESP32-C6 override, verify that BT_CONTROLLER_INIT_CONFIG_DEFAULT() provides the appropriate BLE configuration for the ESP32-C6. Consider adding a platform-specific comment if any future adjustments are needed.
esp_bt_controller_config_t cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();

jesserockz added a commit to esphome/firmware that referenced this pull request Apr 28, 2025
@jesserockz jesserockz merged commit 629481a into dev Apr 28, 2025
76 checks passed
@jesserockz jesserockz deleted the jesserockz-2025-068 branch April 28, 2025 22:46
@jesserockz jesserockz added this to the 2025.4.2 milestone Apr 30, 2025
@jesserockz jesserockz mentioned this pull request May 11, 2025
sa-crespo pushed a commit to sa-crespo/esphome that referenced this pull request May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0