-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Arch: risc-vIssues related to the RISC-V (32-bit or 64-bit) architectureIssues related to the RISC-V (32-bit or 64-bit) architectureArea: DriversDrivers issuesDrivers issuesOS: LinuxIssues related to Linux (building system, etc)Issues related to Linux (building system, etc)Type: BugSomething isn't workingSomething isn't working
Description
Description / Steps to reproduce the issue
Hi folks,
Noticed some changes on oneshot driver on #17339. It has caused the oneshot app to stop working on ESP32-C3.
I verified with git bisect and it works fine before the changes of that PR.
Here's how to reproduce with QEMU:
- ./tools/configure.sh esp32c3-generic:timers
- Enable
CONFIG_ESPRESSIF_MERGE_BINS - Run on QEMU or flash a devkit.
- For QEMU:
qemu-system-riscv32 -nographic -icount 3 -machine esp32c3 -m 4M \
-drive file=nuttx.merged.bin,if=mtd,format=raw \
-global driver=esp32c3.gpio,property=strap_mode,value=0x08 \
-global driver=nvram.esp32c3.efuse,property=drive,value=efuse
- Execute the oneshot app:
nsh> oneshot
Opening /dev/oneshot
Maximum delay is 4294967295999999
Starting oneshot timer with delay 2000000 microseconds
Waiting...
It hangs at that point and does not return. It seems it calls the signal dispatch but nothing happens.
Appreciate the help in fixing this.
Thanks in advance,
Filipe
On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
Mint 22
NuttX Version
master
Issue Architecture
[Arch: risc-v]
Issue Area
[Area: Drivers]
Host information
No response
Verification
- I have verified before submitting the report.
linguini1
Metadata
Metadata
Assignees
Labels
Arch: risc-vIssues related to the RISC-V (32-bit or 64-bit) architectureIssues related to the RISC-V (32-bit or 64-bit) architectureArea: DriversDrivers issuesDrivers issuesOS: LinuxIssues related to Linux (building system, etc)Issues related to Linux (building system, etc)Type: BugSomething isn't workingSomething isn't working