Skip to content

Documentation

Georgi Angelov edited this page Jun 11, 2023 · 11 revisions

INI SETTINGS

The usual...

...

build_flags = -DNAME=HELLO

monitor_speed = 115200

lib_deps = BlahBlah

extra_scripts = extra_script.py

...

CUSTOMISE

Common ( optional ) Settings

custom_name

Change ELF, HEX, BIN filename
Default value: APPLICATION

Default value mean Missing value

custom_linker

Change Linker Script
Default value: Project/stm/xxxxx_FLASH.ld

custom_optimization

Default value: -Os

custom_stm32cp ( uploader )

Change path to STM32_Programmer_CLI (exe)
Default value: C:/Program Files/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI
is selected with upload_protocol = stlink ( Default value )

custom_stm32lc ( uploader )

Change path to ST-LINK_CLI (exe)
Default value: C:/Program Files (x86)/STMicroelectronics/STM32 ST-LINK Utility/ST-LINK Utility/ST-LINK_CLI
is selected with upload_protocol = stlinkv1