boards: frdm_k64f: add support for shield adafruit_winc1500
pinmux update ensuring required pins for adafruit_winc1500 shield are all available Signed-off-by: Kim Bøndergaard <kibo@prevas.dk>
This commit is contained in:
parent
7b64985fa5
commit
63e8582629
1 changed files with 7 additions and 0 deletions
|
@ -155,6 +155,13 @@ static int frdm_k64f_pinmux_init(struct device *dev)
|
|||
PORT_PCR_PE_MASK | PORT_PCR_PS_MASK);
|
||||
#endif
|
||||
|
||||
#if CONFIG_SHIELD_ADAFRUIT_WINC1500
|
||||
/* IRQ, ENable, RST */
|
||||
pinmux_pin_set(portc, 3, PORT_PCR_MUX(kPORT_MuxAsGpio));
|
||||
pinmux_pin_set(portc, 2, PORT_PCR_MUX(kPORT_MuxAsGpio));
|
||||
pinmux_pin_set(porta, 2, PORT_PCR_MUX(kPORT_MuxAsGpio));
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue