fdcavalcanti opened a new issue, #17349:
URL: https://github.com/apache/nuttx/issues/17349
### 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 \
-drive file=qemu_efuse.bin,if=none,format=raw,id=efuse \
-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
- [x] I have verified before submitting the report.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]