Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Timothy Pearson
litex-boards
Commits
e5578a1a
Commit
e5578a1a
authored
4 years ago
by
Jędrzej Boczar
Browse files
Options
Download
Email Patches
Plain Diff
zcu104/platform: change I2C number to 0
parent
ac1f1cd6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
litex_boards/platforms/zcu104.py
litex_boards/platforms/zcu104.py
+1
-1
litex_boards/targets/zcu104.py
litex_boards/targets/zcu104.py
+1
-1
No files found.
litex_boards/platforms/zcu104.py
View file @
e5578a1a
...
@@ -43,7 +43,7 @@ _io = [
...
@@ -43,7 +43,7 @@ _io = [
IOStandard
(
"LVCMOS18"
)
IOStandard
(
"LVCMOS18"
)
),
),
(
"i2c"
,
1
,
(
"i2c"
,
0
,
Subsignal
(
"sda"
,
Pins
(
"P12"
)),
Subsignal
(
"sda"
,
Pins
(
"P12"
)),
Subsignal
(
"scl"
,
Pins
(
"N12"
)),
Subsignal
(
"scl"
,
Pins
(
"N12"
)),
IOStandard
(
"LVCMOS33"
)
IOStandard
(
"LVCMOS33"
)
...
...
This diff is collapsed.
Click to expand it.
litex_boards/targets/zcu104.py
View file @
e5578a1a
...
@@ -78,7 +78,7 @@ class BaseSoC(SoCCore):
...
@@ -78,7 +78,7 @@ class BaseSoC(SoCCore):
l2_cache_reverse
=
True
l2_cache_reverse
=
True
)
)
self
.
submodules
.
i2c
=
I2CMaster
(
platform
.
request
(
"i2c"
,
1
))
self
.
submodules
.
i2c
=
I2CMaster
(
platform
.
request
(
"i2c"
))
self
.
add_csr
(
"i2c"
)
self
.
add_csr
(
"i2c"
)
# Leds -------------------------------------------------------------------------------------
# Leds -------------------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
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