baoshi/CubeMX2Makefile

warning: xxx differ in signedness [-Wpointer-sign]

Opened this issue · 0 comments

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).