• 周六. 5月 3rd, 2025

identifier “CRTSCTS” is undefined

11月 27, 2018

identifier "CRTSCTS" is undefined

编写串口时出现的CRTSCTS未定义,这个是因为std模式设置引起的,正确解决这个问题方法如下:

直接在Makefile 修改CFLAGS 参数,

-std=gnu99 替掉 -std=c99,

即可以解决问题。

相关文章