commit | 265d2cfa690d93deb7f57d871518b5e31f8f4a8e | [log] [tgz] |
---|---|---|
author | Jakub Cebulski <jcebulski@internships.antmicro.com> | Mon May 18 17:32:22 2020 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue May 26 21:43:30 2020 +0200 |
tree | 5586ed3a980b77a156ef26f262e8accdf81e7f5c | |
parent | 7f6dbccba8ac0286bb564d24472889a68d600bbf [diff] |
drivers: litex_timer: Fix IRQ lock intolerance This reimplements z_timer_cycle_get_32() so it works when IRQs are locked and solves the hung k_busy_wait() problem. Fixes #23622. Signed-off-by: Jakub Cebulski <jcebulski@internships.antmicro.com> Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com> Signed-off-by: Mateusz Holenko <mholenko@antmicro.com> Co-authored-by: Tomasz Gorochowik <tgorochowik@antmicro.com>