How to change the Embedded Components name

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

How to change the Embedded Components name

跳至解决方案
1,528 次查看
rabbit
Contributor III

If I create a UART embedded component, it will assign a name: AS1:Serial_LDD.

How can I change the name for me easy to remember, for example change it  to: Command_Uart:Serial_LDD ?

Regards

Samuel

0 项奖励
回复
1 解答
1,353 次查看
rabbit
Contributor III

Hi Erich,

Thanks. It works, I can change the component's name.

Here is another problem, I would like export the "Generated_code" to my existing CW project, I can't find the

source code of the low level functions. For example, in the UART3 component, there is function

LDD_TDeviceData* CMD_Uart3_Init(LDD_TUserData *UserDataPtr),

inside this function there is low level function

UART_PDD_SetBaudRate(UART3_BASE_PTR, 11U); /* Set the baud rate register. */

I can't find its source code, the compiler will fail on

Undefined : "UART_PDD_SetBaudRate".

Where is the low level source code?

Regards

Samuel

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,353 次查看
BlackNight
NXP Employee
NXP Employee

Switch to Expert mode, see screenshot.expert mode.png

Hope this helps,

Erich

0 项奖励
回复
1,354 次查看
rabbit
Contributor III

Hi Erich,

Thanks. It works, I can change the component's name.

Here is another problem, I would like export the "Generated_code" to my existing CW project, I can't find the

source code of the low level functions. For example, in the UART3 component, there is function

LDD_TDeviceData* CMD_Uart3_Init(LDD_TUserData *UserDataPtr),

inside this function there is low level function

UART_PDD_SetBaudRate(UART3_BASE_PTR, 11U); /* Set the baud rate register. */

I can't find its source code, the compiler will fail on

Undefined : "UART_PDD_SetBaudRate".

Where is the low level source code?

Regards

Samuel

0 项奖励
回复
1,353 次查看
Petr_H
NXP Employee
NXP Employee

re: ....I can't find its source code, the compiler will fail... :

A modules defining PDD macros should be included in the project path, see:

Re: Missing #include "GPIO_PDD.h" from Generated Code

best regards

Petr Hradsky

Processor Expert Support Team

0 项奖励
回复