diff --git a/tools/win/stlink_upload.bat b/tools/win/stlink_upload.bat index 135ff74..e8397a9 100644 --- a/tools/win/stlink_upload.bat +++ b/tools/win/stlink_upload.bat @@ -9,5 +9,9 @@ rem: the two line below are needed to fix path issues with incorrect slashes bef set str=%4 set str=%str:/=\% + rem: ------------- use STLINK CLI -stlink\ST-LINK_CLI.exe -c SWD -P %str% 0x8000000 -Rst -Run \ No newline at end of file +rem:stlink\ST-LINK_CLI.exe -c SWD -P %str% 0x8000000 -Rst -Run + +rem: Using the open source texane-stlink instead of the proprietary STM stlink exe +texane-stlink\st-flash.exe write %str% 0x8000000 \ No newline at end of file diff --git a/tools/win/texane-stlink/libusb-1.0.dll b/tools/win/texane-stlink/libusb-1.0.dll new file mode 100644 index 0000000..702b374 Binary files /dev/null and b/tools/win/texane-stlink/libusb-1.0.dll differ diff --git a/tools/win/texane-stlink/st-flash.exe b/tools/win/texane-stlink/st-flash.exe new file mode 100644 index 0000000..d4009e5 Binary files /dev/null and b/tools/win/texane-stlink/st-flash.exe differ diff --git a/tools/win/texane-stlink/st-util.exe b/tools/win/texane-stlink/st-util.exe new file mode 100644 index 0000000..512618b Binary files /dev/null and b/tools/win/texane-stlink/st-util.exe differ