Hey I am trying to build a feedback control model in Simulink having more than one PIDs which is supposed to run on Arduino based hardware. In doing so I soon realised that two PIDs wont work as arduino doesn't support two integrators block. In the attached file I have tried to re-create the error. The error is hardware specific and needs to be running on an arduino device. Error message : error: unable to find a register to spill in class 'POINTER_REGS'
Is there something that I may have missed? Thanks