Hi @trevers. The only part of the instructions that are board and upload method-specific is step 9:
- Add the following line anywhere in the
The first component of that property name ("
GenF4" in the example) is the board ID, which is shown in this part of the verbose compilation output:
Using board 'GenF4' from platform in folder: C:\Users\<user name>\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.1.0
Once you have determined the board ID of the board you are using, find its definition in the
boards.txt file. That will be the set of property=key format lines that are prefixed with the board ID.
Now you need to add an
upload.tool.default property that matches the equivalent
upload.tool property. You could do this by determining the option ID ("
swdMethod" in the example) of the Tools > Upload Method IDE setting you are using, or you can just add equivalent
upload.tool.default properties for every
I'll provide a hypothetical scenario:
If your board ID was
foo and your Upload Method option ID was
bar, you would need to find a property in
boards.txt that looks like this:
baz is the name of the upload tool this hypothetical board is using)
You would then add a new line to the file based on that property, which would look like this: