questions running hwtimer_demo.c on K22F

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

questions running hwtimer_demo.c on K22F

936 Views
jverive
Contributor III

I'm trying to run the hwtimer_demo.c program included in the directory C:\Freescale\KSDK_1.0.0\demos\hwtimer_demo\src

 

and I get an error:

 

\workspace.kds\test\Debug/../Includes/hardware_init.c:69: undefined reference to `DbgConsole_Init'

collect2.exe: error: ld returned 1 exit status

 

I presume this is an API call, but can't seem to find where it is referenced. Can anyone point me in the right direction?

Labels (1)
Tags (3)
0 Kudos
3 Replies

775 Views
DavidS
NXP Employee
NXP Employee

Hi Jeff,

Did you build the platform library first?

C:\Freescale\KSDK_1.0.0\lib\ksdk_platform_lib\kds\K22F51212

Regards,

David

0 Kudos

775 Views
jverive
Contributor III

Yes, the library has been built. I have used it for other projects in my workspace.

0 Kudos

775 Views
DavidS
NXP Employee
NXP Employee

Hi Jeff,

Can you try a clean and then re-build?

Do you see the fsl_debug_console.c file in the utilities folder of your application?

If all of this is failing, could you try a new workspace?

Sorry for the hassles.

Regards,

David

0 Kudos