An ESP32-based walkie-talkie for communicating on bicycle/motorcycle rides
--recursive
flag when cloning to pick up the ESP-IDFcd esp-idf
export IDF_GITHUB_ASSETS="dl.espressif.com/github_assets"
./install.sh
ESP32 | INMP441 |
---|---|
3v3 | VDD |
GND | GND |
GPIO 32 | SCK (bit clock) |
GPIO 25 | WS (word select) |
GPIO 33 | SD (or is it SO?) (data pin) |
GND | L/R (left/right select) |
ESP32 | PCM5102A |
---|---|
3v3 | VIN |
GND | GND |
GPIO 4 | BCK (bit clock) |
GPIO 5 | LCK (word select) |
GPIO 18 | DIN (data pin) |
GND | SCK (left/right select) |
$ make menuconfig
or
$ idf.py menuconfig
$ make -j8 # Or pick your favorite parallel number
or
$ idf.py build
$ make -j8 flash monitor
or
$ idf.py flash monitor
$ make monitor
or
$ idf.py monitor
Exit with Ctrl + ]
.
$ make erase_flash
or
$ idf.py erase-flash
clang-format
is used for code formatting.
$ make format