Minor updates to fix issues with the Segger kernel aware plug since V10.1.0.

This commit is contained in:
Richard Barry 2018-08-28 18:10:42 +00:00
parent 9bda04b472
commit 0d6e3df7ec
3 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ extern "C" {
* returns an QueueHandle_t variable that can then be used as a parameter to
* xQueueSend(), xQueueReceive(), etc.
*/
struct QueueDefinition;
struct QueueDefinition; /* Using old naming convention so as not to break kernel aware debuggers. */
typedef struct QueueDefinition * QueueHandle_t;
/**

View File

@ -58,8 +58,8 @@ extern "C" {
* \defgroup TaskHandle_t TaskHandle_t
* \ingroup Tasks
*/
struct TaskControlBlock_t;
typedef struct TaskControlBlock_t* TaskHandle_t;
struct tskTaskControlBlock;
typedef struct tskTaskControlBlock* TaskHandle_t;
/*
* Defines the prototype to which the application task hook function must

View File

@ -266,7 +266,7 @@ to its original value when it is released. */
* and stores task state information, including a pointer to the task's context
* (the task's run time environment, including register values)
*/
typedef struct TaskControlBlock_t
typedef struct tskTaskControlBlock
{
volatile StackType_t *pxTopOfStack; /*< Points to the location of the last item placed on the tasks stack. THIS MUST BE THE FIRST MEMBER OF THE TCB STRUCT. */