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
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.
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.
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..
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.