AnsweredAssumed Answered

Hardware I/O Error, Environment variable path checking

Question asked by palak patel on Aug 22, 2017
Latest reply on Aug 22, 2017 by Clive One

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#lative 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?