Hello!
I am using CCS 6.1 with SYS/BIOS 6.41.3.51, XDCtools 3.31.0.24_core.
I was adding HWI to my configuration statically using graphical tool. Under SYS/BIOS->Target Specific Support->C64P->Whi-Instance settings I have clicked Add... button. When I added new Hwi object and set its habdle, ISR function and event Id the following code was added to cfg script:
var hwi0Params = new Hwi.Params(); hwi0Params.instance.name = "hwi_pcie"; hwi0Params.enableInt = true; hwi0Params.eventId = 17; Program.global.hwi_pcie = Hwi.create(13, "&pcie_isr", hwi0Params);
Please note that there is no masking option defined, though there was masking option to self selected in graphical tool. When I pulled down the combo box and selected some other option, then selected back SELF, the following line was added to cfg:
hwi0Params.maskSetting = xdc.module("ti.sysbios.interfaces.IHwi").MaskingOption_SELF;
I wonder, whether omission of this option on the first run was bug or feature.