Giovanni Di Sirio
-
2013-11-11
- status: open --> open-accepted
- Priority: 5 --> 3
Hi. I found a problem when using ChibiOS 2.6.1 on ATmega2560. The problem is that the size of the PC in the ATmega2560 is 3 bytes, but saved in context and restored from it only 2 bytes. I found a project in which it is fixed (http://code.google.com/p/rtoslibs/). Main difference in file "os\ports\GCC\AVR\chcore.h ". I tested this code and it works. The changed file is attached.
Please fix this bug, this is very important.
Sorry for my bad english.