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).
For some reason, Cube uses unsigned char which creates warning since the compiler option -Wall implies
-Wpointer-sign.Solution is to add
-Wno-pointer-signat the end of CFLAGS in the template file (CubeMX2Makefile.tpl).