KSDK1.2: Where is g_portBaseAddr(portNumber) defined?

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

KSDK1.2: Where is g_portBaseAddr(portNumber) defined?

ソリューションへジャンプ
1,218件の閲覧回数
sinterklaas
Contributor I

I'm upgrading a project from KSDK1.1 to 1.2 and I get error "g_portBaseAddr' was not declared in this scope". Since some variables are renamed in this new 1.2 library, I think the g_portBaseAddr is renamed as well.

 

Does anyone know in which header file the g_portBaseAddr(portNumber) is defined in KSDK1.2? It should return "PORT_Type * base".

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
1,112件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Sint erklaas:

That is defined as g_portBase[PORT_INSTANCE_COUNT] in the file fsl_gpio_common.c and declared as "extern" in the file fsl_gpio_driver.h.

Regards!

Jorge Gonzalez

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,113件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Sint erklaas:

That is defined as g_portBase[PORT_INSTANCE_COUNT] in the file fsl_gpio_common.c and declared as "extern" in the file fsl_gpio_driver.h.

Regards!

Jorge Gonzalez

0 件の賞賛
返信
1,112件の閲覧回数
sinterklaas
Contributor I

Thank you! The namechange explains why notepad++ couldn't find it anywhere. Now I can continue again :smileyhappy:.

Upgrading takes more time than I expected. I wish there would be a list of all changes from 1.1 to 1.2, although other posts in this forum tell me there aint one.

0 件の賞賛
返信