查了半天,原来是stm32上用arm-none-eabi-gcc编译时,sizeof(wchar_t)是4,但在windows下却是2. 于是在stm32这边把CFLAGS加上-fshort-wchar,相应的 ...
確定! 回上一頁