I have created a BSP for the TWR-K60F120M that includes the atheros_wifi interface, and I'm running into the following code in \mqx\source\io\enet\atheros_wifi\custom_src\hw_interface\cust_hw_api.c:
if(NULL == pCustCxt->int_cxt){
A_ASSERT(0);
}
pCustCxt->int_cxt is NULL, and I can't find where pCustCxt->int_cxt is suppose to be set.
解決済! 解決策の投稿を見る。
Found the problem. There were instructions in making of the BSP for the AR4100 to delete lines 256 -258 from this file. I did so, but the lines had alread been deleted, and the line numbers landed on code that I needed. Oops.
The lines to keep are:
pins[0] = pParam->INT_PIN;
pins[1] = GPIO_LIST_END;
pCustCxt->int_cxt = fopen(pParam->GPIO_DEVICE, (char_ptr)&pins);
Found the problem. There were instructions in making of the BSP for the AR4100 to delete lines 256 -258 from this file. I did so, but the lines had alread been deleted, and the line numbers landed on code that I needed. Oops.
The lines to keep are:
pins[0] = pParam->INT_PIN;
pins[1] = GPIO_LIST_END;
pCustCxt->int_cxt = fopen(pParam->GPIO_DEVICE, (char_ptr)&pins);