Skip to content
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

installing problem #1

Closed
tvfklms opened this issue Nov 30, 2017 · 7 comments
Closed

installing problem #1

tvfklms opened this issue Nov 30, 2017 · 7 comments

Comments

@tvfklms
Copy link

tvfklms commented Nov 30, 2017

Hi,
Thank you for this extension but when ı want to install am taking "Couldn't find a compatible version of IAR Embedded Workbench with this version of Code." this error. What is my mistake ? I installed iar workbecnh and ı am using the iar for stn8 with code limit licence during along time. When ı see this extention ı want to install but ı took this error.

Thank you for your helping

@politoleo
Copy link
Owner

Hi, thank you for giving it a try, I assume you just need to update your Visual Studio Code:
Click on with left mouse on the gears on the bottom on the sidebar and click "Check for Updates.."

@tvfklms
Copy link
Author

tvfklms commented Nov 30, 2017

Thank you for your reply. It is working now :) but ı have one more question about c_cpp_properties.json inside. I am working on windows. I read your document for config but ı am taking some warnings about including source files. I think that ı am making some mistakes configure my c_cpp_properties file again. :) :) :)

@tvfklms
Copy link
Author

tvfklms commented Nov 30, 2017

I changed the iar configuration from false to true and
my iar.json inside:
{
"version": 1,
"path": "C:\Program Files (x86)\IAR Systems\Embedded Workbench\",
"project": "C:\Users\xxxx\Desktop\V1.1\project.ewp",
"config": "Debug"
}
when I pressed crtl + shift + b . I am taking this error:
Building configuration: Debug
Error while starting IarBuild.exe. Open it with IAR Ide to fix it.
Something went wrong...

Not : I am using stlink so ı didn't decide to how config inside of the launch.json

@politoleo
Copy link
Owner

This means that the Iar installation folder is wrong, make sure the path is correct by navigating to it, the default usually have the version appended, it may be "Embedded Workbench 8.0" while you are using "Embedded Workbench".
Also "config" needs to match one of your projects config. Those are shown in a combo box on top of IAR IDE file explorer section.

@tvfklms
Copy link
Author

tvfklms commented Nov 30, 2017

I changed like the Embedded Workbench 8.0 now my first problem solved but ı tried lots of paths for "config" but I always got this error:
Building configuration: xxx
ERROR, Cannot build configuration: Configuration xxx not found.

@tvfklms
Copy link
Author

tvfklms commented Nov 30, 2017

Hi thank you for everything. I solved the problem and ı wanted to share my iar.json must be:

{
"version": 1,
"path": "C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.0\",
"project": "C:\Users\xxx\Desktop\Test\project.ewp",
"config": "STM8L15X_MD(STM8L15xx4_6)"
} ,like this.

Thank you for your extention It will be very good for me :) :) :)

@politoleo
Copy link
Owner

That's good! Thank you

politoleo pushed a commit that referenced this issue Jan 8, 2019
Merge from politoleo/iar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants