首页 > 其他分享 >ESP3D ESP32-C3 bulid时报错 'Serial2' was not declared in this scope

ESP3D ESP32-C3 bulid时报错 'Serial2' was not declared in this scope

时间:2023-04-15 21:57:20浏览次数:39  
标签:Serial2 declared bulid ESP32 git C3 ESP3D

ESP3D 版本:

 

  3.0.0-alpha3

 

错误原因:

 

  ESP32-C3只有两个port

 

解决方法一

 

  github上最新的git已经解决了该问题,使用git获取最新版,不要下载Release的

 

解决方法二:

 

  去掉Serial2

  serial_sevice.cpp中,

 

 

  第40,41行   将MAX_SERIAL的值改为2.将41行中的Serial2去掉

 

 


 

标签:Serial2,declared,bulid,ESP32,git,C3,ESP3D
From: https://www.cnblogs.com/tongsuh/p/17321980.html

相关文章