在項目中打開platformio.ini文件,加入代碼,如圖所示 image.png 更多修改選項請查看https://docs.platformio.org/en/latest/core/userguide/device/cmd_monitor.html#filters