Question
STM32Cube_FW_G0_V1.6.3 precompiled math.lib Inconsistent wchar_t size with IAR 9.20 and up
I'm using the latest library provided by the STM32Cube_FW_G0_V1.6.3, specifically STM32Cube_FW_G0_V1.6.3\Drivers\CMSIS\DSP\Lib\ARM\arm_cortexM0l_math.lib
but when using IAR 9.20 I'm having the warning
Warning[Lt009]: Inconsistent wchar_t size
arm_sin_f32.o(arm_cortexM0l_math.lib) and 1 other objects in arm_cortexM0l_math.lib have wchar_t size 16 bits
my_file.o and 54 other objects, some of them in rt6M_tl.a and 5 other libraries have wchar_t size 32 bits How do I avoid the mismatch?
I would like to avoid to link the source code for the cortex M math library and compile it myself.