diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2020-10-31 14:55:10 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-11-07 20:54:08 +0000 |
commit | 475f42051e13d64bc4d1960306ad1d2ea3c7962a (patch) | |
tree | 93ad8afd63ca6a858de9d67de395358049e29a2d /doc | |
parent | 1f6efaada0686f7e9e6164919eb739892855d327 (diff) | |
download | riscv-openocd-475f42051e13d64bc4d1960306ad1d2ea3c7962a.zip riscv-openocd-475f42051e13d64bc4d1960306ad1d2ea3c7962a.tar.gz riscv-openocd-475f42051e13d64bc4d1960306ad1d2ea3c7962a.tar.bz2 |
stlink: fix computation of trace prescaler
Use integer rounding for the computation of prescaler.
Improve the test of prescaler range, knowing its value would be
decremented before being written in TPIU ACPR.
Change-Id: I041dde1dca41323904e36a6b6975028a6de902b3
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5909
Tested-by: jenkins
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions