From ca065bfefee24d83054084e174f9f45d7df40fde Mon Sep 17 00:00:00 2001
From: Terraneo Federico <fede.tft@miosix.org>
Date: Sun, 30 Jul 2023 18:10:41 +0200
Subject: [PATCH] Update blackpill program command

---
 miosix/config/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/miosix/config/Makefile.inc b/miosix/config/Makefile.inc
index 2a7fc54f..c8664648 100644
--- a/miosix/config/Makefile.inc
+++ b/miosix/config/Makefile.inc
@@ -1734,7 +1734,7 @@ else ifeq ($(ARCH),cortexM4_stm32f4)
         ## The command must provide a way to program the board, or print an
         ## error message saying that 'make program' is not supported for that
         ## board.
-        PROGRAM_CMDLINE := qstlink2 -cqewV ./main.bin
+        PROGRAM_CMDLINE := dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D main.bin
 
     ##-------------------------------------------------------------------------
     ## End of board list
-- 
GitLab