longan-nano
                                
                                 longan-nano copied to clipboard
                                
                                    longan-nano copied to clipboard
                            
                            
                            
                        Is it possible to run the binary in QEMU?
qemu-system-riscv32 --machine virt  doesn't seem to be enough to run the example blinky.
Sure, virt is a completely different platform, I'm quite sure it doesn't contain even a single peripheral present in GD32VF103. However, you can run programs which don't depend on hardware-specific libraries.
Sure,
virtis a completely different platform, I'm quite sure it doesn't contain even a single peripheral present in GD32VF103. However, you can run programs which don't depend on hardware-specific libraries.
So there is no way to get the state of the LED to make sure it's blinking in the simulation?
I'm afraid, no. You can take a look at renode, it supports a lot of microcontrollers. It doesn't support GD32VF103, but it supports another RISC-V chip: FE310 and HiFive1 board, which is also supported in Rust.