rusefi / ChibiOS

Read only mirror of SVN ChibiOS repository. Official forum http://forum.chibios.org Bugtracker http://sourceforge.net/projects/chibios
GNU General Public License v3.0
3 stars 9 forks source link

Uart fixes #47

Closed dron0gus closed 2 months ago

rusefillc commented 2 months ago

@dron0gus please provide a better description? what is broken? is chibios aware? shall we create a chibi ticket?

dron0gus commented 2 months ago

Both patches backported from newer ChibiOS. One for better calculation of baudrate. In our case we get 115384 instead of 115200, with this path it will be 115068 that is closer to target 115200. Second one fixes possible race condition accessing CR1 register.