Xilinx Zynq GIC Usage V8.2.2

razed11 wrote on Saturday, October 03, 2015:

It probably helps to understand that I’m trying to use FreeRTOS as a Xilinx SDK repository but since I cannot override that routine (there is no weakly defined vConfigureTickInterrupt in V8.2.2) then I have to copy or implement portZynq.c to fix this issue. Then I have to exclude that source from the project.

Per my other post, to fix the calling convention of the tick routine I need to alter port.c. So the repository route is a fail for me.

The fixes I think are to make vConfigureTickInterrupt and something like vClearTickInterrupt as weak. Another macro can be used to define the signature of the tick handler. Borrowing the global GIC structure doesn’t work for me as I’m using a C++ class to manage it.