Quality RTOS & Embedded Software

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




Loading

FreeRTOS for CooCox

Posted by nicdear on November 30, 2013

Hi,

I'm trying to compile the STemWin Library under CooCox for the STM324xG-EVAL board, but its throws the following error:

[cc] C:CooCoxProjectsSTemWinLibraryV1.1.1ProjectSTM324xG-EVALRTOSUsermain.c:44:1: error: unknown type name 'xTimerHandle' [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1ProjectSTM324xG-EVALRTOSUsermain.c:49:29: error: unknown type name 'xTimerHandle' [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1ProjectSTM324xG-EVALRTOSUsermain.c: In function 'main':

[cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:96:2: error: unknown type name 'tmrTIMERCALLBACK' [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:218:1: error: unknown type name 'xTimerHandle' [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:218:148: error: unknown type name 'tmrTIMERCALLBACK' [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:257:37: error: unknown type name 'xTimerHandle' [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c: In function 'prvProcessExpiredTimer': [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:332:4: warning: implicit declaration of function 'xTimerGenericCommand' [-Wimplicit-function-declaration] [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:332:45: error: 'tmrCOMMANDSTART' undeclared (first use in this function) [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:332:45: note: each undeclared identifier is reported only once for each function it appears in [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:339:33: error: 'xTimerHandle' undeclared (first use in this function) [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:339:48: error: expected ')' before 'pxTimer' [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:339:29: error: called object 'pxTimer->pxCallbackFunction' is not a function [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c: In function 'prvProcessReceivedCommands': [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:537:9: error: 'tmrCOMMANDSTART' undeclared (first use in this function) [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:543:37: error: 'xTimerHandle' undeclared (first use in this function) [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:543:52: error: expected ')' before 'pxTimer' [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:543:33: error: called object 'pxTimer->pxCallbackFunction' is not a function [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:554:9: error: 'tmrCOMMANDSTOP' undeclared (first use in this function) [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:559:9: error: 'tmrCOMMANDCHANGEPERIOD' undeclared (first use in this function) [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:565:9: error: 'tmrCOMMANDDELETE' undeclared (first use in this function) [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c: In function 'prvSwitchTimerLists': [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:604:34: error: 'xTimerHandle' undeclared (first use in this function) [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:604:49: error: expected ')' before 'pxTimer' [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:604:30: error: called object 'pxTimer->pxCallbackFunction' is not a function [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:623:46: error: 'tmrCOMMANDSTART' undeclared (first use in this function) [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c: At top level: [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:656:36: error: unknown type name 'xTimerHandle' [cc] C:CooCoxProjectsSTemWinLibraryV1.1.1UtilitiesThirdPartyFreeRTOSSourcetimers.c:675:26: error: unknown type name 'xTimerHandle'

I have the the "UtilitiesThird_PartyFreeRTOSSourceinclude" and "ProjectSTM324xG-EVALRTOSConfig" directories included but the compiler doesn't seem to see the timers.h file containing the 'xTimerHandle' definition.

Any help with be greatly appreciated, Thanks.


FreeRTOS for CooCox

Posted by richard_damon on November 30, 2013

Do you have a #define configUETIMERS 1 in FreeRTOSConfig.h?

Could you have another file named timers.h?


FreeRTOS for CooCox

Posted by nicdear on December 1, 2013

Hi Richard,

Yes, in 'FreeRTOSConfig.h' I have "#define configUSETIMERS 1". I used the standard STemWIN library set (without modifications), so would be surprised if they used duplicate filenames - but will look into this possibility now.


FreeRTOS for CooCox

Posted by nicdear on December 4, 2013

Hey Richard,

You were right :-) Very concerning that ST released a standard library that contained conflicting file names (I had to modify the headers to point to the right definitions for the conflicting files).

Anyway, enough ranting... thanks for the help.

Take care, Nicholas


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists