Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FDCAN的部分用不了 #253

Open
fanjiaqi1995 opened this issue Dec 8, 2024 · 1 comment
Open

FDCAN的部分用不了 #253

fanjiaqi1995 opened this issue Dec 8, 2024 · 1 comment

Comments

@fanjiaqi1995
Copy link

drv_fdcan.h未引用 <stm32h7xx_hal_fdcan.h>

  • dev_fdcan.c中RT_CAN_MODE_LISTEN写成了RT_CAN_MODE_LISEN, RT_CAN_MODE_LOOPBACKANLISTEN写成了RT_CAN_MODE_LOOPBACKANLISEN,puser_can_filter_config->items[tmp_i32IndexCount].hdr找不到hdr,去看类型定义对面是hdr_bank。麻烦给看一下是不是对应的,这里抽空修补一下问题
@fanjiaqi1995
Copy link
Author

这里有个bug那就是整个工程的源码定义竟然分散在了stm32h7xx_hal_conf.h和stm32h7xx_hal_conf_template.h两个文件里!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant