RT-Thread / RT-Thread/rt-thread
RTT Studio 基于芯片创建工程配置CAN设备的系统代码Bug
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
工具链
芯片:STM32F407
IDE: RT-Thread Studio v2.2.6
RT-Thread版本 4.1.1
复现步骤
编译报错
检查后发现上图drv_can.c中引用的两个宏与can.h中的不一样,将can.h中的宏替换drv_can.c中报错的宏后编译成功。这是系统生成代码出错了吗?希望RT-Thread Studio官方能尽快解决这个问题。
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
Reproduce the CAN project with STM32F407, RT-Thread Studio v2.2.6, and RT-Thread 4.1.1. Compare the macro references in the generated drv_can.c with those defined in can.h; done means the generated project builds without manually replacing the macros.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100