feilipu / avrfreertos

AVR ATmega port of freeRTOS
184 stars 54 forks source link

Task not Called with Arduino Mega 2560 R3 Board #17

Closed janklatte closed 1 year ago

janklatte commented 1 year ago

Hi there!

thank you so much for setting this up! I just got the toolchain with eclipse and avrdude working to compile and flash the MegaBlink demo onto my Arduino Mega 2560. But somehow the TaskBlinkLEDs are not called. I connected a serial console and can see the 'Hello World' message but from within the tasks no messages are sent (also added an additional before the while loop).

Do you have any hints on how I could solve this?

janklatte commented 1 year ago

I already found the issue. Had to change the timer from portUSE_TIMER2 to portUSE_TIMER0 in FreeRTOSBoardDefs.h.