Documentation on how to use the Rust Programming Language to develop firmware for bare metal (microcontroller) devices
1.09k
stars
172
forks
source link
1.4.4. Verify Installation : openOCD - stlink.cfg does not exist [anymore?] #277
Closed
cocoacrumbs closed 3 years ago
The embedded rust book in section 1.4.4 suggests to use this command to verify the installation:
However, the
stlink.cfg
file does not exist when installing openOCD (which is version 0.10.0 in my case):I found the available interface scripts for openOCD at this path (I'm using Manjaro Linux):
The available stlink scripts are:
In my case, using
stlink-v2-1.cfg
solved my problem.Maybe the Embedded Rust book could elaborate a bit more on using/finding the correct interface file?