Add offset for firmware
This commit is contained in:
parent
3fd612a56e
commit
31528a4a5b
3 changed files with 191 additions and 21 deletions
|
@ -1,15 +1,3 @@
|
|||
; 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]
|
||||
|
||||
[env:robotroller_reborn]
|
||||
platform = ststm32
|
||||
board = genericSTM32F446RE
|
||||
|
@ -19,14 +7,18 @@ debug_tool = stlink
|
|||
monitor_speed = 19200
|
||||
monitor_parity = N
|
||||
|
||||
board_build.ldscript = ${PROJECT_DIR}/custom_script.ld
|
||||
|
||||
build_flags =
|
||||
-DSTM32F446xx
|
||||
-D HAL_CAN_MODULE_ENABLED
|
||||
-D SIMPLEFOC_PWM_LOWSIDE_ACTIVE_HIGH
|
||||
-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
|
||||
askuric/Simple FOC@^2.3.4
|
||||
pazi88/STM32_CAN@^1.1.2
|
||||
|
||||
extra_scripts =
|
||||
post:hex_compile.py
|
||||
pre:gen_compile_commands.py
|
||||
pre:gen_compile_commands.py
|
||||
post:hex_compile.py
|
Loading…
Add table
Add a link
Reference in a new issue