stuck up to axels - arduino uploading stm32 blue pill - error uploading sketch

I am trying to use Arduino IDE to program a STM32 Blue Pill. The system is Linux Fedora 30 and Arudino IDE level 1.8.5

I have succeeded in uploading the Roger Clark bootloader. The device shows up as a Maple 3.

I have tried several hardware extensions under preferences. Compilation goes without a hitch, however all fail on upload. This was done with the http://dan.drown.org/stm32duino/package_STM32duino_index.json

This is the one that shows up most frequently. I have also tried the Git STM extensions.

A. Is there a full working Arduino IDE - STM32 stack documented somewhere?
B. Does anyone have any experience with the error below?

Dan

Arduino: 1.8.5 (Linux), Board: “Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), Serial, 72Mhz (Normal), Smallest (default)”

Build options changed, rebuilding all
Archiving built core (caching) in: /tmp/arduino_cache_859930/core/core_stm32duino_STM32F1_genericSTM32F103C_device_variant_STM32F103C8,upload_method_serialMethod,cpu_speed_speed_72mhz,opt_osstd_d0e3f59ef58f1d1d167d6a2062889971.a
Sketch uses 12612 bytes (19%) of program storage space. Maximum is 65536 bytes.
Global variables use 2496 bytes (12%) of dynamic memory, leaving 17984 bytes for local variables. Maximum is 20480 bytes.
Failed to init device.
stm32flash Arduino_STM32_0.9

Using Parser : Raw BINARY
Interface serial_posix: 115200 8E1

An error occurred while uploading the sketch

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.

(the port is group dialout and I am a member)


DMESG output

[246627.337885] usb 1-1.2: new full-speed USB device number 4 using ehci-pci
[246627.417538] usb 1-1.2: New USB device found, idVendor=1eaf, idProduct=0003, bcdDevice= 2.01
[246627.417539] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[246627.417540] usb 1-1.2: Product: Maple 003
[246627.417541] usb 1-1.2: Manufacturer: LeafLabs
[246627.417542] usb 1-1.2: SerialNumber: LLM 003
[246629.079664] usb 1-1.2: USB disconnect, device number 4
[246629.254909] usb 1-1.2: new full-speed USB device number 5 using ehci-pci
[246629.335585] usb 1-1.2: New USB device found, idVendor=1eaf, idProduct=0004, bcdDevice= 2.00
[246629.335589] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[246629.335591] usb 1-1.2: Product: Maple
[246629.335593] usb 1-1.2: Manufacturer: LeafLabs
[246629.895276] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
[246629.895698] usbcore: registered new interface driver cdc_acm
[246629.895698] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters