Commit e4d322ac authored by carbon's avatar carbon

set pin 6/7 default function to PWM

parent 84d6b72e
...@@ -16,6 +16,10 @@ int cvi_board_init(void) ...@@ -16,6 +16,10 @@ int cvi_board_init(void)
PINMUX_CONFIG(IIC0_SDA, XGPIOA_29); PINMUX_CONFIG(IIC0_SDA, XGPIOA_29);
PINMUX_CONFIG(IIC0_SCL, XGPIOA_28); PINMUX_CONFIG(IIC0_SCL, XGPIOA_28);
// PWM
PINMUX_CONFIG(SD1_D2, PWM_5);
PINMUX_CONFIG(SD1_D1, PWM_6);
// SPI // SPI
PINMUX_CONFIG(SD1_CLK, SPI2_SCK); PINMUX_CONFIG(SD1_CLK, SPI2_SCK);
PINMUX_CONFIG(SD1_CMD, SPI2_SDO); PINMUX_CONFIG(SD1_CMD, SPI2_SDO);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment