Quality RTOS & Embedded Software

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


PIC32 + MPLAB Simulator w/ double

Posted by Bob Brodie on February 6, 2011

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.


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 ]    [ Privacy ]    [ Sitemap ]    [ ]

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

Latest News

FreeRTOS v10.2.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

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

Xilinx Microblaze and Zynq partner