david-sawatzke / s32duino

An arduino core for STM32F0 chips
5 stars 2 forks source link

for stlink #4

Open icelon opened 6 years ago

icelon commented 6 years ago

is necesary change this lines ?

`# Uploader tool

-------------------

blackmagic probe upload

tools.bmp_upload.cmd=arm-none-eabi-gdb

tools.bmp_upload.path={runtime.tools.arm-none-eabi-gcc.path}/bin/

tools.bmp_upload.path=/bin/ tools.bmp_upload.upload.speed=230400 tools.bmp_upload.upload.params.verbose= tools.bmp_upload.upload.params.quiet=-q --batch-silent tools.bmp_upload.upload.pattern="{path}{cmd}" {upload.verbose} -ex "target extended-remote {serial.port}" -ex "monitor swdp_scan" -ex "attach 1" -ex "load" -ex "echo \n\n\nUpload finished!" --batch "{build.path}/{build.project_name}.elf" `

icelon commented 6 years ago

like ---

ST-Link upload

tools.stlink_upload.cmd=stlink_upload tools.stlink_upload.path.linux64={runtime.hardware.path}/tools/linux64 tools.stlink_upload.upload.params.verbose=-d tools.stlink_upload.upload.params.quiet= tools.stlink_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin"

david-sawatzke commented 6 years ago

Only if you have already installed the stlink_upload tool under {runtime.hardware.path}/tools/linux64, but I'm not sure. You need to see what runtime.hardware.path is