esp32_bluetooth_classic_sni.../firmware/build_from_source.sh
Matheus Eduardo Garbelini 13b601c6f2 Added BT Firmware source code (ESP32 patching framework)
* Added `firmware/build_from_source.sh` to compile firmware
2022-02-07 17:10:27 +08:00

9 lines
350 B
Bash
Executable file

#!/usr/bin/env bash
git submodule init
git submodule update
cd esp32_firmware_patching_framework
./firmware.py build sniffer-serial
cp .pio/build/sniffer-serial/bootloader.bin ../
cp .pio/build/sniffer-serial/partitions.bin ../
cp .pio/build/sniffer-serial/firmware.bin ../ && echo 'Done. flash built firmware via ./firmware.py flash <serial port>'