vintagepc / MK404

A functional Simulator for Prusa (Mini/Einsy) Rambo based printers
https://vintagepc.github.io/MK404/
GNU General Public License v3.0
72 stars 9 forks source link

Always disable UART poll sleep #357

Closed vintagepc closed 2 years ago

vintagepc commented 2 years ago

Description

Disables UART poll sleeping

Behaviour/ Breaking changes

Speeds up the bootloader and other poll loops, at the expense of CPU usage and a tighter spinloop

Linked issues:

vintagepc commented 2 years ago

the IOCTL is just a means of selecting/interacting with a named device via a macro that constructs the internal name used by SimAVR.

I fully expect this will break the timing on some tests that will need fixing...

codecov[bot] commented 2 years ago

Codecov Report

Merging #357 (3077f47) into master (6355af9) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #357      +/-   ##
==========================================
+ Coverage   91.43%   91.45%   +0.01%     
==========================================
  Files         167      167              
  Lines        7792     7793       +1     
==========================================
+ Hits         7125     7127       +2     
+ Misses        667      666       -1     
Impacted Files Coverage Δ
parts/components/uart_pty.h 100.00% <ø> (ø)
parts/Board.cpp 80.53% <100.00%> (ø)
parts/boards/EinsyRambo.cpp 96.57% <100.00%> (ø)
parts/boards/MiniRambo.cpp 98.11% <100.00%> (ø)
parts/components/uart_pty.cpp 81.36% <100.00%> (+0.86%) :arrow_up:
utility/Config.h 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6355af9...3077f47. Read the comment docs.