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:UsersVijayDownloadsProgramsFreeRTOSV8.0.0FreeRTOSDemoPIC18_MPLABrtosdemo1.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/