24 lines
527 B
INI
24 lines
527 B
INI
[env:robotroller_reborn]
|
|
platform = ststm32
|
|
board = genericSTM32F446RE
|
|
framework = arduino
|
|
upload_protocol = stlink
|
|
debug_tool = stlink
|
|
monitor_speed = 19200
|
|
monitor_parity = N
|
|
|
|
board_upload.offset_address = 0x08008000
|
|
board_build.ldscript = ${PROJECT_DIR}/custom_script.ld
|
|
|
|
build_flags =
|
|
-D STM32F446xx
|
|
-D HAL_CAN_MODULE_ENABLED
|
|
-D SIMPLEFOC_PWM_LOWSIDE_ACTIVE_HIGH
|
|
|
|
lib_deps =
|
|
askuric/Simple FOC@^2.3.4
|
|
pazi88/STM32_CAN@^1.1.2
|
|
|
|
extra_scripts =
|
|
pre:gen_compile_commands.py
|
|
post:hex_compile.py
|