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-02-20 11:26:25 +03:00
|
|
|
|
2024-01-17 16:36:15 +03:00
|
|
|
[platformio]
|
2024-02-20 11:26:25 +03:00
|
|
|
|
|
|
|
[env:robotroller_reborn]
|
2024-01-16 13:54:31 +03:00
|
|
|
platform = ststm32
|
|
|
|
board = genericSTM32F446RE
|
2024-02-20 11:26:25 +03:00
|
|
|
framework = arduino
|
2024-01-16 20:11:57 +03:00
|
|
|
upload_protocol = stlink
|
2024-01-17 16:36:15 +03:00
|
|
|
debug_tool = stlink
|
2025-02-04 13:40:15 +03:00
|
|
|
monitor_speed = 19200
|
2024-01-17 19:33:35 +03:00
|
|
|
monitor_parity = N
|
2025-05-22 18:03:43 +03:00
|
|
|
|
2024-05-08 10:05:29 +00:00
|
|
|
build_flags =
|
|
|
|
-DSTM32F446xx
|
|
|
|
-D HAL_CAN_MODULE_ENABLED
|
2024-05-24 10:57:24 +00:00
|
|
|
-D SIMPLEFOC_PWM_LOWSIDE_ACTIVE_HIGH
|
2025-05-26 22:40:53 +03:00
|
|
|
|
2024-05-08 10:05:29 +00:00
|
|
|
lib_deps =
|
2025-01-18 18:26:45 +03:00
|
|
|
askuric/Simple FOC@^2.3.4
|
|
|
|
pazi88/STM32_CAN@^1.1.2
|
2025-05-22 18:03:43 +03:00
|
|
|
extra_scripts =
|
|
|
|
post:hex_compile.py
|
|
|
|
pre:gen_compile_commands.py
|