Platformio.ini is different than shown in the documentation

This could be just a consequence of the documentation not being currrent - however to be safe I want to warn that actual platformio.ini is

; PlatformIO Project Configuration File
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
; Please visit documentation for the other options and examples

platform = ststm32
board = bw_swan_r5
framework = arduino

Note that the definitions of the upload_protocol, build_flags and lib_deps are missing.

Hi @adriatic,

What you’ve pasted in here is the default platformio.ini file that you’ll get after selecting the Swan board. You still have to customize it with the instructions in step 4 here.

Hope that helps!


This story continues in Seemingly incomplete information in Swan Quickstart - #8 by adriatic . It is long and arduous, so one may decide to wait for its resolution.