FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [February 2008 Threads] newbie needs help for mips portPosted 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 portPosted 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 portPosted 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 portPosted 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 portPosted 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|