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

identifier "asm" is undefined #82

Open
sm-github-work opened this issue May 13, 2020 · 0 comments
Open

identifier "asm" is undefined #82

sm-github-work opened this issue May 13, 2020 · 0 comments

Comments

@sm-github-work
Copy link

Describe the bug
My RTOS uses asm inline functions. Any OS call in my code that uses these functions generates the following issue in VSCode: identifier "asm" is undefined.

To Reproduce

  1. Include any assembler function, see the EWARMDeveloperGuide for examples, such as:
    int matrix[M][N];
    void MatrixPreloadRow(int row) { asm volatile ("pld [%0]" : : "r" (&matrix[row][0])); }

  2. See issue for each call: identifier "asm" is undefined.

Expected behavior
I would expect no issue for asm calls.

Screenshots
image

Additional context
I also have an asm.s file that does not have any context highlighting. If IAR doesn't provide this, do they have a preferred extension?

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