Upload错误:dyld: Library not loaded: /usr/local/opt/libftdi/lib/libftdi1.2.dylib

解决方式:brew reinstall openocd


设置默认项目路径:

cd /Users/[UserName]/.platformio
vi homestate.json

找到:"projectsDir"把后面的路径设置成你的工程目录