2017-08-22 05:51 AM
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-variable2017-08-22 07:26 AM
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:\..'