• 周五. 5月 2nd, 2025

identifier “CRTSCTS” is undefined

identifier "CRTSCTS" is undefined

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

直接在Makefile 修改CFLAGS 参数,

-std=gnu99 替掉 -std=c99,

即可以解决问题。

相关文章

发表评论

您的电子邮箱地址不会被公开。