CAN-to-BLE bridge firmware for ESP32-S3. Reads CAN bus via MCP2518FD and streams frames to the DashPilot mobile app over Bluetooth Low Energy.
- macOS with Homebrew
- USB cable for flashing
brew install cmake ninja dfu-utilESP-IDF v5.4.1 is included as a git submodule:
git submodule update --init --recursive
./esp-idf/install.sh esp32s3Run this in every new terminal session (or add it to your ~/.zshrc):
. ./esp-idf/export.shidf.py set-target esp32s3
idf.py build
idf.py flash monitorPress Ctrl+] to exit the serial monitor.
To enable verbose CAN frame and status logging, add to sdkconfig.defaults:
CONFIG_DASHKIT_DEBUG_LOG=y
Then rebuild:
idf.py fullclean && idf.py build| Function | GPIO |
|---|---|
| SPI MOSI | 11 |
| SPI SCLK | 12 |
| SPI MISO | 13 |
| SPI CS | 10 |
| CAN INT | 9 |
| LED Red | 39 |
| LED Green | 40 |
| LED Blue | 41 |