From 59469ec79c87563b7de472de29e06100daaa93bc Mon Sep 17 00:00:00 2001 From: Dominic Date: Tue, 30 Jan 2024 16:01:38 +0100 Subject: [PATCH] use nonbroken flasher --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 4c16006..138d51a 100755 --- a/build.sh +++ b/build.sh @@ -17,5 +17,6 @@ llvm-objcopy -O binary "$output_dir/$output_name" "$output_dir/$output_name.bin" if [ "$(basename "$0")" == "flash.sh" ]; then echo "Writing file $output_dir/$output_name.bin to device ..." - st-flash write "$output_dir/$output_name.bin" 0x8000000 + stm32flash -w "$output_dir/$output_name.bin" -v /dev/ttyUSB0 + # st-flash write "$output_dir/$output_name.bin" 0x8000000 fi