aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/avrsim.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-09-16 20:09:33 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-09-16 20:11:42 -0400
commit59bd51d207747efcdd37b5577f817cd95ff5edbb (patch)
treeb133644e89d0cb7d2b635d52890633ade2638c7d /scripts/avrsim.py
parent46167cae672073b1ce0aeb4966b30c28bc47957e (diff)
downloadkutter-59bd51d207747efcdd37b5577f817cd95ff5edbb.tar.gz
kutter-59bd51d207747efcdd37b5577f817cd95ff5edbb.tar.xz
kutter-59bd51d207747efcdd37b5577f817cd95ff5edbb.zip
avrsim: Change default speed to 16Mhz and default baud to 250K
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/avrsim.py')
-rwxr-xr-xscripts/avrsim.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/avrsim.py b/scripts/avrsim.py
index 7bde13eb..e7f191e8 100755
--- a/scripts/avrsim.py
+++ b/scripts/avrsim.py
@@ -169,11 +169,11 @@ def main():
opts = optparse.OptionParser(usage)
opts.add_option("-m", "--machine", type="string", dest="machine",
default="atmega644", help="type of AVR machine to simulate")
- opts.add_option("-s", "--speed", type="int", dest="speed", default=8000000,
+ opts.add_option("-s", "--speed", type="int", dest="speed", default=16000000,
help="machine speed")
opts.add_option("-r", "--rate", type="float", dest="pacing_rate",
default=0., help="real-time pacing rate")
- opts.add_option("-b", "--baud", type="int", dest="baud", default=38400,
+ opts.add_option("-b", "--baud", type="int", dest="baud", default=250000,
help="baud rate of the emulated serial port")
opts.add_option("-t", "--trace", type="string", dest="trace",
help="signals to trace (? for help)")