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

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

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

524 Views
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 Kudos
1 Reply

460 Views
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!
-----------------------------------------------------------------------------------------------------------------------