-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IEP-925 2.9.1 project combo is empty and launch can throw an exception #739
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hi @AndriiFilippov Please verify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@sigmaaa hi ! Tested: I am not able to build new empty project. create project -> name project and click "Finish' in first window -> build -> error I try to do "Project Clean" / "Full Project Clean" / "Python Clean" + delete build and sdk folders - but still get the error due to clang is default and I can't change it.
|
Hi @AndriiFilippov, thanks for noticing it. Fixed in the latest commit. PTAL @kolipakakondal, @alirana01. The problem was, that we provided toolchain file only once for idf configuration and the default getToolChain method sometimes gives the wrong toolchain. So it was necessary to override this method |
replaced ICDTLaunchConfigurationConstants.ATTR_TOOL_ARGUMENTS with correct arguments fields for UART and JTAG |
As confirmed @AndriiFilippov it's already verified with the latest changes, hence merging this pr. |
Description
to show all idf projects, we are checking if a project has an IDF project nature now and passing the active launch target if the default one is missing. Also, to fix the indexer stuck when closing a project, we are returning null in the getCBuildConfiguration method when active launch target is null to avoid exceptions.
Fixes # (IEP-925)
Type of change
How has this been tested?
Test 1 (Combo is empty test)
Test 2 (launch exception)
Test 3 (Indexer stuck on close and reopening the project)
Test Configuration:
Dependent components impacted by this PR:
Checklist