28 lines
815 B
INI
28 lines
815 B
INI
; 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]
|
|
include_dir = Inc
|
|
src_dir = Src
|
|
|
|
[env:robotroller]
|
|
platform = ststm32
|
|
board = genericSTM32F446RE
|
|
framework = stm32cube
|
|
board_build.stm32cube.custom_config_header = yes
|
|
build_flags =
|
|
-D USE_FULL_LL_DRIVER
|
|
-D USE_HAL_DRIVER
|
|
|
|
board_build.stm32cube.startup = startup_stm32f446retx.s
|
|
board_build.stm32cube.ldscript = STM32F446RETx_FLASH.ld
|
|
; board_upload.offset_address = 0x08008000
|
|
upload_protocol = stlink
|
|
debug_tool = stlink
|
|
|