Skip to content

Commit

Permalink
Resolved a regression issue with Memory Inspection in PIO Home
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Aug 14, 2023
1 parent c946613 commit a0f8def
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://docs.platformio.org/en/latest/integration/ide/vscode.html>`__ 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 <https://docs.platformio.org/en/latest/integration/ide/vscode.html>`__ 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 <https://docs.platformio.org/en/latest/home/index.html>`__

6.1.10 (2023-08-11)
~~~~~~~~~~~~~~~~~~~
Expand Down
4 changes: 2 additions & 2 deletions platformio/home/rpc/handlers/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def config_call(init_kwargs, method, *args):
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)

Expand Down

0 comments on commit a0f8def

Please sign in to comment.