Files
charge-controller-firmware/platformio.ini
T

48 lines
1.1 KiB
INI

#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#
# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.
[platformio]
env_default = nucleo
[env:nucleo]
platform = ststm32
framework = mbed
board = nucleo_f072rb
upload_protocol = stlink
# Settings:
# - enable float formatting for printf, adding approx. 7 kB of bin file size
# - C++11 to be able to define default values for struct members
# - Use low speed internal clock (LSI) for RTC (no LSE crystal on PCB)
build_flags =
-Wl,-u_printf_float
-std=c++11
-DMBED_CONF_TARGET_LSE_AVAILABLE=0
# -DPIO_FRAMEWORK_MBED_RTOS_PRESENT
# -DPIO_FRAMEWORK_MBED_EVENTS_PRESENT
# Custom Serial Monitor port
#monitor_port = /dev/ttyUSB1
; Custom Serial Monitor baud rate
monitor_baud = 115200
[env:unit_test]
framework = mbed
board = nucleo_f072rb
platform = ststm32
test_transport = custom
test_port = COM7
upload_protocol = stlink
build_flags = -Wl,-u_printf_float
-std=c++11
-DMBED_CONF_TARGET_LSE_AVAILABLE=0