From 2c933e5a42eff077e01532020325fb59df5866f0 Mon Sep 17 00:00:00 2001
From: TD-er
Date: Fri, 7 Jan 2022 00:03:13 +0100
Subject: [PATCH] [ESP32 factory] Change -factory.bin to .factory.bin
---
dist/README.txt | 6 +++---
docs/source/Participate/ProjectStructure.rst | 6 +++---
tools/create_index.sh | 22 ++++++++++----------
tools/pio/copy_files.py | 8 +++----
tools/pio/post_esp32.py | 2 +-
5 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/dist/README.txt b/dist/README.txt
index 9405875f0..5b6622405 100644
--- a/dist/README.txt
+++ b/dist/README.txt
@@ -73,12 +73,12 @@ Ethernet support is included in similar builds as mentioned before, only ending
Since ESP32 does have its flash partitioned in several blocks, we have 2 bin files of each ESP32 build:
- test_ESP32_4M316k.bin
-- test_ESP32_4M316k-factory.bin
+- test_ESP32_4M316k.factory.bin
-The binary with "-factory" in the name must be flashed on a new node, via the serial interface of the board.
+The binary with ".factory" in the name must be flashed on a new node, via the serial interface of the board.
This flash must be started at address 0.
-The binary without "-factory" can be used for OTA updates. (OTA for ESP32 is added in May 2020)
+The binary without ".factory" can be used for OTA updates. (OTA for ESP32 is added in May 2020)
Please note that changing between those versions will destroy the settings!
diff --git a/docs/source/Participate/ProjectStructure.rst b/docs/source/Participate/ProjectStructure.rst
index 960aab774..db4fcd446 100644
--- a/docs/source/Participate/ProjectStructure.rst
+++ b/docs/source/Participate/ProjectStructure.rst
@@ -189,12 +189,12 @@ There are several builds for ESP32:
Since ESP32 does have its flash partitioned in several blocks, we have 2 bin files of each ESP32 build, f.e.:
* ``test_D_ESP32_4M316k.bin`` Use for OTA upgrades.
-* ``test_D_ESP32_4M316k-factory.bin`` Use on clean nodes as initial inistall.
+* ``test_D_ESP32_4M316k.factory.bin`` Use on clean nodes as initial inistall.
-The binary with ``-factory`` in the name must be flashed on a new node, via the serial interface of the board.
+The binary with ``.factory`` in the name must be flashed on a new node, via the serial interface of the board.
This flash must be started at address 0.
-The binary without ``-factory`` can be used for OTA updates. (OTA for ESP32 is added in May 2020)
+The binary without ``.factory`` can be used for OTA updates. (OTA for ESP32 is added in May 2020)
Blank Images
diff --git a/tools/create_index.sh b/tools/create_index.sh
index 8e430f29a..82283d38b 100644
--- a/tools/create_index.sh
+++ b/tools/create_index.sh
@@ -65,47 +65,47 @@ echo "