You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, maybe a bit too late but I have a found the cause:
Stm32Rcc is inherited by e.g. Stm32f2xxRcc and the member PERIPHCLK is used via the parent struct, but because of struct alignment differences on windows the inherited parent structure is 4 bytes bigger, therefore referencing the UART1 clock with Stm32Rcc actually accesses the clock before (AFIO).
A fix for this would be to increase the size of the parent structure like so.
With this the emulator runs with RebbleOS, although there are some other issues with build, input and stdio, which I will try to fix over at the Rebble fork.
I cross-compiled the Pebble emulator for Windows and I get the following runtime assertion failure:
The assert is located here:
This is called from the
stm32_uart_init
function:I don't really expect a solution but I thought I'd post this in case it's something obvious.
The text was updated successfully, but these errors were encountered: