Resolve "Запустить управление синусом с тестовыми токами"

This commit is contained in:
Igor Brylyov 2024-02-02 13:16:57 +00:00
parent 04be2518f5
commit 0153a7083b
39 changed files with 524 additions and 302 deletions

12
firmware/extra_script.py Normal file
View file

@ -0,0 +1,12 @@
Import("env")
# Dump build environment (for debug)
# print(env.Dump())
# add floating point unit support STM32F4
FPU_FLAGS = "-mfloat-abi=hard -mfpu=fpv4-sp-d16"
# add -u _printf_float to LDFLAGS
env.Append(LINKFLAGS="-u _printf_float")
# env.Append(CCFLAGS=FPU_FLAGS)
# env.Append(LINKFLAGS=FPU_FLAGS)