First, setup esp-idf environment according to the official guide here
Choose the right platform:
cp sdkconfig.esp32 sdkconfig
Build firmware
idf.py build && idf.py flash
Run
export ESPPORT=/dev/<port>
to specify port
components
system componentscomponents/apps
applications runs on RTOScomponents/blink
operates LEDcomponents/imu
operates IMU (dummy package)components/sys
supporting modules for systemdocs
documentsinclude
global headerslib
common librarieslib/hi229
actual imu packagemain
entrypoint of firmwarescripts
helper scriptstests
function tests