hi,
i am using MCSDK 2_00_00_11 , bios6_31_04_27 , pdk c6678 1_0_0_11 on shannon evm c6678.
i was experimenting with hardware interrupts , wherein i was trying to hook a HWI dynamically (runtime) by the following :
Hwi_Handle hwi0;
Hwi_Params hwiParams;
Error_Block eb;
Error_init(&eb);
Hwi_Params_init(&hwiParams);
hwiParams.arg = 5;
hwiParams.
eventId = 87;
hwi0 = Hwi_create(15,_Dummy, &hwiParams, &eb);
if (hwi0 == NULL) {
System_abort(
"Hwi create failed");
}
Here event id 87 corresponds to GPIO interrupt ,
I am getting the following Linking error :
Description Resource Path Location Type
errors encountered during linking; "example_2.out" not built example_2 C/C++ Problem
Linking failed. Check the Console window for details. example_2 Unknown C/C++ Problem
unresolved symbol ti_sysbios_hal_Hwi_Object__create__S, first referenced in ./hello.obj example_2 C/C++ Problem
unresolved symbol ti_sysbios_hal_Hwi_Params__init__S, first referenced in ./hello.obj example_2 C/C++ Problem
What is the issue ?
Regards
Shrish