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

Issue with ICACHE with GCC compiler #196

Open
djemaiMohamed opened this issue Oct 21, 2024 · 1 comment
Open

Issue with ICACHE with GCC compiler #196

djemaiMohamed opened this issue Oct 21, 2024 · 1 comment
Assignees

Comments

@djemaiMohamed
Copy link

__STATIC_FORCEINLINE void SCB_InvalidateDCache_by_Addr (volatile void *addr, int32_t dsize)

The same issue mentioned here ARM-software/CMSIS_5#1680

@JonatanAntoni
Copy link
Member

Hi @djemaiMohamed,

I guess you are using compiler settings reading all warnings as errors. The function should compile just fine even if parameters are actually unused. I agree, that we could silence the warnings/errors by introducing void casts.

Would you raise your fix as a pull-request to CMSIS 6? I'd be happy accept your contribution.

Thanks,
Jonatan

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

3 participants