2024-01-16 13:54:31 +03:00
|
|
|
; 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
|
2024-01-17 16:36:15 +03:00
|
|
|
[platformio]
|
|
|
|
include_dir = Inc
|
|
|
|
src_dir = Src
|
2024-01-17 19:33:35 +03:00
|
|
|
lib_dir = Lib
|
2024-01-16 13:54:31 +03:00
|
|
|
[env:robotroller]
|
|
|
|
platform = ststm32
|
|
|
|
board = genericSTM32F446RE
|
|
|
|
framework = stm32cube
|
|
|
|
board_build.stm32cube.custom_config_header = yes
|
2024-02-02 13:16:57 +00:00
|
|
|
;ADD BSD_VISIBLE flag
|
2024-01-16 13:54:31 +03:00
|
|
|
build_flags =
|
|
|
|
-D USE_FULL_LL_DRIVER
|
|
|
|
-D USE_HAL_DRIVER
|
2024-02-02 13:16:57 +00:00
|
|
|
-D_BSD_SOURCE
|
|
|
|
|
2024-01-16 20:11:57 +03:00
|
|
|
upload_protocol = stlink
|
2024-01-17 16:36:15 +03:00
|
|
|
debug_tool = stlink
|
2024-01-17 19:33:35 +03:00
|
|
|
monitor_speed = 115200
|
|
|
|
monitor_parity = N
|
|
|
|
extra_scripts = extra_script.py
|