questions running hwtimer_demo.c on K22F

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

questions running hwtimer_demo.c on K22F

1,737 次查看
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?

标签 (1)
标记 (3)
0 项奖励
回复
3 回复数

1,576 次查看
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 项奖励
回复

1,576 次查看
jverive
Contributor III

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

0 项奖励
回复

1,576 次查看
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 项奖励
回复