Closed mojzu closed 7 years ago
To support the Cortex-M7 I updated the toolchain in .platformio/packages/toolchain-gccarmnoneeabi
Which toolchain have you used?
Version 4.9 update 3 from launchpad.
It looks that issue is fixed in PlatformIO 3.0. If it doesn't work, pelase open new issue here https://github.com/platformio/platform-ststm32/issues/new
Made an attempt at adding this myself but ended up making a lot of changes to default package directories which I'm unsure about. I can compile firmware successfully, but upload fails with scons error code 309 (guessing the tool-stlink binaries don't support the processor yet, but managed to get around this using ST's flashing tool and Em::block's STlinkGDB for debugging).
Changes:
.platformio/packages/toolchain-gccarmnoneeabi
.platformio/packages/framework-cmsis/cores/stm32
fromstm32cubef7/Drivers/CMSIS/Include
.platformio/packages/framework-cmsis/variants/stm32f7
with contents fromstm32cubef7/Drivers/CMSIS/Device/ST/STM32F7xx
.platformio/packages/ldscripts/stm32f746ng.ld
fromstm32cubef7/Projects/STM32746G-Discovery/Templates/SW4STM32/STM32746G_Discovery/STM32F746NGHx_FLASH.ld
And in the repository I added a board definition to
platformio/boards/ststm32.json
: