mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 10:05:56 +01:00
refactor: removed "flash pybytes library" docs page
obsolete functionality..
This commit is contained in:
@@ -1160,19 +1160,12 @@ theme = "doc-theme"
|
||||
weight = 20
|
||||
|
||||
[[menu.main]]
|
||||
name = "Connect to Pybytes: Quick Add"
|
||||
name = "Provisioning via USB"
|
||||
url = "/pybytes/connect/quick/"
|
||||
identifier = "pybytes@connect@quick"
|
||||
parent = "pybytes@connect"
|
||||
weight = 10
|
||||
|
||||
[[menu.main]]
|
||||
name = "Connect to Pybytes: Flash Pybytes library manually"
|
||||
url = "/pybytes/connect/flash/"
|
||||
identifier = "pybytes@connect@flash"
|
||||
parent = "pybytes@connect"
|
||||
weight = 20
|
||||
|
||||
[[menu.main]]
|
||||
name = "Add Sigfox device"
|
||||
url = "/pybytes/connect/sigfox/"
|
||||
|
||||
@@ -4,7 +4,7 @@ aliases:
|
||||
- pybytes/introduction
|
||||
---
|
||||
|
||||
[](https://pybytes.pycom.io/?utm_source=docs&utm_medium=web&utm_campaign=pybytes-introduction)
|
||||

|
||||
|
||||
## What is Pybytes?
|
||||
|
||||
|
||||
@@ -32,8 +32,6 @@ At the end of the "Add Device" wizard, Pybytes will show that your device profil
|
||||
|
||||

|
||||
|
||||
Select how you would like to connect your device to Pybytes:
|
||||
|
||||
1. **[Connect your device quickly](quick) (Recommended)**
|
||||
|
||||
2. [Connect your device by flashing Pybytes Library](flash) (only if you want to customize Pybytes library code).
|
||||
## Next step
|
||||
[Provision your device via USB](quick)
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
---
|
||||
title: "Flash Pybytes-library (advanced)"
|
||||
aliases:
|
||||
- pybytes/connect/flash.html
|
||||
- pybytes/connect/flash.md
|
||||
- chapter/pybytes/connect/flash
|
||||
---
|
||||
|
||||
In this section, we will explain to you how to connect your device to Pybytes by flashing the Pybytes library.
|
||||
Use this, if you want to have full control over the Pybytes library on your device.
|
||||
|
||||
{{% hint style="info" %}}
|
||||
Pybytes firmware already contains [Pybytes library](https://github.com/pycom/pycom-micropython-sigfox/tree/pybytes-master/esp32/frozen/Base). That means that you can [add your device quickly](../quick) without the need of flashing Pybytes library.
|
||||
{{% /hint %}}
|
||||
|
||||
### Step 1: Flash stable firmware to your device with Pycom firmware updater tool
|
||||
1. Open Pycom firmware updater tool
|
||||
2. Select a stable firmware
|
||||
3. Click on continue
|
||||
|
||||
Here's more information about [firmware updates](/gettingstarted/installation/firmwaretool).
|
||||
|
||||
### Step 2: Download your Pybytes Library
|
||||
|
||||
You can download _Pybytes library_ at the device's settings page:
|
||||
|
||||
2. Navigate to your device in Pybytes;
|
||||
|
||||
3. Click on the settings tab;
|
||||
|
||||
4. Click on the _Download_ button at Pybytes library section;
|
||||
|
||||

|
||||
|
||||
### Step 3. Flash your device with Pymakr
|
||||
|
||||
{{% hint style="info" %}}
|
||||
In case you haven't installed Pymakr plugin, follow [these instructions](/pymakr/installation/atom).
|
||||
We recommend to install Pymakr in Atom.
|
||||
{{% /hint %}}
|
||||
|
||||
1. Connect your device to the computer with a USB cable.
|
||||
2. Open zip archive of Pybytes library and extract a containing folder.
|
||||
3. Check your `flash/pybytes_config.json` file. It should be pre-filled with your Pybytes credentials (deviceToken, WiFi credentials, ...)
|
||||
3. Open Pybytes library folder as a project folder in Atom.
|
||||
4. Click on the Connect button in Pymakr. Pymakr should connect to your device.
|
||||
7. Upload code to your device by clicking on the _Upload_ button in Pymakr.
|
||||
|
||||
After all the Pybytes library files are uploaded to your device, the device will restart and connect to Pybytes.
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: "Connect the device to Pybytes"
|
||||
title: "Provisioning via USB"
|
||||
aliases:
|
||||
- pybytes/connect/quick.html
|
||||
- pybytes/connect/quick.md
|
||||
|
||||
Reference in New Issue
Block a user