Skip to content

Commit

Permalink
Merge pull request #172 from riscv/downloadtest
Browse files Browse the repository at this point in the history
Use more than 1KB for download test.
  • Loading branch information
timsifive committed Dec 3, 2018
2 parents 7cc76ea + 9ab668e commit 58d61ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug/gdbserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ def test(self):
class DownloadTest(GdbTest):
def setup(self):
# pylint: disable=attribute-defined-outside-init
length = min(2**10, self.hart.ram_size - 2048)
length = min(2**18, max(2**10, self.hart.ram_size - 2048))
self.download_c = tempfile.NamedTemporaryFile(prefix="download_",
suffix=".c", delete=False)
self.download_c.write("#include <stdint.h>\n")
Expand Down

0 comments on commit 58d61ef

Please sign in to comment.