Skip to content

Is it possible to program stm32f103 or stm32f401using UARTor STLink v.2 through the adruino command line? #2205

@brightproject

Description

@brightproject

Describe the problem

Is it possible to program stm32f103 or stm32f401using UARTor STLink v.2 through the adruino command line?
Or does the arduino-cli not allow flashing blue and black pills not for USB?
After running example command:
arduino-cli compile -b Arduino_STM32-master:STM32F1:genericSTM32F103C
I got files:

.ino.bin
and
.ino.elf

in TEMP folder not project folder with source *ino file.
What could be the problem?

Arduino-cli board list - empty
Скриншот 06-06-2023 17 02 25

To reproduce

Installed arduino cli via exe file.
Use by powershell.
I used to compile sketches through arduino ide.
Now I want to increase the compilation speed.
but as far as I understand, arduino cli can flash blue and black tablets only via USB
I used stm core from ST Arduino_Core_STM32

Expected behavior

I need upload my code to stm32f401 by STLink from nameScetch.ino by using arduino-cli .

Arduino CLI version

0.33.0

Operating system

Windows

Operating system version

10 Pro

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

type: supportOT: Request for help using the project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions