How to change the Embedded Components name

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

How to change the Embedded Components name

ソリューションへジャンプ
1,533件の閲覧回数
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,358件の閲覧回数
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,358件の閲覧回数
BlackNight
NXP Employee
NXP Employee

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

Hope this helps,

Erich

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