Quality RTOS & Embedded Software

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


Loading

unable to build code

Posted by rajeshece on March 31, 2014

hi

i had downloaded the free rtos code and i tried to build it .

but it shows error's during compilation

source code location //D:UsersVijayDownloadsProgramsFreeRTOSV8.0.0FreeRTOSDemoPIC18_MPLAB

i build rtosdemo1 project

I' am using mplab ide V8.92 mplab c 18 compiler C:Program FilesMicrochipmplabc18v3.46binmcc18.exe

after building project it shows error as following

D:UsersVijayDownloadsProgramsFreeRTOSV8.0.0FreeRTOSSourceportableMPLABPIC18Fport.c:651:Error [1105] symbol 'T116BITRW' has not been defined D:UsersVijayDownloadsProgramsFreeRTOSV8.0.0FreeRTOSSourceportableMPLABPIC18Fport.c:651:Error [1105] symbol 'T1SOURCEINT' has not been defined D:UsersVijayDownloadsProgramsFreeRTOSV8.0.0FreeRTOSSourceportableMPLABPIC18Fport.c:651:Error [1105] symbol 'T1PS11' has not been defined D:UsersVijayDownloadsProgramsFreeRTOSV8.0.0FreeRTOSSourceportableMPLABPIC18Fport.c:651:Error [1105] symbol 'T1CCP1T3CCP2' has not been defined D:UsersVijayDownloadsProgramsFreeRTOSV8.0.0FreeRTOSSourceportableMPLABPIC18Fport.c:651:Warning [2058] call of function without prototype

Halting build on first failure as requested.

Debug build of project D:\Users\Vijay\Downloads\Programs\FreeRTOSV8.0.0\FreeRTOS\Demo\PIC18_MPLAB\rtosdemo1.mcp' failed. Language tool versions: mpasmwin.exe v5.50, mplink.exe v4.48, mcc18.exe v3.46, mplib.exe v4.48 Preprocessor symbol__DEBUG' is defined.

Mon Mar 31 17:06:16 2014

BUILD FAILED

please help me to solve the problem

Regards Rajesh


unable to build code

Posted by rtel on March 31, 2014

Building the PIC18 port was tested when V8 was released, although the resultant code not executed. It may be that you are getting this error because you are using a different compiler version - however the problem looks related to the header files rather than the compiler itself. Did you change the part number the build is targeting? You could try just defining the missing constants yourself.

However, the PIC18 port is de-emphasised, and I think the website says its use is not recommended. This is because the architecture of the chip is not compatible with multitasking systems and it's compiler does not generate re-entrant code. So if the port is broken, to be honest it is highly unlikely it will get fixed. More likely it will just be retired.

Regards.


unable to build code

Posted by rajeshece on April 2, 2014

Hi sir , it was working but function OpenTimer1( T116BITRW & T1SOURCEINT & T1PS11 & T1CCP1T3CCP2 );

was not defined any where , then i' dont know how program was became build successful?

whether i need to define it in application program?

thank you Regards Rajesh


unable to build code

Posted by tlafleur on April 2, 2014

OpenTimer1 is a Microchip library function, not part of FreeRTOS..... If you can't find it, it's just a very small amount of code to setup the PIC timer1.....read the Data sheet on how to program timer1 for a tick interrupt.

i~~ _/) ~~~~ _/) ~~~~ _/) ~~~~ _/) ~~i

Tom Lafleur (858) 759-9692

On Apr 2, 2014, at 6:41 AM, "Rajesh" rajeshece@users.sf.net wrote:

Hi sir , it was working but function OpenTimer1( T116BITRW & T1SOURCEINT & T1PS11 & T1CCP1T3CCP2 );

was not defined any where , then i' dont know how program was became build successful?

whether i need to define it in application program?

thank you Regards Rajesh

unable to build code

Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/freertos/discussion/382005/

To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

Attachments

alternate (1601 bytes)


[ 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.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

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.


Careers

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

Renesas

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