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] [February 2014 Threads]
Upgrading to 8.0.0 from 7.6.0. I'm seeing this issue in Atmel Studio 6.1.2730 - SP2. I've had the same issue with some structs where I was doing the exact same typedef syntax. I never could get it figured out so I just referred to them as "struct Name" instead of the typedef'd name. This could be as simple as a compiler flag but I just don't know what to look for.
The error I'm getting over 30 times is:
'corCRCB' undeclared (first use in this function)
From croutine.h:
~~~~~~
typedef struct corCoRoutineControlBlock
{
crCOROUTINECODE pxCoRoutineFunction;
xListItem xGenericListItem; /< List item used to place the CRCB in ready and blocked queues. */
xListItem xEventListItem; /< List item used to place the CRCB in event lists. */
unsigned portBASETYPE uxPriority; /< The priority of the co-routine in relation to other co-routines. */
unsigned portBASE_TYPE uxIndex; /< Used to distinguish between co-routines when multiple co-routines use the same co-routine function. /
unsigned short uxState; /< Used internally by the co-routine implementation. /
} corCRCB; / Co-routine control block. Note must be identical in size down to uxPriority with tskTCB. */
~~~~~~
Are you sure that is a V8 file? If you go to the very top of the file, what is the version number? In v8 the structure is called CRCB_t not corCRCB.
Regards.
I restarted Atmel studio since this happened and now it works without me having changed anything. Hmmm. It shows 8.0.0 now. I wonder if something was cached.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.