Skip to content

Commit

Permalink
Generic-arm-none-eabi-gcc-cortex-m7: use SP float
Browse files Browse the repository at this point in the history
Not all m7 boards support double, as for example the STM32F745.
  • Loading branch information
bkueng committed Jul 9, 2019
1 parent c517c93 commit 13f97e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

set(cpu_flags "-mcpu=cortex-m7 -mthumb -mfpu=fpv5-d16 -mfloat-abi=hard")
set(cpu_flags "-mcpu=cortex-m7 -mthumb -mfpu=fpv5-sp-d16 -mfloat-abi=hard")

set(CMAKE_C_FLAGS "${cpu_flags}" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS "${cpu_flags}" CACHE STRING "" FORCE)
Expand Down

0 comments on commit 13f97e5

Please sign in to comment.