Question related to GPIO on emulation. #79895
Unanswered
NikosMouzakitis
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, i would like to ask if it is possible, to read the value of a led from the GPIOs when emulating with QEMU.
I am having a setup for qemu_riscv32 with GPIO_EMUL enabled.
I can toggle the led, but whenever i try to read the pin using the gpio_pin_get_dt function my return value is always 1.
Was expecting since the led is actually getting toggled, (i m compiling the sample/basic/blinky prj) there should be able to observe also some different value coming up for validation.
Beta Was this translation helpful? Give feedback.
All reactions