Skip to content

eim_idf.json not updated when using eim command line with -i option (EIM-645) #619

@gerritv

Description

@gerritv

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

I have 2 existing esp-idf versions that were install using the gui EIM. I need to also install v6.0-rc1, so:
./eim wizard -i v6.0-rc1 ( or ./eim install -i v6.0-rc1)

The correct idf version gets installed in the correct directories but Espressif/tools/eim_idf.json doesn't get updated so can use the version in VSCode.

Actual behavior (suspected bug)

eim_idf.json only contains the version installed using the GUI, the version installed using the CLI is missing.

Error logs or terminal output

Steps to reproduce the behavior

run ./eim wizard -i v6.0-rc1 on a system with one or more esp-idf versions that were instat using the GUI verion
observe that Espressive/tools/eim_idf.json does not contain the rc1 version

Project release version

eim 0.10.3

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

windos 11 25h2

Shell

CMD

Additional context

I checked the logs, there is no attemp to look at or edit eim_idf.json, which is why I didn't include the logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions