mirror of
https://github.com/kittywitch/esp32-c3-meepy.git
synced 2026-02-08 23:49:18 -08:00
8 lines
249 B
Makefile
8 lines
249 B
Makefile
arch := "riscv32imc-unknown-none-elf"
|
|
pakidg := shell('toml get -r Cargo.toml package.name')
|
|
exe := justfile_directory() / "target" / arch / "release" / pakidg
|
|
|
|
build:
|
|
#!/usr/bin/env bash
|
|
cargo build --release && \
|
|
sudo espflash flash {{exe}}
|