From ce735c0ae5200585e0571f65aad1dc90dafed420 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 14 Aug 2023 10:59:43 +0300 Subject: [PATCH 1/8] Sync docs --- docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs b/docs index 295991a9..6b2af96f 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 295991a9c228ab9b1509fbaf41c30d4df7fec553 +Subproject commit 6b2af96f74d1c99f934a6975d9c26a4325abd172 From 5cfaea91d6a5838833bdd666f9d0eab0680ff074 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 14 Aug 2023 11:45:31 +0300 Subject: [PATCH 2/8] Docs: Update docs to use `curl` or `wget` on Unix when installing PlatformIO Core --- docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs b/docs index 6b2af96f..eca1ad52 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 6b2af96f74d1c99f934a6975d9c26a4325abd172 +Subproject commit eca1ad5259b39553bbbab4d7c71902089fd9a87e From 6972c9c1006b0a97d9e972af8c1b5c2973d78692 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 14 Aug 2023 13:05:30 +0300 Subject: [PATCH 3/8] Sync docs --- docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs b/docs index eca1ad52..a39c5ed3 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit eca1ad5259b39553bbbab4d7c71902089fd9a87e +Subproject commit a39c5ed3ee19b2c96c36f4dafa4a46b9d8faab44 From 7e89e551ae1f0853f6a2dcbc01b2e400c5a1b155 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 14 Aug 2023 14:04:09 +0300 Subject: [PATCH 4/8] Sync docs --- docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs b/docs index a39c5ed3..051ad34a 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit a39c5ed3ee19b2c96c36f4dafa4a46b9d8faab44 +Subproject commit 051ad34aa475b63bdb5db0f21999e778ee762d8d From 2ee8214485348685d26ea44e68ba0086ad942252 Mon Sep 17 00:00:00 2001 From: valeros Date: Mon, 14 Aug 2023 15:57:00 +0300 Subject: [PATCH 5/8] Use CC location for resolving toolchain path in VSCode template VSCode uses the "packagetoolchainBinDir" option to find the objdump binary and if GDB is shipped separately from the toolchain package then VSCode will fail to launch a debug session due to missing objdump --- HISTORY.rst | 2 ++ .../project/integration/tpls/vscode/.vscode/launch.json.tpl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 39257203..d97b9b9e 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -20,6 +20,8 @@ test-driven methodologies, and modern toolchains for unrivaled success. 6.1.11 (2023-??-??) ~~~~~~~~~~~~~~~~~~~ +* Resolved a possible issue that may cause generated projects for `PlatformIO IDE for VSCode `__ to fail to launch a debug session because of a missing objdump binary when GDB is not part of the toolchain package + 6.1.10 (2023-08-11) ~~~~~~~~~~~~~~~~~~~ diff --git a/platformio/project/integration/tpls/vscode/.vscode/launch.json.tpl b/platformio/project/integration/tpls/vscode/.vscode/launch.json.tpl index c419d27e..4bd188d2 100644 --- a/platformio/project/integration/tpls/vscode/.vscode/launch.json.tpl +++ b/platformio/project/integration/tpls/vscode/.vscode/launch.json.tpl @@ -17,7 +17,7 @@ % "name": "PIO Debug (skip Pre-Debug)", % "executable": _escape_path(prog_path), % "projectEnvName": env_name if forced_env_name else default_debug_env_name, -% "toolchainBinDir": _escape_path(os.path.dirname(gdb_path)), +% "toolchainBinDir": _escape_path(os.path.dirname(cc_path)), % "internalConsoleOptions": "openOnSessionStart", % } % From c94661301935fb85575f3d85c44f1615043a120c Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 14 Aug 2023 16:18:28 +0300 Subject: [PATCH 6/8] Improve docs for the Installer Script --- docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs b/docs index 051ad34a..8a54fd24 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 051ad34aa475b63bdb5db0f21999e778ee762d8d +Subproject commit 8a54fd24151d43c0b1c787bd6aea692101c5066e From a0f8def61682b576ed65f764e3a633df7d74e548 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 14 Aug 2023 19:02:58 +0300 Subject: [PATCH 7/8] Resolved a regression issue with Memory Inspection in PIO Home --- HISTORY.rst | 3 ++- platformio/home/rpc/handlers/project.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index d97b9b9e..251c7b80 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -20,7 +20,8 @@ test-driven methodologies, and modern toolchains for unrivaled success. 6.1.11 (2023-??-??) ~~~~~~~~~~~~~~~~~~~ -* Resolved a possible issue that may cause generated projects for `PlatformIO IDE for VSCode `__ to fail to launch a debug session because of a missing objdump binary when GDB is not part of the toolchain package +* Resolved a possible issue that may cause generated projects for `PlatformIO IDE for VSCode `__ to fail to launch a debug session because of a missing "objdump" binary when GDB is not part of the toolchain package +* Resolved a regression issue that resulted in the malfunction of the Memory Inspection feature within `PIO Home `__ 6.1.10 (2023-08-11) ~~~~~~~~~~~~~~~~~~~ diff --git a/platformio/home/rpc/handlers/project.py b/platformio/home/rpc/handlers/project.py index 90b3ab78..2c03a7c9 100644 --- a/platformio/home/rpc/handlers/project.py +++ b/platformio/home/rpc/handlers/project.py @@ -42,9 +42,9 @@ class ProjectRPC(BaseRPCHandler): project_dir = init_kwargs["path"] init_kwargs["path"] = os.path.join(init_kwargs["path"], "platformio.ini") elif os.path.isfile(init_kwargs["path"]): - project_dir = get_project_dir() - else: project_dir = os.path.dirname(init_kwargs["path"]) + else: + project_dir = get_project_dir() with fs.cd(project_dir): return getattr(ProjectConfig(**init_kwargs), method)(*args) From b75bdbd320bd807e6a58535a22b14d31cf4386b1 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 14 Aug 2023 19:03:19 +0300 Subject: [PATCH 8/8] Bump version to 6.1.11a2 --- platformio/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/__init__.py b/platformio/__init__.py index 40edef05..4a563660 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -VERSION = (6, 1, "11a1") +VERSION = (6, 1, "11a2") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio"