Merge pull request #935 from rcarteraz/add-esptool-callout-to-linux

Add esptool call out to linux
This commit is contained in:
rcarteraz 2024-01-21 00:04:29 -07:00 committed by GitHub
commit 196fa374f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,9 @@ The [T-Beam 0.7](/docs/hardware/devices/tbeam#t-beam---v07) board is an earlier
::: :::
## Command Line Interface Instructions ## Command Line Interface Instructions
### Install Prerequisite Software ### Install Prerequisite Software
<Tabs <Tabs
groupId="operating-system" groupId="operating-system"
defaultValue="linux" defaultValue="linux"
@ -33,7 +35,6 @@ values={[
]}> ]}>
<TabItem value="linux"> <TabItem value="linux">
Check if you have `python3` and `pip` installed with the following command Check if you have `python3` and `pip` installed with the following command
```shell ```shell
@ -57,8 +58,6 @@ sudo apt-get install python3-pip
</TabItem> </TabItem>
<TabItem value="macos"> <TabItem value="macos">
OS X comes with `Python 2.7` installed, but not `pip`. The following uses Homebrew to install `python3` which includes `pip3`. On MacOS you will use `pip3` instead > of `pip`. OS X comes with `Python 2.7` installed, but not `pip`. The following uses Homebrew to install `python3` which includes `pip3`. On MacOS you will use `pip3` instead > of `pip`.
:::note :::note
@ -110,7 +109,6 @@ pip --version
::: :::
</TabItem> </TabItem>
</Tabs> </Tabs>
@ -120,7 +118,6 @@ pip --version
pip3 install --upgrade esptool pip3 install --upgrade esptool
``` ```
### Confirm Communication With Chip ### Confirm Communication With Chip
<Tabs <Tabs
@ -131,7 +128,13 @@ values={[
{label: 'macOS', value: 'macos'}, {label: 'macOS', value: 'macos'},
{label: 'Windows', value: 'windows'}, {label: 'Windows', value: 'windows'},
]}> ]}>
<TabItem value="linux"></TabItem> <TabItem value="linux">
:::important
On Linux, you may need to explicitly declare esptool as a .py script. Use `esptool.py chip_id`.
:::
</TabItem>
<TabItem value="macos"> <TabItem value="macos">
:::important :::important
@ -244,7 +247,6 @@ device-update.bat -f firmware-BOARD-VERSION.bin
</TabItem> </TabItem>
</Tabs> </Tabs>
## Connect and Configure Device ## Connect and Configure Device
After flashing the Meshtastic firmware to the device, you can proceed with the initial configuration. After flashing the Meshtastic firmware to the device, you can proceed with the initial configuration.