Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
litex-boards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kestrel Collaboration
Kestrel LiteX
litex-boards
Commits
ce14775d
Commit
ce14775d
authored
Nov 04, 2020
by
Florent Kermarrec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
targets/tec0117: move SerialFlashManager import to flash function.
parent
2da4eabf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
litex_boards/targets/tec0117.py
litex_boards/targets/tec0117.py
+1
-2
No files found.
litex_boards/targets/tec0117.py
View file @
ce14775d
...
...
@@ -22,8 +22,6 @@ from litex.soc.cores.led import LedChaser
from
litex_boards.platforms
import
tec0117
from
spiflash.serialflash
import
SerialFlashManager
kB
=
1024
mB
=
1024
*
kB
...
...
@@ -73,6 +71,7 @@ class BaseSoC(SoCCore):
# Flash --------------------------------------------------------------------------------------------
def
flash
(
offset
,
path
):
from
spiflash.serialflash
import
SerialFlashManager
platform
=
tec0117
.
Platform
()
flash
=
platform
.
request
(
"spiflash"
,
0
)
bus
=
platform
.
request
(
"spiflash"
,
1
)
...
...
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