This is a M5StickC version of M5Stack-IDF.
- Download and install esp-idf of stable version and
idf.py
. - Create template idf project
$ git clone --recursive https://github.com/yamanekko/M5StickC-IDF.git
## update config
$ idf.py menuconfig
## build
$ idf.py build
## transfer to flash
$ idf.py flash
## when you need to change port and baud:
$ idf.py -p /dev/tty.usbserial-9D527BF645A -b 115200 flash
## monitor
$ idf.py -p /dev/tty.usbserial-9D527BF645A -b 115200 monitor
- If you use macOS, you may need to fix
ulimit
value:
$ ulimit -n 2048
- When you got
error: 'mbedtls_ssl_conf_psk' was not declared in this scope
, fix config (espressif/arduino-esp32#2154)