安装python,添加python环境变量,python install stcgal

安装platformio

https://www.jetbrains.com/help/clion/platformio.html#install

项目创建后配置修改:

lib_deps=
    C:\Users\Master\.platformio\packages\toolchain-sdcc\include
upload_flags=
    -p
    $UPLOAD_PORT
upload_command= stcgal $UPLOAD_FLAGS $SOURCE