You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This branch, `feature/esp_as_mcu_host` is dedicated for any host as MCU support. If you are interested in Linux as host, please refer to [`master`](https://github.com/espressif/esp-hosted/blob/master) branch.
17
17
@@ -49,6 +49,9 @@ Impatient to test? We've got you covered!
49
49
The [ESP32-P4-Function-EV-Board](https://www.espressif.com/en/products/socs/esp32-p4) can be used as a host MCU with an on-board [ESP32-C6](https://www.espressif.com/en/products/socs/esp32-c6) as co-processor, already connected via SDIO as transport.
50
50
Prerequisite: You need to have an ESP32-P4-Function-EV-Board`
51
51
52
+
> [!NOTE]
53
+
> If you have already set up ESP-IDF (version 5.3 or later), you can skip to [5 Source Code and Dependencies](#5-source-code-and-dependencies).
54
+
52
55
### 4.1 Set-Up ESP-IDF
53
56
54
57
- Windows
@@ -99,7 +102,6 @@ ESP-Hosted-MCU Solution is dependent on `ESP-IDF`, `esp_wifi_remote` and `protob
99
102
-[`esp_wifi_remote`](https://components.espressif.com/components/espressif/esp_wifi_remote) i.e. 'Wi-Fi Remote' is very thin interface made up of ESP-IDF Wi-Fi APIs with empty weak definitions. Real definitions for these APIs are provided by ESP-Hosted-MCU
100
103
- Wi-Fi Remote Code can be found at either [GitHub Repo](https://github.com/espressif/esp-protocols/tree/master/components/esp_wifi_remote) or [Espressif Registry Component](https://components.espressif.com/components/espressif/esp_wifi_remote)
101
104
102
-
103
105
###### Protobuf
104
106
-[`protobuf-c`](https://github.com/protobuf-c/protobuf-c) is data serialization framework provided by Google. RPC messages communicated in host and slave are protobuf encoded.
105
107
- It helps to avoid manual serialization or endien-ness conversion.
@@ -119,7 +121,6 @@ ESP-Hosted-MCU Solution is dependent on `ESP-IDF`, `esp_wifi_remote` and `protob
119
121
- These events terminate in standard ESP-IDF event loop on the host
120
122
- Please note, Only RPC i.e. control packets are serialised. Data Packets are never serialised as they do not need endien conversion.
121
123
122
-
123
124
## 6 Decide the communication bus in between host and slave
124
125
125
126
The communication bus is required to be setup correctly between host and slave.
@@ -218,7 +219,7 @@ Once you decided the transport to use, this section should guide how to set this
218
219
219
220
> [!IMPORTANT]
220
221
>
221
-
> [Design Considerations](docs/design_consideration.md) that could be reffered to, before you stick to any transport option. Referring to these consideration would help to get you faster to solution, make your design stable and less error-prone.
222
+
> [Design Considerations](https://github.com/espressif/esp-hosted/blob/feature/esp_as_mcu_host/docs/design_consideration.md) that could be reffered to, before you stick to any transport option. Referring to these consideration would help to get you faster to solution, make your design stable and less error-prone.
222
223
223
224
224
225
Irrespective of transport chosen, following steps are needed, which are step-wise explained in each transport.
@@ -235,24 +236,24 @@ Irrespective of transport chosen, following steps are needed, which are step-wis
-[**UART for Wi-Fi and Bluetooth**](https://github.com/espressif/esp-hosted/blob/feature/esp_as_mcu_host/docs/uart.md)
245
246
246
247
## 9 Examples
247
-
Check [examples](./examples) directory for sample applications using ESP-Hosted.
248
+
Check [examples](https://github.com/espressif/esp-hosted/blob/feature/esp_as_mcu_host/examples) directory for sample applications using ESP-Hosted.
248
249
-`examples/bleprph_host_only_vhci`
249
250
- Bluetooth without needing extra GPIOs
250
251
251
252
## 10 Troubleshooting
252
253
253
254
If you encounter issues with using ESP-Hosted, see the following guide:
0 commit comments