-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
I cross-compiled the Pebble emulator for Windows and I get the following runtime assertion failure:
Assertion failed: clk != NULL, file qemu/hw/arm/stm32_rcc.c, line 32
The assert is located here:
void stm32_rcc_set_periph_clk_irq(
Stm32Rcc *s,
stm32_periph_t periph,11
qemu_irq periph_irq)
{
Clk clk = s->PERIPHCLK[periph];
assert(clk != NULL);
clktree_adduser(clk, periph_irq);
}This is called from the stm32_uart_init function:
/* Register handlers to handle updates to the USART's peripheral clock. */
clk_irq =
qemu_allocate_irqs(stm32_uart_clk_irq_handler, (void *)s, 1);
stm32_rcc_set_periph_clk_irq(s->stm32_rcc, s->periph, clk_irq[0]);I don't really expect a solution but I thought I'd post this in case it's something obvious.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels