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, StaticQueue_t *pxStaticQueue, const uint8_t ucQueueType ) ^ In file included from ../../Source/queue.c:80:0: ../../Source/include/queue.h:1557:15: note: previous declaration of ‘xQueueGenericCreate’ was here QueueHandle_t xQueueGenericCreate( const UBaseType_t uxQueueLength, const UBaseType_t uxItemSize, const uint8_t 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.
Ah, OK. Cheers
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.