In the HAL files why does #if defined(CAN1) exist and why is it not defined by default if I enable CAN1.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-09 11:56 AM
Using STM32CubeIDE.
Also when defined by user the autocomplete does not work on the IDE for those functions
Labels:
- Labels:
-
CAN
-
STM32CubeIDE
-
STM32F7 Series
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-09 2:35 PM
Works for me on a new project in CubeMX.
If the symbol isn't defined, makes sense that autocomplete would not find it.
If you feel a post has answered your question, please click "Accept as Solution".
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-09 2:37 PM
Even after I define CAN1 (and the IDE shows them as not gray (active)) they still don't show in the autocomplete. The project compiles even without the define.
