2016-06-03 02:29 PM
When import
an STM32CubeMX generated project under System Workbench for STM32 follow the instruction of
http://www.openstmorg/Importing+a+STCubeMX+generated+project
. Numerous errors shown:unknown type name 'GPIO_TypeDef'
'GPIOC' undeclared (first use in this function)
and so on.
In order to solve this problem, a macro definition
#define STM32F769XX
should be added
manually
Meanwhile, the STM32F769NIHx_FLASH.ld can't be complied because their is a error in line 55
_estack = %stack%; /* end of RAM */
it should be replaced to
_estack = 0x20080000; /* end of RAM */
then the project cancomplieswell.
2016-06-06 04:36 AM
Hello,
Can you please indicate which STM32CubeMX version are you using?Thanks.2016-06-06 05:08 AM
Hi,
The .ld file that the CubeMx generates for me (STM32F769NIHx_FLASH.ld) contains:_estack = 0x20080000; /* end of RAM */
I suggest you to use the last version of CubeMx v4.15 and update the toolchain.
Please let me know if this workaround resolves your issue or you still have error.Regards