beckus / qemu_stm32

QEMU with an STM32 microcontroller implementation

Home Page:http://beckus.github.io/qemu_stm32/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uart index never set

metc opened this issue · comments

The uart_index of the Stm32Uart struct is never set.

The peripheral id or name can be used instead, using the periph field or the stm32_periph_name function. IMHO, the uart_index can be simply removed.

I agree. This was left over after refactoring. I made a commit to fix this.