Quality RTOS & Embedded Software

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




Loading

freertos build error

Posted by bachadamin on March 7, 2017

Hello guys, when I build my freertos stm32f0 project i found an error that says" padding struct to align 'uxDummy10' [-Werror=padded]"


freertos build error

Posted by rtel on March 7, 2017

Which version of FreeRTOS are you using? Which compiler are you using? Which file is the offending line in?


freertos build error

Posted by bachadamin on March 7, 2017

freertos build error

Posted by bachadamin on March 7, 2017

FreeRTOS v9 ARM GCC FreeRTOS.h


freertos build error

Posted by rtel on March 7, 2017

I suspect you have configMAXTASKNAME_LEN set to a value that does not end on a 4 byte alignment, but even so the compiler should then adjust the allignment of the following members, which it is apparently doing. I don't think that should be an error though, just normal behaviour, you have just set the compiler to tell you it is an error with -Werror=padded.


freertos build error

Posted by bachadamin on March 8, 2017

Now I have this problem undefined reference to vTaskStartScheduler' undefined reference toxTaskCreate' even if i included all the required headers !!!


freertos build error

Posted by rtel on March 8, 2017

Including the headers does not include the functions. Are you building FreeRTOS/source/tasks.c?


[ 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