Closed francesco-gritti closed 9 months ago
@alexmchp Do you have any suggestion here? I think we should delete the following lines as these are not useful -
@alexmhcp, do you plan to look at it?
@aggarg can we make the above changes and fix the implementation? Or do we need a definitive answer from @alexmchp?
Marking this issue as closed as #13 removed the incorrect function. Please feel free to raise a new issue or pull request to add the desired functionality to this port Thanks!
as discussed on the FreeRTOS forum at https://forums.freertos.org/t/avr32-db-port-vportyieldfromisr-issue/17878 the current implementation of vPortYieldFromISR() is not usable on the AVR_AVRDx port.
considering the following interrupt handler>
with the current implementation, which is
this would bring to a context save on the task stack of the interrupt context, which is undesired
The current fix for this issue is to declare interrupt handlers in the following way