diff --git a/STM32F1/platform.txt b/STM32F1/platform.txt index 627e5da..b1cf69d 100644 --- a/STM32F1/platform.txt +++ b/STM32F1/platform.txt @@ -161,3 +161,15 @@ tools.jlink_upload.path.linux64={runtime.hardware.path}/tools/linux64 tools.jlink_upload.upload.params.verbose=-d tools.jlink_upload.upload.params.quiet=n tools.jlink_upload.upload.pattern="{path}/{cmd}" "{build.path}/{build.project_name}.bin" + +# HID upload +tools.hid_upload.cmd=hid_upload +tools.hid_upload.cmd.windows=hid_upload.bat +tools.hid_upload.cmd.macosx=hid_upload +tools.hid_upload.path={runtime.hardware.path}/tools/win +tools.hid_upload.path.macosx={runtime.hardware.path}/tools/macosx +tools.hid_upload.path.linux={runtime.hardware.path}/tools/linux +tools.hid_upload.path.linux64={runtime.hardware.path}/tools/linux64 +tools.hid_upload.upload.params.verbose=-d +tools.hid_upload.upload.params.quiet=n +tools.hid_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin" \ No newline at end of file diff --git a/tools/win/hid_flash/hid-flash.exe b/tools/win/hid_flash/hid-flash.exe new file mode 100644 index 0000000..9808b20 Binary files /dev/null and b/tools/win/hid_flash/hid-flash.exe differ