AT90CAN128 and queues…

Hi! I am using freertos on AT90CAN128. This part has some miss-functioning when code stack is in external RAM, so the heap size is limited to the internal memory (4k). I use some queues for data buffering that take some hundreds of bytes. These queues live inside the heap memory, so this can limit my application too soon… My questions are: 1-What changes are needed on the freertos code to get out the queues from heap and put them in the external memory? 2-If the AT90CAN128 don’t like to have the SP outside internal RAM that can be a problem when I move the queues to external RAM? Thanks once again!