This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Is there a way to locate files in my project using file-names in the IAR EW8051 IDE?

Hi,

I'm using the EW8051 IAR IDE to develop a project based on the simpleBLEPeripheral reference design (an IAR EW8051 project).

At times I need to know locations of certain files in 'my project' and given that there are best part of 100 project files that make up the simpleBLEPeripheral  (I think the same applies to Central and Coordinator projects), I wonder if there is a way of determine where certain files are - from within the IDE.

It is difficult to do this through expanding all the project folders in the IAR IDE (such as HAL, PROFILES, TOOLS, APP, TARGET and all the sub folders for each) and manually scan through them to find the file of interest.

Whilst there is a global-search for keywords in the IDE there doesn't appear to be a similar search function to find files to determine their locations even though the files are known to exist in the 'project'..

For example;  hal_uart_isr.c is not in the folder structure of my project even though it is a part of it.

Ps. I know that I can locate this file using the search facility in Windows-Explorer but that's doesn't help as I need to open and modify this and other files for similar reasons..

Thanks.

JB.

  • Hello Joe,
    You can right-click on the files and press the "open containing folder". Is this sufficient?
  • Thanks for your suggestion Eirik,
    But I want to know where in my 'IAR Project' structure a file is.

    Perhaps I didn't make it clear what I'm trying to achieve.

    For example; Say you want to modify hal_uart_isr.c Try to find where that file is without using Windows Explorer.

    Or, try to find in which file U1DBUF is defined, or U1CSR.... (Ps. I know these are derivatives of UxDBUF and UxCSR)...

    Regards,
    JB.
  • Hello Joe,
    In the GUI can open the source browser (View->Source Browser -> Source Browser). It will list all defines, function etc. and show the file which it reside in (GUI box below). The .ewp file lists the files added to the project.

    Is this sufficient for your needs or were you thinking of something even more specific? If so please explain exactly what you want to do so that i under stand :).