Skip to content

Conversation

yiiiyang2010
Copy link
Contributor

@yiiiyang2010 yiiiyang2010 commented Oct 8, 2018

  • set fpu as -mfpu=fpv5-d16 for supporting double precision floating point for fpu v5.

@yiiiyang2010 yiiiyang2010 requested a review from mbavaro October 8, 2018 17:17
Copy link
Contributor

@mbavaro mbavaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor comment, LGTM


set(CMAKE_C_FLAGS
"${CMAKE_C_FLAGS}"
"-mcpu=cortex-m7 -march=armv7e-m -mthumb"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-march=armv7e-m isn't a flag in the CubeMX Makefile.. should be enforced by mcpu https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html

@yiiiyang2010 yiiiyang2010 merged commit 0071941 into master Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants