Quality RTOS & Embedded Software

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




Loading

8 byte alignment

Posted by Jokke on March 7, 2007
Some hardware requires 8 byte alignment of variables (MAC modules of Atmel I know about). With no cost this could be added to freeRTOS: just add these lines to heap_1 and heap_2:

#if portBYTE_ALIGNMENT == 8
#define heapBYTE_ALIGNMENT_MASK( ( size_t ) 0x0007 )
#endif

Could this be done in the next version of the distro? (I try to reduce my work when OS is updated).

Regards

RE: 8 byte alignment

Posted by Richard on March 7, 2007
I have updated the copies under Subversion to make sure it gets into the next release.

Regards.

RE: 8 byte alignment

Posted by Jokke on March 8, 2007
Great!


[ 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