; 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
; https://docs.platformio.org/page/projectconf.html

[platformio]
default_envs = PP_BFC_V3_0_HSI

[env]
platform = ststm32
framework = arduino
board_build.variants_dir = boards

[common]
build_flags = -fmax-errors=5
	-g
	-ggdb


[env:PP_BFC_V3_0_HSI]
platform = ststm32
framework = arduino
board = generic_f030c8tx  ; ram=10240
board_build.variant = F030C8TX_HSI
build_flags = ${common.build_flags}
				-D DEBUG_LEVEL=0
				-D SERIAL_RX_BUFFER_SIZE=768
				-D SERIAL_TX_BUFFER_SIZE=384

; upload_protocol = serial
upload_protocol = stlink