From fa2083e54285f4e46d4a9b33f3781dec8f79b1ea Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Fri, 12 Jun 2020 15:40:22 +0300 Subject: [PATCH 1/4] Update menuconfig target according to the latest API --- builder/frameworks/espidf.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/builder/frameworks/espidf.py b/builder/frameworks/espidf.py index e240812..d2ed9a2 100644 --- a/builder/frameworks/espidf.py +++ b/builder/frameworks/espidf.py @@ -925,11 +925,8 @@ env.Depends("$BUILD_DIR/$PROGNAME$PROGSUFFIX", build_bootloader()) # Target: ESP-IDF menuconfig # -AlwaysBuild( - env.Alias( - "menuconfig", None, [env.VerboseAction(RunMenuconfig, "Running menuconfig...")] - ) -) +env.AddPlatformTarget("menuconfig", None, [env.VerboseAction( + RunMenuconfig, "Running menuconfig...")], "Run Menuconfig") # # Process main parts of the framework From 6d85d3b29b236fe9d7bf286285ec3b24a0997364 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Fri, 12 Jun 2020 15:51:21 +0300 Subject: [PATCH 2/4] Set default value for flash_size field // Resolve #364 --- builder/frameworks/espidf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/frameworks/espidf.py b/builder/frameworks/espidf.py index d2ed9a2..d969719 100644 --- a/builder/frameworks/espidf.py +++ b/builder/frameworks/espidf.py @@ -808,7 +808,7 @@ partition_table = env.Command( '"$PYTHONEXE" "%s" -q --flash-size "%s" $SOURCE $TARGET' % ( join(FRAMEWORK_DIR, "components", "partition_table", "gen_esp32part.py"), - board.get("upload.flash_size", "detect"), + board.get("upload.flash_size", "4MB"), ), "Generating partitions $TARGET", ), From 5ef8da24c756ee9f8b7c1718c1f023cb2ef9b3ec Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Tue, 16 Jun 2020 23:47:05 +0300 Subject: [PATCH 3/4] Extend framework descriptions --- platform.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/platform.json b/platform.json index 14626de..c074a3b 100644 --- a/platform.json +++ b/platform.json @@ -26,15 +26,24 @@ }, "espidf": { "package": "framework-espidf", - "script": "builder/frameworks/espidf.py" + "script": "builder/frameworks/espidf.py", + "description": "ESP-IDF is the official development framework for the ESP32 and ESP32-S Series SoCs.", + "url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32/", + "title": "Espressif IoT Development Framework" }, "simba": { "package": "framework-simba", - "script": "builder/frameworks/simba.py" + "script": "builder/frameworks/simba.py", + "description": "Simba is an RTOS and build framework with aims to make embedded programming easy and portable", + "url": "http://simba-os.readthedocs.org", + "title": "Simba" }, "pumbaa": { "package": "framework-pumbaa", - "script": "builder/frameworks/pumbaa.py" + "script": "builder/frameworks/pumbaa.py", + "description": "Pumbaa is Python on top of Simba. The implementation is a port of MicroPython, designed for embedded devices with limited amount of RAM and code memory", + "url": "http://pumbaa.readthedocs.org/", + "title": "Pumbaa" } }, "packages": { From 40591c38f61ed4189d2912a7b4e7aa8bbe09ef1d Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Wed, 17 Jun 2020 11:27:45 +0300 Subject: [PATCH 4/4] Bump version to 1.12.4 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index c074a3b..24fa9d5 100644 --- a/platform.json +++ b/platform.json @@ -12,7 +12,7 @@ "type": "git", "url": "https://github.com/platformio/platform-espressif32.git" }, - "version": "1.12.3", + "version": "1.12.4", "packageRepositories": [ "https://dl.bintray.com/platformio/dl-packages/manifest.json", "http://dl.platformio.org/packages/manifest.json",