整个代码还是很不错的,但是编译的时候会提示
.\\Obj\\STM3210C-EVAL.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup.o(STACK).
……
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 0 warning and 43 error messages.
\".\\Obj\\STM3210C-EVAL.axf\" - 43 Error(s), 0 Warning(s).
Target not created
等一堆错误,貌似是内存不够我自己在研究下