meshcore.md
· 1.1 KiB · Markdown
Raw
Install PlatformIO
```
cd ~
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
python3 get-platformio.py
export PATH=$PATH:/home/linuxuser/.platformio/penv/bin
```
Clone repo
```
git clone https://github.com/meshcore-dev/MeshCore.git
```
Configure Wi-Fi Credentials
Edit the PlatformIO configuration for the Heltec V3 Wi-Fi build:
```
vi variants/heltec_v3/platformio.ini
```
Find the following section and update with your SSID and password:
```
[env:Heltec_v3_companion_radio_wifi]
extends = Heltec_lora32_v3
build_flags =
${Heltec_lora32_v3.build_flags}
-D MAX_CONTACTS=100
-D MAX_GROUP_CHANNELS=8
-D DISPLAY_CLASS=SSD1306Display
-D WIFI_DEBUG_LOGGING=1
-D WIFI_SSID="<<SSID>>"
-D WIFI_PWD="<<WIFI-PASS>>"
```
Build the Firmware
```
set FIRMWARE_VERSION=1.10.0
./build.sh build-firmware Heltec_v3_companion_radio_wifi
```
in `out` folder
```
Heltec_v3_companion_radio_wifi-1.10.0-9405e8b.bin - for e.g. upgrade
Heltec_v3_companion_radio_wifi-1.10.0-9405e8b-merged.bin - erase device
```
Install PlatformIO
cd ~
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
python3 get-platformio.py
export PATH=$PATH:/home/linuxuser/.platformio/penv/bin
Clone repo
git clone https://github.com/meshcore-dev/MeshCore.git
Configure Wi-Fi Credentials Edit the PlatformIO configuration for the Heltec V3 Wi-Fi build:
vi variants/heltec_v3/platformio.ini
Find the following section and update with your SSID and password:
[env:Heltec_v3_companion_radio_wifi]
extends = Heltec_lora32_v3
build_flags =
${Heltec_lora32_v3.build_flags}
-D MAX_CONTACTS=100
-D MAX_GROUP_CHANNELS=8
-D DISPLAY_CLASS=SSD1306Display
-D WIFI_DEBUG_LOGGING=1
-D WIFI_SSID="<<SSID>>"
-D WIFI_PWD="<<WIFI-PASS>>"
Build the Firmware
set FIRMWARE_VERSION=1.10.0
./build.sh build-firmware Heltec_v3_companion_radio_wifi
in out folder
Heltec_v3_companion_radio_wifi-1.10.0-9405e8b.bin - for e.g. upgrade
Heltec_v3_companion_radio_wifi-1.10.0-9405e8b-merged.bin - erase device