On Sun, Oct 15, 2023 at 10:25:12AM +0300, Liviu Ionescu wrote: > > On Sat, Oct 14, 2023 at 07:27:17PM +0200, kristof.mul...@telenet.be wrote: > >> 7th minute in the video. However, when I try this, I get the following > >> error: > >> embedded:startup.tcl:28: Error: Can't find target/apm32f0xx.cfg > >> I checked the OpenOCD installation - I cannot find an 'apm32f0xx.cfg' > >> target > >> file anywhere. That means the Geehy APM32F0 is not supported? But why does > >> the > >> video show otherwise? > > > > What happens if you use stm32f0.cfg config? > > I have no experience with APM32F0, but I had support requests > related to some other Chinese STM clones not being recognised by > existing STM scripts, and (unsurprisingly) it turned out that they > use their own device ids; in some cases the solution was to > copy/paste the script and update the id.
I have experience with APM32F103CBT6, it works fine with the existing script, just needs an ID for a newer Cortex-M variant to be set, can be done without modifying the stm32f1x.cfg at all, just by setting the variable beforehand. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com