Mac OS 下几乎和liunx没有很大区别:
第一步安装 python 和pip
第二步下载交叉编译器:
URL:https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz
下载解压
创建环境变量
vim ~/.profile
打开环境变量设置
下图是我的配置,目录要和你放置的位置一样
idf和交叉编译器下载好了,环境变量设好了,
就可以在示例目录下面运行make menuconfig,
进行配置。
QQ群:320291588
数字技术站点:http://www.viper1983.com