ADD: SimpleFOC native library and port arduino core to project #15 #7

STAGING

REBORN NEW ARDUINO CORE

ADD: simple FOC, AS5040 driver, commands, work with gui
This commit is contained in:
vanyabeat 2024-02-20 11:26:25 +03:00 committed by Igor Brylyov
parent bd7f049b75
commit 1d998ea45b
42 changed files with 265 additions and 5509 deletions

View file

@ -7,23 +7,15 @@
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
include_dir = Inc
src_dir = Src
lib_dir = Lib
[env:robotroller]
[env:robotroller_reborn]
platform = ststm32
board = genericSTM32F446RE
framework = stm32cube
board_build.stm32cube.custom_config_header = yes
;ADD BSD_VISIBLE flag
build_flags =
-D USE_FULL_LL_DRIVER
-D USE_HAL_DRIVER
-D_BSD_SOURCE
framework = arduino
upload_protocol = stlink
debug_tool = stlink
monitor_speed = 115200
monitor_parity = N
extra_scripts = extra_script.py
lib_deps = askuric/Simple FOC@^2.3.2