Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 821 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 821 Bytes

How to build tmallgenie for esp32

Supported development boards

  • ESP32-LyraT V4.3

It might work with other official esp32 boards, but not verified yet

Setup ESP-ADF

See https://docs.espressif.com/projects/esp-adf/zh_CN/latest/get-started/index.html

Only support IDF V4.4 and above

Setup the environment variants

export ADF_PATH="<YOUR ADF PATH>"
export IDF_PATH="$ADF_PATH/esp-idf"
export IDF_TOOLS_PATH="<YOUR IDF TOOLS PATH>"
. $IDF_PATH/export.sh

Build the project

# config your wifi ssid&password and audio board, check sdkconfig.defaults for details
idf.py menuconfig
idf.py --no-ccache build       # build
idf.py -p <PORT> flash monitor # flash image and monitor serial message

Speaking "Hi LeXin" or pressing 'REC' key will wakeup Genie SDK for voice interaction