Closed fabry1992 closed 3 months ago
Hi @fabry1992 Right, 2 PR were made in // and forgot this new entry for the STM32CubeProgrammer rework. Plase feel free to provide a PR. As a workaround, the boards.local.txt can be used to redefine the correct options. --> PR created #2414
Workaround:
boards.local.txt
file.ELV_Modular_System.menu.upload_method.swdMethod.upload.protocol=swd
ELV_Modular_System.menu.upload_method.serialMethod.upload.protocol=serial
ELV_Modular_System.menu.upload_method.serialMethod.upload.options=-c {serial.port.file}
Describe the bug Programming the ELV-BM-TRX1 device results in following error message:
Selected interface: 1 Protocol unknown!
To Reproduce
Expected behavior The compiled code gets Downloaded and verified onto the device
Desktop (please complete the following information):
Board (please complete the following information):
Suggested Fix Since all other board.txt entries were reworked, in the same way, I would suggest to change the following lines:
12946 : ELV_Modular_System.menu.upload_method.swdMethod.upload.protocol=0
12950 : ELV_Modular_System.menu.upload_method.serialMethod.upload.protocol=1
12951 : ELV_Modular_System.menu.upload_method.serialMethod.upload.options={serial.port.file}
to
12946 : ELV_Modular_System.menu.upload_method.swdMethod.upload.protocol=swd
12950 : ELV_Modular_System.menu.upload_method.serialMethod.upload.protocol=serial
12951 : ELV_Modular_System.menu.upload_method.serialMethod.upload.options=-c {serial.port.file}