identifier "CRTSCTS" is undefined
编写串口时出现的CRTSCTS未定义,这个是因为std模式设置引起的,正确解决这个问题方法如下:
直接在Makefile 修改CFLAGS 参数,
-std=gnu99 替掉 -std=c99,
即可以解决问题。
identifier "CRTSCTS" is undefined
编写串口时出现的CRTSCTS未定义,这个是因为std模式设置引起的,正确解决这个问题方法如下:
直接在Makefile 修改CFLAGS 参数,
-std=gnu99 替掉 -std=c99,
即可以解决问题。