Can't find rtlib.c

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can't find rtlib.c

505 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by glissov on Fri Jun 03 02:58:59 MST 2011
When using timer32.c or timer16.c drivers I got the following massage:

Can't find a source file at "../src/rtlib.c"

when the debugger enter this line in the timer32.c driver:

[SIZE=2]LPC_TMR32B0->MR0 = delayInMs * ((SystemCoreClock/(LPC_TMR32B0->PR+1)) / 1000);[/SIZE]

[SIZE=2][SIZE=3]or this line in timer16.c:[/SIZE][/SIZE]
[SIZE=2]
[SIZE=2]LPC_TMR16B0->PR  = MHZ_PRESCALE;[/SIZE]

[SIZE=2][SIZE=3]Of course the debugger session stops. The rtlib.c does not exist anywhere in the workcpace or [/SIZE][SIZE=3]other places on my PC.[/SIZE][/SIZE]
[SIZE=2]
[SIZE=3]What is going wrong and what does rtlib.c do??[/SIZE]

[SIZE=3]Best regards[/SIZE]



[/SIZE]
[/SIZE]
0 Kudos
Reply
0 Replies