danieleff / STM32GENERIC

Generic implementation of Arduino for STM32 boards
https://danieleff.github.io/STM32GENERIC/
116 stars 88 forks source link

build error stm32f7 #11

Closed sonsatthu507 closed 7 years ago

sonsatthu507 commented 7 years ago

I try build F746NG, it's error. arm-none-eabi-g++: error: unrecognized argument in option '-mcpu=cortex-m7'. How i can fix it?

danieleff commented 7 years ago

Download the latest GNU ARM Embedded toolchain from https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads Change platform.txt compiler.path= to point to that version.

The version included in Arduino is so old it cannot compile to F7

sonsatthu507 commented 7 years ago

Thank you very much danieleff! I built successfull F7,