Empty pinmux file in project.

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

Empty pinmux file in project.

ソリューションへジャンプ
2,276件の閲覧回数
jeremyanderson
Contributor III

I've created a project using the FRDM-K66F SDK and see an empty pinmux file, yet it works just fine with the board.  Using the project generator tool and importing the result to the IDE gives me a project with actual values in the pinmux files, but it does not offer the option of building or debugging.  What am I missing here?

0 件の賞賛
返信
1 解決策
2,113件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Jeremy,

I'm wondering why it can not builds nor runs ?

The functions BOARD_InitPins(void) in the file of pin_mux.c  is the pins which customer used,

if there is no pins to be used,  it will be empty, and it won't impact the project to build and runs.

BR

Alice

元の投稿で解決策を見る

3 返答(返信)
2,113件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Jeremy,

Yes, the pin_mux.c file is empty when you create a new project , for you haven't configure any pins now.

I recommend you use the "MCUXpresso Config Tools" MCUXpresso Config Tools|NXP configure pins,

then it will generate pins_mux.h and pins_mux.h files , use the them replace the default two files on your project.

pastedImage_3.png

There also a getting start for MCXpresso Config  tools.

Hope it helps


Have a great day,
TIC

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

0 件の賞賛
返信
2,113件の閲覧回数
jeremyanderson
Contributor III

Yes, thank you.  That does help.  What I am not understanding is why my project builds and runs without a populated pin_mux.c file

0 件の賞賛
返信
2,114件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Jeremy,

I'm wondering why it can not builds nor runs ?

The functions BOARD_InitPins(void) in the file of pin_mux.c  is the pins which customer used,

if there is no pins to be used,  it will be empty, and it won't impact the project to build and runs.

BR

Alice