Commit graph

5 commits

Author SHA1 Message Date
Piotr Zierhoffer
e21e55807e Update Renode models with new ClockEntry API 2022-02-04 04:04:37 +01:00
Sean Cross
e0f4e0c47f emulation: fix missing interrupts in peripherals
Now that we wire up the irq line, ensure the peripherals have actual
interrupts.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-19 14:12:01 +08:00
Sean Cross
cb5efccdf8 emulation: ticktimer: fix spurious interrupt on init
Due to a race condition, an IRQ was always fired when the timer was
turned on.

Force a recalculation of the IRQ state when the IRQ is turned on to
avoid firing an interrupt when none should fire.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-22 22:23:03 +08:00
Sean Cross
e3dbf1e9d4 emulation: ticktimer: add msleep support
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-04 13:41:18 +08:00
Sean Cross
ffcccab513 emulation: add ticktimer and serial uarts
This updates renode's emulation to match the current system design.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-15 11:56:41 +08:00