Closed yhamamachi closed 3 months ago
Hi @fsylvestre, do you want to take a look ? I did not work on this part and I'm not a Goil expert at all !
The patch seems great. (Surprised that we have missed that, but could probably explain why some corner cases could generate some failures)
Currently, interrupt handler has same id so that interrupt doesn't work correctly on envrionment which has multiple ISR. This is caused by the scope of indexISR2 variable.
And, even if this issue is fixed, function order and index is not matched always because function order is change by priotiry. So, non-expected function may be called.
Thus, this patch fixes to use defined variable instead of index.
I tested by using Whitebox SDK v5.x-dev branch which contains following patch. https://github.com/renesas-rcar/whitebox-sdk/commit/4b2d930953f8fa3ec42e834d1705c6bf6750c17d
Log without patch:
Log with patch: