kopia lustrzana https://github.com/micropython/micropython
90023b4dcf
The machine_i2c_type, machine_spi_type and machine_timer_type symbols are already declared in extmod/modmachine.h and should not be declared anywhere else. Also move declarations of machine_pin_type and machine_rtc_type to the common header in extmod. Signed-off-by: Damien George <damien@micropython.org> |
||
---|---|---|
.. | ||
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