Version 0.3.25. Larger partitions for the binary. Added UPGRADE.md with information for this upgrade.

Wed, 26 Jun 2024 18:57:03 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 26 Jun 2024 18:57:03 +0200
changeset 132
9fb33533504a
parent 128
64886971967b
child 133
bedd8103dc83

Version 0.3.25. Larger partitions for the binary. Added UPGRADE.md with information for this upgrade.

CMakeLists.txt file | annotate | diff | comparison | revisions
UPGRADE.md file | annotate | diff | comparison | revisions
partitions.csv file | annotate | diff | comparison | revisions
--- a/CMakeLists.txt	Mon Feb 19 15:07:28 2024 +0100
+++ b/CMakeLists.txt	Wed Jun 26 18:57:03 2024 +0200
@@ -2,7 +2,7 @@
 # in this exact order for cmake to work correctly
 cmake_minimum_required(VERSION 3.5)
 
-set(PROJECT_VER "0.3.24")
+set(PROJECT_VER "0.3.25")
 set(PROJECT_NAME "brewboard")
 
 include($ENV{IDF_PATH}/tools/cmake/project.cmake)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/UPGRADE.md	Wed Jun 26 18:57:03 2024 +0200
@@ -0,0 +1,51 @@
+# Brewboard upgrade partities.
+
+Na versie 0.3.24 zijn de partities vergroot. Dit is gedaan om ruimte te maken
+voor de IDF update naar versie 5.x en daarna de tft driver te kunnen wijzigen
+in een versie die universeler. is.
+
+De partities oud:
+
+Type,     SubType,       Offset,   Size,     Flags
+nvs,      data, nvs,     0x9000,   0x4000,
+otadata,  data, ota,     0xd000,   0x2000
+phy_init, data, phy,     0xf000,   0x1000,
+factory,  app,  factory, 0x10000,  1M,
+ota_0,    0,    ota_0,   0x110000, 1M,
+ota_1,    0,    ota_1,	 0x210000, 1M,
+storage,  data, spiffs,  0x310000, 0xf0000,
+
+De partities nieuw:
+
+Type,     SubType,       Offset,   Size,     Flags
+nvs,      data, nvs,     0x9000,   0x4000,
+otadata,  data, ota,     0xd000,   0x2000
+phy_init, data, phy,     0xf000,   0x1000,
+factory,  app,  factory, 0x10000,  0x120000,
+ota_0,    0,    ota_0,   0x130000, 0x120000,
+ota_1,    0,    ota_1,   0x250000, 0x120000,
+storage,  data, spiffs,  0x370000, 0x90000,
+
+Er is nu dus 128 Kb toegevoegd aan de ruimte voor de app binary. Hiervoor
+is 384 Kb ruimte afgesnoept van het interne filesysteem.
+
+#Upgrade procedure.
+
+De volgende procedure gebruiken voor een upgrade vanaf versie 0.3.24 naar
+versie 0.3.xx waarbij xx hoger dan 24 is. Ga nog niet naar een eventuele
+versie 0.4.xx, die is bestemd voor IDF 5.x
+
+* Via Tools->Bestanden->Backup een backup maken.
+* hg pull && hg update
+* idf.py fullclean
+* idf.py partition_table
+* idf.py build
+* idf.py -p /dev/ttyUSB0 erase_flash
+* idf.py -p /dev/ttyUSB0 partition_table-flash
+* idf.py -p /dev/ttyUSB0 flash
+* Systeem start op zonder WiFi! Doe alleen de calibratie.
+* Via Tools->Bestanden->Restore herstel de configuratie.
+* Systeem start nu met de oude configuratie.
+* Via Tools->Updates de web omgeving en fonts downloaden.
+
+
--- a/partitions.csv	Mon Feb 19 15:07:28 2024 +0100
+++ b/partitions.csv	Wed Jun 26 18:57:03 2024 +0200
@@ -3,7 +3,7 @@
 nvs,      data, nvs,     0x9000,  0x4000,
 otadata,  data, ota,     0xd000,  0x2000
 phy_init, data, phy,     0xf000,  0x1000,
-factory,  app,  factory, 0x10000, 1M,
-ota_0,    0,    ota_0,   0x110000, 1M,
-ota_1,    0,    ota_1,	 0x210000, 1M,
-storage,  data, spiffs,  0x310000, 0xf0000,
+factory,  app,  factory, 0x10000, 0x120000,
+ota_0,    0,    ota_0,   0x130000, 0x120000,
+ota_1,    0,    ota_1,	 0x250000, 0x120000,
+storage,  data, spiffs,  0x370000, 0x90000,

mercurial