token pasting errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-27 8:30 AM
I am trying to do token pasting to defined macros but it fails using this platform. main.h contains the definitions and the other file is my tokenpasting attempt getting errors but it works on netbeans
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-28 1:31 AM
I realised that the reason why it worked is because I was using the token directly. When I use the variable b the token pasted is the variable name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-28 12:55 AM
Hello@VNdir.1
Could you please provide a complete screenshot to understand the difference between functions and help us reproduce this behavior and further analyze it.
Kind regards,
Wijeden,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-12-28 1:31 AM
I realised that the reason why it worked is because I was using the token directly. When I use the variable b the token pasted is the variable name.
