I have trouble adding ESP32 module to an nRF52840 based system. What I’m trying to do is adding the ESP32 module as a network interface to mbed and communicate via WiFi. The ESP is connected via UART connection.
As a build target I use NRF52840_DK and I can build and run firmware on it. However, I don’t get the ESP32 module working.
What I did so far:
Added esp32-driver library (GitHub - ARMmbed/esp32-driver) to project. From the build output I can see that the library is compiled.
I configured esp32-driver library for my build target in mbed_lib.json to assign the ESP32 pins to the correct pins on nRF52840 in the “target_overrides” block.
I added “target.components_add” : [“esp32”] to my target in the “target_overrides” block in mbed_app.json
However, I always get the following message in debug output: Error! No network interface found.
Does anybody have any clue how to debug what’s going wrong here?
I’m pretty new to mbed OS and chances are that I’m missing something fundamentally.