questions running hwtimer_demo.c on K22F

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

questions running hwtimer_demo.c on K22F

1,736件の閲覧回数
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,575件の閲覧回数
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,575件の閲覧回数
jverive
Contributor III

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

0 件の賞賛
返信

1,575件の閲覧回数
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 件の賞賛
返信