RT-Thread / RT-Thread/rt-thread

串口使用POSIX接口 ioctrl 无法设置底层参数,不会调用底层config 由于宏定义的数值为3

Open
#5,073 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
12.2k
Forks
5.4k
Avg merge
4d 12h
Merged PRs (30d)
40

Description

image

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the POSIX serial ioctl path and checking the macro whose value is 3, using the screenshots as context. Confirm whether the underlying configuration call is reached and reproduce the reported inability to set low-level parameters; done means the ioctl request reaches the underlying config handling with the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.