1,获取SDK
方法1: 一步到位,容易出错 git clone --recursive https://github.com/espressif/esp-idf.git
方法2:
分步获取,clone esp-idf后单独获取子模块
git clone https://github.com/espressif/esp-idf.git
cd esp-idf
git submodule update --init
遇到错误:
git clone 遇到问题:fatal: unable to access 'https://github.comxxxxxxxxxxx': Failed to connect to xxxxxxxxxxxxx
将https改为git,如果是更新子模块遇到这个错误,就找到下面的配置文件,将配置文件中url的https改为git
vim ./.git/config
2,获取esp32cam工程
git clone --recursive https://github.com/nabto/nabto-esp32cam.git
这个工程是连接nabto服务器的
nabto安卓及嵌入式相关SDK: https://github.com/nabto
nabto官网文档: https://docs.nabto.com/developer/guides/get-started/embedded/intro.html
设置临时ID
make menuconfig进入Camera configuration —>
输入Nabto ID 为"asrrmhso.zuzcni.trial.nabto.net"
Nabto key为"337acb58e15b72117a49bf779d90cb29"
不要使用,工程代码不全:https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_ESP32-CAMERA_WAN.git