aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/avrsim.py
Commit message (Collapse)AuthorAgeFilesLines
* Run black on all first party python codeTomasz Kramkowski2025-08-061-34/+99
|
* avrsim: Change default speed to 16Mhz and default baud to 250KKevin O'Connor2021-09-161-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avrsim: Minor changes so avrsim can run on both Python2 and Python3Kevin O'Connor2020-09-161-5/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avrsim: migrated to Python 3Dmitry Butyugin2020-09-131-9/+9
| | | | | | Note that the latest simulavr 1.1.0 does not support Python 2 anymore. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* avrsim: update avrsim pty attr (#2343)Georgios Karnas2020-05-051-3/+13
| | | Signed-off-by: Georgios Karnas <kargeor@gmail.com>
* avrsim: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avrsim: Rework pacing mechanismKevin O'Connor2018-02-051-13/+11
| | | | | | Rework the pacing mechanism to make it more stable. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build: Request python2 for all directly executed python binariesKevin O'Connor2017-06-271-1/+1
| | | | | | | Some systems point python to python3 instead of python2 - explicitly request python2 to avoid conflicts. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avrsim: Catch simulation errorsKevin O'Connor2017-03-261-0/+1
| | | | | | | Request that simulavr throw an exception on a fatal emulation error instead of exiting the process. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avrsim: Support pacing the simulationKevin O'Connor2017-03-241-1/+32
| | | | | | | Support timing the simulation scaled to the system clock. This can be used to make the host estimation of the mcu clock more accurate. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avrsim: Do IO directly from simulavr callbacksKevin O'Connor2017-03-241-45/+39
| | | | | | | | Don't start/stop the simulavr simulation loop to do IO - instead implement the IO directly in the serial callback handlers. This improves the speed and consistency of the simulation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Initial commit of source code.Kevin O'Connor2016-05-251-0/+212
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>