MCU Xpresso RT 1176 Switch between 2 different pinmux .c .h files

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

MCU Xpresso RT 1176 Switch between 2 different pinmux .c .h files

228 Views
lfost
Contributor III

I have RT1176 design that requires 2 different pinmux.c .h files for 2 projects that are 90% the same.  I am certain it will require 2 projects.  They are different at the hardware level.  Is there a way in the build process to select 2 different pinmux.c .h files.

Labels (1)
0 Kudos
1 Reply

185 Views
HangZhang
NXP Employee
NXP Employee

Hi @lfost 

MCUXpresso can not add two pin_mux.c in one project.

I suggest that you can create two functions in the pin_mux.c, eg 

BOARD_InitPins(void) BOARD_InitPins_1(void) 

Hope this will help you.

Best regards,
Hang

0 Kudos