cancel
Showing results for 
Search instead for 
Did you mean: 

Hardware I/O Error, Environment variable path checking

palak patel
Associate
Posted on August 22, 2017 at 14:51

Hello All,

I am working on ST controller with IAR.

I have imported one code into IAR in my PC.

code is generated in other PC previously.

All Folders and files are included with respect to variable 'PROJ_DIR'.

Now, compilation is done successfully.But when i do 'go to definition' on 'HAL_Init()' , it says 'encountered hardware I/O error D://........' as My PC not having D drive.(Error is obvious, if i am providing path wrt D drive, but i am not providing path absolutely, it is re&sharplative to 'PROJ_DIR').

Issue 1 : My understanding is , Variable 'PROJ_DIR' will be set automatically to my current location of project.If so, then why i am getting this error????

Issue 2 : How i can check value of 'PROJ_DIR' variable in IAR???How i can change this?

If this is not issue of variable , then can anyone suggest cause of this error?

Thanks 

#proj_dir #iar #environment-variable
1 REPLY 1
Posted on August 22, 2017 at 16:26

Does IAR not provide documentation and support?

Perhaps you have a reference to 'D:\...' in your project's 'Include Paths' settings? Review the meta-data of the project. Look at the project file in a text editor or file manager, see if that provides any hints about what's pointing to 'D:\..'

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..