RT-Thread / RT-Thread/rt-thread
stm32f767 can rt_device_set_tx_complete 注册的回调函数未被调用
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
分支:master
芯片:stm32f767
问题:在使用can设备时,用rt_device_set_tx_complete注册回调函数,无法被调用。在查找rt-thread/components/drivers/can/can.c后发现未调用此接口。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in rt-thread/components/drivers/can/can.c and trace the CAN transmit path around rt_device_set_tx_complete. Confirm where transmission completion is handled and whether the registered callback can be reached. Done means the callback is invoked after a CAN transmission completes on stm32f767.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100