From ca2cae696acaf643ff1a0eb5082b133e7d3b0ad5 Mon Sep 17 00:00:00 2001 From: mitchbear Date: Wed, 9 Dec 2020 20:17:27 -0800 Subject: [PATCH 1/2] Expand the nvs partition to allow more stations Replace the SPIFFS partition with the nvs partition to create a giant nvs partition which will allow more stations and bigger descriptions. Keep the old nvs table where it is as the built-in tables following it are at specific offset positions. The new table is as follows: # ESP-IDF Partition Table # Name Type SubType Offset Size Flags dummy data nvs 0x9000 20K otadata data ota 0xe000 8K app0 app ota_0 0x10000 1280K app1 app ota_1 0x150000 1280K nvs data nvs 0x290000 1472K --- bin/Esp32_radio.ino.partitions.bin | Bin 3072 -> 3072 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/bin/Esp32_radio.ino.partitions.bin b/bin/Esp32_radio.ino.partitions.bin index eabbf0cb455c430b77e8d5b5675030b1a6feff77..62083b527d57abf40e3cf1888213bfc003e54f00 100644 GIT binary patch delta 93 zcmZpWXpj(G6~M^EFoA)AA%KA)r8GCUa-v|7EfWKSCQwM6A+M|$NTY(+um7U}p)bph YSFjrD1@3<+waxF;=Zy#Lxf%Zh0L3aI)Bpeg delta 93 zcmZpWXpj(G6~M^EFoA)AA%KA)udJAXVWMD>?Mwy+O$G)528Ptsf};Ffpezyq>S$sR Z0Lp(5V<;}jOiKf5LIxWT+H*7h2LLsb5hMTr From d38a23722fd0eef5c691287357455730c24cd6fc Mon Sep 17 00:00:00 2001 From: mitchbear Date: Fri, 11 Dec 2020 10:40:02 -0800 Subject: [PATCH 2/2] Encoder preset needs to allow more than 128 stations Change enc_preset type to allow more than 128 stations to be allowed to be selected from the rotary encoder. --- Esp32_radio/Esp32_radio.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Esp32_radio/Esp32_radio.ino b/Esp32_radio/Esp32_radio.ino index 1cbe3aa..5ef2f55 100644 --- a/Esp32_radio/Esp32_radio.ino +++ b/Esp32_radio/Esp32_radio.ino @@ -3983,7 +3983,7 @@ String getFSfilename ( String &nodeID ) //************************************************************************************************** void chk_enc() { - static int8_t enc_preset ; // Selected preset + static int16_t enc_preset ; // Selected preset static String enc_nodeID ; // Node of selected track static String enc_filename ; // Filename of selected track String tmp ; // Temporary string