Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


newbie needs help for mips port

Posted by kikko pintus on February 15, 2008
Hi everybody!! I'm new with FreeRTOS and i'm trying to compile a new demo application that should work on mips architecture. First step i've replicated the directory structure and after that i've created the stub files. Compiling stops because of this error:

http://rafb.net/p/YdW75s34.html --> it's a nopaste link

What's wrong? Can anyone help???



RE: newbie needs help for mips port

Posted by Dave on February 15, 2008
On the assumption you are using the PIC32 MIPS port, have you defined MPLAB_PIC32MX_PORT in your compiler options? This will ensure the correct portmacro.h file is included in your build. Look at the file source\include\portable.h for more info. If you are creating your own port then you will have to provide a portmacro.h file.

RE: newbie needs help for mips port

Posted by kikko pintus on February 15, 2008
i'm not using the pic32 port, my hope is to create a new porting for a mips emulation on verilog. I followed the guide lines and created stub files, and I also defined in gcc options "-D MIPS32_PORT", and added manually the code in source\include\portable.h file
in order to link to the correct portmacro.h file.

thanx for your first answer, and sorry for my english. :)

RE: newbie needs help for mips port

Posted by kikko pintus on February 20, 2008
me again...
i solved last problem, but i get a new error now:
what could the reason be?
i suppose it's a library include problem, but i don't even know where to starte to solve it.


RE: newbie needs help for mips port

Posted by Richard on February 20, 2008
You appear to be making calls to the Microblaze libraries - which as you might expect are part of the Microblaze port not the MIPS port. Which portmacro.h file did you base yours on?

Look in the portmacro.h file, at the macros definitions for portENABLE_INTERRUPTS() and portDISABLE_INTERRUPTS(), also check the implementation of portENTER_CRITICAL() and portEXIT_CRITICAL(). You need these macros to be as per those defined in the PIC32 port. It looks like you are using them as per defined in the Microblaze port.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner