樂鑫在2019年7月份
就已經發(fā)布新芯片ESP32-S2
稠肘,最近從代理商朋友拿了一塊開發(fā)板來測試,可以認為應該是ESP8266
升級版甩卓,相對ESP8266
來說释簿,可以開發(fā)更復雜一些的應用,性能可以洒试。
簡介入口
技術文檔入口
ESP32-S2-Saola-1
環(huán)境搭建
esp-idf
使用ESP32-S2
系列倍奢,需要使用esp-idf v4.2
以上的SDK,這里使用master
垒棋。
git clone --recursive https://github.com/espressif/esp-idf.git
./install.sh
執(zhí)行完安裝腳本即可卒煞。
工具鏈:xtensa-esp32s2-elf-gcc8_2_0-esp-2020r2-linux-amd64.tar.gz
編譯
# 選擇目標芯片,默認是ESP32
idf.py set-target esp32s2
# 編譯
idf.py build
#燒錄
idf.py -p /dev/ttyS3 -b 1152000 flash monitor
hello world
hello world
hello world