mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-25 11:06:48 +08:00
Merge remote-tracking branch 'madcowswe/clean-math-funcs' into devel
This commit is contained in:
@@ -35,7 +35,7 @@ tup.frule{
|
||||
board_v3 = {
|
||||
dir = 'Board/v3',
|
||||
sources = {'Drivers/DRV8301/drv8301.cpp', 'Board/v3/board.cpp'},
|
||||
flags = {'-DSTM32F405xx', '-DARM_MATH_CM4', '-mcpu=cortex-m4', '-mfpu=fpv4-sp-d16'},
|
||||
flags = {'-DSTM32F405xx', '-DARM_MATH_CM4', '-mcpu=cortex-m4', '-mfpu=fpv4-sp-d16', '-DFPU_FPV4'},
|
||||
ldflags = {'-TBoard/v3/STM32F405RGTx_FLASH.ld', '-LBoard/v3/Drivers/CMSIS/Lib', '-larm_cortexM4lf_math', '-mcpu=cortex-m4', '-mfpu=fpv4-sp-d16'}
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ if tup.getconfig("USE_LTO") == "true" then
|
||||
end
|
||||
|
||||
-- common flags for ASM, C and C++
|
||||
OPT += '-ffast-math -fno-finite-math-only'
|
||||
OPT += '-ffast-math'
|
||||
tup.append_table(FLAGS, OPT)
|
||||
tup.append_table(LDFLAGS, OPT)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user