CMSIS_6
CMSIS_6 copied to clipboard
Issue with ICACHE with GCC compiler
https://github.com/ARM-software/CMSIS_6/blob/8c4dc58928b3347f6aa98b6fb2bf6770f32a72b7/CMSIS/Core/Include/m-profile/armv7m_cachel1.h#L356
The same issue mentioned here https://github.com/ARM-software/CMSIS_5/issues/1680
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