From d9605bc0ba14ea6316634005a1218dc5a1a27028 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 1 Jun 2022 13:56:46 +0300 Subject: [PATCH 1/3] Remove caching when parsing LD script --- builder/main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/builder/main.py b/builder/main.py index b301747..a94ba2b 100644 --- a/builder/main.py +++ b/builder/main.py @@ -14,7 +14,6 @@ # pylint: disable=redefined-outer-name -import functools import re import sys from os.path import join @@ -47,7 +46,6 @@ def _parse_size(value): return value -@functools.lru_cache def _parse_ld_sizes(ldscript_path): assert ldscript_path result = {} From d5f5da843d3c06c28171706251131321f675d04b Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 1 Jun 2022 14:01:36 +0300 Subject: [PATCH 2/3] Fix caching when parsing LD script --- builder/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builder/main.py b/builder/main.py index a94ba2b..fa32383 100644 --- a/builder/main.py +++ b/builder/main.py @@ -14,6 +14,7 @@ # pylint: disable=redefined-outer-name +import functools import re import sys from os.path import join @@ -46,6 +47,7 @@ def _parse_size(value): return value +@functools.lru_cache(maxsize=None) def _parse_ld_sizes(ldscript_path): assert ldscript_path result = {} From 95a2a009d266279513f0e7470d5b406d167fcd91 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 1 Jun 2022 14:03:46 +0300 Subject: [PATCH 3/3] Bump version to 4.0.1 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index d79dc00..9a006c3 100644 --- a/platform.json +++ b/platform.json @@ -17,7 +17,7 @@ "type": "git", "url": "https://github.com/platformio/platform-espressif8266.git" }, - "version": "4.0.0", + "version": "4.0.1", "frameworks": { "arduino": { "package": "framework-arduinoespressif8266",