micropython/drivers/esp-hosted
..
README.md
esp_hosted.proto
esp_hosted_bthci.c
esp_hosted_hal.c
esp_hosted_hal.h
esp_hosted_internal.h
esp_hosted_netif.c
esp_hosted_netif.h
esp_hosted_stack.h
esp_hosted_wifi.c
esp_hosted_wifi.h

README.md

esp-hosted driver

This is a MicroPython driver for the Espressif esp_hosted communications coprocessor, which allows creating a Wi-Fi and/or Bluetooth interface from MicroPython to a separate connected ESP32 compatible device running the esp_hosted firmware.

Building

Enable this driver by setting MICROPY_PY_NETWORK_ESP_HOSTED to 1 in your Makefile. If MICROPY_PY_BLUETOOTH is set then the Bluetooth host driver will also be built.

In addition to normal MicroPython build requirements, building this driver requires the protocol buffer compiler (protoc) to be installed.

On Debian/Ubuntu, it can be installed by running:

sudo apt-get install protobuf-compiler