Files
hoverboard-firmware-hack-SIN/platformio.ini

28 lines
665 B
INI
Raw Permalink Normal View History

2019-05-26 15:33:57 +02:00
; PlatformIO Project Configuration File2
; http://docs.platformio.org/page/projectconf.html
[platformio]
include_dir = Inc
2019-06-07 10:30:01 +02:00
src_dir = Src
2019-05-26 15:33:57 +02:00
[env:genericSTM32F103RC]
platform = ststm32
framework = stm32cube
board = genericSTM32F103RC
debug_tool = stlink
upload_protocol = stlink
2019-05-26 15:59:00 +02:00
; Serial Port settings (make sure the COM port is correct)
2019-05-26 16:00:18 +02:00
monitor_port = COM5
monitor_speed = 115200
2019-05-26 15:59:00 +02:00
2019-05-26 15:33:57 +02:00
build_flags =
-I${PROJECT_DIR}/inc/
-DUSE_HAL_DRIVER
-DSTM32F103xE
-Wl,-T./STM32F103RCTx_FLASH.ld
-Wl,-lc
-Wl,-lm
-g -ggdb ; to generate correctly the 'firmware.elf' for STM STUDIO vizualization
# -Wl,-lnosys