uart.h for 8156evm

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

uart.h for 8156evm

1,708 次查看
emresofuo_lu
Contributor II

Hello,

 

I'm trying to reach the functions in the header file I specified but unable to do so. Is there anyone that has reached it before?

 

For example the function in this line:

 

---

---

extern int uartTx(UartDrv_t *pUartDrv, unsigned char* pUCharBuffer, unsigned short int USIntLen);

---

---

 

The header was defined in an example project in the directory: Freescale\CW_SC_3850_v10.7.1\SC\StarCore_Support\MiniDrivers\MSC8156ADS\Uart

 

Please return if there is something I can lead you for the solution.

 

Regards,

 

Emre

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

1,463 次查看
lunminliang
NXP Employee
NXP Employee

Hello Emre Sofuo?lu,

This maybe in the lib, please try to add below from:

Properties->C/C++ Build->Settings->StarCore C/C++ Linker Application->Libraries

"${STARCORE_SUPPORT}/MiniDrivers/Common/Lib/msc815x_libd.elb"

And try again?


Have a great day,
Lunmin

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,463 次查看
emresofuo_lu
Contributor II

I have found the functions in the directory. There was a  file named uart.c and the functions were in it.

I checked the library by the way, it was included in the project but still couldn't reach the function from there. Just to make sure; I was trying to see what was happening in the functions, not trying to use it.

Thanks a lot

Emre.

0 项奖励
回复