Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

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?


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS