Sleepy End Device (SED) is a device that’s sleeping most of the time and has very low power consumption — think running on a single AA for a year!

Here’s end-to-end getting things setup (ref1, ref2, ref3):

brew install cmake ninja dfu-util python3
git clone -b v5.4.1 --recursive https://github.com/espressif/esp-idf.git
cd esp-idf
./install.sh esp32c6  # will install stuff in ~/.espressif

To setup python environment before each development session:

cd esp-idf
. export.sh

Start with Hello World:

cp -r esp-idf/examples/get-started/hello_world .
cd hello_world
idf.py set-target esp32c6
idf.py menuconfig
idf.py build
idf.py -p /dev/tty.usb... flash

Monitor serial port:

idf.py -p /dev/tty.usb... monitor  # Ctrl+] to exit