You've already forked glider
mirror of
https://gitlab.com/zephray/glider.git
synced 2026-08-12 12:20:12 +00:00
16 lines
387 B
Bash
Executable File
16 lines
387 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
source "$SCRIPT_DIR/lib/release_common.sh"
|
|
|
|
version="${GLIDER_DEV_VERSION:-dev}"
|
|
out_dir="$(repo_root)/build/dev/mcu"
|
|
|
|
run_cmd "$SCRIPT_DIR/build_mcu.sh" "$version" "$out_dir"
|
|
run_cmd dfu-util \
|
|
-a 0 \
|
|
-i 0 \
|
|
-s 0x08000000:leave \
|
|
-D "$out_dir/glider_ec_rtos_$version.bin"
|