RTEMS | termios: Handle B0 baud rate in tcsetattr (!1564)
SHIVAM DEOLANKAR (@D3athSkulll)
gitlab at rtems.org
Thu Nov 5 21:27:34 UTC 2026
SHIVAM DEOLANKAR commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1564#note_161980
Implemented B0 baud-rate rejection with `ENOTSUP` and updated regression tests as discussed with the solution pointed to by Joel previously. Tested with config.
```ini
[DEFAULT]
RTEMS_POSIX_API = True
BUILD_TESTS = True
RTEMS_SMP = True
[x86_64/amd64]
[riscv/rv64imafdc]
```
Test Passing for x86_64 amd bsp on rtems-test with command
```
[d3athskulll at POWPOW rtems]$ rtems-test --log=/tmp/termios01.log --log-mode=all \
--rtems-bsp=amd64_qemu_multiboot \
--rtems-tools=/home/d3athskulll/quick-start/rtems/7 \
--filter=termios01.exe \
build/x86_64/amd64/testsuites
```
{width=681 height=272}
Test Passing on rv64imafdc with qemu command (Check Test Termios number to baud section in the qemu one.)
```bash
[d3athskulll at POWPOW rtems]$ timeout 20s qemu-system-riscv64 \
-machine spike \
-m 128M \
-smp 1 \
-bios none \
-kernel build/riscv/rv64imafdc/testsuites/libtests/termios01.exe \
-nographic \
-no-reboot
```
{width=590 height=600}
{width=590 height=600}
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1564#note_161980
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-91ezsqkt0x529yhn5dsrjab6m-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20261105/e1b94d2f/attachment-0001.htm>
More information about the bugs
mailing list