Quality RTOS & Embedded Software

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




Loading

Issues with Running FreeRTOS v9.0 MinGW Demo with Eclipse.

Posted by mukeshtalks on June 29, 2016

Hi,

I configured the eclipse with mingw. I inported the project as guided on website in eclipse and it is not running. I am getting error mentioned below:

Description Resource Path Location Type 'STACKSIZEPARAMISARESERVATION' undeclared (first use in this function) port.c /RTOSDemo/FreeRTOSSource/portable/MSVC-MingW line 286 C/C++ Problem

Can anyone help me where i am doing wrong.

Regards, Mukesh


Issues with Running FreeRTOS v9.0 MinGW Demo with Eclipse.

Posted by rtel on June 29, 2016

STACKSIZEPARAMISARESERVATION is not something that is used or defined in the FreeRTOS code so I think this is something to do with your compiler or compiler setup. Googling STACKSIZEPARAMISARESERVATION seems to show this is a common constant.


Issues with Running FreeRTOS v9.0 MinGW Demo with Eclipse.

Posted by mukeshtalks on June 29, 2016

Hi RTE, Thanks for your quick reply. I could not understand the reolution. I just downlaoded the Freertos version 9 from the web i was expecign that it should work out of the box.

Can you please let me know how to do this stting in compiler or in wich file i need to define.


Issues with Running FreeRTOS v9.0 MinGW Demo with Eclipse.

Posted by mauliktel on October 10, 2016

hi muku,

try this one.. (hope you are using minGW) (open definition for "CREATESUSPENDED" ) you will get this in ..minGWincludewinbase.h it will be : #define CREATESUSPENDED 0x00000004 below this line add : #define STACKSIZEPARAMISA_RESERVATION 0x00010000 save file and then try to build your project. I referred value from https://msdn.microsoft.com/en-us/library/windows/desktop/ms682453(v=vs.85).aspx

Do reply with your findings..


[ 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