Skip to content
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

Add ESP-32 Wi-Fi and BLE driver #352

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chrissnow
Copy link

Summary of changes

Add Renesas ESP-32 driver which adds Wi-Fi and BLE support to any target with a serial port at very low cost

Impact of changes

Migration actions required

Documentation

TBC?


Pull request type

[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

@multiplemonomials
Copy link
Collaborator

Is there an Mbed board that has an ESP32 on it? One of the Renesas ones it seems like?

@chrissnow
Copy link
Author

Both GR-LCYHEE and GR-PEACH.
It's useful to anybody that wants to add Wi-Fi and ble to any target at very low cost also.

@multiplemonomials
Copy link
Collaborator

Might have to order one of those boards to run the wifi tests on it, unless you have one

@multiplemonomials
Copy link
Collaborator

@chrissnow would you be able to take a look at these CI failures? Also could you confirm whether you have a board with this chip on it to test on?

@chrissnow
Copy link
Author

@multiplemonomials it build OK so I wonder whey it's failing, can mbed.h not be included here?
I notice the ESP8266 driver includes various internal headers instead which may be the answer.

I don't have a Renesas board, but do have various ESP32 dev boards, we have one attached to a STM32 for testing.
You just need to flash the ESP-AT firmware and connect the UART, ideally with flow control!

I will tidy up and report back but it might be next week now.

@multiplemonomials
Copy link
Collaborator

multiplemonomials commented Sep 25, 2024

Yeah I think that things inside mbed os should include only the specific headers they need (e.g. NetworkInterface.h) rather than the top level mbed.h

@chrissnow
Copy link
Author

Not yet fully tested but issues should now be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants