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
Copy file name to clipboardExpand all lines: esp_hosted_fg/docs/Linux_based_host/Getting_started.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@ Wi-Fi can be configured as either as `STATION` mode or `SOFTAP` mode or `STATION
33
33
- C based solution also could be used from [C based demo app](../common/c_demo.md). For simplicity,
34
34
35
35
36
-
Python App is placed in [host/linux/host_control/python_support/](../../host/linux/host_control/python_support/) directory. Use below command to navigate to this directory.
36
+
Python App is placed in [esp_hosted_fg/host/linux/host_control/python_support/](../../host/linux/host_control/python_support/) directory. Use below command to navigate to this directory.
* Download pre-built ESP-Hosted firmware release binaries from [releases](https://github.com/espressif/esp-hosted/releases)
60
-
63
+
* Please use the exact same git commit for ESP flashing using source code.
61
64
62
65
### 1.3 Setup
63
66
@@ -70,7 +73,7 @@ Prepare connections based on interface requirements and setup host as below.
70
73
* Prepare Raspberry-Pi as per section [1.2 Raspberry-Pi Software Setup](SDIO_setup.md#12-raspberry-pi-software-setup) of [SDIO setup document](SDIO_setup.md)
71
74
* Compile and load host driver as below:
72
75
```sh
73
-
$ cd host/linux/host_control/
76
+
$ cd esp_hosted_fg/host/linux/host_control/
74
77
$ ./rpi_init.sh sdio
75
78
```
76
79
***Wi-Fi and Bluetooth over SPI**
@@ -80,7 +83,7 @@ Prepare connections based on interface requirements and setup host as below.
80
83
* Prepare Raspberry-Pi as per [1.2 Raspberry-Pi Software Setup](SPI_setup.md#12-raspberry-pi-software-setup) of [SPI Setup document](SPI_setup.md)
81
84
* Compile and load host driver as below:
82
85
```sh
83
-
$ cd host/linux/host_control/
86
+
$ cd esp_hosted_fg/host/linux/host_control/
84
87
$ ./rpi_init.sh spi
85
88
```
86
89
***Wi-Fi over SDIO and Bluetooth over UART**
@@ -92,7 +95,7 @@ Prepare connections based on interface requirements and setup host as below.
92
95
* Prepare Raspberry-Pi for UART operations as per section [1.2 Raspberry-Pi Software Setup](UART_setup.md#12-raspberry-pi-software-setup) of [UART setup document](UART_setup.md)
93
96
* Compile and load host driver as below:
94
97
```sh
95
-
$ cd host/linux/host_control/
98
+
$ cd esp_hosted_fg/host/linux/host_control/
96
99
$ ./rpi_init.sh sdio btuart
97
100
```
98
101
* After loading ESP firmware, execute below command to create `hci0` interface
@@ -108,7 +111,7 @@ Prepare connections based on interface requirements and setup host as below.
108
111
* Prepare Raspberry-Pi for UART operations as per section [1.2 Raspberry-Pi Software Setup](UART_setup.md#12-raspberry-pi-software-setup) of [UART setup document](UART_setup.md)
109
112
* Compile and load host driver as below:
110
113
```sh
111
-
$ cd host/linux/host_control/
114
+
$ cd esp_hosted_fg/host/linux/host_control/
112
115
$ ./rpi_init.sh spi btuart
113
116
```
114
117
* After loading ESP firmware, execute below command to create `hci0` interface
@@ -117,21 +120,9 @@ Prepare connections based on interface requirements and setup host as below.
* Download pre-built firmware binaries from [releases](https://github.com/espressif/esp-hosted/releases)
124
+
* Follow `readme.txt` from release tarball to flash the ESP binary
125
+
*:warning: Make sure that you use `Source code (zip)` in `Assets` fold with associated release for host building.
135
126
136
127
#### 1.3.2 Setup Validation
137
128
Once everything is setup and host software and ESP firmware are loaded
@@ -204,6 +195,7 @@ This section identifies Raspberry-Pi specific setup requirements.
204
195
:warning:`Note: ESP-IDF is needed to compile ESP-Hosted firmware source. Skip this step if you are planning to use pre-built release binaries.`
205
196
206
197
- Clone the ESP-IDF [release/v5.0](https://github.com/espressif/esp-idf/tree/release/v5.0) and git checkout to `release/v5.0` branch.
198
+
-[Set-up the ESP-IDF](https://docs.espressif.com/projects/esp-idf/en/release-v5.0/esp32/get-started/index.html)
207
199
- The control path between MCU host and ESP peripheral is based on `protobuf`. For that, corresponding stack layer, `protocomm` from ESP-IDF is used. It will be already present in ESP-IDF, no extra setup required for that.
Copy file name to clipboardExpand all lines: esp_hosted_fg/docs/Linux_based_host/SDIO_setup.md
+8-20
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Please reboot Raspberry-Pi after changing this file.
32
32
### 2.1 Host Software
33
33
* Execute following commands in root directory of cloned ESP-Hosted repository on Raspberry-Pi
34
34
```sh
35
-
$ cd host/linux/host_control/
35
+
$ cdesp_hosted_fg/host/linux/host_control/
36
36
$ ./rpi_init.sh sdio
37
37
```
38
38
* This script compiles and loads host driver on Raspberry-Pi. It also creates virtual serial interface `/dev/esps0` which is used as a control interface for Wi-Fi on ESP peripheral
@@ -42,31 +42,19 @@ One can load pre-built release binaries on ESP peripheral or compile those from
42
42
43
43
#### 2.2.1 Load Pre-built Release Binaries
44
44
* Download pre-built firmware binaries from [releases](https://github.com/espressif/esp-hosted/releases)
45
-
* Linux users can run below command to flash these binaries. Edit <serial_port> with ESP peripheral's serial port.
Copy file name to clipboardExpand all lines: esp_hosted_fg/docs/Linux_based_host/SPI_setup.md
+8-90
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ Please reboot Raspberry-Pi after changing this file.
105
105
### 2.1 Host Software
106
106
* Execute following commands in root directory of cloned ESP-Hosted repository on Raspberry-Pi
107
107
```sh
108
-
$ cd host/linux/host_control/
108
+
$ cdesp_hosted_fg/host/linux/host_control/
109
109
$ ./rpi_init.sh spi
110
110
```
111
111
* This script compiles and loads host driver on Raspberry-Pi. It also creates virtual serial interface `/dev/esps0` which is used as a control interface for Wi-Fi on ESP peripheral
@@ -115,100 +115,18 @@ One can load pre-built release binaries on ESP peripheral or compile those from
115
115
116
116
#### 2.2.1 Load Pre-built Release Binaries
117
117
* Download pre-built firmware binaries from [releases](https://github.com/espressif/esp-hosted/releases)
118
-
* Linux users can run below command to flash these binaries.
0 commit comments