How to change the Embedded Components name

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

How to change the Embedded Components name

Jump to solution
745 Views
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 Kudos
1 Solution
570 Views
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

View solution in original post

0 Kudos
3 Replies
570 Views
BlackNight
NXP Employee
NXP Employee

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

Hope this helps,

Erich

0 Kudos
571 Views
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 Kudos
570 Views
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 Kudos