PIC32 + MPLAB Simulator w/ double
Posted by
Bob Brodie on February 6, 2011
Hi,
I started using some double data types in my tasks and MPLAB Simulator just skips right over anything so far that deals with a double. I was wondering what might cause this to happen. Thanks!
RE: PIC32 + MPLAB Simulator w/ double
Posted by
Richard on February 6, 2011
At the time the PIC32 port was written it could not be used with the MPLAB simulator. That was some time ago though, when the PIC32 was new, so presumably the simulator works with it now. However, which version of FreeRTOS are you using? Later versions have the stack alignment set to 8, which is needed for doubles. Earlier versions had it set to 4.
Regards.
RE: PIC32 + MPLAB Simulator w/ double
Posted by
Bob Brodie on February 6, 2011
I'm currently using 6.1.0.
What exactly is the stack alignment?