#error freertos.h must be included before timer.h

Hello!

Im trying to compile Free RTOS for PIC32MZ microcontroller with MIPS M14K core
on Eclipse with using MIPS Tollchain
In main.c I include first Freertos.h and after task, list and et the end timer.h
And I set include path to FreeRTOS.h and timer.h in Eclipse settings
But I cant compile it cause of a lot of errors and now I cant resolve the following error: - #error freertos.h must be included before timer.h

Cant understand, please help

Which compilation unit (i.e. C file) this error is coming from? Can you paste the complete error log?

Seems something is completely messed up in your project.
Just compare it with the demo including the compiler/linker command line.
Should be straight forward.

Sorry, I didnt understand

Here is my top of main:

include "common.h"
#include "uart_lib.h"
/* Scheduler includes. */
#include "stdint.h"
#include "FreeRTOS.h"
#define INC_FREERTOS_H 1
#include "list.h"
#include "task.h"
#include "platform.h"
#include "queue.h"
#include "semphr.h"
//#include "timers.h"

The problematic file is /FreeRTOS/Demo/Common/ethernet/lwip-1.4.0/src/core/memp.c. What is the content of this file?

/**
 * @file
 * Dynamic pool memory manager
 *
 * lwIP has dedicated pools for many structures (netconn, protocol control blocks,
 * packet buffers, ...). All these pools are managed here.
 */

/*
 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
 * All rights reserved. 
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 *    this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 * 3. The name of the author may not be used to endorse or promote products
 *    derived from this software without specific prior written permission. 
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 
 * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 
 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 
 * OF SUCH DAMAGE.
 *
 * This file is part of the lwIP TCP/IP stack.
 * 
 * Author: Adam Dunkels <adam@sics.se>
 *
 */

//#include "lwip/opt.h"
#include "opt.h"
//#include "lwip/memp.h"
#include "memp.h"
//#include "lwip/pbuf.h"
#include "pbuf.h"
//#include "lwip/udp.h"
#include "udp.h"
//#include "lwip/raw.h"
#include "raw.h"
//#include "lwip/tcp_impl.h"
#include "tcp_impl.h"
//#include "lwip/igmp.h"
#include "igmp.h"
//#include "lwip/api.h"
#include "api.h"
//#include "lwip/api_msg.h"
#include "api_msg.h"
//#include "lwip/tcpip.h"
#include "tcpip.h"
//#include "lwip/sys.h"
#include "sys.h"
//#include "lwip/timers.h"
#include "timers.h"
//#include "lwip/stats.h"
#include "stats.h"
//#include "netif/etharp.h"
#include "etharp.h"
//#include "lwip/ip_frag.h"
#include "ip_frag.h"
//#include "lwip/snmp_structs.h"
#include "snmp_structs.h"
//#include "lwip/snmp_msg.h"
#include "snmp_msg.h"
//#include "lwip/dns.h"
#include "dns.h"
//#include "netif/ppp_oe.h"
#include "ppp_oe.h"

#include <string.h>

#if !MEMP_MEM_MALLOC /* don't build if not configured for use in lwipopts.h */

struct memp {
  struct memp *next;
#if MEMP_OVERFLOW_CHECK
  const char *file;
  int line;
#endif /* MEMP_OVERFLOW_CHECK */
};

#if MEMP_OVERFLOW_CHECK
/* if MEMP_OVERFLOW_CHECK is turned on, we reserve some bytes at the beginning
 * and at the end of each element, initialize them as 0xcd and check
 * them later. */
/* If MEMP_OVERFLOW_CHECK is >= 2, on every call to memp_malloc or memp_free,
 * every single element in each pool is checked!
 * This is VERY SLOW but also very helpful. */
/* MEMP_SANITY_REGION_BEFORE and MEMP_SANITY_REGION_AFTER can be overridden in
 * lwipopts.h to change the amount reserved for checking. */
#ifndef MEMP_SANITY_REGION_BEFORE
#define MEMP_SANITY_REGION_BEFORE  16
#endif /* MEMP_SANITY_REGION_BEFORE*/
#if MEMP_SANITY_REGION_BEFORE > 0
#define MEMP_SANITY_REGION_BEFORE_ALIGNED    LWIP_MEM_ALIGN_SIZE(MEMP_SANITY_REGION_BEFORE)
#else
#define MEMP_SANITY_REGION_BEFORE_ALIGNED    0
#endif /* MEMP_SANITY_REGION_BEFORE*/
#ifndef MEMP_SANITY_REGION_AFTER
#define MEMP_SANITY_REGION_AFTER   16
#endif /* MEMP_SANITY_REGION_AFTER*/
#if MEMP_SANITY_REGION_AFTER > 0
#define MEMP_SANITY_REGION_AFTER_ALIGNED     LWIP_MEM_ALIGN_SIZE(MEMP_SANITY_REGION_AFTER)
#else
#define MEMP_SANITY_REGION_AFTER_ALIGNED     0
#endif /* MEMP_SANITY_REGION_AFTER*/

/* MEMP_SIZE: save space for struct memp and for sanity check */
#define MEMP_SIZE          (LWIP_MEM_ALIGN_SIZE(sizeof(struct memp)) + MEMP_SANITY_REGION_BEFORE_ALIGNED)
#define MEMP_ALIGN_SIZE(x) (LWIP_MEM_ALIGN_SIZE(x) + MEMP_SANITY_REGION_AFTER_ALIGNED)

#else /* MEMP_OVERFLOW_CHECK */

/* No sanity checks
 * We don't need to preserve the struct memp while not allocated, so we
 * can save a little space and set MEMP_SIZE to 0.
 */
#define MEMP_SIZE           0
#define MEMP_ALIGN_SIZE(x) (LWIP_MEM_ALIGN_SIZE(x))

#endif /* MEMP_OVERFLOW_CHECK */

/** This array holds the first free element of each pool.
 *  Elements form a linked list. */
static struct memp *memp_tab[MEMP_MAX];

#else /* MEMP_MEM_MALLOC */

#define MEMP_ALIGN_SIZE(x) (LWIP_MEM_ALIGN_SIZE(x))

#endif /* MEMP_MEM_MALLOC */

/** This array holds the element sizes of each pool. */
#if !MEM_USE_POOLS && !MEMP_MEM_MALLOC
static
#endif
const u16_t memp_sizes[MEMP_MAX] = {
#define LWIP_MEMPOOL(name,num,size,desc)  LWIP_MEM_ALIGN_SIZE(size),
#include "lwip/memp_std.h"
};

#if !MEMP_MEM_MALLOC /* don't build if not configured for use in lwipopts.h */

/** This array holds the number of elements in each pool. */
static const u16_t memp_num[MEMP_MAX] = {
#define LWIP_MEMPOOL(name,num,size,desc)  (num),
#include "lwip/memp_std.h"
};

/** This array holds a textual description of each pool. */
#ifdef LWIP_DEBUG
static const char *memp_desc[MEMP_MAX] = {
#define LWIP_MEMPOOL(name,num,size,desc)  (desc),
#include "lwip/memp_std.h"
};
#endif /* LWIP_DEBUG */

#if MEMP_SEPARATE_POOLS

/** This creates each memory pool. These are named memp_memory_XXX_base (where
 * XXX is the name of the pool defined in memp_std.h).
 * To relocate a pool, declare it as extern in cc.h. Example for GCC:
 *   extern u8_t __attribute__((section(".onchip_mem"))) memp_memory_UDP_PCB_base[];
 */
#define LWIP_MEMPOOL(name,num,size,desc) u8_t memp_memory_ ## name ## _base \
  [((num) * (MEMP_SIZE + MEMP_ALIGN_SIZE(size)))];   
#include "lwip/memp_std.h"

/** This array holds the base of each memory pool. */
static u8_t *const memp_bases[] = { 
#define LWIP_MEMPOOL(name,num,size,desc) memp_memory_ ## name ## _base,   
#include "lwip/memp_std.h"
};

#else /* MEMP_SEPARATE_POOLS */

/** This is the actual memory used by the pools (all pools in one big block). */
static u8_t memp_memory[MEM_ALIGNMENT - 1 
#define LWIP_MEMPOOL(name,num,size,desc) + ( (num) * (MEMP_SIZE + MEMP_ALIGN_SIZE(size) ) )
#include "lwip/memp_std.h"
];

#endif /* MEMP_SEPARATE_POOLS */

#if MEMP_SANITY_CHECK
/**
 * Check that memp-lists don't form a circle
 */
static int
memp_sanity(void)
{
  s16_t i, c;
  struct memp *m, *n;

  for (i = 0; i < MEMP_MAX; i++) {
    for (m = memp_tab[i]; m != NULL; m = m->next) {
      c = 1;
      for (n = memp_tab[i]; n != NULL; n = n->next) {
        if (n == m && --c < 0) {
          return 0;
        }
      }
    }
  }
  return 1;
}
#endif /* MEMP_SANITY_CHECK*/
#if MEMP_OVERFLOW_CHECK
#if defined(LWIP_DEBUG) && MEMP_STATS
static const char * memp_overflow_names[] = {
#define LWIP_MEMPOOL(name,num,size,desc) "/"desc,
#include "lwip/memp_std.h"
  };
#endif

/**
 * Check if a memp element was victim of an overflow
 * (e.g. the restricted area after it has been altered)
 *
 * @param p the memp element to check
 * @param memp_type the pool p comes from
 */
static void
memp_overflow_check_element_overflow(struct memp *p, u16_t memp_type)
{
  u16_t k;
  u8_t *m;
#if MEMP_SANITY_REGION_AFTER_ALIGNED > 0
  m = (u8_t*)p + MEMP_SIZE + memp_sizes[memp_type];
  for (k = 0; k < MEMP_SANITY_REGION_AFTER_ALIGNED; k++) {
    if (m[k] != 0xcd) {
      char errstr[128] = "detected memp overflow in pool ";
      char digit[] = "0";
      if(memp_type >= 10) {
        digit[0] = '0' + (memp_type/10);
        strcat(errstr, digit);
      }
      digit[0] = '0' + (memp_type%10);
      strcat(errstr, digit);
#if defined(LWIP_DEBUG) && MEMP_STATS
      strcat(errstr, memp_overflow_names[memp_type]);
#endif
      LWIP_ASSERT(errstr, 0);
    }
  }
#endif
}

/**
 * Check if a memp element was victim of an underflow
 * (e.g. the restricted area before it has been altered)
 *
 * @param p the memp element to check
 * @param memp_type the pool p comes from
 */
static void
memp_overflow_check_element_underflow(struct memp *p, u16_t memp_type)
{
  u16_t k;
  u8_t *m;
#if MEMP_SANITY_REGION_BEFORE_ALIGNED > 0
  m = (u8_t*)p + MEMP_SIZE - MEMP_SANITY_REGION_BEFORE_ALIGNED;
  for (k = 0; k < MEMP_SANITY_REGION_BEFORE_ALIGNED; k++) {
    if (m[k] != 0xcd) {
      char errstr[128] = "detected memp underflow in pool ";
      char digit[] = "0";
      if(memp_type >= 10) {
        digit[0] = '0' + (memp_type/10);
        strcat(errstr, digit);
      }
      digit[0] = '0' + (memp_type%10);
      strcat(errstr, digit);
#if defined(LWIP_DEBUG) && MEMP_STATS
      strcat(errstr, memp_overflow_names[memp_type]);
#endif
      LWIP_ASSERT(errstr, 0);
    }
  }
#endif
}

/**
 * Do an overflow check for all elements in every pool.
 *
 * @see memp_overflow_check_element for a description of the check
 */
static void
memp_overflow_check_all(void)
{
  u16_t i, j;
  struct memp *p;

  p = (struct memp *)LWIP_MEM_ALIGN(memp_memory);
  for (i = 0; i < MEMP_MAX; ++i) {
    p = p;
    for (j = 0; j < memp_num[i]; ++j) {
      memp_overflow_check_element_overflow(p, i);
      p = (struct memp*)((u8_t*)p + MEMP_SIZE + memp_sizes[i] + MEMP_SANITY_REGION_AFTER_ALIGNED);
    }
  }
  p = (struct memp *)LWIP_MEM_ALIGN(memp_memory);
  for (i = 0; i < MEMP_MAX; ++i) {
    p = p;
    for (j = 0; j < memp_num[i]; ++j) {
      memp_overflow_check_element_underflow(p, i);
      p = (struct memp*)((u8_t*)p + MEMP_SIZE + memp_sizes[i] + MEMP_SANITY_REGION_AFTER_ALIGNED);
    }
  }
}

/**
 * Initialize the restricted areas of all memp elements in every pool.
 */
static void
memp_overflow_init(void)
{
  u16_t i, j;
  struct memp *p;
  u8_t *m;

  p = (struct memp *)LWIP_MEM_ALIGN(memp_memory);
  for (i = 0; i < MEMP_MAX; ++i) {
    p = p;
    for (j = 0; j < memp_num[i]; ++j) {
#if MEMP_SANITY_REGION_BEFORE_ALIGNED > 0
      m = (u8_t*)p + MEMP_SIZE - MEMP_SANITY_REGION_BEFORE_ALIGNED;
      memset(m, 0xcd, MEMP_SANITY_REGION_BEFORE_ALIGNED);
#endif
#if MEMP_SANITY_REGION_AFTER_ALIGNED > 0
      m = (u8_t*)p + MEMP_SIZE + memp_sizes[i];
      memset(m, 0xcd, MEMP_SANITY_REGION_AFTER_ALIGNED);
#endif
      p = (struct memp*)((u8_t*)p + MEMP_SIZE + memp_sizes[i] + MEMP_SANITY_REGION_AFTER_ALIGNED);
    }
  }
}
#endif /* MEMP_OVERFLOW_CHECK */

/**
 * Initialize this module.
 * 
 * Carves out memp_memory into linked lists for each pool-type.
 */
void
memp_init(void)
{
  struct memp *memp;
  u16_t i, j;

  for (i = 0; i < MEMP_MAX; ++i) {
    MEMP_STATS_AVAIL(used, i, 0);
    MEMP_STATS_AVAIL(max, i, 0);
    MEMP_STATS_AVAIL(err, i, 0);
    MEMP_STATS_AVAIL(avail, i, memp_num[i]);
  }

#if !MEMP_SEPARATE_POOLS
  memp = (struct memp *)LWIP_MEM_ALIGN(memp_memory);
#endif /* !MEMP_SEPARATE_POOLS */
  /* for every pool: */
  for (i = 0; i < MEMP_MAX; ++i) {
    memp_tab[i] = NULL;
#if MEMP_SEPARATE_POOLS
    memp = (struct memp*)memp_bases[i];
#endif /* MEMP_SEPARATE_POOLS */
    /* create a linked list of memp elements */
    for (j = 0; j < memp_num[i]; ++j) {
      memp->next = memp_tab[i];
      memp_tab[i] = memp;
      memp = (struct memp *)(void *)((u8_t *)memp + MEMP_SIZE + memp_sizes[i]
#if MEMP_OVERFLOW_CHECK
        + MEMP_SANITY_REGION_AFTER_ALIGNED
#endif
      );
    }
  }
#if MEMP_OVERFLOW_CHECK
  memp_overflow_init();
  /* check everything a first time to see if it worked */
  memp_overflow_check_all();
#endif /* MEMP_OVERFLOW_CHECK */
}

/**
 * Get an element from a specific pool.
 *
 * @param type the pool to get an element from
 *
 * the debug version has two more parameters:
 * @param file file name calling this function
 * @param line number of line where this function is called
 *
 * @return a pointer to the allocated memory or a NULL pointer on error
 */
void *
#if !MEMP_OVERFLOW_CHECK
memp_malloc(memp_t type)
#else
memp_malloc_fn(memp_t type, const char* file, const int line)
#endif
{
  struct memp *memp;
  SYS_ARCH_DECL_PROTECT(old_level);
 
  LWIP_ERROR("memp_malloc: type < MEMP_MAX", (type < MEMP_MAX), return NULL;);

  SYS_ARCH_PROTECT(old_level);
#if MEMP_OVERFLOW_CHECK >= 2
  memp_overflow_check_all();
#endif /* MEMP_OVERFLOW_CHECK >= 2 */

  memp = memp_tab[type];
  
  if (memp != NULL) {
    memp_tab[type] = memp->next;
#if MEMP_OVERFLOW_CHECK
    memp->next = NULL;
    memp->file = file;
    memp->line = line;
#endif /* MEMP_OVERFLOW_CHECK */
    MEMP_STATS_INC_USED(used, type);
    LWIP_ASSERT("memp_malloc: memp properly aligned",
                ((mem_ptr_t)memp % MEM_ALIGNMENT) == 0);
    memp = (struct memp*)(void *)((u8_t*)memp + MEMP_SIZE);
  } else {
    LWIP_DEBUGF(MEMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("memp_malloc: out of memory in pool %s\n", memp_desc[type]));
    MEMP_STATS_INC(err, type);
  }

  SYS_ARCH_UNPROTECT(old_level);

  return memp;
}

/**
 * Put an element back into its pool.
 *
 * @param type the pool where to put mem
 * @param mem the memp element to free
 */
void
memp_free(memp_t type, void *mem)
{
  struct memp *memp;
  SYS_ARCH_DECL_PROTECT(old_level);

  if (mem == NULL) {
    return;
  }
  LWIP_ASSERT("memp_free: mem properly aligned",
                ((mem_ptr_t)mem % MEM_ALIGNMENT) == 0);

  memp = (struct memp *)(void *)((u8_t*)mem - MEMP_SIZE);

  SYS_ARCH_PROTECT(old_level);
#if MEMP_OVERFLOW_CHECK
#if MEMP_OVERFLOW_CHECK >= 2
  memp_overflow_check_all();
#else
  memp_overflow_check_element_overflow(memp, type);
  memp_overflow_check_element_underflow(memp, type);
#endif /* MEMP_OVERFLOW_CHECK >= 2 */
#endif /* MEMP_OVERFLOW_CHECK */

  MEMP_STATS_DEC(used, type); 
  
  memp->next = memp_tab[type]; 
  memp_tab[type] = memp;

#if MEMP_SANITY_CHECK
  LWIP_ASSERT("memp sanity", memp_sanity());
#endif /* MEMP_SANITY_CHECK */

  SYS_ARCH_UNPROTECT(old_level);
}

#endif /* MEMP_MEM_MALLOC */

Your patches are … not so good. Why did you do that ?
This in conjunction with your include path compiler options cause an include file name clash with the FreeRTOS timers.h.
Better use the original includes #include "lwip/timers.h" and add the path to the lwip include directory to the compiler options along with the path to the (separate !) FreeRTOS includes.

I have done that patch cause of a lot of errors that paths generate. Without it I pass it
I thought what is was because MIPS Toolchain compiler specific
I compile for mips32r2

It’s not really MIPS toolchain specific. It’s just the way compilers work.
The root cause problem was incomplete or incorrect include path compiler options.
You need to fix this and undo all your other patches making things even worse.
If unsure how to get it right you might use one of the appropriate demos and cross-check the compiler options used there (expecially the include dir options at the first place) and apply them to your project.

The mips tool chain is just GCC under a different name.

Thanks to all
I fixed FreeRTOS sourses but now I cant solve another problem
I dont know where to get right lwipopts.h
I got the following from sources:

/*
 * Copyright (c) 2001-2003 Swedish Institute of Computer Science.
 * All rights reserved. 
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 *    this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 * 3. The name of the author may not be used to endorse or promote products
 *    derived from this software without specific prior written permission. 
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 
 * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 
 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 
 * OF SUCH DAMAGE.
 *
 * This file is part of the lwIP TCP/IP stack.
 * 
 * Author: Adam Dunkels <adam@sics.se>
 *
 */
#ifndef __LWIPOPTS_H__
#define __LWIPOPTS_H__

#define LWIP_NOASSERT 1 // To suppress some errors for now (no debug output)
#define SYS_LIGHTWEIGHT_PROT            1

#define TCPIP_THREAD_PRIO	3

/* ---------- Memory options ---------- */
/* MEM_ALIGNMENT: should be set to the alignment of the CPU for which
   lwIP is compiled. 4 byte alignment -> define MEM_ALIGNMENT to 4, 2
   byte alignment -> define MEM_ALIGNMENT to 2. */
#define MEM_ALIGNMENT           4

/* MEM_SIZE: the size of the heap memory. If the application will send
a lot of data that needs to be copied, this should be set high. */
#define MEM_SIZE                2000

/* MEMP_NUM_PBUF: the number of memp struct pbufs. If the application
   sends a lot of data out of ROM (or other static memory), this
   should be set high. */
#define MEMP_NUM_PBUF           20
/* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One
   per active UDP "connection". */
#define MEMP_NUM_UDP_PCB        4
/* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP
   connections. */
#define MEMP_NUM_TCP_PCB        10
/* MEMP_NUM_TCP_PCB_LISTEN: the number of listening TCP
   connections. */
#define MEMP_NUM_TCP_PCB_LISTEN 8
/* MEMP_NUM_TCP_SEG: the number of simultaneously queued TCP
   segments. */
#define MEMP_NUM_TCP_SEG        8
/* MEMP_NUM_SYS_TIMEOUT: the number of simulateously active
   timeouts. */
#define MEMP_NUM_SYS_TIMEOUT    3


/* The following four are used only with the sequential API and can be
   set to 0 if the application only will use the raw API. */
/* MEMP_NUM_NETBUF: the number of struct netbufs. */
#define MEMP_NUM_NETBUF         4
/* MEMP_NUM_NETCONN: the number of struct netconns. */
#define MEMP_NUM_NETCONN        4
/* MEMP_NUM_APIMSG: the number of struct api_msg, used for
   communication between the TCP/IP stack and the sequential
   programs. */
///#define MEMP_NUM_API_MSG        8
/* MEMP_NUM_TCPIPMSG: the number of struct tcpip_msg, which is used
   for sequential API communication and incoming packets. Used in
   src/api/tcpip.c. */
///#define MEMP_NUM_TCPIP_MSG      8

/* These two control is reclaimer functions should be compiled
   in. Should always be turned on (1). */
#define MEM_RECLAIM             1
#define MEMP_RECLAIM            1

/* ---------- Pbuf options ---------- */
/* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */
#define PBUF_POOL_SIZE          4

/* PBUF_POOL_BUFSIZE: the size of each pbuf in the pbuf pool. */
#define PBUF_POOL_BUFSIZE       1500

/* PBUF_LINK_HLEN: the number of bytes that should be allocated for a
   link level header. */
#define PBUF_LINK_HLEN          16

/* ---------- TCP options ---------- */
#define LWIP_TCP                1
#define TCP_TTL                 255

/* Controls if TCP should queue segments that arrive out of
   order. Define to 0 if your device is low on memory. */
#define TCP_QUEUE_OOSEQ         1

/* TCP Maximum segment size. */
#define TCP_MSS                 1500

/* TCP sender buffer space (bytes). */
#define TCP_SND_BUF             1500

/* TCP sender buffer space (pbufs). This must be at least = 2 *
   TCP_SND_BUF/TCP_MSS for things to work. */
#define TCP_SND_QUEUELEN        6 * TCP_SND_BUF/TCP_MSS

/* TCP receive window. */
#define TCP_WND                 1500

/* Maximum number of retransmissions of data segments. */
#define TCP_MAXRTX              12

/* Maximum number of retransmissions of SYN segments. */
#define TCP_SYNMAXRTX           4

/* ---------- ARP options ---------- */
#define ARP_TABLE_SIZE 10
#define ARP_QUEUEING 1

/* ---------- IP options ---------- */
/* Define IP_FORWARD to 1 if you wish to have the ability to forward
   IP packets across network interfaces. If you are going to run lwIP
   on a device with only one network interface, define this to 0. */
#define IP_FORWARD              1

/* If defined to 1, IP options are allowed (but not parsed). If
   defined to 0, all packets with IP options are dropped. */
#define IP_OPTIONS              1

/* ---------- ICMP options ---------- */
#define ICMP_TTL                255


/* ---------- DHCP options ---------- */
/* Define LWIP_DHCP to 1 if you want DHCP configuration of
   interfaces. DHCP is not implemented in lwIP 0.5.1, however, so
   turning this on does currently not work. */
#define LWIP_DHCP               1///0

/* 1 if you want to do an ARP check on the offered address
   (recommended). */
#define DHCP_DOES_ARP_CHECK     1

/* ---------- UDP options ---------- */
#define LWIP_UDP                1
#define UDP_TTL                 255


/* ---------- Statistics options ---------- */
#define STATS

#ifdef STATS
#define LINK_STATS 1
#define IP_STATS   1
#define ICMP_STATS 1
#define UDP_STATS  1
#define TCP_STATS  1
#define MEM_STATS  1
#define MEMP_STATS 1
#define PBUF_STATS 1
#define SYS_STATS  1
#endif /* STATS */

#define LWIP_PROVIDE_ERRNO 1

#endif /* __LWIPOPTS_H__ */

But I had the following an error:
^
…/FreeRTOS/Demo/Common/ethernet/lwip-1.4.0/src/core/init.c:171:4: error: #error “MEMP_NUM_SYS_TIMEOUT is too low to accomodate all required timeouts”

And dont understand why it is cause Ive got the folowing defines:
MEMP_NUM_SYS_TIMEOUT = 3
LWIP_TCP = 1
IP_REASSEMBLY = 1
LWIP_ARP = 1
LWIP_DHCP = 0
LWIP_AUTOIP = 0
LWIP_IGMP = 0
LWIP_DNS = 0
PPP_SUPPORT = 0

Also I tried with another MEMP_NUM_SYS_TIMEOUT values

Please help!

This is an LWIP question and I suggest asking on their forum.

You right, but I have got following errors which relates to FreeRTOS
And I dont understand from what the reason, I just compile provided sources from link above
Please help:

FreeRTOS/Source/event_groups.o: In function `xEventGroupWaitBits':
../FreeRTOS/Source/event_groups.c:(.text+0x16c): undefined reference to `vAssertCalled'
../FreeRTOS/Source/event_groups.c:(.text+0x180): undefined reference to `vAssertCalled'
../FreeRTOS/Source/event_groups.c:(.text+0x1a0): undefined reference to `vAssertCalled'
../FreeRTOS/Source/event_groups.c:(.text+0x1f0): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/event_groups.c:(.text+0x1f8): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/event_groups.c:(.text+0x234): undefined reference to `vAssertCalled'
FreeRTOS/Source/event_groups.o: In function `xEventGroupClearBits':
../FreeRTOS/Source/event_groups.c:(.text+0x278): undefined reference to `vAssertCalled'
../FreeRTOS/Source/event_groups.c:(.text+0x2bc): undefined reference to `vAssertCalled'
FreeRTOS/Source/event_groups.o: In function `xEventGroupSetBits':
../FreeRTOS/Source/event_groups.c:(.text+0x400): undefined reference to `vAssertCalled'
../FreeRTOS/Source/event_groups.c:(.text+0x420): undefined reference to `vAssertCalled'
FreeRTOS/Source/event_groups.o:../FreeRTOS/Source/event_groups.c:(.text+0x490): more undefined references to `vAssertCalled' follow
FreeRTOS/Source/event_groups.o: In function `xEventGroupSync':
../FreeRTOS/Source/event_groups.c:(.text+0x4e0): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/event_groups.c:(.text+0x4e8): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/event_groups.c:(.text+0x5d0): undefined reference to `vAssertCalled'
../FreeRTOS/Source/event_groups.c:(.text+0x618): undefined reference to `vAssertCalled'
FreeRTOS/Source/event_groups.o: In function `vEventGroupDelete':
../FreeRTOS/Source/event_groups.c:(.text+0x6d8): undefined reference to `vAssertCalled'
../FreeRTOS/Source/event_groups.c:(.text+0x6f0): undefined reference to `vAssertCalled'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTaskCreate':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x28): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x58): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_vTaskDelete':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x94): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xb4): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTaskDelayUntil':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xd8): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xf0): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_vTaskDelay':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x128): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x148): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_uxTaskPriorityGet':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x168): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x17c): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_vTaskPrioritySet':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1b8): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1dc): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_eTaskGetState':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1fc): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x210): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_vTaskSuspend':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x248): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x268): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_vTaskResume':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x288): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x2a8): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_vTaskSuspendAll':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x2c0): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x2dc): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTaskResumeAll':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x2f8): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x30c): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTaskGetTickCount':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x340): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x354): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_uxTaskGetNumberOfTasks':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x388): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x39c): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_pcTaskGetName':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x3d4): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x3e8): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTaskCatchUpTicks':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x420): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x434): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_uxTaskGetStackHighWaterMark':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x46c): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x480): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTaskGetCurrentTaskHandle':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x4b4): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x4c8): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_vTaskSetTimeOutState':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x500): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x520): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTaskCheckForTimeOut':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x544): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x55c): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTaskGenericNotify':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x5a0): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x5c8): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTaskGenericNotifyWait':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x60c): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x634): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_ulTaskGenericNotifyTake':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x674): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x690): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTaskGenericNotifyStateClear':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x6cc): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x6e4): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_ulTaskGenericNotifyValueClear':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x724): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x740): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueGenericCreate':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x784): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x7a0): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueGenericReset':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x7e0): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x7f8): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueGenericSend':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x83c): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x85c): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_uxQueueMessagesWaiting':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x894): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x8a8): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_uxQueueSpacesAvailable':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x8e0): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x8f4): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueReceive':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x934): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x950): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueuePeek':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x990): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x9ac): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueSemaphoreTake':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x9e8): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xa00): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueCreateMutex':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xa38): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xa4c): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueCreateCountingSemaphore':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xa88): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xaa0): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueTakeMutexRecursive':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xadc): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xaf4): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueGiveMutexRecursive':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xb2c): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xb40): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueCreateSet':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xb78): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xb8c): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueSelectFromSet':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xbc8): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xbe0): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueAddToSet':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xc1c): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xc34): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xQueueRemoveFromSet':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xc70): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xc88): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_vQueueDelete':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xcc0): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xce0): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTimerCreate':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xd0c): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xd34): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_pvTimerGetTimerID':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xd6c): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xd80): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_vTimerSetTimerID':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xdbc): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xde0): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTimerIsTimerActive':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xe00): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xe14): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTimerGetTimerDaemonTaskHandle':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xe48): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xe5c): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTimerPendFunctionCall':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xea0): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xec0): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_vTimerSetReloadMode':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xefc): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xf20): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_uxTimerGetReloadMode':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xf40): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xf54): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_pcTimerGetName':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xf8c): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xfa0): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTimerGetPeriod':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xfd8): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0xfec): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTimerGetExpiryTime':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1024): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1038): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xTimerGenericCommand':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x107c): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x10a4): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xEventGroupCreate':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x10d8): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x10ec): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xEventGroupWaitBits':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1130): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1158): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xEventGroupClearBits':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1194): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x11ac): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xEventGroupSetBits':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x11e8): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1200): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xEventGroupSync':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1244): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1264): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_vEventGroupDelete':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x129c): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x12bc): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xStreamBufferSend':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x12e8): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1308): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xStreamBufferNextMessageLengthBytes':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1340): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1354): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xStreamBufferReceive':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1398): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x13b8): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_vStreamBufferDelete':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x13f0): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1410): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xStreamBufferIsFull':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1430): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1444): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xStreamBufferIsEmpty':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x147c): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1490): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xStreamBufferReset':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x14c8): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x14dc): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xStreamBufferSpacesAvailable':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1514): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1528): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xStreamBufferBytesAvailable':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1560): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1574): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xStreamBufferSetTriggerLevel':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x15b0): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x15c8): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/Common/mpu_wrappers.o: In function `MPU_xStreamBufferGenericCreate':
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1608): undefined reference to `xPortRaisePrivilege'
../FreeRTOS/Source/portable/Common/mpu_wrappers.c:(.text+0x1624): undefined reference to `vPortResetPrivilege'
FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.o: In function `prvTaskExitError':
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x10): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x34): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x4c): undefined reference to `vAssertCalled'
FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.o: In function `pxPortInitialiseStack':
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x90): undefined reference to `mips32r2_cp0_cause_get'
FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.o: In function `vPortEndScheduler':
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0xfc): undefined reference to `vAssertCalled'
FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.o: In function `uxPortSetInterruptMaskFromISR':
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x150): undefined reference to `__builtin_disable_interrupts'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x158): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x16c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.o: In function `vPortIncrementTick':
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x1ac): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x1f0): undefined reference to `vAssertCalled'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x1f8): undefined reference to `mips32r2_cp0_cause_bis'
FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.o: In function `vPortClearInterruptMaskFromISR':
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x208): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/portable/MemMang/heap_4.o: In function `pvPortMalloc':
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x1b8): undefined reference to `vAssertCalled'
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x1f0): undefined reference to `vApplicationMallocFailedHook'
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x220): undefined reference to `vAssertCalled'
FreeRTOS/Source/portable/MemMang/heap_4.o: In function `vPortFree':
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x2ec): undefined reference to `vAssertCalled'
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x330): undefined reference to `vAssertCalled'
FreeRTOS/Source/queue.o: In function `prvNotifyQueueSetContainer':
../FreeRTOS/Source/queue.c:(.text+0x1d4): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x208): undefined reference to `vAssertCalled'
FreeRTOS/Source/queue.o:../FreeRTOS/Source/queue.c:(.text+0x21c): more undefined references to `vAssertCalled' follow
FreeRTOS/Source/queue.o: In function `xQueueGenericReset':
../FreeRTOS/Source/queue.c:(.text+0x4b4): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x4bc): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/queue.o: In function `xQueueGenericCreate':
../FreeRTOS/Source/queue.c:(.text+0x57c): undefined reference to `vAssertCalled'
FreeRTOS/Source/queue.o: In function `xQueueCreateCountingSemaphore':
../FreeRTOS/Source/queue.c:(.text+0x5ec): undefined reference to `vAssertCalled'
FreeRTOS/Source/queue.o: In function `xQueueGenericSend':
../FreeRTOS/Source/queue.c:(.text+0x890): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x898): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x8ac): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x8cc): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x910): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x918): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x96c): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x984): undefined reference to `vAssertCalled'
FreeRTOS/Source/queue.o: In function `xQueueGiveMutexRecursive':
../FreeRTOS/Source/queue.c:(.text+0xa8c): undefined reference to `vAssertCalled'
FreeRTOS/Source/queue.o: In function `xQueueGenericSendFromISR':
../FreeRTOS/Source/queue.c:(.text+0xb48): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0xc44): undefined reference to `vAssertCalled'
FreeRTOS/Source/queue.o:../FreeRTOS/Source/queue.c:(.text+0xc5c): more undefined references to `vAssertCalled' follow
FreeRTOS/Source/queue.o: In function `xQueueReceive':
../FreeRTOS/Source/queue.c:(.text+0xfa4): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0xfac): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x1094): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x10b4): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x10bc): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x10dc): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x10f4): undefined reference to `vAssertCalled'
FreeRTOS/Source/queue.o: In function `xQueueSemaphoreTake':
../FreeRTOS/Source/queue.c:(.text+0x1284): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x128c): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x1374): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x13c0): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x1404): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x142c): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x1434): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x144c): undefined reference to `vAssertCalled'
FreeRTOS/Source/queue.o: In function `xQueueTakeMutexRecursive':
../FreeRTOS/Source/queue.c:(.text+0x1514): undefined reference to `vAssertCalled'
FreeRTOS/Source/queue.o: In function `xQueuePeek':
../FreeRTOS/Source/queue.c:(.text+0x1690): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x1698): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x177c): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x179c): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x17a4): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x17c4): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x17dc): undefined reference to `vAssertCalled'
FreeRTOS/Source/queue.o: In function `xQueueReceiveFromISR':
../FreeRTOS/Source/queue.c:(.text+0x18ec): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x1918): undefined reference to `vAssertCalled'
../FreeRTOS/Source/queue.c:(.text+0x1950): undefined reference to `vAssertCalled'
FreeRTOS/Source/queue.o:../FreeRTOS/Source/queue.c:(.text+0x1a20): more undefined references to `vAssertCalled' follow
FreeRTOS/Source/tasks.o: In function `vTaskSwitchContext.part.3':
../FreeRTOS/Source/tasks.c:(.text+0x208): undefined reference to `vApplicationStackOverflowHook'
../FreeRTOS/Source/tasks.c:(.text+0x218): undefined reference to `_clz'
../FreeRTOS/Source/tasks.c:(.text+0x2bc): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `xTaskResumeFromISR':
../FreeRTOS/Source/tasks.c:(.text+0x4d8): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `vTaskEndScheduler':
../FreeRTOS/Source/tasks.c:(.text+0x4f0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x50c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `pcTaskGetName':
../FreeRTOS/Source/tasks.c:(.text+0x598): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `xTaskIncrementTick':
../FreeRTOS/Source/tasks.c:(.text+0x7b4): undefined reference to `vApplicationTickHook'
../FreeRTOS/Source/tasks.c:(.text+0x7d0): undefined reference to `vApplicationTickHook'
../FreeRTOS/Source/tasks.c:(.text+0x81c): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `vTaskPlaceOnEventList':
../FreeRTOS/Source/tasks.c:(.text+0x89c): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `vTaskPlaceOnUnorderedEventList':
../FreeRTOS/Source/tasks.c:(.text+0x900): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x98c): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `vTaskPlaceOnEventListRestricted':
../FreeRTOS/Source/tasks.c:(.text+0xa2c): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o:../FreeRTOS/Source/tasks.c:(.text+0xbbc): more undefined references to `vAssertCalled' follow
FreeRTOS/Source/tasks.o: In function `vTaskEnterCritical':
../FreeRTOS/Source/tasks.c:(.text+0x11ec): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x1254): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x125c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskExitCritical':
../FreeRTOS/Source/tasks.c:(.text+0x12b8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x12cc): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `xTaskCreate':
../FreeRTOS/Source/tasks.c:(.text+0x1518): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x1520): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x159c): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `vTaskStartScheduler':
../FreeRTOS/Source/tasks.c:(.text+0x16a8): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x16d8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x16f0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskDelete':
../FreeRTOS/Source/tasks.c:(.text+0x1850): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x1868): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x18a4): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `eTaskGetState':
../FreeRTOS/Source/tasks.c:(.text+0x1994): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `vTaskPrioritySet':
../FreeRTOS/Source/tasks.c:(.text+0x1acc): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x1ad4): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x1b34): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `vTaskSuspend':
../FreeRTOS/Source/tasks.c:(.text+0x1d10): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x1d18): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x1d34): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/tasks.o: In function `vTaskResume':
../FreeRTOS/Source/tasks.c:(.text+0x1e80): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x1e88): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x1ea0): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `prvIdleTask':
../FreeRTOS/Source/tasks.c:(.text+0x1f48): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x1f50): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/tasks.o: In function `xTaskResumeAll':
../FreeRTOS/Source/tasks.c:(.text+0x2134): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x2144): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x214c): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/tasks.o: In function `xTaskDelayUntil':
../FreeRTOS/Source/tasks.c:(.text+0x21f8): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x2200): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x2250): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x2264): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x227c): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `vTaskDelay':
../FreeRTOS/Source/tasks.c:(.text+0x22a0): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x22b4): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x2304): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `xTaskCatchUpTicks':
../FreeRTOS/Source/tasks.c:(.text+0x2334): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `vTaskSetTimeOutState':
../FreeRTOS/Source/tasks.c:(.text+0x23a8): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `xTaskCheckForTimeOut':
../FreeRTOS/Source/tasks.c:(.text+0x24d4): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x24e8): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o:../FreeRTOS/Source/tasks.c:(.text+0x2654): more undefined references to `vAssertCalled' follow
FreeRTOS/Source/tasks.o: In function `ulTaskGenericNotifyTake':
../FreeRTOS/Source/tasks.c:(.text+0x266c): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x2674): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/tasks.o: In function `xTaskGenericNotifyWait':
../FreeRTOS/Source/tasks.c:(.text+0x27e8): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x2800): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x2808): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/tasks.o: In function `xTaskGenericNotify':
../FreeRTOS/Source/tasks.c:(.text+0x2998): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x29b8): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x29c0): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x2a2c): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x2a74): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x2a88): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o: In function `xTaskGenericNotifyFromISR':
../FreeRTOS/Source/tasks.c:(.text+0x2ba0): undefined reference to `vAssertCalled'
../FreeRTOS/Source/tasks.c:(.text+0x2c84): undefined reference to `vAssertCalled'
FreeRTOS/Source/tasks.o:../FreeRTOS/Source/tasks.c:(.text+0x2d64): more undefined references to `vAssertCalled' follow
FreeRTOS/Source/timers.o: In function `prvTimerTask':
../FreeRTOS/Source/timers.c:(.text+0x478): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/timers.c:(.text+0x480): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/timers.c:(.text+0x4d8): undefined reference to `vAssertCalled'
FreeRTOS/Source/timers.o: In function `xTimerCreateTimerTask':
../FreeRTOS/Source/timers.c:(.text+0x570): undefined reference to `vAssertCalled'
FreeRTOS/Source/timers.o: In function `xTimerCreate':
../FreeRTOS/Source/timers.c:(.text+0x630): undefined reference to `vAssertCalled'
FreeRTOS/Source/timers.o: In function `xTimerGenericCommand':
../FreeRTOS/Source/timers.c:(.text+0x730): undefined reference to `vAssertCalled'
FreeRTOS/Source/timers.o: In function `xTimerGetTimerDaemonTaskHandle':
../FreeRTOS/Source/timers.c:(.text+0x764): undefined reference to `vAssertCalled'
FreeRTOS/Source/timers.o:../FreeRTOS/Source/timers.c:(.text+0x7ac): more undefined references to `vAssertCalled' follow
sys_arch.o: In function `sys_assert':
../sys_arch.c:(.text+0x6d4): undefined reference to `LOG'
/usr/local/lib/gcc/mipsel-mti-elf/4.9.2/../../../../mipsel-mti-elf/lib/mipsel-r2-soft-newlib/lib/libc.a(lib_a-abort.o): In function `abort':
../../../../../newlib-2016.05-03/newlib/libc/stdlib/abort.c:(.text+0x10): undefined reference to `_exit'
/usr/local/lib/gcc/mipsel-mti-elf/4.9.2/../../../../mipsel-mti-elf/lib/mipsel-r2-soft-newlib/lib/libc.a(lib_a-fstatr.o): In function `_fstat_r':
../../../../../newlib-2016.05-03/newlib/libc/reent/fstatr.c:(.text+0x20): undefined reference to `fstat'
collect2: error: ld returned 1 exit status

See https://www.freertos.org/a00110.html#configASSERT to clear up the vAssertCalled() errors. You need to provide it yourself.

Also, if you are running on MIPS, you should not be compiling mpu_wrappers.c.

Thanks to all
I fix a bit thanks to yours recomendations
Now I have got one type of error but in many instatances:

FreeRTOS/Source/event_groups.o: In function `xEventGroupWaitBits':
../FreeRTOS/Source/event_groups.c:(.text+0x78): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0xb4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0xd4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0x124): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0x13c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/event_groups.c:(.text+0x194): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/event_groups.c:(.text+0x1a8): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/event_groups.c:(.text+0x1bc): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/event_groups.c:(.text+0x1fc): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/event_groups.c:(.text+0x204): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/event_groups.o: In function `xEventGroupClearBits':
../FreeRTOS/Source/event_groups.c:(.text+0x2a0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0x2f4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0x30c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/event_groups.c:(.text+0x320): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/event_groups.o: In function `xEventGroupSetBits':
../FreeRTOS/Source/event_groups.c:(.text+0x3a0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0x47c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0x494): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/event_groups.c:(.text+0x4e4): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/event_groups.o: In function `xEventGroupSync':
../FreeRTOS/Source/event_groups.c:(.text+0x528): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0x568): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0x588): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0x60c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/event_groups.c:(.text+0x63c): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/event_groups.c:(.text+0x644): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/event_groups.c:(.text+0x6ac): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/event_groups.c:(.text+0x6c0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/event_groups.o: In function `vEventGroupDelete':
../FreeRTOS/Source/event_groups.c:(.text+0x77c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0x79c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/event_groups.c:(.text+0x7b4): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/event_groups.c:(.text+0x7c8): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.o: In function `prvTaskExitError':
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x10): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x30): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x54): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x68): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.o: In function `pxPortInitialiseStack':
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0xac): undefined reference to `mips32r2_cp0_cause_get'
FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.o: In function `vPortEndScheduler':
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x118): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x148): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.o: In function `uxPortSetInterruptMaskFromISR':
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x188): undefined reference to `__builtin_disable_interrupts'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x190): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x1a4): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.o: In function `vPortIncrementTick':
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x1e4): undefined reference to `mips32r2_cp0_cause_bis'
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x1f8): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.o: In function `vPortClearInterruptMaskFromISR':
../FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c:(.text+0x200): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/portable/MemMang/heap_4.o: In function `pvPortMalloc':
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x1f8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x268): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x28c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x2a0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/portable/MemMang/heap_4.o: In function `vPortFree':
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x2ec): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x30c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x378): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/portable/MemMang/heap_4.c:(.text+0x38c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `prvNotifyQueueSetContainer':
../FreeRTOS/Source/queue.c:(.text+0x1cc): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1f0): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x200): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x218): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x228): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x240): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `xQueueGenericReset':
../FreeRTOS/Source/queue.c:(.text+0x440): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x460): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x478): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x48c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x534): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x53c): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/queue.o: In function `xQueueGenericCreate':
../FreeRTOS/Source/queue.c:(.text+0x594): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x5b8): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `xQueueCreateCountingSemaphore':
../FreeRTOS/Source/queue.c:(.text+0x634): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x658): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `xQueueGenericSend':
../FreeRTOS/Source/queue.c:(.text+0x810): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x85c): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x864): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x8ec): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x904): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x9c8): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x9d0): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x9fc): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0xa0c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0xa30): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0xa4c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0xa70): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `xQueueGiveMutexRecursive':
../FreeRTOS/Source/queue.c:(.text+0xb10): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0xb58): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `xQueueGenericSendFromISR':
../FreeRTOS/Source/queue.c:(.text+0xc2c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0xcc8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0xce0): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0xcf0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0xd08): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0xde0): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0xdfc): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0xe20): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `xQueueGiveFromISR':
../FreeRTOS/Source/queue.c:(.text+0xed8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0xef8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0xf10): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0xf24): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0xf34): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0xf4c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x102c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1050): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `xQueueReceive':
../FreeRTOS/Source/queue.c:(.text+0x1230): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x1238): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x1248): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1260): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x12a0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x12c4): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x12e0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1304): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x1324): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x132c): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/queue.o: In function `xQueueSemaphoreTake':
../FreeRTOS/Source/queue.c:(.text+0x1370): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1544): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x154c): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x155c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1574): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x15dc): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x15f4): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x1640): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1664): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x1678): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x1698): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x16a0): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/queue.o: In function `xQueueTakeMutexRecursive':
../FreeRTOS/Source/queue.c:(.text+0x170c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1754): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `xQueuePeek':
../FreeRTOS/Source/queue.c:(.text+0x1928): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x1930): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/queue.c:(.text+0x1940): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1958): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x1994): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x19b8): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x19d4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x19f8): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x1a18): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/queue.c:(.text+0x1a20): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/queue.o: In function `xQueueReceiveFromISR':
../FreeRTOS/Source/queue.c:(.text+0x1b08): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1b20): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x1b30): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1b48): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x1ba0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1bc4): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `xQueuePeekFromISR':
../FreeRTOS/Source/queue.c:(.text+0x1c50): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1cb4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1ccc): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x1d1c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/queue.c:(.text+0x1d34): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1d58): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `uxQueueMessagesWaiting':
../FreeRTOS/Source/queue.c:(.text+0x1da4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1dc8): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `uxQueueSpacesAvailable':
../FreeRTOS/Source/queue.c:(.text+0x1e18): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1e3c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `uxQueueMessagesWaitingFromISR':
../FreeRTOS/Source/queue.c:(.text+0x1e68): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1e8c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `vQueueDelete':
../FreeRTOS/Source/queue.c:(.text+0x1eb4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1ed8): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `xQueueIsQueueEmptyFromISR':
../FreeRTOS/Source/queue.c:(.text+0x1f04): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1f28): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/queue.o: In function `xQueueIsQueueFullFromISR':
../FreeRTOS/Source/queue.c:(.text+0x1f5c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/queue.c:(.text+0x1f80): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `prvInitialiseNewStreamBuffer':
../FreeRTOS/Source/stream_buffer.c:(.text+0x44): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x68): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `prvWriteBytesToBuffer':
../FreeRTOS/Source/stream_buffer.c:(.text+0x100): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x150): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x168): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0x178): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x1dc): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0x1f0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `prvReadBytesFromBuffer':
../FreeRTOS/Source/stream_buffer.c:(.text+0x304): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x374): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x394): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x3b8): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0x3cc): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0x3e0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferGenericCreate':
../FreeRTOS/Source/stream_buffer.c:(.text+0x5b4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x5d4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x5f4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x60c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0x63c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0x650): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `vStreamBufferDelete':
../FreeRTOS/Source/stream_buffer.c:(.text+0x690): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x6b4): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferReset':
../FreeRTOS/Source/stream_buffer.c:(.text+0x714): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x784): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferSetTriggerLevel':
../FreeRTOS/Source/stream_buffer.c:(.text+0x7cc): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x7f0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferSpacesAvailable':
../FreeRTOS/Source/stream_buffer.c:(.text+0x844): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x868): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferBytesAvailable':
../FreeRTOS/Source/stream_buffer.c:(.text+0x8ac): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x8d0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferSend':
../FreeRTOS/Source/stream_buffer.c:(.text+0x9c4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0xaa8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0xac8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0xb48): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0xb58): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0xb70): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0xb84): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0xb98): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferSendFromISR':
../FreeRTOS/Source/stream_buffer.c:(.text+0xcc8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0xce8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0xd0c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0xd20): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferReceive':
../FreeRTOS/Source/stream_buffer.c:(.text+0xea0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0xec0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0xee0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0xf40): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0xf54): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0xf68): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferNextMessageLengthBytes':
../FreeRTOS/Source/stream_buffer.c:(.text+0xfd8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x101c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0x102c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x1044): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferReceiveFromISR':
../FreeRTOS/Source/stream_buffer.c:(.text+0x114c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x116c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x1190): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/stream_buffer.c:(.text+0x11a4): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferIsEmpty':
../FreeRTOS/Source/stream_buffer.c:(.text+0x11d8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x11fc): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferIsFull':
../FreeRTOS/Source/stream_buffer.c:(.text+0x1248): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x126c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferSendCompletedFromISR':
../FreeRTOS/Source/stream_buffer.c:(.text+0x12fc): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x1348): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/stream_buffer.o: In function `xStreamBufferReceiveCompletedFromISR':
../FreeRTOS/Source/stream_buffer.c:(.text+0x13d8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/stream_buffer.c:(.text+0x1424): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `prvTaskIsTaskSuspended.part.1':
../FreeRTOS/Source/tasks.c:(.text+0x160): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x184): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `xTaskResumeFromISR':
../FreeRTOS/Source/tasks.c:(.text+0x334): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x390): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskEndScheduler':
../FreeRTOS/Source/tasks.c:(.text+0x3a8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x3c4): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `pcTaskGetName':
../FreeRTOS/Source/tasks.c:(.text+0x438): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x45c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `xTaskIncrementTick':
../FreeRTOS/Source/tasks.c:(.text+0x6a8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x6d8): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskSwitchContext':
../FreeRTOS/Source/tasks.c:(.text+0x718): undefined reference to `_clz'
../FreeRTOS/Source/tasks.c:(.text+0x774): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x7b0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskPlaceOnEventList':
../FreeRTOS/Source/tasks.c:(.text+0x7f8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x81c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskPlaceOnUnorderedEventList':
../FreeRTOS/Source/tasks.c:(.text+0x848): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x8d4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x8ec): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x900): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskPlaceOnEventListRestricted':
../FreeRTOS/Source/tasks.c:(.text+0x984): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x9a8): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `xTaskRemoveFromEventList':
../FreeRTOS/Source/tasks.c:(.text+0xb24): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0xb48): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskRemoveFromUnorderedEventList':
../FreeRTOS/Source/tasks.c:(.text+0xc5c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0xc7c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0xc94): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0xca8): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `xTaskPriorityDisinherit':
../FreeRTOS/Source/tasks.c:(.text+0xef8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0xf24): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0xf70): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0xf88): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskPriorityDisinheritAfterTimeout':
../FreeRTOS/Source/tasks.c:(.text+0x1168): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x118c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x119c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x11b4): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskEnterCritical':
../FreeRTOS/Source/tasks.c:(.text+0x11f0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x124c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x126c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x1280): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskExitCritical':
../FreeRTOS/Source/tasks.c:(.text+0x12dc): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x12f0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `xTaskCreate':
../FreeRTOS/Source/tasks.c:(.text+0x153c): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x1544): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x157c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x15e0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskStartScheduler':
../FreeRTOS/Source/tasks.c:(.text+0x16ec): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x1738): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x1758): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x176c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskDelete':
../FreeRTOS/Source/tasks.c:(.text+0x18b0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x18d0): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x18e8): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x1918): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `eTaskGetState':
../FreeRTOS/Source/tasks.c:(.text+0x1a1c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x1a5c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskPrioritySet':
../FreeRTOS/Source/tasks.c:(.text+0x1b80): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x1b88): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x1bc0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x1bf0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskSuspend':
../FreeRTOS/Source/tasks.c:(.text+0x1db0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x1e24): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x1e40): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x1e68): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskResume':
../FreeRTOS/Source/tasks.c:(.text+0x1f70): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x1f78): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x1f94): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x1fb8): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `prvIdleTask':
../FreeRTOS/Source/tasks.c:(.text+0x2050): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x2058): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/tasks.o: In function `xTaskResumeAll':
../FreeRTOS/Source/tasks.c:(.text+0x2080): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x2284): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x22a4): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x22ac): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/tasks.o: In function `xTaskDelayUntil':
../FreeRTOS/Source/tasks.c:(.text+0x2354): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x235c): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x238c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x23ac): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x23d0): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x23e4): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x23f4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x240c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskDelay':
../FreeRTOS/Source/tasks.c:(.text+0x2428): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x2438): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x244c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x24a0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `xTaskCatchUpTicks':
../FreeRTOS/Source/tasks.c:(.text+0x24c0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x250c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskSetTimeOutState':
../FreeRTOS/Source/tasks.c:(.text+0x2558): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x257c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `xTaskCheckForTimeOut':
../FreeRTOS/Source/tasks.c:(.text+0x267c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x26a0): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x26b0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x26c8): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `ulTaskGenericNotifyTake':
../FreeRTOS/Source/tasks.c:(.text+0x2738): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x27e4): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x2828): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x2830): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/tasks.o: In function `xTaskGenericNotifyWait':
../FreeRTOS/Source/tasks.c:(.text+0x2860): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x2944): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x29a4): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x29ac): undefined reference to `mips32r2_cp0_cause_set'
FreeRTOS/Source/tasks.o: In function `xTaskGenericNotify':
../FreeRTOS/Source/tasks.c:(.text+0x2ae0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x2b28): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x2b48): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x2b60): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x2b74): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x2b88): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x2bac): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/tasks.c:(.text+0x2bb4): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/tasks.c:(.text+0x2c4c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x2c64): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `xTaskGenericNotifyFromISR':
../FreeRTOS/Source/tasks.c:(.text+0x2ca8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x2d3c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x2d5c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x2d74): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x2d88): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x2f60): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x2f78): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x2f8c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `vTaskGenericNotifyGiveFromISR':
../FreeRTOS/Source/tasks.c:(.text+0x2fbc): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x3018): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x3114): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x312c): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x3140): undefined reference to `mips32r2_cp0_status_set'
../FreeRTOS/Source/tasks.c:(.text+0x3190): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/tasks.o: In function `xTaskGenericNotifyStateClear':
../FreeRTOS/Source/tasks.c:(.text+0x31f0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/tasks.c:(.text+0x3240): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `prvTimerTask':
../FreeRTOS/Source/timers.c:(.text+0x46c): undefined reference to `mips32r2_cp0_cause_get'
../FreeRTOS/Source/timers.c:(.text+0x474): undefined reference to `mips32r2_cp0_cause_set'
../FreeRTOS/Source/timers.c:(.text+0x4f4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0x518): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `xTimerCreateTimerTask':
../FreeRTOS/Source/timers.c:(.text+0x57c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0x5a0): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `xTimerCreate':
../FreeRTOS/Source/timers.c:(.text+0x5f4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0x674): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `xTimerGenericCommand':
../FreeRTOS/Source/timers.c:(.text+0x718): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0x74c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `xTimerGetTimerDaemonTaskHandle':
../FreeRTOS/Source/timers.c:(.text+0x778): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0x79c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `xTimerGetPeriod':
../FreeRTOS/Source/timers.c:(.text+0x7c4): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0x7e8): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `vTimerSetReloadMode':
../FreeRTOS/Source/timers.c:(.text+0x858): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0x87c): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `uxTimerGetReloadMode':
../FreeRTOS/Source/timers.c:(.text+0x8c8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0x8ec): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `xTimerGetExpiryTime':
../FreeRTOS/Source/timers.c:(.text+0x914): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0x938): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `pcTimerGetName':
../FreeRTOS/Source/timers.c:(.text+0x960): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0x984): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `xTimerIsTimerActive':
../FreeRTOS/Source/timers.c:(.text+0x9d0): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0x9f4): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `pvTimerGetTimerID':
../FreeRTOS/Source/timers.c:(.text+0xa3c): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0xa60): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `vTimerSetTimerID':
../FreeRTOS/Source/timers.c:(.text+0xaa8): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0xacc): undefined reference to `mips32r2_cp0_status_set'
FreeRTOS/Source/timers.o: In function `xTimerPendFunctionCall':
../FreeRTOS/Source/timers.c:(.text+0xb64): undefined reference to `mips32r2_cp0_status_get'
../FreeRTOS/Source/timers.c:(.text+0xb88): undefined reference to `mips32r2_cp0_status_set'
sys_arch.o: In function `sys_mbox_free':
../sys_arch.c:(.text+0xc8): undefined reference to `mips32r2_cp0_status_get'
../sys_arch.c:(.text+0xec): undefined reference to `mips32r2_cp0_status_set'
sys_arch.o: In function `sys_arch_mbox_fetch':
../sys_arch.c:(.text+0x250): undefined reference to `mips32r2_cp0_status_get'
../sys_arch.c:(.text+0x2ac): undefined reference to `mips32r2_cp0_status_set'
sys_arch.o: In function `sys_assert':
../sys_arch.c:(.text+0x6e8): undefined reference to `LOG'
/usr/local/lib/gcc/mipsel-mti-elf/4.9.2/../../../../mipsel-mti-elf/lib/mipsel-r2-soft-newlib/lib/libc.a(lib_a-abort.o): In function `abort':
../../../../../newlib-2016.05-03/newlib/libc/stdlib/abort.c:(.text+0x10): undefined reference to `_exit'
/usr/local/lib/gcc/mipsel-mti-elf/4.9.2/../../../../mipsel-mti-elf/lib/mipsel-r2-soft-newlib/lib/libc.a(lib_a-fstatr.o): In function `_fstat_r':
../../../../../newlib-2016.05-03/newlib/libc/reent/fstatr.c:(.text+0x20): undefined reference to `fstat'

In provided for PIC32MZ FreeRTOS sources I havent found definition of mips32r2_cp0_status_get/mips32r2_cp0_status_set only definition in based on it in platform.h

Please help, where can I get it?

What is translating to mips32r2_cp0_status_get/mips32r2_cp0_status_set? Is some pre-processor macro expanding to it?

I just wanted to know about it, I couldn’t find any definition of mips32r2_cp0_status_get/mips32r2_cp0_status_set and also I didnt find mipscpu.h on which FreeRTOS platform.h pointed

Are you using one of our official port? Can you show me the code so that I can try to understand?

Im not sure, but I get it from Demo folder from FreeRTOSv202112.00
Now also Ive another type off errors and now during compilation

mipsel-mti-elf-gcc -c -msoft-float -march=mips32r2 -DDEBUG_MASK=0x0F -DNO_SYS=0 -DLWIP_COMPAT_MUTEX=1 -O2 -g -I/home/.local/9024/t7/t7prj -I/usr/local/mipsel-mti-elf/include -I/home/.local/9024/t7/t7prj/shared -I/home/.local/9024/t7/t7prj/shared/include -I/home/.local/9024/t7/t7prj/shared/libs -I/home/.local/9024/t7/t7prj/shared/periphery -I/home/.local/9024/t7/t7prj/shared/runtime -I/home/.local/9024/t7/t7prj/FreeRTOS/Source/portable/MPLAB/PIC32MZ -I/home/.local/9024/t7/t7prj/FreeRTOS/Source/include -I/home/.local/9024/t7/t7prj/FreeRTOS/Demo/PIC32MZ_MPLAB -I/home/.local/9024/t7/t7prj/FreeRTOS/Demo/Common/include -include/usr/local/mipsel-mti-elf/include/stdint.h -include/home/.local/9024/t7/t7prj/common.h -include/home/.local/9024/t7/t7prj/shared/include/debug90.h -Wall -std=c99 -o FreeRTOS/Source/stream_buffer.o ../FreeRTOS/Source/stream_buffer.c 
In file included from /home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:65:0,
                 from ../FreeRTOS/Source/stream_buffer.c:39:
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h: In function ‘pxPortInitialiseStack’:
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:130:68: error: expected declaration specifiers before ‘PRIVILEGED_FUNCTION’
                                              void * pvParameters ) PRIVILEGED_FUNCTION;
                                                                    ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:140:3: error: storage class specified for parameter ‘HeapRegion_t’
 } HeapRegion_t;
   ^
In file included from /home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:65:0,
                 from ../FreeRTOS/Source/stream_buffer.c:39:
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:152:3: error: storage class specified for parameter ‘HeapStats_t’
 } HeapStats_t;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:165:36: warning: type defaults to ‘int’ in declaration of ‘HeapRegion_t’
 void vPortDefineHeapRegions( const HeapRegion_t * const pxHeapRegions ) PRIVILEGED_FUNCTION;
                                    ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:165:49: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
 void vPortDefineHeapRegions( const HeapRegion_t * const pxHeapRegions ) PRIVILEGED_FUNCTION;
                                                 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:171:25: error: expected declaration specifiers or ‘...’ before ‘HeapStats_t’
 void vPortGetHeapStats( HeapStats_t * pxHeapStats );
                         ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:176:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 void * pvPortMalloc( size_t xSize ) PRIVILEGED_FUNCTION;
                                     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:177:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 void vPortFree( void * pv ) PRIVILEGED_FUNCTION;
                             ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:178:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 void vPortInitialiseBlocks( void ) PRIVILEGED_FUNCTION;
                                    ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:179:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 size_t xPortGetFreeHeapSize( void ) PRIVILEGED_FUNCTION;
                                     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:180:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 size_t xPortGetMinimumEverFreeHeapSize( void ) PRIVILEGED_FUNCTION;
                                                ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:194:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 BaseType_t xPortStartScheduler( void ) PRIVILEGED_FUNCTION;
                                        ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:201:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 void vPortEndScheduler( void ) PRIVILEGED_FUNCTION;
                                ^
In file included from ../FreeRTOS/Source/stream_buffer.c:39:0:
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1130:1: warning: empty declaration
 struct xSTATIC_LIST_ITEM
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1141:34: error: storage class specified for parameter ‘StaticListItem_t’
 typedef struct xSTATIC_LIST_ITEM StaticListItem_t;
                                  ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1144:1: warning: empty declaration
 struct xSTATIC_MINI_LIST_ITEM
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1152:39: error: storage class specified for parameter ‘StaticMiniListItem_t’
 typedef struct xSTATIC_MINI_LIST_ITEM StaticMiniListItem_t;
                                       ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1162:5: error: expected specifier-qualifier-list before ‘StaticMiniListItem_t’
     StaticMiniListItem_t xDummy4;
     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1166:3: error: storage class specified for parameter ‘StaticList_t’
 } StaticList_t;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1187:5: error: expected specifier-qualifier-list before ‘StaticListItem_t’
     StaticListItem_t xDummy3[ 2 ];
     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1229:3: error: storage class specified for parameter ‘StaticTask_t’
 } StaticTask_t;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1255:5: error: expected specifier-qualifier-list before ‘StaticList_t’
     StaticList_t xDummy3[ 2 ];
     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1271:3: error: storage class specified for parameter ‘StaticQueue_t’
 } StaticQueue_t;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1272:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘StaticSemaphore_t’
 typedef StaticQueue_t StaticSemaphore_t;
                       ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1291:5: error: expected specifier-qualifier-list before ‘StaticList_t’
     StaticList_t xDummy2;
     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1300:3: error: storage class specified for parameter ‘StaticEventGroup_t’
 } StaticEventGroup_t;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1319:5: error: expected specifier-qualifier-list before ‘StaticListItem_t’
     StaticListItem_t xDummy2;
     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1327:3: error: storage class specified for parameter ‘StaticTimer_t’
 } StaticTimer_t;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1351:3: error: storage class specified for parameter ‘StaticStreamBuffer_t’
 } StaticStreamBuffer_t;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:1354:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘StaticMessageBuffer_t’
 typedef StaticStreamBuffer_t StaticMessageBuffer_t;
                              ^
In file included from /home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:37:0,
                 from ../FreeRTOS/Source/stream_buffer.c:40:
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:143:1: warning: empty declaration
 struct xLIST;
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:144:1: warning: empty declaration
 struct xLIST_ITEM
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:154:27: error: storage class specified for parameter ‘ListItem_t’
 typedef struct xLIST_ITEM ListItem_t;                   /* For some reason lint wants this as two separate definitions. */
                           ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:156:1: warning: empty declaration
 struct xMINI_LIST_ITEM
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:163:32: error: storage class specified for parameter ‘MiniListItem_t’
 typedef struct xMINI_LIST_ITEM MiniListItem_t;
                                ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:172:5: error: expected specifier-qualifier-list before ‘ListItem_t’
     ListItem_t * configLIST_VOLATILE pxIndex; /*< Used to walk through the list.  Points to the last item returned by a call to listGET_OWNER_OF_NEXT_ENTRY (). */
     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:175:3: error: storage class specified for parameter ‘List_t’
 } List_t;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:429:23: error: expected declaration specifiers or ‘...’ before ‘List_t’
 void vListInitialise( List_t * const pxList ) PRIVILEGED_FUNCTION;
                       ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:440:27: error: expected declaration specifiers or ‘...’ before ‘ListItem_t’
 void vListInitialiseItem( ListItem_t * const pxItem ) PRIVILEGED_FUNCTION;
                           ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:453:19: error: expected declaration specifiers or ‘...’ before ‘List_t’
 void vListInsert( List_t * const pxList,
                   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:454:19: error: expected declaration specifiers or ‘...’ before ‘ListItem_t’
                   ListItem_t * const pxNewListItem ) PRIVILEGED_FUNCTION;
                   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:475:22: error: expected declaration specifiers or ‘...’ before ‘List_t’
 void vListInsertEnd( List_t * const pxList,
                      ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:476:22: error: expected declaration specifiers or ‘...’ before ‘ListItem_t’
                      ListItem_t * const pxNewListItem ) PRIVILEGED_FUNCTION;
                      ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/list.h:491:27: error: expected declaration specifiers or ‘...’ before ‘ListItem_t’
 UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove ) PRIVILEGED_FUNCTION;
                           ^
In file included from ../FreeRTOS/Source/stream_buffer.c:40:0:
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:86:1: warning: empty declaration
 struct tskTaskControlBlock; /* The old naming convention is used to prevent breaking kernel aware debuggers. */
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:87:38: error: storage class specified for parameter ‘TaskHandle_t’
 typedef struct tskTaskControlBlock * TaskHandle_t;
                                      ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:93:23: error: storage class specified for parameter ‘TaskHookFunction_t’
 typedef BaseType_t (* TaskHookFunction_t)( void * );
                       ^
In file included from ../FreeRTOS/Source/stream_buffer.c:40:0:
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:104:3: error: storage class specified for parameter ‘eTaskState’
 } eTaskState;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:114:3: error: storage class specified for parameter ‘eNotifyAction’
 } eNotifyAction;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:123:3: error: storage class specified for parameter ‘TimeOut_t’
 } TimeOut_t;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:133:3: error: storage class specified for parameter ‘MemoryRegion_t’
 } MemoryRegion_t;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:146:5: error: expected specifier-qualifier-list before ‘MemoryRegion_t’
     MemoryRegion_t xRegions[ portNUM_CONFIGURABLE_REGIONS ];
     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:150:3: error: storage class specified for parameter ‘TaskParameters_t’
 } TaskParameters_t;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:156:5: error: expected specifier-qualifier-list before ‘TaskHandle_t’
     TaskHandle_t xHandle;                         /* The handle of the task to which the rest of the information in the structure relates. */
     ^
In file included from ../FreeRTOS/Source/stream_buffer.c:40:0:
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:165:3: error: storage class specified for parameter ‘TaskStatus_t’
 } TaskStatus_t;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:173:3: error: storage class specified for parameter ‘eSleepModeStatus’
 } eSleepModeStatus;
   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:354:29: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
                             TaskHandle_t * const pxCreatedTask ) PRIVILEGED_FUNCTION;
                             ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:690:31: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 void vTaskAllocateMPURegions( TaskHandle_t xTask,
                               ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:691:37: warning: type defaults to ‘int’ in declaration of ‘MemoryRegion_t’
                               const MemoryRegion_t * const pxRegions ) PRIVILEGED_FUNCTION;
                                     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:691:52: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
                               const MemoryRegion_t * const pxRegions ) PRIVILEGED_FUNCTION;
                                                    ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:734:19: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 void vTaskDelete( TaskHandle_t xTaskToDelete ) PRIVILEGED_FUNCTION;
                   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:788:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 void vTaskDelay( const TickType_t xTicksToDelay ) PRIVILEGED_FUNCTION;
                                                   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:856:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
                             const TickType_t xTimeIncrement ) PRIVILEGED_FUNCTION;
                                                               ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:898:29: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 BaseType_t xTaskAbortDelay( TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
                             ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:947:38: warning: type defaults to ‘int’ in declaration of ‘TaskHandle_t’
 UBaseType_t uxTaskPriorityGet( const TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
                                      ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:947:51: error: expected ‘;’, ‘,’ or ‘)’ before ‘xTask’
 UBaseType_t uxTaskPriorityGet( const TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
                                                   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:957:45: warning: type defaults to ‘int’ in declaration of ‘TaskHandle_t’
 UBaseType_t uxTaskPriorityGetFromISR( const TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
                                             ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:957:58: error: expected ‘;’, ‘,’ or ‘)’ before ‘xTask’
 UBaseType_t uxTaskPriorityGetFromISR( const TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
                                                          ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:977:1: error: expected declaration specifiers before ‘eTaskState’
 eTaskState eTaskGetState( TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1035:20: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 void vTaskGetInfo( TaskHandle_t xTask,
                    ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1036:20: error: expected declaration specifiers or ‘...’ before ‘TaskStatus_t’
                    TaskStatus_t * pxTaskStatus,
                    ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1038:20: error: expected declaration specifiers or ‘...’ before ‘eTaskState’
                    eTaskState eState ) PRIVILEGED_FUNCTION;
                    ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1082:24: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 void vTaskPrioritySet( TaskHandle_t xTask,
                        ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1136:20: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 void vTaskSuspend( TaskHandle_t xTaskToSuspend ) PRIVILEGED_FUNCTION;
                    ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1187:19: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 void vTaskResume( TaskHandle_t xTaskToResume ) PRIVILEGED_FUNCTION;
                   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1218:32: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 BaseType_t xTaskResumeFromISR( TaskHandle_t xTaskToResume ) PRIVILEGED_FUNCTION;
                                ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1253:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 void vTaskStartScheduler( void ) PRIVILEGED_FUNCTION;
                                  ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1311:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 void vTaskEndScheduler( void ) PRIVILEGED_FUNCTION;
                                ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1364:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 void vTaskSuspendAll( void ) PRIVILEGED_FUNCTION;
                              ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1420:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 BaseType_t xTaskResumeAll( void ) PRIVILEGED_FUNCTION;
                                   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1437:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 TickType_t xTaskGetTickCount( void ) PRIVILEGED_FUNCTION;
                                      ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1455:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 TickType_t xTaskGetTickCountFromISR( void ) PRIVILEGED_FUNCTION;
                                             ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1471:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 UBaseType_t uxTaskGetNumberOfTasks( void ) PRIVILEGED_FUNCTION;
                                            ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1486:23: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 char * pcTaskGetName( TaskHandle_t xTaskToQuery ) PRIVILEGED_FUNCTION; /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
                       ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1504:1: error: expected declaration specifiers before ‘TaskHandle_t’
 TaskHandle_t xTaskGetHandle( const char * pcNameToQuery ) PRIVILEGED_FUNCTION; /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1533:42: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 UBaseType_t uxTaskGetStackHighWaterMark( TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
                                          ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1562:54: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 configSTACK_DEPTH_TYPE uxTaskGetStackHighWaterMark2( TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
                                                      ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1693:42: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 BaseType_t xTaskCallApplicationTaskHook( TaskHandle_t xTask,
                                          ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1703:1: error: expected declaration specifiers before ‘TaskHandle_t’
 TaskHandle_t xTaskGetIdleTaskHandle( void ) PRIVILEGED_FUNCTION;
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1802:35: error: expected declaration specifiers or ‘...’ before ‘TaskStatus_t’
 UBaseType_t uxTaskGetSystemState( TaskStatus_t * const pxTaskStatusArray,
                                   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1855:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 void vTaskList( char * pcWriteBuffer ) PRIVILEGED_FUNCTION; /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
                                        ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1911:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 void vTaskGetRunTimeStats( char * pcWriteBuffer ) PRIVILEGED_FUNCTION; /*lint !e971 Unqualified char types are allowed for strings and single characters only. */
                                                   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1951:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 configRUN_TIME_COUNTER_TYPE ulTaskGetIdleRunTimeCounter( void ) PRIVILEGED_FUNCTION;
                                                                 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:1952:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 configRUN_TIME_COUNTER_TYPE ulTaskGetIdleRunTimePercent( void ) PRIVILEGED_FUNCTION;
                                                                 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2062:32: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 BaseType_t xTaskGenericNotify( TaskHandle_t xTaskToNotify,
                                ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2065:32: error: expected declaration specifiers or ‘...’ before ‘eNotifyAction’
                                eNotifyAction eAction,
                                ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2214:39: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 BaseType_t xTaskGenericNotifyFromISR( TaskHandle_t xTaskToNotify,
                                       ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2217:39: error: expected declaration specifiers or ‘...’ before ‘eNotifyAction’
                                       eNotifyAction eAction,
                                       ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2362:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
                                    TickType_t xTicksToWait ) PRIVILEGED_FUNCTION;
                                                              ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2524:37: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 void vTaskGenericNotifyGiveFromISR( TaskHandle_t xTaskToNotify,
                                     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2632:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
                                   TickType_t xTicksToWait ) PRIVILEGED_FUNCTION;
                                                             ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2695:42: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 BaseType_t xTaskGenericNotifyStateClear( TaskHandle_t xTask,
                                          ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2760:41: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 uint32_t ulTaskGenericNotifyValueClear( TaskHandle_t xTask,
                                         ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2782:28: error: expected declaration specifiers or ‘...’ before ‘TimeOut_t’
 void vTaskSetTimeOutState( TimeOut_t * const pxTimeOut ) PRIVILEGED_FUNCTION;
                            ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2867:34: error: expected declaration specifiers or ‘...’ before ‘TimeOut_t’
 BaseType_t xTaskCheckForTimeOut( TimeOut_t * const pxTimeOut,
                                  ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2896:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 BaseType_t xTaskCatchUpTicks( TickType_t xTicksToCatchUp ) PRIVILEGED_FUNCTION;
                                                            ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2918:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 BaseType_t xTaskIncrementTick( void ) PRIVILEGED_FUNCTION;
                                       ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2951:29: error: expected declaration specifiers or ‘...’ before ‘List_t’
 void vTaskPlaceOnEventList( List_t * const pxEventList,
                             ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2953:38: error: expected declaration specifiers or ‘...’ before ‘List_t’
 void vTaskPlaceOnUnorderedEventList( List_t * pxEventList,
                                      ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2968:39: error: expected declaration specifiers or ‘...’ before ‘List_t’
 void vTaskPlaceOnEventListRestricted( List_t * const pxEventList,
                                       ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2996:44: warning: type defaults to ‘int’ in declaration of ‘List_t’
 BaseType_t xTaskRemoveFromEventList( const List_t * const pxEventList ) PRIVILEGED_FUNCTION;
                                            ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2996:51: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
 BaseType_t xTaskRemoveFromEventList( const List_t * const pxEventList ) PRIVILEGED_FUNCTION;
                                                   ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:2997:41: error: expected declaration specifiers or ‘...’ before ‘ListItem_t’
 void vTaskRemoveFromUnorderedEventList( ListItem_t * pxEventListItem,
                                         ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3008:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 portDONT_DISCARD void vTaskSwitchContext( void ) PRIVILEGED_FUNCTION;
                                                  ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3014:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 TickType_t uxTaskResetEventItemValue( void ) PRIVILEGED_FUNCTION;
                                              ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3019:1: error: expected declaration specifiers before ‘TaskHandle_t’
 TaskHandle_t xTaskGetCurrentTaskHandle( void ) PRIVILEGED_FUNCTION;
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3025:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 void vTaskMissedYield( void ) PRIVILEGED_FUNCTION;
                               ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3031:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 BaseType_t xTaskGetSchedulerState( void ) PRIVILEGED_FUNCTION;
                                           ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3037:47: error: expected ‘)’ before ‘const’
 BaseType_t xTaskPriorityInherit( TaskHandle_t const pxMutexHolder ) PRIVILEGED_FUNCTION;
                                               ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3043:50: error: expected ‘)’ before ‘const’
 BaseType_t xTaskPriorityDisinherit( TaskHandle_t const pxMutexHolder ) PRIVILEGED_FUNCTION;
                                                  ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3053:56: error: expected ‘)’ before ‘const’
 void vTaskPriorityDisinheritAfterTimeout( TaskHandle_t const pxMutexHolder,
                                                        ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3059:34: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 UBaseType_t uxTaskGetTaskNumber( TaskHandle_t xTask ) PRIVILEGED_FUNCTION;
                                  ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3065:26: error: expected declaration specifiers or ‘...’ before ‘TaskHandle_t’
 void vTaskSetTaskNumber( TaskHandle_t xTask,
                          ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3076:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRIVILEGED_FUNCTION’
 void vTaskStepTick( const TickType_t xTicksToJump ) PRIVILEGED_FUNCTION;
                                                     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3092:1: error: expected declaration specifiers before ‘eSleepModeStatus’
 eSleepModeStatus eTaskConfirmSleepModeStatus( void ) PRIVILEGED_FUNCTION;
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3098:1: error: expected declaration specifiers before ‘TaskHandle_t’
 TaskHandle_t pvTaskIncrementMutexHeldCount( void ) PRIVILEGED_FUNCTION;
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/task.h:3104:36: error: expected declaration specifiers or ‘...’ before ‘TimeOut_t’
 void vTaskInternalSetTimeOutState( TimeOut_t * const pxTimeOut ) PRIVILEGED_FUNCTION;
                                    ^
In file included from ../FreeRTOS/Source/stream_buffer.c:41:0:
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:71:1: warning: empty declaration
 struct StreamBufferDef_t;
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:72:36: error: storage class specified for parameter ‘StreamBufferHandle_t’
 typedef struct StreamBufferDef_t * StreamBufferHandle_t;
                                    ^
In file included from ../FreeRTOS/Source/stream_buffer.c:41:0:
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:316:27: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferSend( StreamBufferHandle_t xStreamBuffer,
                           ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:417:34: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer,
                                  ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:506:30: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferReceive( StreamBufferHandle_t xStreamBuffer,
                              ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:592:37: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferReceiveFromISR( StreamBufferHandle_t xStreamBuffer,
                                     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:617:27: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 void vStreamBufferDelete( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_FUNCTION;
                           ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:637:33: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 BaseType_t xStreamBufferIsFull( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_FUNCTION;
                                 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:657:34: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 BaseType_t xStreamBufferIsEmpty( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_FUNCTION;
                                  ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:680:32: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 BaseType_t xStreamBufferReset( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_FUNCTION;
                                ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:701:38: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferSpacesAvailable( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_FUNCTION;
                                      ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:722:37: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferBytesAvailable( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_FUNCTION;
                                     ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:759:42: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 BaseType_t xStreamBufferSetTriggerLevel( StreamBufferHandle_t xStreamBuffer,
                                          ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:799:47: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 BaseType_t xStreamBufferSendCompletedFromISR( StreamBufferHandle_t xStreamBuffer,
                                               ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:840:50: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 BaseType_t xStreamBufferReceiveCompletedFromISR( StreamBufferHandle_t xStreamBuffer,
                                                  ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:844:1: error: expected declaration specifiers before ‘StreamBufferHandle_t’
 StreamBufferHandle_t xStreamBufferGenericCreate( size_t xBufferSizeBytes,
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:848:1: error: expected declaration specifiers before ‘StreamBufferHandle_t’
 StreamBufferHandle_t xStreamBufferGenericCreateStatic( size_t xBufferSizeBytes,
 ^
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/stream_buffer.h:854:45: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferNextMessageLengthBytes( StreamBufferHandle_t xStreamBuffer ) PRIVILEGED_FUNCTION;
                                             ^
../FreeRTOS/Source/stream_buffer.c:148:27: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘xTaskWaitingToReceive’
     volatile TaskHandle_t xTaskWaitingToReceive; /* Holds the handle of a task waiting for data, or NULL if no tasks are waiting. */
                           ^
../FreeRTOS/Source/stream_buffer.c:156:3: error: storage class specified for parameter ‘StreamBuffer_t’
 } StreamBuffer_t;
   ^
../FreeRTOS/Source/stream_buffer.c:161:39: warning: type defaults to ‘int’ in declaration of ‘StreamBuffer_t’
 static size_t prvBytesInBuffer( const StreamBuffer_t * const pxStreamBuffer ) PRIVILEGED_FUNCTION;
                                       ^
../FreeRTOS/Source/stream_buffer.c:161:54: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
 static size_t prvBytesInBuffer( const StreamBuffer_t * const pxStreamBuffer ) PRIVILEGED_FUNCTION;
                                                      ^
../FreeRTOS/Source/stream_buffer.c:174:38: error: expected declaration specifiers or ‘...’ before ‘StreamBuffer_t’
 static size_t prvWriteBytesToBuffer( StreamBuffer_t * const pxStreamBuffer,
                                      ^
../FreeRTOS/Source/stream_buffer.c:186:41: error: expected declaration specifiers or ‘...’ before ‘StreamBuffer_t’
 static size_t prvReadMessageFromBuffer( StreamBuffer_t * pxStreamBuffer,
                                         ^
../FreeRTOS/Source/stream_buffer.c:198:40: error: expected declaration specifiers or ‘...’ before ‘StreamBuffer_t’
 static size_t prvWriteMessageToBuffer( StreamBuffer_t * const pxStreamBuffer,
                                        ^
../FreeRTOS/Source/stream_buffer.c:216:39: error: expected declaration specifiers or ‘...’ before ‘StreamBuffer_t’
 static size_t prvReadBytesFromBuffer( StreamBuffer_t * pxStreamBuffer,
                                       ^
../FreeRTOS/Source/stream_buffer.c:225:43: error: expected declaration specifiers or ‘...’ before ‘StreamBuffer_t’
 static void prvInitialiseNewStreamBuffer( StreamBuffer_t * const pxStreamBuffer,
                                           ^
../FreeRTOS/Source/stream_buffer.c:235:5: error: expected declaration specifiers before ‘StreamBufferHandle_t’
     StreamBufferHandle_t xStreamBufferGenericCreate( size_t xBufferSizeBytes,
     ^
../FreeRTOS/Source/stream_buffer.c:385:27: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 void vStreamBufferDelete( StreamBufferHandle_t xStreamBuffer )
                           ^
../FreeRTOS/Source/stream_buffer.c:418:32: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 BaseType_t xStreamBufferReset( StreamBufferHandle_t xStreamBuffer )
                                ^
../FreeRTOS/Source/stream_buffer.c:467:42: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 BaseType_t xStreamBufferSetTriggerLevel( StreamBufferHandle_t xStreamBuffer,
                                          ^
../FreeRTOS/Source/stream_buffer.c:497:38: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferSpacesAvailable( StreamBufferHandle_t xStreamBuffer )
                                      ^
../FreeRTOS/Source/stream_buffer.c:530:37: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferBytesAvailable( StreamBufferHandle_t xStreamBuffer )
                                     ^
../FreeRTOS/Source/stream_buffer.c:542:27: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferSend( StreamBufferHandle_t xStreamBuffer,
                           ^
../FreeRTOS/Source/stream_buffer.c:673:34: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferSendFromISR( StreamBufferHandle_t xStreamBuffer,
                                  ^
../FreeRTOS/Source/stream_buffer.c:724:40: error: expected declaration specifiers or ‘...’ before ‘StreamBuffer_t’
 static size_t prvWriteMessageToBuffer( StreamBuffer_t * const pxStreamBuffer,
                                        ^
../FreeRTOS/Source/stream_buffer.c:767:30: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferReceive( StreamBufferHandle_t xStreamBuffer,
                              ^
../FreeRTOS/Source/stream_buffer.c:871:45: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferNextMessageLengthBytes( StreamBufferHandle_t xStreamBuffer )
                                             ^
../FreeRTOS/Source/stream_buffer.c:911:37: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 size_t xStreamBufferReceiveFromISR( StreamBufferHandle_t xStreamBuffer,
                                     ^
../FreeRTOS/Source/stream_buffer.c:968:41: error: expected declaration specifiers or ‘...’ before ‘StreamBuffer_t’
 static size_t prvReadMessageFromBuffer( StreamBuffer_t * pxStreamBuffer,
                                         ^
../FreeRTOS/Source/stream_buffer.c:1020:34: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 BaseType_t xStreamBufferIsEmpty( StreamBufferHandle_t xStreamBuffer )
                                  ^
../FreeRTOS/Source/stream_buffer.c:1044:33: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 BaseType_t xStreamBufferIsFull( StreamBufferHandle_t xStreamBuffer )
                                 ^
../FreeRTOS/Source/stream_buffer.c:1079:47: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 BaseType_t xStreamBufferSendCompletedFromISR( StreamBufferHandle_t xStreamBuffer,
                                               ^
../FreeRTOS/Source/stream_buffer.c:1110:50: error: expected declaration specifiers or ‘...’ before ‘StreamBufferHandle_t’
 BaseType_t xStreamBufferReceiveCompletedFromISR( StreamBufferHandle_t xStreamBuffer,
                                                  ^
../FreeRTOS/Source/stream_buffer.c:1141:38: error: expected declaration specifiers or ‘...’ before ‘StreamBuffer_t’
 static size_t prvWriteBytesToBuffer( StreamBuffer_t * const pxStreamBuffer,
                                      ^
../FreeRTOS/Source/stream_buffer.c:1187:39: error: expected declaration specifiers or ‘...’ before ‘StreamBuffer_t’
 static size_t prvReadBytesFromBuffer( StreamBuffer_t * pxStreamBuffer,
                                       ^
../FreeRTOS/Source/stream_buffer.c:1231:39: warning: type defaults to ‘int’ in declaration of ‘StreamBuffer_t’
 static size_t prvBytesInBuffer( const StreamBuffer_t * const pxStreamBuffer )
                                       ^
../FreeRTOS/Source/stream_buffer.c:1231:54: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
 static size_t prvBytesInBuffer( const StreamBuffer_t * const pxStreamBuffer )
                                                      ^
../FreeRTOS/Source/stream_buffer.c:1252:43: error: expected declaration specifiers or ‘...’ before ‘StreamBuffer_t’
 static void prvInitialiseNewStreamBuffer( StreamBuffer_t * const pxStreamBuffer,
                                           ^
In file included from /home/.local/9024/t7/t7prj/FreeRTOS/Source/include/FreeRTOS.h:65:0,
                 from ../FreeRTOS/Source/stream_buffer.c:39:
/home/.local/9024/t7/t7prj/FreeRTOS/Source/include/portable.h:128:23: error: old-style parameter declarations in prototyped function definition
         StackType_t * pxPortInitialiseStack( StackType_t * pxTopOfStack,
                       ^
../FreeRTOS/Source/stream_buffer.c:1276:1: error: expected ‘{’ at end of input
 }
 ^
../FreeRTOS/Source/stream_buffer.c:1276:1: warning: control reaches end of non-void function [-Wreturn-type]
 }

I didnt undestand how it possible in official release