Forum Discussion

NRugg's avatar
NRugg
Icon for Occasional Contributor rankOccasional Contributor
4 years ago
Solved

Best Practice for Editing Ipport.h options

I'm curious what the accepted best practice is for editing options in ipport.h My understanding is that all files in the BSP (including ipport.h) are auto generated when you generate a BSP. It's a...
  • NRugg's avatar
    NRugg
    4 years ago

    I have found the solution to this issue!

    It turns out the file I needed to edit was a located at C:\intelFPGA_pro\19.4\nios2eds\components\altera_iniche\UCOSII\src\h\nios2\ipport.h

    Note that the file is not called "ipport.h_h" like the documentation suggests.

    So for anyone else looking for this same solution, the process goes as follows:

    1. Find the ipport.h file specific to your target system. For me this was located at the above path
      1. Note that this ipport.h will not be part of your project or BSP. Rather it will be part of the quartus install
    2. Make desired changes to ipport.h located in your target system directory
    3. Save and close the file
    4. Open up NIOS II Eclipse
    5. Right click bsp >> Nios II >> Generate BSP
    6. Clean and build project
    7. Your desired ipport.h changes will now be reflected in the ipport.h file included in your BSP.