FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [January 2016 Threads]
Hi rtel
I download the FreeRTOS from the GITHUB repository (https://github.com/cjlano/freertos.git), and this morning I find I'm getting compile errors: -
In file included from ../../Source/queue.c:79:0:
../../Source/include/task.h:134:2: error: redeclaration of enumerator ‘eNothing’
eNothing = 0
^
In file included from ../../Source/queue.c:78:0:
../../Source/include/FreeRTOS.h:875:2: note: previous definition of ‘eNothing’ was here
eNothing = 0
^
In file included from ../../Source/queue.c:79:0:
../../Source/include/task.h:135:3: error: conflicting types for ‘eDummy’
} eDummy;
^
In file included from ../../Source/queue.c:78:0:
../../Source/include/FreeRTOS.h:876:3: note: previous declaration of ‘eDummy’ was here
} eDummy;
^
../../Source/queue.c:421:15: error: conflicting types for ‘xQueueGenericCreate’
QueueHandlet xQueueGenericCreate( const UBaseTypet uxQueueLength, const UBaseTypet uxItemSize, uint8t *pucQueueStorage, StaticQueuet *pxStaticQueue, const uint8t ucQueueType )
^
In file included from ../../Source/queue.c:80:0:
../../Source/include/queue.h:1557:15: note: previous declaration of ‘xQueueGenericCreate’ was here
QueueHandlet xQueueGenericCreate( const UBaseTypet uxQueueLength, const UBaseTypet uxItemSize, const uint8t ucQueueType ) PRIVILEGED_FUNCTION;
^
Any ideas?
Unfortunately we are only able to support the official FreeRTOS distribution. I have no idea what that git repository is used for, or what modifications may have been made to the code. I would recommend using an official distribution, or asking your question to whoever is maintaining the repository.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.