projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9d40e7
)
tools/flterm: replace int(a, 16) with int(a, 0) for --kernel-adr
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Tue, 18 Aug 2015 13:47:09 +0000
(15:47 +0200)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Tue, 18 Aug 2015 13:47:09 +0000
(15:47 +0200)
tools/flterm.py
patch
|
blob
|
history
diff --git
a/tools/flterm.py
b/tools/flterm.py
index a4cf6e4412af617da351a7e8c506e1b60fa5ab06..2bebbe6000d7e11bd75e280386481d92e1385d7e 100644
(file)
--- a/
tools/flterm.py
+++ b/
tools/flterm.py
@@
-286,7
+286,7
@@
def _get_args():
parser.add_argument("--port", default="2", help="serial port")
parser.add_argument("--speed", default=115200, help="serial baudrate")
parser.add_argument("--kernel", default=None, help="kernel image")
- parser.add_argument("--kernel-adr", type=lambda a: int(a,
16
), default=0x40000000, help="kernel address")
+ parser.add_argument("--kernel-adr", type=lambda a: int(a,
0
), default=0x40000000, help="kernel address")
return parser.parse_args()
if __name__ == "__main__":