Skip to content

arch/risc-v/espressif: Add BLE support for esp32[-c6|-h2]#19009

Merged
xiaoxiang781216 merged 3 commits into
apache:masterfrom
eren-terzioglu:feature/esp32c6_ble
Jun 1, 2026
Merged

arch/risc-v/espressif: Add BLE support for esp32[-c6|-h2]#19009
xiaoxiang781216 merged 3 commits into
apache:masterfrom
eren-terzioglu:feature/esp32c6_ble

Conversation

@eren-terzioglu
Copy link
Copy Markdown
Contributor

Summary

  • Docs/platforms/esp32[-c6|-h2]: Add BLE docs for esp32[-c6|-h2]

Add BLE docs for esp32c6 and esp32h2

  • boards/risc-v/espressif: Add BLE board support for esp32[-c6|-h2]

Add BLE board support for esp32c6 and esp32h2

  • arch/risc-v/espressif: Add BLE support for esp32[-c6|-h2]

Add BLE support for esp32c6 and esp32h2

Impact

Impact on user: Yes, C6 and H2 BLE can be used now

Impact on build: No

Impact on hardware: Yes, C6 and H2 BLE is supported

Impact on documentation: Yes, related docs added

Impact on security: No

Impact on compatibility: No

Testing

esp32c6-devkitc:ble and esp32h2-devkit:ble configs used to test

Building

Command to build:

make -j distclean && ./tools/configure.sh esp32c6-devkitc:ble && make -j && make download ESPTOOL_PORT=/dev/ttyUSB0

Running

Command used to test:

ifconfig
ifup bnep0
bt bnep0 scan start
bt bnep0 scan stop
bt benep0 scan get

Results

Output:

nsh> ifconfig
bnep0	Link encap:UNSPEC at RUNNING mtu -9
	inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
nsh> ifup bnep0
ifup bnep0...OK
nsh> bt bnep0 scan start
nsh> bt bnep0 scan stop
nsh> bt bnep0 scan get
Scan result:
 1.	addr:            ... type: 1
	rssi:            -86
	response type:   3
	advertiser data: ...
 2.	addr:            ... type: 1
	rssi:            -81
	response type:   0
	advertiser data: ...
 3.	addr:            ... type: 0
	rssi:            -96
	response type:   0
	advertiser data: ...
 4.	addr:            ... type: 1
	rssi:            -75
	response type:   0
	advertiser data:
 5.	addr:            ... type: 1
	rssi:            -78
	response type:   0
	advertiser data: ...
nsh> 

Add BLE support for esp32c6 and esp32h2

Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
Add BLE board support for esp32c6 and esp32h2

Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
Add BLE docs for esp32c6 and esp32h2

Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
@github-actions github-actions Bot added Area: Documentation Improvements or additions to documentation Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Size: XL The size of the change in this PR is very large. Consider breaking down the PR into smaller pieces. Board: risc-v labels Jun 1, 2026
Copy link
Copy Markdown
Contributor

@acassis acassis left a comment

Choose a reason for hiding this comment

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

@eren-terzioglu should be nice if you could to include a nimBLE config for these chips as well

@eren-terzioglu
Copy link
Copy Markdown
Contributor Author

eren-terzioglu commented Jun 1, 2026

@eren-terzioglu should be nice if you could to include a nimBLE config for these chips as well

Let's have a look that later. It will need some additional work than just adding one defconfig because of BLE driver internals of ESP devices

@xiaoxiang781216 xiaoxiang781216 merged commit 9ef787f into apache:master Jun 1, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Area: Documentation Improvements or additions to documentation Board: risc-v Size: XL The size of the change in this PR is very large. Consider breaking down the PR into smaller pieces.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants