AVR128n 256n Port

FYI – I just ported FreeRTOS to the ATMega2561.  I had previously ported it to the ATMega128 and figured this port would be simple.  What I didn’t realize is that these newer processors push 3 bytes onto the stack for a Call subroutine.  That means that pxPortInitialiseStack() in port.c has to be modified to put an extra byte on the stack for each task. This took a bit of debugging since I hadn’t read the entire 449 page manual. Dave

AVR128n 256n Port

Have you already modified the code? I´m having problems with my ATMEGA162, vTaskDelay and vTaskDelayUntil don´t work, the processor hangs itself. I think I have the same problem.

AVR128n 256n Port

See https://sourceforge.net/forum/message.php?msg_id=4256666 for a reply to your other post.