CubeMX2Makefile
CubeMX2Makefile copied to clipboard
warning: xxx differ in signedness [-Wpointer-sign]
For some reason, Cube uses unsigned char which creates warning since the compiler option -Wall implies -Wpointer-sign
.
Solution is to add -Wno-pointer-sign
at the end of CFLAGS in the template file (CubeMX2Makefile.tpl).