Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

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???

Thanks

Bie

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:
http://rafb.net/p/6gLrEZ69.html
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.

tnx

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.

Regards.


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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists