I’m trying to get setup to debug my code. Since my initial try with my code didn’t work, I created a new project with the Arduino Blink example and tried to start a debug session. The output in the VScode debug window looks fine to me (I’m new at this), then it gets to “PlatformIO: Initializing remote target…” and it hangs. The STLink V3MINI debugger communication light flashes red/green indefinitely. If I stop the debug session in VScode, the light on the stlink continues to blink until I manually kill the openocd process, then the comm light turns back steady red.
I’m using a macbook with MacOS Monterey 12.3.1,
Blues Swan R5 STM32L4R5ZIY6 on a Blues NoteCarrier AF development board (the STLink cable is plugged directly into the JTAG SWD plug on the Swan chip so no additional wires have been added for debugging purposes),
openocd 0.11.0,
STLink V3Mini,
and PlatformIO (Core 6.1.5; Home 3.4.3) with VScode.
Here is my platformio,ini:
[env:bw_swan_r5]
platform = ststm32
board = bw_swan_r5
upload_protocol = stlink
;upload_protocol = dfu
framework = arduino
build_type = debug
build_flags = -D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
debug_build_flags = -g3
debug_tool = stlink
debug_port = /dev/tty.usbmodem14503
Here is the output from the debug console:
Processing bw_swan_r5 (platform: ststm32; board: bw_swan_r5; framework: arduino)
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: link removed so Newbe can post
PLATFORM: ST STM32 (15.4.0) > BluesWireless Swan R5
HARDWARE: STM32L4R5ZIY6 120MHz, 640KB RAM, 2MB Flash
DEBUG: Current (stlink) External (blackmagic, cmsis-dap, jlink, stlink)
PACKAGES:
- framework-arduinoststm32 @ 4.20200.220530 (2.2.0)
- framework-cmsis @ 2.50700.210515 (5.7.0)
- toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1)
LDF: Library Dependency Finder → link removed so Newbe can post
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 11 compatible libraries
Scanning dependencies…
No dependencies
Building in debug mode
Compiling .pio/build/bw_swan_r5/FrameworkArduinoVariant/PeripheralPins.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduinoVariant/PeripheralPins_SWAN_R5.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduinoVariant/generic_clock.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduinoVariant/variant_SWAN_R5.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduinoVariant/variant_generic.cpp.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_adc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_adc_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_can.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_cec.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_comp.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_comp_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_cordic.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_cortex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_crc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_crc_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_cryp.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_cryp_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_dac.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_dac_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_dcache.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_dcmi.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_dcmi_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_dma.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_dma2d.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_dma_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_dsi.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_dts.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_eth.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_eth_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_exti.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_fdcan.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_firewall.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_flash.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_flash_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_flash_ramfunc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_fmac.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_fmpi2c.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_fmpi2c_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_fmpsmbus.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_fmpsmbus_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_gfxmmu.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_gpio.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_gpio_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_gtzc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_hash.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_hash_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_hcd.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_hrtim.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_hsem.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_i2c.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_i2c_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_i2s.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_i2s_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_icache.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_ipcc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_irda.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_iwdg.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_jpeg.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_lcd.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_lptim.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_mdf.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_mdios.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_mdma.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_mmc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_mmc_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_nand.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_nor.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_opamp.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_opamp_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_ospi.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_otfdec.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_pccard.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_pcd.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_pcd_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_pka.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_pssi.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_pwr.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_pwr_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_qspi.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_ramcfg.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_ramecc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_rcc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_rcc_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_rng.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_rng_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_rtc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_rtc_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_sai.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_sai_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_sd.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_sd_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_sdadc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_sdram.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_smartcard.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_smartcard_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_smbus.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_smbus_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_spdifrx.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_spi.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_spi_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_sram.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_subghz.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_swpmi.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_tim.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_tim_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_tsc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_uart.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_uart_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_usart.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_usart_ex.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/HAL/stm32yyxx_hal_wwdg.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_adc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_bdma.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_comp.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_cordic.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_crc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_crs.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_dac.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_delayblock.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_dlyb.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_dma.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_dma2d.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_exti.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_fmac.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_fmc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_fmpi2c.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_fsmc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_gpio.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_hrtim.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_i2c.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_icache.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_lpgpio.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_lptim.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_lpuart.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_mdma.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_opamp.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_pka.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_pwr.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_rcc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_rng.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_rtc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_sdmmc.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_spi.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_swpmi.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_tim.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_ucpd.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_usart.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_usb.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/LL/stm32yyxx_ll_utils.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/PortNames.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/analog.cpp.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/bootloader.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/clock.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/core_callback.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/dwt.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/hw_config.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/interrupt.cpp.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/otp.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/pinmap.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/stm32_def.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/system_stm32yyxx.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/timer.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/stm32/uart.c.o
Compiling .pio/build/bw_swan_r5/SrcWrapper/src/syscalls.c.o
Compiling .pio/build/bw_swan_r5/src/Blink.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/HardwareSerial.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/HardwareTimer.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/IPAddress.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/Print.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/RingBuffer.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/Stream.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/Tone.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/USBSerial.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/VirtIOSerial.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/WInterrupts.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/WMath.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/WSerial.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/WString.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/abi.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/avr/dtostrf.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/board.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/hooks.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/itoa.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/main.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/new.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/pins_arduino.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/libmetal/device.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/libmetal/generic/condition.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/libmetal/generic/cortexm/sys.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/libmetal/generic/generic_device.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/libmetal/generic/generic_init.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/libmetal/generic/generic_io.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/libmetal/generic/generic_shmem.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/libmetal/generic/time.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/libmetal/init.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/libmetal/io.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/libmetal/log.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/libmetal/shmem.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/mbox_ipcc.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/open-amp/remoteproc/remoteproc_virtio.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/open-amp/rpmsg/rpmsg.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/open-amp/rpmsg/rpmsg_virtio.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/openamp.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/rsc_table.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/virt_uart.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/virtio/virtio.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/virtio/virtqueue.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/virtio_buffer.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/OpenAMP/virtio_log.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/startup_stm32yyxx.S.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/usb/cdc/cdc_queue.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/usb/cdc/usbd_cdc.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/usb/cdc/usbd_cdc_if.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/usb/hid/usbd_hid_composite.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/usb/hid/usbd_hid_composite_if.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/usb/usb_device_core.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/usb/usb_device_ctlreq.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/usb/usb_device_ioreq.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/usb/usbd_conf.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/usb/usbd_desc.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/usb/usbd_ep_conf.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/stm32/usb/usbd_if.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/wiring_analog.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/wiring_digital.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/wiring_pulse.cpp.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/wiring_shift.c.o
Compiling .pio/build/bw_swan_r5/FrameworkArduino/wiring_time.c.o
Archiving .pio/build/bw_swan_r5/libFrameworkArduino.a
Indexing .pio/build/bw_swan_r5/libFrameworkArduino.a
Linking .pio/build/bw_swan_r5/firmware.elf
Checking size .pio/build/bw_swan_r5/firmware.elf
Advanced Memory Usage is available via “PlatformIO Home > Project Inspect”
RAM: [ ] 0.6% (used 3992 bytes from 655360 bytes)
Flash: [ ] 2.6% (used 53536 bytes from 2097152 bytes)
Building .pio/build/bw_swan_r5/firmware.bin
========================= [SUCCESS] Took 17.06 seconds =========================
undefinedxPack OpenOCD x86_64 Open On-Chip Debugger 0.11.0+dev (2021-10-17-00:18)
Licensed under GNU GPL v2
For bug reports, read
link removed so Newbe can post
hla_swd
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : DEPRECATED target event trace-config; use TPIU events {pre,post}-{enable,disable}
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 500 kHz
Info : STLINK V3J7M2 (API v3) VID:PID 0483:374E
Info : Target voltage: 3.300000
Info : stm32l4x.cpu: Cortex-M4 r0p1 processor detected
Info : stm32l4x.cpu: target has 6 breakpoints, 4 watchpoints
Info : starting gdb server for stm32l4x.cpu on 3333
Info : Listening on port 3333 for gdb connections
Reading symbols from /Users/bradnorris/Documents/PlatformIO/Projects/230117-195759-arduino-blink/.pio/build/bw_swan_r5/firmware.elf…
PlatformIO Unified Debugger → Redirecting...
PlatformIO: debug_tool = stlink
PlatformIO: Initializing remote target…