Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
duo-buildroot-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
duo-buildroot-sdk
Commits
e4d322ac
Commit
e4d322ac
authored
Sep 04, 2023
by
carbon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set pin 6/7 default function to PWM
parent
84d6b72e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
build/boards/cv180x/cv1800b_milkv_duo_sd/u-boot/cvi_board_init.c
...oards/cv180x/cv1800b_milkv_duo_sd/u-boot/cvi_board_init.c
+4
-0
No files found.
build/boards/cv180x/cv1800b_milkv_duo_sd/u-boot/cvi_board_init.c
View file @
e4d322ac
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment