Quality RTOS & Embedded Software

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




Loading

Build problem on windows simulator

Posted by simointe on January 5, 2017

Using Microsoft Visual Studio and windows port (MSVC-MingW directory), I've got this error related on the #include in portmacro.h:

warning C4002: too many actual parameters for macro GetTickCount error C2059: syntax error 'constant'

It points to winbase.h declaration:

WINBASEAPI DWORD WINAPI GetTickCount( VOID );

Any suggestion ?

Simon


Build problem on windows simulator

Posted by rtel on January 5, 2017

No suggestions, only questions, please post all information required for somebody to provide the information you are after:

Which tool chain are you using (you mention a port that can be built with MSVC and GCC)

Which version of the tools are you using?

Which version of FreeRTOS are you using?

Where did you get your FreeRTOS files?


Build problem on windows simulator

Posted by simointe on January 6, 2017

Build information: Visual C++ 2012, version 11.0.5, so the Visual C++ toolchain FreeRTOS version is V9.0.0 Code comes from cytranet.dl.sourceforge.net


Build problem on windows simulator

Posted by rtel on January 6, 2017
Please try using the code from our distribution, then report back. We cannot comment on code obtained from anybody else as it is unknown to us.



Build problem on windows simulator

Posted by simointe on January 6, 2017

Could-you give me a link to download your distribution, thanks.


Build problem on windows simulator

Posted by edwards3 on January 6, 2017

You must be on SourceForge to be using the forum, just click on the Files menu item at the top. Otherwise the normal way would be to search "freertos download".


[ 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