ESP32 hello world linux环境下编译

it2026-08-23  1

参考开源一小步的pdf在linux环境下开发

 

这里主要记录下疑惑的地方:

文档里的.profile文件是放在~目录下, 我给它放到esp目录下了

.profile文件要source下, 否则make menuconfig会失败.

若终端被关闭了, 下次进入还得source下.

 

我的esp-idf用的是3.3.4版本;

采用pdf的编译器编译会报错, 很恶心;

后来我找到一个版本编译是ok的.

Linux 32位系统:https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-61-gab8375a-5.2.0.tar.gz

Linux 64位系统:https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-61-gab8375a-5.2.0.tar.gz

 

 

 

参考: https://blog.csdn.net/wang3141128/article/details/78704251

最新回复(0)