Different Versions of the Same Header and Source Files"pin_mux.h"? Why?

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

Different Versions of the Same Header and Source Files"pin_mux.h"? Why?

733件の閲覧回数
Mamaro
Contributor II

I'm trying to integrate the ecompass example from the K82F SDK as a module to a project I'm working on. I found out that some functions were being implicitly declared in my main function because they didn't exist in their headers. I then come to realize that the header's in the example are different that the one's in my project. One of these files is "pin_mux.h", and it's source "pin_mux.c".  So, I was wondering:

Why are there different version's of the same header?

Why doesn't the newer version have BOARD_I2C_ConfigurePins(void) function?

Is there a way to get the version used in the example? 

lol.png

0 件の賞賛
返信
1 返信

669件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Miguel,

Customer can modify the "pin_mux.c" and "pin_mux.h" according to their needs.
I can see the BOARD_I2C_ConfigurePins(void) function in latest MCUXpresso SDK_2.6.0_FRDM-K82F.

pin_mux.png

Best Regards,

Robin

 

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