Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to run the binary in QEMU? #32

Open
Valentin4869 opened this issue Sep 19, 2022 · 3 comments
Open

Is it possible to run the binary in QEMU? #32

Valentin4869 opened this issue Sep 19, 2022 · 3 comments

Comments

@Valentin4869
Copy link

Valentin4869 commented Sep 19, 2022

qemu-system-riscv32 --machine virt doesn't seem to be enough to run the example blinky.

@Disasm
Copy link
Member

Disasm commented Sep 19, 2022

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.

@Valentin4869
Copy link
Author

Valentin4869 commented Sep 19, 2022

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.

So there is no way to get the state of the LED to make sure it's blinking in the simulation?

@Disasm
Copy link
Member

Disasm commented Sep 21, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants